OpenStack Networking (Neutron)
Go to file
yatinkarel 4a06685098 [OVN] Correctly set dns_server in dhcpv4/v6 options
When ovn/dns_servers consist of IPv6 dns nameservers,
it was getting added to IPv4 dhcp options also, and due to
this an invalid nameserver(last 4 octets of an IPv6 address)
is set in the instances.

This patch filters IPv4/IPv6 dns nameservers and set
dhcpv4/dhcpv6 options accordingly.

Also when dns_nameservers are not set for IPv6 subnets,
get those from ovn/dns_servers config or system nameservers
just like it's done with the IPv4 subnets. Updated
get_system_dns_resolvers to pick both IPv4/IPv6 valid
ips, this also requires bump of oslo.utils minimum version
to 4.8.0 to use strict option for IPv4[1].

Additionally fix some unit tests which were setting IPv4 dns
nameservers on the IPv6 subnets, this is not allowed with api.

[1] https://github.com/openstack/oslo.utils/commit/3288539

Closes-Bug: #1951816
Change-Id: I9f914e721201072e43a8c6c266ed97ca85fcc13d
2022-01-06 05:02:35 +00:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
devstack Remove functions which enable Neutron's QoS service 2021-11-24 22:24:42 +01:00
doc remove unicode from code 2021-12-24 10:02:03 +08:00
etc Sync rootwrap.conf from oslo.rootwrap 2022-01-03 09:17:04 +09:00
neutron [OVN] Correctly set dns_server in dhcpv4/v6 options 2022-01-06 05:02:35 +00:00
playbooks Add functional and fullstack jobs with FIPS enabled 2021-11-17 13:41:40 +01:00
rally-jobs [ci] Fix several rally task arguments 2020-05-06 14:56:27 +03:00
releasenotes [OVN] Correctly set dns_server in dhcpv4/v6 options 2022-01-06 05:02:35 +00:00
roles [Fullstack] Don't install OVN in the fullstack job 2021-11-23 11:35:53 +01:00
tools Merge "[Fullstack] Don't install OVN in the fullstack job" 2022-01-05 19:05:03 +00:00
vagrant/ovn Fix local neutron folder path in ovn/sparse/Vagrantfile 2020-11-03 17:02:34 +01:00
zuul.d Merge "[Fullstack] Don't install OVN in the fullstack job" 2022-01-05 19:05:03 +00:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore Add etc/neutron/*.sample files to be ignored by git 2019-12-12 12:38:24 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:38:27 +00:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc Remove "six" library 2020-07-28 16:55:52 +00:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
bindep.txt Add functional and fullstack jobs with FIPS enabled 2021-11-17 13:41:40 +01:00
CONTRIBUTING.rst [Community goal] Add contributor and PTL guide 2020-03-03 04:43:26 +01:00
HACKING.rst Follow up for replacing assertItemsEqual 2021-06-03 16:04:07 +00:00
LICENSE Adding Apache Version 2.0 license file. This is the official license agreement under which Quantum code is available to 2011-08-08 12:31:04 -07:00
lower-constraints.txt [OVN] Correctly set dns_server in dhcpv4/v6 options 2022-01-06 05:02:35 +00:00
plugin.spec Add OVN migration OSP 16.2 option 2021-01-24 17:18:55 +02:00
README.rst Start README.rst with a better title 2019-11-19 17:42:57 +01:00
requirements.txt [OVN] Correctly set dns_server in dhcpv4/v6 options 2022-01-06 05:02:35 +00:00
setup.cfg Merge "Add Local IP L2 extension skeleton" 2021-11-30 19:07:48 +00:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Follow-up: Move linters dependencies to tox.ini 2021-01-07 04:26:07 +09:00
TESTING.rst Fix links for Source code references 2021-12-02 20:12:34 +05:30
tox.ini Use TOX_CONSTRAINTS_FILE 2021-12-24 10:44:01 +08:00

OpenStack Neutron

image

Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute, please read the CONTRIBUTING.rst file.