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_prot...
lizhuh_55036
Nimbostratus
Jun 30, 2009Matt,
I know that I need to use lists. I created a virtual server with name tcpvserver. Then changed protocol to 'UDP' from GUI.
Then I tried to do the following in a row. If I set the protocol to the current value ('udp'), it works. Which proves the synmtax I used was correct. As soon as I change it to other protocol, it fails. I ran into same issue last week. I was not able to change the protocol.
vs.set_protocol(virtual_servers=['tcpvserver'], protocols=['PROTOCOL_UDP']) passes
vs.set_protocol(virtual_servers=['tcpvserver'], protocols=['PROTOCOL_TCP']) crashes.
vs.set_protocol(virtual_servers=['tcpvserver'], protocols=['PROTOCOL_SCTP'])
Linda
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
