'Binding information is provided, subnets not on segments'

def test_port_create_with_binding_information_fallback(self):

    with self.network() as network:
        with self.subnet(network=network, ip_version=6, cidr='2001:db8:0:0::/64') as subnet:
            segment = self._test_create_segment(network_id=network['network']['id'], physical_network='physnet', network_type=p_constants.TYPE_VLAN)
    self._validate_l2_adjacency(network['network']['id'], is_adjacent=True)
    self._setup_host_mappings([(segment['segment']['id'], 'fakehost')])
    response = self._create_port(self.fmt, net_id=network['network']['id'], tenant_id=network['network']['tenant_id'], arg_list=(portbindings.HOST_ID,), **{portbindings.HOST_ID: 'fakehost'})
    res = self.deserialize(self.fmt, response)
    self._validate_immediate_ip_allocation(res['port']['id'])
    self._assert_one_ip_in_subnet(response, subnet['subnet']['cidr'])
