Substitute special characters in resource class

Everything except alphanumeric characters and an underscore needs to
be replaced by an underscore.

Closes-issue: https://mirantis.jira.com/browse/PRODX-9565
Change-Id: Icb30abb9a4f147d8aeddd99908ec29e8ccd63ac6
1 file changed