Public bug reported: The default value of IPv6 RA and address modes is None (if they are not specified when the subnet is created). However, we cannot change IPv6 two modes to None from other values after creating a subnet. (ra_mode address_mode) = (None, None) is a valid combinaiton, but for example we cannot change them from (slaac, slaac) to (none, none).
IMO IPv6 two modes should accept None in API to allow users to reset the attribute value to None. ubuntu@dev02:~/neutron (master)$ neutron subnet-show 4ab34962-b330-4be5-98fe-ac7862f8d511 +-------------------+---------------------------------------------------------------------------+ | Field | Value | +-------------------+---------------------------------------------------------------------------+ | allocation_pools | {"start": "fe80:8888::2", "end": "fe80:8888:ff:ffff:ffff:ffff:ffff:fffe"} | | cidr | fe80:8888::/40 | | dns_nameservers | | | enable_dhcp | True | | gateway_ip | fe80:8888::1 | | host_routes | | | id | 4ab34962-b330-4be5-98fe-ac7862f8d511 | | ip_version | 6 | | ipv6_address_mode | slaac | | ipv6_ra_mode | slaac | | name | | | network_id | 07315dce-0c6c-4c2f-99ec-e8575ffa72af | | tenant_id | 36c29390faa8408cb9deff8762319740 | +-------------------+---------------------------------------------------------------------------+ ubuntu@dev02:~/neutron (master)$ neutron subnet-update 4ab34962-b330-4be5-98fe-ac7862f8d511 --ipv6_ra_mode action=clear --ipv6_address_mode action=clear Invalid input for ipv6_ra_mode. Reason: 'None' is not in ['dhcpv6-stateful', 'dhcpv6-stateless', 'slaac']. (HTTP 400) (Request-ID: req-9431df59-3881-4c85-861e-b25217b8013d) ** Affects: neutron Importance: Undecided Status: New ** Tags: ipv6 -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1362966 Title: IPv6 two attributes cannot be set to None Status in OpenStack Neutron (virtual network service): New Bug description: The default value of IPv6 RA and address modes is None (if they are not specified when the subnet is created). However, we cannot change IPv6 two modes to None from other values after creating a subnet. (ra_mode address_mode) = (None, None) is a valid combinaiton, but for example we cannot change them from (slaac, slaac) to (none, none). IMO IPv6 two modes should accept None in API to allow users to reset the attribute value to None. ubuntu@dev02:~/neutron (master)$ neutron subnet-show 4ab34962-b330-4be5-98fe-ac7862f8d511 +-------------------+---------------------------------------------------------------------------+ | Field | Value | +-------------------+---------------------------------------------------------------------------+ | allocation_pools | {"start": "fe80:8888::2", "end": "fe80:8888:ff:ffff:ffff:ffff:ffff:fffe"} | | cidr | fe80:8888::/40 | | dns_nameservers | | | enable_dhcp | True | | gateway_ip | fe80:8888::1 | | host_routes | | | id | 4ab34962-b330-4be5-98fe-ac7862f8d511 | | ip_version | 6 | | ipv6_address_mode | slaac | | ipv6_ra_mode | slaac | | name | | | network_id | 07315dce-0c6c-4c2f-99ec-e8575ffa72af | | tenant_id | 36c29390faa8408cb9deff8762319740 | +-------------------+---------------------------------------------------------------------------+ ubuntu@dev02:~/neutron (master)$ neutron subnet-update 4ab34962-b330-4be5-98fe-ac7862f8d511 --ipv6_ra_mode action=clear --ipv6_address_mode action=clear Invalid input for ipv6_ra_mode. Reason: 'None' is not in ['dhcpv6-stateful', 'dhcpv6-stateless', 'slaac']. (HTTP 400) (Request-ID: req-9431df59-3881-4c85-861e-b25217b8013d) To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1362966/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp