fixing wim types 97/7497/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 23 May 2019 08:07:12 +0000 (08:07 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 23 May 2019 08:07:12 +0000 (08:07 +0000)
Change-Id: I64cd6b28381a7641e0af664fd2fd24c6e3856f62
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_ro/wim/schemas.py
osm_ro/wim/wim_thread.py

index 1e2a107..a88cb5e 100644 (file)
@@ -39,7 +39,7 @@ from ..openmano_schemas import (
 )
 
 # WIM -------------------------------------------------------------------------
-wim_types = ["ietftapi", "onos", "odl", "dynpac", "fake"]
+wim_types = ["tapi", "onos", "odl", "dynpac", "fake"]
 
 dpid_type = {
     "type": "string",
@@ -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": {
index 3e23a48..f37aba7 100644 (file)
@@ -74,7 +74,7 @@ CONNECTORS = {
     # "odl": wimconn_odl.OdlConnector,
     "dynpac": DynpacConnector,
     "fake": FakeConnector,
-    "ietfl2vpn": WimconnectorIETFL2VPN,
+    "tapi": WimconnectorIETFL2VPN,
     # Add extra connectors here
 }