Re-allow enable_dhcp & ip_policy_id on subnet POST
RM9573 These attributes were expressly forbidden by the subnets_quark API extension. It's better to limit them with policies or ignore them.
This commit is contained in:
@@ -20,10 +20,6 @@ from neutron.api import extensions
|
||||
EXTENDED_ATTRIBUTES_2_0 = {
|
||||
"subnets": {
|
||||
"segment_id": {"allow_post": True, "default": None},
|
||||
"enable_dhcp": {"allow_post": False, "allow_put": False,
|
||||
"default": False, "is_visible": True},
|
||||
"ip_policy_id": {"allow_post": False, "allow_put": False,
|
||||
"default": None, "is_visible": True}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user