From 250e329c4c12a0e9407bc0f75c7d64a30b2e5632 Mon Sep 17 00:00:00 2001 From: tierno Date: Thu, 23 May 2019 08:07:12 +0000 Subject: [PATCH] fixing wim types Change-Id: I64cd6b28381a7641e0af664fd2fd24c6e3856f62 Signed-off-by: tierno --- osm_ro/wim/schemas.py | 4 ++-- osm_ro/wim/wim_thread.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/osm_ro/wim/schemas.py b/osm_ro/wim/schemas.py index 1e2a1072..a88cb5e2 100644 --- a/osm_ro/wim/schemas.py +++ b/osm_ro/wim/schemas.py @@ -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": { diff --git a/osm_ro/wim/wim_thread.py b/osm_ro/wim/wim_thread.py index 3e23a48d..f37aba74 100644 --- a/osm_ro/wim/wim_thread.py +++ b/osm_ro/wim/wim_thread.py @@ -74,7 +74,7 @@ CONNECTORS = { # "odl": wimconn_odl.OdlConnector, "dynpac": DynpacConnector, "fake": FakeConnector, - "ietfl2vpn": WimconnectorIETFL2VPN, + "tapi": WimconnectorIETFL2VPN, # Add extra connectors here } -- 2.25.1