projects
/
osm
/
NBI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug 682: NSD cross references between vnffgd classifier and rsp not validated
[osm/NBI.git]
/
osm_nbi
/
validation.py
diff --git
a/osm_nbi/validation.py
b/osm_nbi/validation.py
index
f4823f6
..
fe574e3
100644
(file)
--- a/
osm_nbi/validation.py
+++ b/
osm_nbi/validation.py
@@
-363,7
+363,7
@@
ns_scale = { # TODO for the moment it is only VDU-scaling
schema_version = {"type": "string", "enum": ["1.0"]}
schema_type = {"type": "string"}
schema_version = {"type": "string", "enum": ["1.0"]}
schema_type = {"type": "string"}
-vim_type = {"enum": ["openstack", "openvim", "vmware", "opennebula", "aws", "azure", "fos"]}
+vim_type =
shortname_schema #
{"enum": ["openstack", "openvim", "vmware", "opennebula", "aws", "azure", "fos"]}
vim_account_edit_schema = {
"title": "vim_account edit input schema",
vim_account_edit_schema = {
"title": "vim_account edit input schema",
@@
-410,7
+410,7
@@
vim_account_new_schema = {
"additionalProperties": False
}
"additionalProperties": False
}
-wim_type = {"enum": ["tapi", "onos", "odl", "dynpac", "fake"]}
+wim_type =
shortname_schema #
{"enum": ["tapi", "onos", "odl", "dynpac", "fake"]}
wim_account_edit_schema = {
"title": "wim_account edit input schema",
wim_account_edit_schema = {
"title": "wim_account edit input schema",