"nsd-name-ref": nsd["name"],
"operational-events": [], # "id", "timestamp", "description", "event",
"nsd-ref": nsd["id"],
+ "nsd-id": nsd["_id"],
"instantiate_params": self._format_ns_request(ns_request),
"additionalParamsForNs": self._format_addional_params(ns_request),
"ns-instance-config-ref": nsr_id,
"member_vnf_index": name_schema,
"vnf_member_index": name_schema, # TODO for backward compatibility. To remove in future
"vdu_id": name_schema,
+ "vdu_count_index": integer0_schema,
"primitive": name_schema,
"primitive_params": {"type": "object"},
},
"wim_url": description_schema,
"user": shortname_schema,
"password": passwd_schema,
- "config": {"type": "object"}
+ "config": {
+ "type": "object",
+ "patternProperties": {
+ ".": {"not": {"type": "null"}}
+ }
+ }
},
"required": ["name", "wim_url", "wim_type"],
"additionalProperties": False