Forum Discussion
boo_radley_1114
Nimbostratus
Sep 25, 2013iControl interaction with the nodes and java
Hi folks -- I appreciate the earlier help with the ssl certs and iControl and now I have a different question. I think I'm missing something conceptually, because it seems as if the examples here, an...
boo_radley_1114
Nimbostratus
Sep 25, 2013Thanks Joe -- it took a bit of playing around (didn't realize I needed to import iControl.CommonEnabledState) but once I did it works very well, so I can write a very simple method like:
public void disableNode ( String [] addresses, CommonEnabledState [] states) throws Exception
{
for (int i = 0; i < addresses.length; i++)
{
m_interfaces.getLocalLBNodeAddress().set_session_enabled_state(addresses, states);
}
}
- Sep 27, 2013Very nice boo!
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