miq-Utilities icon indicating copy to clipboard operation
miq-Utilities copied to clipboard

Add a optional field to infrastructure/network/config instances that allows you to provide a regex search strings

Open A-Beck opened this issue 5 years ago • 0 comments

Currently, the name of the instance is used when looking for suitable networks in the network dialog code. This is not ideal, because the name of the instance is used in multiple places for multiple purposes ( i.e the satellite registration code ).

Separating the regex search into it's own attribute would allow the Network Config instance to be more flexible and possibly reduce redundant network config objects.

Looks like, at a minimum, you'd need to update the dialog code and the set_network code to use this. We could always fall back to the name of the config instance if the regex search string is not provided.

A-Beck avatar Aug 09 '19 13:08 A-Beck