@profiler.trace
def ipsecpolicy_create(request, **kwargs):
 body = {'ipsecpolicy': {'name': kwargs['name'], 'description': kwargs['description'], 'auth_algorithm': kwargs['auth_algorithm'], 'encapsulation_mode': kwargs['encapsulation_mode'], 'encryption_algorithm': kwargs['encryption_algorithm'], 'lifetime': kwargs['lifetime'], 'pfs': kwargs['pfs'], 'transform_protocol': kwargs['transform_protocol']}}
 ipsecpolicy = neutronclient(request).create_ipsecpolicy(body).get('ipsecpolicy')
 return IPSecPolicy(ipsecpolicy)

@ profiler . trace def ipsecpolicy_create ( request , ** kwargs ) : body = { 'ipsecpolicy' : { 'name' : kwargs [ 'name' ] , 'description' : kwargs [ 'description' ] , 'auth_algorithm' : kwargs [ 'auth_algorithm' ] , 'encapsulation_mode' : kwargs [ 'encapsulation_mode' ] , 'encryption_algorithm' : kwargs [ 'encryption_algorithm' ] , 'lifetime' : kwargs [ 'lifetime' ] , 'pfs' : kwargs [ 'pfs' ] , 'transform_protocol' : kwargs [ 'transform_protocol' ] } } ipsecpolicy = neutronclient ( request ) . create_ipsecpolicy ( body ) . get ( 'ipsecpolicy' ) return IPSecPolicy ( ipsecpolicy )
create ipsecpolicy .