← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1467791] Re: Specific ipv4 subnet to create port and return port contains ipv4 and ipv6 address

 

** Changed in: neutron
       Status: Invalid => Confirmed

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

Title:
  Specific ipv4 subnet to create port and return port contains ipv4 and
  ipv6 address

Status in OpenStack Neutron (virtual network service):
  Confirmed

Bug description:
  neutron --version
  2.6.0

  When a network named 'A' contains a ipv4 subnet and a ipv6 subnet with
  ipv6_address_mode and ipv6_ra_mode are 'slaac'/'dhcpv6-stateless'. I
  specify the ipv4 subnet without ipv4 addr to create a port based on
  this network 'A'. The returned port contains 2 addresses (both ipv4
  and ipv6).

  It just like:
   | fixed_ips             | {"subnet_id": "990f3f53-ee5b-4a6f-b362-34fc339ab6e5", "ip_address": "10.0.0.5"}
   |                          | {"subnet_id": "59464306-6781-4d33-b10c-214f4ba30e6c", "ip_address": "fd00:dd95:d03f:0:f81

  But the result which expected is just :
   | fixed_ips             | {"subnet_id": "990f3f53-ee5b-4a6f-b362-34fc339ab6e5", "ip_address": "10.0.0.5"}

  repo:
    1.create a network
    2.create a ipv4 subnet and a ipv6 subnet into this network.And specify ipv6_address_mode and ipv6_ra_mode are 'slaac'/'dhcpv6-stateless'.
    3.run the command
            neutron port-create --fixed-ip subnet_id=$[ipv4_subnet_id] $[network_id/name]

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


References