projects
/
osm
/
RO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ADD support for multivdu ns
[osm/RO.git]
/
osm_ro
/
wim
/
schemas.py
diff --git
a/osm_ro/wim/schemas.py
b/osm_ro/wim/schemas.py
index
6692ac5
..
101bcb1
100644
(file)
--- a/
osm_ro/wim/schemas.py
+++ b/
osm_ro/wim/schemas.py
@@
-39,7
+39,7
@@
from ..openmano_schemas import (
)
# WIM -------------------------------------------------------------------------
)
# WIM -------------------------------------------------------------------------
-wim_types = ["tapi", "onos", "odl", "dynpac"]
+wim_types = ["tapi", "onos", "odl", "dynpac"
, "fake"
]
dpid_type = {
"type": "string",
dpid_type = {
"type": "string",
@@
-111,7
+111,7
@@
wim_schema_properties = {
"description": description_schema,
"type": {
"type": "string",
"description": description_schema,
"type": {
"type": "string",
- "enum": ["tapi", "onos", "odl", "dynpac"]
+ "enum": ["tapi", "onos", "odl", "dynpac"
, "fake"
]
},
"wim_url": description_schema,
"config": {
},
"wim_url": description_schema,
"config": {
@@
-131,11
+131,9
@@
wim_schema = {
"type": "object",
"properties": wim_schema_properties,
"required": ["name", "type", "wim_url"],
"type": "object",
"properties": wim_schema_properties,
"required": ["name", "type", "wim_url"],
- "additionalProperties": True
}
},
"required": ["wim"],
}
},
"required": ["wim"],
- "additionalProperties": False
}
wim_edit_schema = {
}
wim_edit_schema = {
@@
-146,11
+144,9
@@
wim_edit_schema = {
"wim": {
"type": "object",
"properties": wim_schema_properties,
"wim": {
"type": "object",
"properties": wim_schema_properties,
- "additionalProperties": False
}
},
"required": ["wim"],
}
},
"required": ["wim"],
- "additionalProperties": False
}
wim_account_schema = {
}
wim_account_schema = {
@@
-166,11
+162,9
@@
wim_account_schema = {
"password": nameshort_schema,
"config": {"type": "object"}
},
"password": nameshort_schema,
"config": {"type": "object"}
},
- "additionalProperties": True
}
},
"required": ["wim_account"],
}
},
"required": ["wim_account"],
- "additionalProperties": False
}
wim_port_mapping_schema = {
}
wim_port_mapping_schema = {