<div dir="ltr"><div>Hello Tomáš:</div><div><br></div><div>You need to follow the steps in [1]:</div><div>* You need to create the new physical bridge "br-ex2".</div><div>* Then you need to add to the bridge the physical interface.</div><div>* In the compute node you need to add the bridge mappings to the OVN database Open vSwitch register</div><div>* In the controller, you need to add the reference for this second provider network in "flat_networks" and "network_vlan_ranges" (in the ml2.ini file). Then you need to restart the Neutron server to read these new parameters (this step is not mentioned in this link).</div><div> $ cat ./etc/neutron/plugins/ml2/ml2_conf.ini</div><div> [ml2_type_flat]<br></div><div> flat_networks = public,public2</div><div> [ml2_type_vlan]<br></div><div> network_vlan_ranges = public:11:200,public2:11:200<br></div><div><br></div><div>Regards.<br></div><div><br></div><div>[1]<a href="https://docs.openstack.org/networking-ovn/pike/admin/refarch/provider-networks.html">https://docs.openstack.org/networking-ovn/pike/admin/refarch/provider-networks.html</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 7, 2023 at 12:33 AM Tomáš Bredár <<a href="mailto:tomas.bredar@gmail.com">tomas.bredar@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I have a running production OpenStack deployment - version Wallaby installed using TripleO. I'm using the default OVN/OVS networking.</div><div>For provider networks I have two bridges on the compute nodes br-ex and br-ex2. Instances mainly use br-ex for provider networks, but there are some instances which started using a provider network which should be mapped to br-ex2, however I didn't specify "bridge_mappings" on ml2_conf.ini, so the traffic wants to flow through the default datacentre:br-ex.</div><div>My questions is, what services should I restart on the controller and compute nodes after defining bridge_mappings in [ovs] in ml2_conf.ini. And if this operation is safe and if the instances already using br-ex will lose connectivity?</div><div><br></div><div>Thanks for your help</div><div><br></div><div>Tomas</div></div>
</blockquote></div>