X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fvalidation.py;fp=osm_nbi%2Fvalidation.py;h=bfea1125e848c8526cef280a4ab84ad7079dfbe6;hp=1bf597cdc50da48ee09c8e6bca0097e54bb3ba98;hb=84a60df053d2e3f902e7e58d5f5a5db46789683e;hpb=0a1efeda7d6f21e7c5291ac617a6403853697949 diff --git a/osm_nbi/validation.py b/osm_nbi/validation.py index 1bf597c..bfea112 100644 --- a/osm_nbi/validation.py +++ b/osm_nbi/validation.py @@ -641,6 +641,23 @@ ns_verticalscale = { "additionalProperties": False, } +nslcmop_cancel = { + "title": "Cancel nslcmop input schema", + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "nsLcmOpOccId": id_schema, + "cancelMode": { + "enum": [ + "GRACEFUL", + "FORCEFUL", + ] + }, + }, + "required": ["cancelMode"], + "additionalProperties": False, +} + schema_version = {"type": "string", "enum": ["1.0"]} schema_type = {"type": "string"} vim_type = shortname_schema # {"enum": ["openstack", "openvim", "vmware", "opennebula", "aws", "azure", "fos"]}