Forum Discussion
set 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"8888, 8080"
where either 8080 or 8888 could be considered for this variable. Is this an option?
2 Replies
- Daniel_Varela
Employee
Why 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.
 
- Stanislas_Piro2
Cumulonimbus
Hi,
This is not a standard variable but used within your irule.
Without the whole irule code, we can’t answer to this question!
Recent Discussions
Related Content
* 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