def vip_create(request, **kwargs):
 body = {'vip': {'address': kwargs['address'], 'name': kwargs['name'], 'description': kwargs['description'], 'subnet_id': kwargs['subnet_id'], 'protocol_port': kwargs['protocol_port'], 'protocol': kwargs['protocol'], 'pool_id': kwargs['pool_id'], 'session_persistence': kwargs['session_persistence'], 'connection_limit': kwargs['connection_limit'], 'admin_state_up': kwargs['admin_state_up']}}
 vip = quantumclient(request).create_vip(body).get('vip')
 return Vip(vip)

def vip_create ( request , ** kwargs ) : body = { 'vip' : { 'address' : kwargs [ 'address' ] , 'name' : kwargs [ 'name' ] , 'description' : kwargs [ 'description' ] , 'subnet_id' : kwargs [ 'subnet_id' ] , 'protocol_port' : kwargs [ 'protocol_port' ] , 'protocol' : kwargs [ 'protocol' ] , 'pool_id' : kwargs [ 'pool_id' ] , 'session_persistence' : kwargs [ 'session_persistence' ] , 'connection_limit' : kwargs [ 'connection_limit' ] , 'admin_state_up' : kwargs [ 'admin_state_up' ] } } vip = quantumclient ( request ) . create_vip ( body ) . get ( 'vip' ) return Vip ( vip )
create a vip for a specified pool .