Add starlingx for framework 13/75913/1
authorHaibin Huang <haibin.huang@intel.com>
Thu, 17 Jan 2019 05:43:35 +0000 (13:43 +0800)
committerHaibin Huang <haibin.huang@intel.com>
Thu, 17 Jan 2019 05:57:52 +0000 (13:57 +0800)
Add starlingx support which make we can call the plugin by framework.

Change-Id: Ib84bc6c3d4ad4d38646fd50913efe3baa2fdd900
Issue-ID: MULTICLOUD-428
Signed-off-by: Haibin Huang <haibin.huang@intel.com>
multivimbroker/multivimbroker/pub/config/provider-plugin.json
multivimbroker/multivimbroker/tests/test_syscomm.py

index 64502a4..16b37a1 100644 (file)
                 "version": "pike",
                 "extra_info_hint": "",
                 "provider_plugin": "multicloud-pike"
+            },
+            "starlingx": {
+                "version": "starlingx",
+                "extra_info_hint": "",
+                "provider_plugin": "multicloud-starlingx"
             }
         },
         "provider_plugin": "multicloud-ocata"
index acad785..ee34649 100644 (file)
@@ -20,7 +20,7 @@ class TestSyscomm(unittest.TestCase):
 
     def test_getVIMTypes(self):
         expected_body = {
-            "openstack": ["titanium_cloud", "ocata", "pike"],
+            "openstack": ["titanium_cloud", "ocata", "pike", "starlingx"],
             "vmware": ["4.0"],
             "azure": ["1.0"]
         }