projects
/
osm
/
RO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix deployment of EPA VMs to use single virtual socket instead of 1 socket per core
[osm/RO.git]
/
osm_ro
/
wim
/
schemas.py
diff --git
a/osm_ro/wim/schemas.py
b/osm_ro/wim/schemas.py
index
fb65fdd
..
a88cb5e
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",
@@
-83,7
+83,7
@@
wim_port_mapping_desc = {
"required": ["mapping_type"]
}
},
"required": ["mapping_type"]
}
},
- "
one
Of": [
+ "
any
Of": [
{
"required": [
"pop_switch_dpid",
{
"required": [
"pop_switch_dpid",
@@
-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": {