X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_ro%2Fopenmano_schemas.py;h=b8d197ae299d5cc0bc6a5399823be9ce7d1672da;hb=1fa49b16e92ff2e4f512ccc466fdc3dff31559e4;hp=5839e24fb9c788d08b49dc288e8556732358e9e7;hpb=fc7cfbf916777271ba2cf1c8edfa5d62ab9c8ce3;p=osm%2FRO.git diff --git a/osm_ro/openmano_schemas.py b/osm_ro/openmano_schemas.py index 5839e24f..b8d197ae 100644 --- a/osm_ro/openmano_schemas.py +++ b/osm_ro/openmano_schemas.py @@ -257,8 +257,9 @@ datacenter_action_schema = { "$schema": "http://json-schema.org/draft-04/schema#", "type":"object", "properties":{ - "net-update":{"type":"null",}, - "net-edit":{ + "check-connectivity": {"type": "null"}, + "net-update": {"type": "null"}, + "net-edit": { "type":"object", "properties":{ "net": name_schema, #name or uuid of net to change @@ -1094,6 +1095,16 @@ instance_scenario_create_schema_v01 = { }, "wim_account": {"oneOf": [boolean_schema, id_schema, null_schema]}, "ip-profile": ip_profile_schema, + "use-network": { + "type": "object", + "properties": { + "instance_scenario_id": id_schema, + # "member_vnf_index": name_schema, # if not null, network inside VNF + "osm_id": name_schema, # sce_network osm_id or name + }, + "additionalProperties": False, + "required": ["instance_scenario_id", "osm_id"] + }, #if the network connects VNFs deployed at different sites, you must specify one entry per site that this network connect to "sites": { "type":"array", @@ -1146,6 +1157,7 @@ instance_scenario_action_schema = { "type": ["object", "null"], }, "add_public_key": description_schema, + "user": nameshort_schema, "console": {"type": ["string", "null"], "enum": ["novnc", "xvpvnc", "rdp-html5", "spice-html5", None]}, "vdu-scaling": { "type": "array",