@profiler.trace
def vpnservice_create(request, **kwargs):
 body = {'vpnservice': {'admin_state_up': kwargs['admin_state_up'], 'name': kwargs['name'], 'description': kwargs['description'], 'router_id': kwargs['router_id'], 'subnet_id': kwargs['subnet_id']}}
 vpnservice = neutronclient(request).create_vpnservice(body).get('vpnservice')
 return VPNService(vpnservice)

@ profiler . trace def vpnservice_create ( request , ** kwargs ) : body = { 'vpnservice' : { 'admin_state_up' : kwargs [ 'admin_state_up' ] , 'name' : kwargs [ 'name' ] , 'description' : kwargs [ 'description' ] , 'router_id' : kwargs [ 'router_id' ] , 'subnet_id' : kwargs [ 'subnet_id' ] } } vpnservice = neutronclient ( request ) . create_vpnservice ( body ) . get ( 'vpnservice' ) return VPNService ( vpnservice )
create vpnservice .