Cannot set only one of IPv6 attributes while second is None
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Low
|
Henry Gessau |
Bug Description
When trying to update ipv6 subnet's (created with default None attributes) ra_mode or address_mode operation is not permited (although it should be) :
neutron subnet-create --ip-version 6 Test fe80:8888::/40
+------
| Field | Value |
+------
| allocation_pools | {"start": "fe80:8888::2", "end": "fe80:8888:
| cidr | fe80:8888::/40 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | fe80:8888::1 |
| host_routes | |
| id | 720d4f22-
| ip_version | 6 |
| ipv6_address_mode | |
| ipv6_ra_mode | |
| name | |
| network_id | 124826a4-
| tenant_id | d2b47b4677fb4e3
+------
neutron subnet-update 720d4f22-
Invalid input for operation: ipv6_ra_mode set to 'None' with ipv6_address_mode set to 'slaac' is not valid. If both attributes are set, they must be the same value.
neutron subnet-update 720d4f22-
Invalid input for operation: ipv6_ra_mode set to 'slaac' with ipv6_address_mode set to 'None' is not valid. If both attributes are set, they must be the same value.
Clearly as message states leaving one attribute not set should be allowed (also I've found spec where attributes combinations are disccused)
http://
tags: | added: ipv6 |
Changed in neutron: | |
assignee: | nobody → Jacek Świderski (jacek-swiderski) |
status: | New → Confirmed |
tags: | added: api |
Changed in neutron: | |
importance: | Undecided → Low |
Changed in neutron: | |
assignee: | Jacek Świderski (jacek-swiderski) → Henry Gessau (gessau) |
Changed in neutron: | |
assignee: | Henry Gessau (gessau) → Jacek Świderski (jacek-swiderski) |
Changed in neutron: | |
assignee: | Jacek Świderski (jacek-swiderski) → Henry Gessau (gessau) |
Fix proposed to branch: master /review. openstack. org/117799
Review: https:/