Add support to Create/Update subnets in subnet_onboard
Currently Subnet Onboard do not support creating or updating subnets. This patch adds this support. Change-Id: Ib925028a84a86d0707ed24d5edb62bdf552db1e6 Co-Authored-By: Trevor McCasland <TM2086@att.com>
This commit is contained in:
parent
e0cc5efb74
commit
628f970048
@ -41,6 +41,7 @@ ONBOARD_SUBNETS_SPECS = {
|
|||||||
RESOURCE_ATTRIBUTE_MAP = {
|
RESOURCE_ATTRIBUTE_MAP = {
|
||||||
subnetpool_def.COLLECTION_NAME: {
|
subnetpool_def.COLLECTION_NAME: {
|
||||||
subnet_def.COLLECTION_NAME: {
|
subnet_def.COLLECTION_NAME: {
|
||||||
|
'allow_post': True, 'allow_put': True,
|
||||||
'validate': {
|
'validate': {
|
||||||
'type:list_of_any_key_specs_or_none': ONBOARD_SUBNETS_SPECS
|
'type:list_of_any_key_specs_or_none': ONBOARD_SUBNETS_SPECS
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- The ``subnet_onboard`` API definition now supports creating and updating
|
||||||
|
subnets
|
Loading…
Reference in New Issue
Block a user