[neutron][ovn] VLAN Ranges

Slawek Kaplonski skaplons at redhat.com
Thu Dec 16 07:42:26 UTC 2021


Hi,

On środa, 15 grudnia 2021 22:19:23 CET Ammad Syed wrote:
> Hi,
> 
> I am using neutron xena release with OVN. I have currently defined the vlan
> range "network_vlan_ranges = vlannet1:3500:3600" in ml2_conf.ini.
> 
> I have set bridge mapping via ovs with the below command.
> 
> ovs-vsctl set open . external-ids:ovn-bridge-mappings=vlannet1:br-vlan
> 
> Now I have to add a new vlan range. Can anyone confirm the syntax of
> ml2_conf.ini and bridge mapping.
> 
> network_vlan_ranges = vlannet1:3500:3600,vlannet2:300:400

That syntax is correct. This config option is comma-separated list of physnets 
and ranges as You did above.

> 
> ovs-vsctl set open .
> external-ids:ovn-bridge-mappings=vlannet1:br-vlan,vlannet2:br-vlan
> 
> Need to confirm the correct way to add new vlan range if the server is
> currently live ? Can we use the same bridge with two different mapping i.e
> vlannet1 and vlannet2 ?

No. On bridge can be mapped to one physical network. We even had proposal to 
change it recently: https://bugs.launchpad.net/neutron/+bug/1952867 but finally 
we decided that we don't want to allow that.

> 
> Ammad



-- 
Slawek Kaplonski
Principal Software Engineer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20211216/bed54032/attachment.sig>


More information about the openstack-discuss mailing list