From: tierno Date: Thu, 23 May 2019 08:07:12 +0000 (+0000) Subject: fixing wim types X-Git-Tag: v6.0.0~11 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=250e329c4c12a0e9407bc0f75c7d64a30b2e5632;p=osm%2FRO.git fixing wim types Change-Id: I64cd6b28381a7641e0af664fd2fd24c6e3856f62 Signed-off-by: tierno --- 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 }