neutron/neutron/tests/unit/extensions
Harald Jensås 1e76ddf711 Fix port update deferred IP allocation with host_id + new MAC
IP allocation was initially deffered due to lack of binding
information. On port update with both `mac_address` and
`binding_host_id`` in the request, 'fixed_ips: []' was
appended to the new_port data. This caused the check for
fixed_ips_requested to return True, which in turn cause
deferred_ip_allocation to evaluates False.

Only set the new_port default fixed_ips to original_ips if
the original port had fixed_ips.

Conflicts:
    test_segment.py

Closes-Bug: #1811905
Change-Id: If98a82f8432b09a29f9d0cc6627e9649b43bc4a1
(cherry picked from commit b0d758e1b4)
2019-02-13 02:09:08 +00:00
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
base.py use core resource api defs from lib 2017-11-08 09:48:50 -07:00
extendedattribute.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00
extensionattribute.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00
foxinsocks.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
test_address_scope.py cleanup unit test usage of api extension maps 2017-10-24 10:38:52 -06:00
test_agent.py cleanup unit test usage of api extension maps 2017-10-24 10:38:52 -06:00
test_availability_zone.py Fix an attribute error on listing AZs with filters 2018-06-27 09:58:47 +00:00
test_data_plane_status.py use core resource attribute constants from neutron-lib 2017-06-30 06:25:36 -06:00
test_default_subnetpools.py use default subnetpool api def from lib 2017-10-20 14:44:10 -06:00
test_dns.py use dns api def from neutron-lib 2017-10-20 16:38:33 -06:00
test_external_net.py use external net api def from lib 2017-10-30 11:16:33 -06:00
test_extra_dhcp_opt.py use extra_dhcp_opt api-def from neutron-lib 2017-05-31 15:06:35 +00:00
test_extraroute.py use l3 api def from neutron-lib 2017-12-15 07:03:14 -07:00
test_flavors.py use flavors api def from neutron-lib 2017-11-17 10:21:28 -07:00
test_l3.py Update neutron files for new over-indentation hacking rule (E117) 2019-02-02 10:48:26 +00:00
test_l3_ext_gw_mode.py Update neutron files for new over-indentation hacking rule (E117) 2019-02-02 10:48:26 +00:00
test_network_ip_availability.py Merge "Add network ip availability filtered by project_id" 2017-10-19 08:39:28 +00:00
test_portsecurity.py cleanup unit test usage of api extension maps 2017-10-24 10:38:52 -06:00
test_providernet.py use core resource api defs from lib 2017-11-08 09:48:50 -07:00
test_qos_fip.py Allow objects to opt in new engine facade 2018-02-09 04:07:34 +00:00
test_quotasv2.py use core resource api defs from lib 2017-11-08 09:48:50 -07:00
test_quotasv2_detail.py use core resource api defs from lib 2017-11-08 09:48:50 -07:00
test_router_availability_zone.py use l3 api def from neutron-lib 2017-12-15 07:03:14 -07:00
test_securitygroup.py Update neutron files for new over-indentation hacking rule (E117) 2019-02-02 10:48:26 +00:00
test_segment.py Fix port update deferred IP allocation with host_id + new MAC 2019-02-13 02:09:08 +00:00
test_servicetype.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
test_subnet_service_types.py Always pass device_owner to _ipam_get_subnets() 2018-02-17 18:31:50 +00:00
test_tag.py Tags: harden validations 2017-12-11 23:04:05 -08:00
test_timestamp.py test_timestamp: switch to Network OVO 2017-12-06 13:41:30 -08:00
test_vlantransparent.py cleanup unit test usage of api extension maps 2017-10-24 10:38:52 -06:00
v2attributes.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00