Forum Discussion
schmal_111133
Nimbostratus
Mar 20, 2013Build a named table in RULE_INIT condition
Hi all,
I have a class that map from virtual server IP to the server itself IP, I want to convert it to a table in the RULE_INIT condition in order to be able to modify it if some server have been ...
Kevin_Stewart
Employee
Mar 20, 2013One other thing worth mentioning. The static namespace used in RULE_INIT is intended to be, as the name implies, static and unchanging. The static namespace was created to provide a CMP-compatible global variables, meaning that variables created in this namespace are visible across TMM instances. If you write to a static variable somewhere else (sort of odd that you should even be able to, but I digress), it effectively "de-CMPs" the variable - a bad thing.
Alternatively consider that tables are global by default, so you could use any other event to "prime" the table if it didn't exist and use it anywhere and for any connection.
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