Implemented subnet.allocation_pools + unit tests

subnet.allocation_pools depends on the IP policies implementation.
This commit is contained in:
Amir Sadoughi
2013-06-23 10:27:32 -05:00
parent 1150e8d868
commit a795004b89
5 changed files with 104 additions and 22 deletions

View File

@@ -16,13 +16,9 @@
# under the License.
from neutron.api import extensions
from neutron.api.v2 import attributes
EXTENDED_ATTRIBUTES_2_0 = {
'subnets': {
"allocation_pools": {'allow_post': True, 'allow_put': True,
'default': attributes.ATTR_NOT_SPECIFIED,
'is_visible': False},
"enable_dhcp": {'allow_post': False, 'allow_put': False,
'default': False,
'is_visible': True},