neutron/neutron/tests
Slawek Kaplonski ba12b9e369 Fix mismatch of tags in dnsmasq options
In some cases (I don't know exactly how) it may happend that
when new subnet, e.g. IPv6 is added to the network, subnets
can change their order based on uuid.
As before this patch we were using in dnsmasq options tags like
"tagN" for subnets (where N was just number based on position of
the subnet in the sorted list) it could happend sometimes that
dnsmasq ended up with mismatch of tags configured in "dhcp-range"
cmd option and set in "opts" file. That caused problem with serving
proper DHCP options to the vms.

This patch fixes this issue by using tags with format:
"subnet-<uuid>" where uuid is id of the subnet. That was it's not
based on order of subnets in the list and will always match with tag
configured in opts file for specific subnet.

As we was currently using port id as tag for "per port" DHCP options,
this patch changes that to use tags like "port-<uuid>" to make it
consistent with options configured "per subnet" and to make it easier
to debug from where each option comes.

Conflicts:
    neutron/agent/linux/dhcp.py
    neutron/tests/unit/agent/linux/test_dhcp.py

Change-Id: Idaea33d62fa31edd7149ec916ec314438375724a
Partial-Bug: #1848738
(cherry picked from commit 88f2073526)
(cherry picked from commit a0730e684d)
2019-10-23 21:52:46 +02:00
..
common Give some HA router case specific resources 2019-04-17 13:08:10 +02:00
contrib Change ovs version we use in fullstack tests 2019-04-04 16:24:17 +02:00
etc Fix creating policy rules from subattributes. 2019-05-09 06:32:37 +00:00
fullstack Check the namespace is ready in test_mtu_update tests 2019-09-16 09:30:43 +00:00
functional Merge "Increase timeouts for OVSDB in functional tests" into stable/rocky 2019-09-20 05:23:43 +00:00
tempest Removing remaining Tempest bits 2018-03-26 11:41:35 -05:00
unit Fix mismatch of tags in dnsmasq options 2019-10-23 21:52:46 +02:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Handle DBConnectionError in skip_if_timeout decorator 2019-04-11 07:21:52 +00:00
fake_notifier.py FakeNotifier class 'topic' argument change to 'topics'. 2017-12-04 20:10:03 +01:00
post_mortem_debug.py
tools.py pecan.jsonify v1.3 adjustment 2018-04-18 15:37:20 +00:00