1f7cd398d6
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 |
||
---|---|---|
api-ref | ||
bin | ||
devstack | ||
doc | ||
etc | ||
neutron | ||
playbooks/legacy | ||
rally-jobs | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.stestr.conf | ||
.testr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
TESTING.rst | ||
babel.cfg | ||
bindep.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
Welcome!
To learn more about neutron:
- Documentation: https://docs.openstack.org
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute:
CONTRIBUTING.rst