"REMOVE_VNF",
"MODIFY_VNF_INFORMATION",
"OPERATE_VNF",
+ "VERTICAL_SCALE",
]
},
"modifyVnfInfoData": {
},
"required": ["vnfInstanceId", "changeStateTo"],
},
+ "verticalScaleVnf": {
+ "type": "object",
+ "properties": {
+ "vnfInstanceId": id_schema,
+ "vnfdId": id_schema,
+ "vduId": name_schema,
+ "countIndex": integer0_schema,
+ },
+ "required": ["vnfInstanceId", "vnfdId", "vduId"],
+ },
},
"required": ["updateType"],
"additionalProperties": False,
"additionalProperties": False,
}
-ns_verticalscale = {
- "title": "vertial scale input schema",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "type": "object",
- "properties": {
- "lcmOperationType": string_schema,
- "verticalScale": string_schema,
- "nsInstanceId": id_schema,
- "changeVnfFlavorData": {
- "type": "object",
- "properties": {
- "vnfInstanceId": id_schema,
- "additionalParams": {
- "type": "object",
- "properties": {
- "vduid": string_schema,
- "vduCountIndex": integer0_schema,
- "virtualMemory": integer1_schema,
- "sizeOfStorage": integer0_schema,
- "numVirtualCpu": integer1_schema,
- },
- },
- },
- "required": ["vnfInstanceId", "additionalParams"],
- "additionalProperties": False,
- },
- },
- "required": ["lcmOperationType", "verticalScale", "nsInstanceId"],
- "additionalProperties": False,
-}
-
nslcmop_cancel = {
"title": "Cancel nslcmop input schema",
"$schema": "http://json-schema.org/draft-04/schema#",