Forum Discussion
5 Replies
Sort By
- The Disable-F5.LTMNodeAddress Cmdlet calls the iControl LocalLBNodeAddress.set_session_enabled_state method under the seams with the iControl.CommonEnabledState.STATE_DISABLED flag.
Enabled (All traffic allowed):
http://devcentral.f5.com/wiki/default.aspx/iControl/PowerShell.html
http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=254
http://devcentral.f5.com/wiki/default.aspx/iControl/PsServerControl.html
- Jon_Steel_3910NimbostratusIgnore what I just posted (I'm editing)
- Sweet, glad I could help. Please don't hesitate to ask if anything else comes up. As long as the requests aren't too complicated, I'm glad to mock something up and add it as a CodeShare entry.
- Justin_111680NimbostratusIs this applicable to pyControl? I added set_monitor_status to my disable_member function but it still shows up as 'Disabled (Only persistent or active connections allowed)' when i verify in UI. I am still using pyControl v1. I tried updating to pyControl v2 but just attempting to connect to LB threw a stack trace.
- JRahmAdminpycontrol is just another way to access the API. As long as you use the methods Joe describes above properly, it will work just as well. the constructor in pycontrol changed slightly from v1 -> v2 in that you need to specify fromurl = True (or provide a local directory where your wsdl files are) and instead of wsdl_files its is wsdls. Check out the constructor video Matt put together (Click here)