summaryrefslogtreecommitdiffstats
path: root/multivimbroker
diff options
context:
space:
mode:
authorHaibin Huang <haibin.huang@intel.com>2019-01-17 13:43:35 +0800
committerHaibin Huang <haibin.huang@intel.com>2019-01-17 13:57:52 +0800
commitf03d40e62c6e945bf8beed487513c689df02d547 (patch)
treeabb2196b65c5cd4581075cce10ccdf643d50bab7 /multivimbroker
parente549747dc7e4016c91868a31122d25d466327c1e (diff)
Add starlingx for framework
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>
Diffstat (limited to 'multivimbroker')
-rw-r--r--multivimbroker/multivimbroker/pub/config/provider-plugin.json5
-rw-r--r--multivimbroker/multivimbroker/tests/test_syscomm.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/multivimbroker/multivimbroker/pub/config/provider-plugin.json b/multivimbroker/multivimbroker/pub/config/provider-plugin.json
index 64502a4..16b37a1 100644
--- a/multivimbroker/multivimbroker/pub/config/provider-plugin.json
+++ b/multivimbroker/multivimbroker/pub/config/provider-plugin.json
@@ -16,6 +16,11 @@
"version": "pike",
"extra_info_hint": "",
"provider_plugin": "multicloud-pike"
+ },
+ "starlingx": {
+ "version": "starlingx",
+ "extra_info_hint": "",
+ "provider_plugin": "multicloud-starlingx"
}
},
"provider_plugin": "multicloud-ocata"
diff --git a/multivimbroker/multivimbroker/tests/test_syscomm.py b/multivimbroker/multivimbroker/tests/test_syscomm.py
index acad785..ee34649 100644
--- a/multivimbroker/multivimbroker/tests/test_syscomm.py
+++ b/multivimbroker/multivimbroker/tests/test_syscomm.py
@@ -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"]
}