Forum Discussion
samt_81209
Nimbostratus
Aug 21, 2007toggleNodeAddress.pl enable/disable
I need some help with the toggleNodeAddress.pl script for my environment. Instead of toggling the state of a node from enabled to disabled, I would like to set the state of the node to enabled/disabl...
Aug 21, 2007
I guess I don't understand your question. If all you want to do is to set the state of the node, remove the query component of the script that determines the current state and just hard code the new state to whatever is passed in on the command line. So, if you want the node disabled make the value of $toggleState be "STATE_DISABLED" and make the call to set_session_enabled_state().
Maybe I'm missing something... Please clarify if this does not address your issue.
-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