Forum Discussion

julienb84_35539's avatar
julienb84_35539
Icon for Nimbostratus rankNimbostratus
Mar 27, 2018

How 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