<div dir="ltr">Thanks Slawek. Is it possible to define two vlan ranges for one physnet for example 200 to 300 and 3500 to 3600?<div><div><br></div><div>Ammad</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 16, 2021 at 12:42 PM Slawek Kaplonski <<a href="mailto:skaplons@redhat.com">skaplons@redhat.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">Hi,<br>
<br>
On środa, 15 grudnia 2021 22:19:23 CET Ammad Syed wrote:<br>
> Hi,<br>
> <br>
> I am using neutron xena release with OVN. I have currently defined the vlan<br>
> range "network_vlan_ranges = vlannet1:3500:3600" in ml2_conf.ini.<br>
> <br>
> I have set bridge mapping via ovs with the below command.<br>
> <br>
> ovs-vsctl set open . external-ids:ovn-bridge-mappings=vlannet1:br-vlan<br>
> <br>
> Now I have to add a new vlan range. Can anyone confirm the syntax of<br>
> ml2_conf.ini and bridge mapping.<br>
> <br>
> network_vlan_ranges = vlannet1:3500:3600,vlannet2:300:400<br>
<br>
That syntax is correct. This config option is comma-separated list of physnets <br>
and ranges as You did above.<br>
<br>
> <br>
> ovs-vsctl set open .<br>
> external-ids:ovn-bridge-mappings=vlannet1:br-vlan,vlannet2:br-vlan<br>
> <br>
> Need to confirm the correct way to add new vlan range if the server is<br>
> currently live ? Can we use the same bridge with two different mapping i.e<br>
> vlannet1 and vlannet2 ?<br>
<br>
No. On bridge can be mapped to one physical network. We even had proposal to <br>
change it recently: <a href="https://bugs.launchpad.net/neutron/+bug/1952867" rel="noreferrer" target="_blank">https://bugs.launchpad.net/neutron/+bug/1952867</a> but finally <br>
we decided that we don't want to allow that.<br>
<br>
> <br>
> Ammad<br>
<br>
<br>
<br>
-- <br>
Slawek Kaplonski<br>
Principal Software Engineer<br>
Red Hat</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Regards,<div><br></div><div><br></div><div>Syed Ammad Ali</div></div>