Forum Discussion
Livius
Cirrus
Jan 16, 2018set static:: implementation in iRules
Hi all,
since we need to add an additional port to our pool members, we need to replace the following static variable from:
set static::HTTP_PORT"8888"
to
set static::HTTP_PORT"8...
Daniel_Varela
Employee
Jan 16, 2018Why don you use instead a datagroup and the command class to look for valid values? https://clouddocs.f5.com/api/irules/class.html
 
With datagroups you don't need to modify the irule if later on you need to add more ports.
 
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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