Fix deployment of EPA VMs to use single virtual socket instead of 1 socket per core
[osm/RO.git] / osm_ro / wim / schemas.py
index fb65fdd..a88cb5e 100644 (file)
@@ -39,7 +39,7 @@ from ..openmano_schemas import (
 )
 
 # WIM -------------------------------------------------------------------------
-wim_types = ["tapi", "onos", "odl", "dynpac"]
+wim_types = ["tapi", "onos", "odl", "dynpac", "fake"]
 
 dpid_type = {
     "type": "string",
@@ -83,7 +83,7 @@ wim_port_mapping_desc = {
                             "required": ["mapping_type"]
                         }
                     },
-                    "oneOf": [
+                    "anyOf": [
                         {
                             "required": [
                                 "pop_switch_dpid",
@@ -111,7 +111,7 @@ wim_schema_properties = {
     "description": description_schema,
     "type": {
         "type": "string",
-        "enum": ["tapi", "onos", "odl", "dynpac"]
+        "enum": ["tapi", "onos", "odl", "dynpac", "fake"]
     },
     "wim_url": description_schema,
     "config": {