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:
Matt Dietz
2014-10-22 05:03:22 +00:00
parent d0fee05b42
commit 7d77624ff2

View File

@@ -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}
}
}