#NEWLINE# def test_allocate_ipam_subnet_with_neutron_subnet_id( self ) : #NEWLINE# #INDENT# cidr = '10.0.0.0/24' #NEWLINE# ( subnet , subnet_req ) = self . _prepare_specific_subnet_request ( cidr ) #NEWLINE# ipam_subnet = self . ipam_pool . allocate_subnet ( subnet_req ) #NEWLINE# self . _verify_ipam_subnet_details ( ipam_subnet , cidr , self . _tenant_id , subnet [ 'gateway_ip' ] , [ netaddr . IPRange ( '10.0.0.2' , '10.0.0.254' ) ] )