neutron/devstack/lib
Lucas Alvares Gomes e7df43395c [OVN] DevStack: Make the transition of DevStack module easier
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>
2020-07-16 09:45:36 +01:00
..
dns Allow to select subnets to publish DNS records 2019-12-14 13:36:09 +00:00
fip_port_forwarding Add port_forwarding to devstack plugin 2018-11-10 00:48:52 +01:00
flavors devstack: use neutron_service_plugin_class_add for service plugins 2017-03-07 21:20:51 +00:00
l2_agent devstack: switch to new NEUTRON_* variables 2017-03-07 21:06:35 +00:00
l2_agent_sriovnicswitch trivial: Fix file permissions 2018-05-10 10:07:39 +00:00
l3_agent Try to enable L3 agent extension `fip_qos` 2018-03-01 16:42:15 +08:00
l3_conntrack_helper Add l3 conntrack helper to devstack plugin 2019-09-16 12:23:35 +00:00
log [log]: Devstack plugin for logging api 2017-12-19 14:40:57 +07:00
macvtap_agent devstack: switch to new NEUTRON_* variables 2017-03-07 21:06:35 +00:00
ml2 Remove deprecated SR-IOV devstack file 2019-05-02 17:17:27 +00:00
network_segment_range Devstack plugin for network-segment-range api 2019-03-10 03:37:51 +00:00
octavia Add Octavia file in devstack/lib 2020-04-08 11:32:46 -04:00
ovn_agent [OVN] DevStack: Make the transition of DevStack module easier 2020-07-16 09:45:36 +01:00
ovs [OVN] Unify OVN/OVS compilation 2020-07-07 22:05:59 +00:00
placement Add devstack plugin for placement service plugin 2019-05-24 11:34:49 +02:00
qos [L3][QoS] Agent side router gateway IP rate limit 2018-12-01 17:45:47 +08:00
segments Enable segments plugin in gate 2017-05-16 16:24:15 +00:00
tag_ports_during_bulk_creation Add tag-ports-during-bulk-creation to devstack 2020-03-01 18:59:15 -06:00
trunk devstack: use neutron_service_plugin_class_add for service plugins 2017-03-07 21:20:51 +00:00
uplink_status_propagation Add propagate_uplink_status to port 2018-11-29 19:33:16 +00:00