neutron/neutron
Harald Jensås b0d758e1b4 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 the 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.

Closes-Bug: #1811905
Change-Id: If98a82f8432b09a29f9d0cc6627e9649b43bc4a1
2019-01-29 22:31:17 +00:00
..
agent Merge "Improve port dhcp Provisioning" 2019-01-29 10:57:22 +00:00
api Improve port dhcp Provisioning 2019-01-28 07:26:45 +00:00
cmd Merge "Upgrade check command - add support for 3rd party checks" 2018-12-19 12:50:19 +00:00
common shim remaining common exceptions 2019-01-25 08:52:33 -07:00
conf Add a new configuration parameter rpc_response_max_timeout 2019-01-18 09:55:31 +00:00
core_extensions use autonested_transaction from neutron-lib 2018-07-26 07:41:34 -06:00
db Fix port update deferred IP allocation with host_id + new MAC 2019-01-29 22:31:17 +00:00
debug Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
extensions Prevent some L3 ports change IP address 2018-12-13 14:24:23 +00:00
hacking use sqla functions from neutron-lib 2018-07-25 21:04:20 +00:00
ipam Prevent some L3 ports change IP address 2018-12-13 14:24:23 +00:00
locale Imported Translations from Zanata 2018-03-03 06:08:46 +00:00
notifiers Send global_request_id for tracing calls from neutron to nova 2018-11-30 05:41:24 +00:00
objects remove the neutron.db._model_query module 2019-01-25 08:55:25 -07:00
pecan_wsgi Add missing ws seperator between words 2018-11-19 13:57:05 +08:00
plugins Merge "remove the neutron.db._model_query module" 2019-01-28 13:38:15 +00:00
privileged Correct arguments to nfct_open 2019-01-24 08:41:38 +00:00
quota use context manager from neutron-lib 2018-10-24 07:18:46 -06:00
scheduler Fetch specific columns rather than full ORM entities 2018-08-22 10:14:09 +00:00
server Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
services remove the neutron.db._model_query module 2019-01-25 08:55:25 -07:00
tests Fix port update deferred IP allocation with host_id + new MAC 2019-01-29 22:31:17 +00:00
__init__.py Fix incorrect usage of '# flake8: noqa' 2018-10-29 15:27:50 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Implement filter validation 2018-07-19 04:13:43 +00:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py supported_vnic_type configurable for sriov 2018-11-05 11:40:13 +01:00
policy.py Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
service.py remove context_manager from neutron 2018-12-18 12:26:53 -07:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py use context manager from neutron-lib 2018-10-24 07:18:46 -06:00