Forum Discussion
julienb84_35539
Nimbostratus
Mar 27, 2018How to set type Of a Virtual Server under iControl SOAP
Hello guy
For my automatic provisioning with the module bigip_virtual_server via iControl SOAP API on ansible I would like to add the functionality type
please see below RESOURCE_TYPE_FAST_L44The virtual server is based on the Fast L4 profile.
Could you help me please to implement my code to do this ?
def set_type(api, name, type):
updated = False
try:
current_type = get_type(name)
api.LocalLB::VirtualServer.set_type(type)
return updated
except bigsuds.OperationFailed as e:
raise Exception('Error on setting snat : %s' % e)
thanks a lot Julien
No RepliesBe the first to reply
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