← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1781156] Re: Randomly choose from multiple IPv6 stateless subnets

 

By referring to the multiple ipv6 prefixes spec [1], it is intentional
to include all the stateless IPv6 addresses into the port. The current
implementation seems to be correct. In addition, you can look at this
bug [2], in which people was complaining that neutron was not picking
all the SLAAC addresses.

[1] https://specs.openstack.org/openstack/neutron-specs/specs/kilo/multiple-ipv6-prefixes.html
[2] https://bugs.launchpad.net/neutron/+bug/1358709

** 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/1781156

Title:
  Randomly choose from multiple IPv6 stateless subnets

Status in neutron:
  Invalid

Bug description:
  If we create a dual-stack network, both with two IPv4 and IPv6
  subnets, we will get one IPv4 and two IPv6 addresses:

  # neutron port-create test
  neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
  Created a new port:
  +-----------------------+-------------------------------------------------------------------------------------------------------------+
  | Field                 | Value                                                                                                       |
  +-----------------------+-------------------------------------------------------------------------------------------------------------+
  | admin_state_up        | True                                                                                                        |
  | allowed_address_pairs |                                                                                                             |
  | binding:host_id       |                                                                                                             |
  | binding:profile       | {}                                                                                                          |
  | binding:vif_details   | {}                                                                                                          |
  | binding:vif_type      | unbound                                                                                                     |
  | binding:vnic_type     | normal                                                                                                      |
  | created_at            | 2018-07-11T07:58:14Z                                                                                        |
  | description           |                                                                                                             |
  | device_id             |                                                                                                             |
  | device_owner          |                                                                                                             |
  | extra_dhcp_opts       |                                                                                                             |
  | fixed_ips             | {"subnet_id": "36c4f1cc-4043-4d62-a6ee-db5704dc929a", "ip_address": "30.20.30.3"}                           |
  |                       | {"subnet_id": "1bb187de-dce2-429f-8e0f-f0e5357d5f49", "ip_address": "fdf8:f53b:82e4:0:f816:3eff:fe05:ef6e"} |
  |                       | {"subnet_id": "b7624e84-b956-41d2-a4d6-ca6a150200fc", "ip_address": "fdf8:f53c:82e4:0:f816:3eff:fe05:ef6e"} |
  | id                    | b7bc35ea-8c26-4fab-9ef4-8b009d3cba4a                                                                        |
  | mac_address           | fa:16:3e:05:ef:6e                                                                                           |
  | name                  |                                                                                                             |
  | network_id            | 75f2f23a-ab63-4560-bd61-92023700840d                                                                        |
  | port_security_enabled | True                                                                                                        |
  | project_id            | 213ea3d880074bbdab84918d70747a20                                                                            |
  | qos_policy_id         |                                                                                                             |
  | revision_number       | 2                                                                                                           |
  | security_groups       | 04efec82-a93c-4d19-ad52-a34a7e1a558c                                                                        |
  | status                | DOWN                                                                                                        |
  | tags                  |                                                                                                             |
  | tenant_id             | 213ea3d880074bbdab84918d70747a20                                                                            |
  | updated_at            | 2018-07-11T07:58:15Z                                                                                        |
  +-----------------------+-------------------------------------------------------------------------------------------------------------+

  For those IPv4, IPv6 stateful addresses, we choose one of subnets from
  the network, I think this can be also suitable for IPv6 stateless
  address.

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


References