Forum Discussion
lizhuh_55036
Nimbostratus
Jun 25, 2009virtual server set_protocol doesn't work
Hi,
From GUI, when protocol changes, the client profile changes accordingly.
However, if I do it through pyControl, no mattrer how I change the profiles first, set_protocol always fails. Does anyone know how I can change virtual server's protocol via pyControl?
Thanks.
- L4L7_53191
Nimbostratus
From the SDK you'll see that we've got two arguments to this call:In [5]: b.LocalLB_VirtualServer.set_protocol(virtual_servers = ['virtual_forward_test'], protocols = ['PROTOCOL_UDP'])
- lizhuh_55036
Nimbostratus
Matt, - L4L7_53191
Nimbostratus
I try to write responses in a way that may help others out as well, sorry if this was redundant information for you. Pasting code helps.
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