Forum Discussion
verlocs_96134
Aug 16, 2012Nimbostratus
VirtualServer:add_profile cannot set a new client protocol profile
I've been writing a script that will need to replace the protocol profile (both server and client) on a large number of existing virtual servers.
I've found that when you attempt to add a ...
Todd_Cromwell_9
Nimbostratus
The wrinkle I remember here is that the system internally adds a default profile when you delete the last profile on the VS. It sounds like that is what you are experiencing.
If you have version 11 or later of BIG-IP, you could get around this problem by using a transaction: remove the profiles and add the ones you want, all in the same transaction. (We generally try not to require the use of transactions in the iControl interface, so we try and put in "convenience methods" that do all the stuff you'd put into the transaction, even if those methods are sometime regrettably complex, but we have not yet added replace methods to most of the interfaces in which they'd be appropriate.)
HankLiu_159320
Nov 19, 2014Nimbostratus
Hello! Just checking if you ever found a solution to this? I'm running into the same problem.
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