yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #23398
[Bug 1362966] Re: IPv6 two attributes cannot be set to None
Sorry that I readded neutron client again.
subnet-update has --ipv6-ra-mode and --ipv6-address-mode option.
These options needs to support None.
This is the reason neutronclient is affected.
** Also affects: python-neutronclient
Importance: Undecided
Status: New
** Changed in: horizon
Assignee: (unassigned) => Akihiro Motoki (amotoki)
--
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 Dashboard (Horizon):
New
Status in OpenStack Neutron (virtual network service):
In Progress
Status in Python client library for Neutron:
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/horizon/+bug/1362966/+subscriptions
References