← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1952867] [NEW] [ml2][ovs] allow multiple physical networks map to one physical ovs bridge

 

Public bug reported:

In real cloud production environment, there are many hosts, which can
access external network, which may not. Some have enough NICs to work
for different networks, while some are lack of NICs.

For instance, an external network, provider:network_type is ``vlan``,
provider:physical_network is ``external``, provider:segmentation_id is
``4000``.

While tenant network, provider:network_type is ``vlan``,
provider:physical_network is ``user``, provider:segmentation_id is
``1000-3000``.

So for neutron's limitation, in one single host, you have to add two
ovs-bridges which are mapping external->br-ex, user->br-usr。While br-ex
add physical port eth0, and br-usr and eth1.

But, in real world, these vlans can work in same physical nic, and physical hosts may be lack of NICs, which means, Neutron should allow set bridge mapping like this:
{"external": br-vlan, "user": br-vlan}

Then, for those hosts with only one NIC (or one bond NIC), can work for
both physical types of network.

You may say, may be we can set one network with two types of
"provider:physical_network". One single network is currently type uniq.
This will be a bit more complicated than the former solution. This needs
not only neutron-server side DB model changes, but also agent side
change. While  the former may only need agent side change to allow set
that mappings.

Any ideas?

** Affects: neutron
     Importance: Undecided
         Status: New

** Summary changed:

- [ml2][ovs] allow  physical map to one physical ovs bridge
+ [ml2][ovs] allow multiple physical networks map to one physical ovs bridge

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1952867

Title:
  [ml2][ovs] allow multiple physical networks map to one physical ovs
  bridge

Status in neutron:
  New

Bug description:
  In real cloud production environment, there are many hosts, which can
  access external network, which may not. Some have enough NICs to work
  for different networks, while some are lack of NICs.

  For instance, an external network, provider:network_type is ``vlan``,
  provider:physical_network is ``external``, provider:segmentation_id is
  ``4000``.

  While tenant network, provider:network_type is ``vlan``,
  provider:physical_network is ``user``, provider:segmentation_id is
  ``1000-3000``.

  So for neutron's limitation, in one single host, you have to add two
  ovs-bridges which are mapping external->br-ex, user->br-usr。While br-
  ex add physical port eth0, and br-usr and eth1.

  But, in real world, these vlans can work in same physical nic, and physical hosts may be lack of NICs, which means, Neutron should allow set bridge mapping like this:
  {"external": br-vlan, "user": br-vlan}

  Then, for those hosts with only one NIC (or one bond NIC), can work
  for both physical types of network.

  You may say, may be we can set one network with two types of
  "provider:physical_network". One single network is currently type
  uniq. This will be a bit more complicated than the former solution.
  This needs not only neutron-server side DB model changes, but also
  agent side change. While  the former may only need agent side change
  to allow set that mappings.

  Any ideas?

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1952867/+subscriptions



Follow ups