Forum Discussion
Michel_van_der_
Nimbostratus
Jan 10, 2006LocalLB.VirtualServer.add_rule question
I tried to apply a rule to a virtual server, but it does not seem to work.
What format should the parameter 'virtual_servers' take. Is that '1.2.3.4:80' or the name of the virtual server? ...
Oct 12, 2006
What do you mean when you said that you don't see that it ever makes any configuration changes? After you execute the add_rule() method, the rule should show up in the virtual servers resource list. If it is not showing up there, then odds are there is an issue with the rule itself. I'd try adding the rule manually through the GUI. Odds are that won't work as well.
If you mean that after you reboot your configuration changes are not persisted, then that's an issue with the way iControl works. All iControl calls are made to the systems running configuration. To persist across loads, you will need to call the System::ConfigSync:::save_configuration() method to persist your changes to disk.
-Joe
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