#NEWLINE# def _ikepolicy_get( request , ikepolicy_id , expand_conns = False ) : #NEWLINE# #INDENT# ikepolicy = neutronclient ( request ) . show_ikepolicy ( ikepolicy_id ) . get ( 'ikepolicy' ) #NEWLINE# if expand_conns : #NEWLINE# #INDENT# ipsecsiteconns = _ipsecsiteconnection_list ( request ) #NEWLINE# ikepolicy [ 'ipsecsiteconns' ] = [ c for c in ipsecsiteconns if ( request . ikepolicy_id == ikepolicy [ 'id' ] ) ] #NEWLINE# #UNINDENT# return IKEPolicy ( ikepolicy )