Forum Discussion
Sriram_129909
Nimbostratus
Nov 14, 2013Conver Data Group List to static variables
I am looking to convert the global variables listed in Data Group List to a list of static variables. I am doing this as the virtual server associated with a few iRules are accessing them that would ...
Kevin_Stewart
Employee
Nov 14, 2013I am doing this as the virtual server associated with a few iRules are accessing them that would demote CMP
I'm not sure I understand this statement. If you're using [class ] syntax to query the data group, then that shouldn't be demoting CMP. I'd further add that if by chance it was demoting CMP, the act of accessing it RULE_INIT, if only to store the values somewhere else, would have the same effect.
In any case, to enumerate the values in a data group, you can use the class get command:
https://devcentral.f5.com/wiki/iRules.class.ashx
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects