Forum Discussion
goatman64_12745
Nimbostratus
Jun 21, 2006icontrol equivalent call for 'b node down'
What is the equivalent call in iControl v9.0 to disable a node address? I'm using LocalLB::NodeAddress::set_session_enabled_state and setting disabled. In the BigIP UI this sets a state "Only persis...
Jun 21, 2006
The state of a node address is set with both the LocalLB::NodeAddress::set_monitor_state() method as well as the LocalLB::Node::set_session_enabled_state() method. This has been discussed on the DevCentral forums although the information is kind of spread across a couple of threads.
Here's the mapping between the GUI radio options and the iControl methods:
Enabled (All traffic allowed):
set_monitor_state : STATE_ENABLED
set_session_enabled_state : STATE_ENABLED
Disabled (Only persistent or active connections allowed):
set_monitor_state : STATE_ENABLED
set_session_enabled_state : STATE_DISABLED
Forced Offline (Only active connections allowed):
set_monitor_state : STATE_DISABLED
set_session_enabled_state : STATE_DISABLED
The source for the inconsistency between the GUI and iControl is due to the fact that iControl is based on the internal schema and the GUI made some cosmetic changes to combine these two attributes into a single 3-way radio for usability.
-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