@profiler.trace
def ikepolicy_create(request, **kwargs):
 body = {'ikepolicy': {'name': kwargs['name'], 'description': kwargs['description'], 'auth_algorithm': kwargs['auth_algorithm'], 'encryption_algorithm': kwargs['encryption_algorithm'], 'ike_version': kwargs['ike_version'], 'lifetime': kwargs['lifetime'], 'pfs': kwargs['pfs'], 'phase1_negotiation_mode': kwargs['phase1_negotiation_mode']}}
 ikepolicy = neutronclient(request).create_ikepolicy(body).get('ikepolicy')
 return IKEPolicy(ikepolicy)

@ profiler . trace def ikepolicy_create ( request , ** kwargs ) : body = { 'ikepolicy' : { 'name' : kwargs [ 'name' ] , 'description' : kwargs [ 'description' ] , 'auth_algorithm' : kwargs [ 'auth_algorithm' ] , 'encryption_algorithm' : kwargs [ 'encryption_algorithm' ] , 'ike_version' : kwargs [ 'ike_version' ] , 'lifetime' : kwargs [ 'lifetime' ] , 'pfs' : kwargs [ 'pfs' ] , 'phase1_negotiation_mode' : kwargs [ 'phase1_negotiation_mode' ] } } ikepolicy = neutronclient ( request ) . create_ikepolicy ( body ) . get ( 'ikepolicy' ) return IKEPolicy ( ikepolicy )
create ikepolicy .