Loading osm_nbi/validation.py +19 −1 Original line number Diff line number Diff line Loading @@ -449,7 +449,7 @@ ns_update = { "nsInstanceId": id_schema, "timeout_ns_update": integer1_schema, "updateType": { "enum": ["CHANGE_VNFPKG", "REMOVE_VNF", "MODIFY_VNF_INFORMATION"] "enum": ["CHANGE_VNFPKG", "REMOVE_VNF", "MODIFY_VNF_INFORMATION", "OPERATE_VNF"] }, "modifyVnfInfoData": { "type": "object", Loading @@ -468,6 +468,24 @@ ns_update = { }, "required": ["vnfInstanceId", "vnfdId"], }, "operateVnfData": { "type": "object", "properties": { "vnfInstanceId": id_schema, "changeStateTo": name_schema, "additionalParam": { "type": "object", "properties": { "run-day1": bool_schema, "vdu_id": name_schema, "count-index": integer0_schema, }, "required": ["vdu_id", "count-index"], "additionalProperties": False, } }, "required": ["vnfInstanceId", "changeStateTo"], } }, "required": ["updateType"], "additionalProperties": False, Loading Loading
osm_nbi/validation.py +19 −1 Original line number Diff line number Diff line Loading @@ -449,7 +449,7 @@ ns_update = { "nsInstanceId": id_schema, "timeout_ns_update": integer1_schema, "updateType": { "enum": ["CHANGE_VNFPKG", "REMOVE_VNF", "MODIFY_VNF_INFORMATION"] "enum": ["CHANGE_VNFPKG", "REMOVE_VNF", "MODIFY_VNF_INFORMATION", "OPERATE_VNF"] }, "modifyVnfInfoData": { "type": "object", Loading @@ -468,6 +468,24 @@ ns_update = { }, "required": ["vnfInstanceId", "vnfdId"], }, "operateVnfData": { "type": "object", "properties": { "vnfInstanceId": id_schema, "changeStateTo": name_schema, "additionalParam": { "type": "object", "properties": { "run-day1": bool_schema, "vdu_id": name_schema, "count-index": integer0_schema, }, "required": ["vdu_id", "count-index"], "additionalProperties": False, } }, "required": ["vnfInstanceId", "changeStateTo"], } }, "required": ["updateType"], "additionalProperties": False, Loading