OpenStack Networking (Neutron)
Go to file
yatinkarel 6a5aa9b83c [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

Conflicts:
  lower-constraints.txt
  requirements.txt

[Stable Only] Since Neutron stable policy do not allow bumping
of minimum version of a requirement in stable releases, so doing
a partial backport by not backporting requirements.txt changes and
updated get_system_dns_resolvers to work with older version of
oslo.utils.

Depends-On: https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/826647
Closes-Bug: #1951816
Change-Id: I9f914e721201072e43a8c6c266ed97ca85fcc13d
(cherry picked from commit 4a06685098)
(cherry picked from commit 4b89ad6403)
2022-04-22 06:27:30 +00:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
devstack ovn: Use new OVS commit hash 2020-09-24 09:38:38 +02:00
doc [OVS][QOS] Dataplane enforcement is limited to min-bw egress direction 2021-11-18 16:37:18 +00:00
etc Updates for python3.8 2021-05-31 14:29:14 +00:00
neutron [OVN] Correctly set dns_server in dhcpv4/v6 options 2022-04-22 06:27:30 +00:00
playbooks Migrate neutron grenade jobs to be native Zuul v3 2020-06-21 23:55:09 +02:00
rally-jobs [ci] Fix several rally task arguments 2020-07-09 16:12:09 +03:00
releasenotes [OVN] Correctly set dns_server in dhcpv4/v6 options 2022-04-22 06:27:30 +00:00
roles [OVN] Unify OVN/OVS compilation 2020-07-17 11:40:37 +00:00
tools Merge "ovn migration: Don't use executables in /tmp/" into stable/ussuri 2022-03-30 09:23:47 +00:00
vagrant/ovn [OVN] Merge networking-ovn vagrant into neutron 2020-02-18 17:26:15 -05:00
zuul.d Merge "[Stable only] Set irrelevant-files in some additional jobs" into stable/ussuri 2021-06-26 15:59:28 +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 Update .gitreview for stable/ussuri 2020-04-24 12:48:14 +00:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc Fix pylint R1717 (consider-using-dict-comprehension) refactor messages 2019-03-14 23:19:58 +00:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
CONTRIBUTING.rst [Community goal] Add contributor and PTL guide 2020-03-03 04:43:26 +01:00
HACKING.rst Remove references to unittest2 library 2020-01-14 09:03:26 +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
README.rst Start README.rst with a better title 2019-11-19 17:42:57 +01:00
TESTING.rst Dropping lower constraints testing (stable Ussuri) 2021-01-12 15:49:13 +00:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
bindep.txt Merge "Stop testing python 2" 2019-10-28 00:52:16 +00:00
plugin.spec Migrate the OVN migration scripts 2020-03-31 15:35:35 +01:00
requirements.txt Bump neutron-lib to 2.2.0 2020-03-10 14:14:15 +00:00
setup.cfg Migrate the OVN migration scripts 2020-03-31 15:35:35 +01:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Fix pep8 job 2020-07-10 13:46:34 +00:00
tox.ini Group execution of SQL functional tests 2021-04-13 09:41:52 +00:00

README.rst

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.