Forum Discussion
Kai_Wilke
Jan 24, 2016MVP
Hi bigipjr28,
the code wouldn't be a little tricky on the way you've described it...
It would be much more effective, to have a fixed naming convention for the data_group enabled virtuals. In this case we could check if the naming convention matches and then crawl the datagroup for the given virtual name. And if the naming convention didn't match then use the virtual name as a HOST name. Would that be okay for your, too?
What should happen with those virtuals that have to be matched against the datagroup, but without any result? Leave the HOST name as is? Throw an error?
Cheers, Kai