OpenStack Networking (Neutron)
e7df43395c
This patch intends to make the transition of the OVN DevStack module easier by allowing both copies of it to exist at the same time, the one in Neutron repository and the one in the DevStack repository [0]. 1) Make create_public_bridge idempotent If we call this function more than once the second call and on will fail with the following error: 2020-07-13 09:12:53.885633 | controller | ++ /opt/stack/neutron/devstack/lib/ovn_agent:create_public_bridge:263 : sudo ip addr add 172.24.5.1/24 dev br-ex 2020-07-13 09:12:53.894247 | controller | RTNETLINK answers: File exists During the transiton of moving the OVN DevStack from the Neutron repository to the DevStack repository [0] this method is being invoked twice in the ovn job in the DevStack gate because it will be cause as part of the plugin being enabled and the normal code execution. This patch makes the method idempotent by calling "addr replace" instead of "addr add" to avoid the "RTNETLINK answers: File exists" error. 2) Move the setup of the tcpdump on br-ex to "extra" to it can start after the create_public_bridge is called. [0] https://review.opendev.org/#/c/734621/ Change-Id: I74b05ef245a343c7531fa45aeadb90060b2fd22e Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com> |
||
---|---|---|
api-ref | ||
devstack | ||
doc | ||
etc | ||
neutron | ||
playbooks | ||
rally-jobs | ||
releasenotes | ||
roles | ||
tools | ||
vagrant/ovn | ||
zuul.d | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.stestr.conf | ||
bindep.txt | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
lower-constraints.txt | ||
plugin.spec | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
TESTING.rst | ||
tox.ini |
OpenStack Neutron
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:
- Documentation: https://docs.openstack.org/neutron/latest/
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron/index.html
- Source: https://opendev.org/openstack/neutron
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute, please read the CONTRIBUTING.rst file.