adding WIM fake type 98/7498/2
authortierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 23 May 2019 08:48:29 +0000 (08:48 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 23 May 2019 11:42:00 +0000 (11:42 +0000)
Change-Id: Ie38ab7400798ca2fa736c8e5cea5b6f3c03326ef

osm_nbi/validation.py

index b20be4a..2d1adce 100644 (file)
@@ -421,7 +421,7 @@ wim_account_new_schema = {
         "name": name_schema,
         "description": description_schema,
         "wim": name_schema,
-        "wim_type": {"enum": ["tapi", "onos", "odl", "dynpac"]},
+        "wim_type": {"enum": ["tapi", "onos", "odl", "dynpac", "fake"]},
         "wim_url": description_schema,
         "user": shortname_schema,
         "password": passwd_schema,