@profiler.trace
def ipsecsiteconnection_create(request, **kwargs):
 body = {'ipsec_site_connection': {'name': kwargs['name'], 'description': kwargs['description'], 'dpd': kwargs['dpd'], 'ikepolicy_id': kwargs['ikepolicy_id'], 'initiator': kwargs['initiator'], 'ipsecpolicy_id': kwargs['ipsecpolicy_id'], 'mtu': kwargs['mtu'], 'peer_address': kwargs['peer_address'], 'peer_cidrs': kwargs['peer_cidrs'], 'peer_id': kwargs['peer_id'], 'psk': kwargs['psk'], 'vpnservice_id': kwargs['vpnservice_id'], 'admin_state_up': kwargs['admin_state_up']}}
 ipsecsiteconnection = neutronclient(request).create_ipsec_site_connection(body).get('ipsec_site_connection')
 return IPSecSiteConnection(ipsecsiteconnection)

@ profiler . trace def ipsecsiteconnection_create ( request , ** kwargs ) : body = { 'ipsec_site_connection' : { 'name' : kwargs [ 'name' ] , 'description' : kwargs [ 'description' ] , 'dpd' : kwargs [ 'dpd' ] , 'ikepolicy_id' : kwargs [ 'ikepolicy_id' ] , 'initiator' : kwargs [ 'initiator' ] , 'ipsecpolicy_id' : kwargs [ 'ipsecpolicy_id' ] , 'mtu' : kwargs [ 'mtu' ] , 'peer_address' : kwargs [ 'peer_address' ] , 'peer_cidrs' : kwargs [ 'peer_cidrs' ] , 'peer_id' : kwargs [ 'peer_id' ] , 'psk' : kwargs [ 'psk' ] , 'vpnservice_id' : kwargs [ 'vpnservice_id' ] , 'admin_state_up' : kwargs [ 'admin_state_up' ] } } ipsecsiteconnection = neutronclient ( request ) . create_ipsec_site_connection ( body ) . get ( 'ipsec_site_connection' ) return IPSecSiteConnection ( ipsecsiteconnection )
create ipsecsiteconnection .