'Ports requesting no fixed_ips not deferred, even on routed net'

def test_port_create_with_no_fixed_ips_no_ipam_on_routed_network(self):

    with self.network() as network:
        segment = self._test_create_segment(network_id=network['network']['id'], physical_network='physnet', network_type=p_constants.TYPE_VLAN)
        with self.subnet(network=network, segment_id=segment['segment']['id']):
            pass
    response = self._create_port_and_show(network, fixed_ips=[])
    self.assertEqual([], response['port']['fixed_ips'])
    self.assertEqual(ip_allocation.IP_ALLOCATION_NONE, response['port'][ip_allocation.IP_ALLOCATION])
