** Changed in: neutron
       Status: In Progress => Invalid

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

Title:
  One single ip is allocated for a port in the network with multiple
  subnets

Status in neutron:
  Invalid

Bug description:
  Steps:
  1.Create a network with multiple subnets.
  2.Create a port with the network above.
  3.Port is created, but only one ip is allocated for the port.

  The problem is as follows in [1]:
  def _allocate_ips_for_port(self, context, port):
           ..............
           ..............
           ..............
           .............
          else:
              ips = []
              version_subnets = [v4, v6_stateful]
              for subnets in version_subnets:
                  if subnets:
                      ips.append([{'subnet_id': s['id']}#"extend"should be used 
instead of "append"
                                  for s in subnets])


  
[1]https://github.com/openstack/neutron/blob/master/neutron/db/ipam_pluggable_backend.py#L223

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to