summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2018-09-03 08:59:48 +0000
committerBin Yang <bin.yang@windriver.com>2018-09-03 10:46:23 +0000
commitadd37e10f956227f4a8db29829daf12f029e9d8e (patch)
tree6182e93fba2ea9525d6ec40ca00b952fe173bdb2
parent1d679aae703c3062da24da290f264586b630a08f (diff)
Refactor windriver plugin namespace
Workaround the restraints of ISTIO which prohibit the usage of _ in the namespace Change-Id: Ic6ebfda2de4285e3d5edb1bbfbfb21307c75348a Issue-ID: MULTICLOUD-335 Signed-off-by: Bin Yang <bin.yang@windriver.com>
-rw-r--r--multivimbroker/multivimbroker/pub/config/provider-plugin.json2
-rw-r--r--multivimbroker/multivimbroker/tests/test_syscomm.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/multivimbroker/multivimbroker/pub/config/provider-plugin.json b/multivimbroker/multivimbroker/pub/config/provider-plugin.json
index 0ac4701..a6d7478 100644
--- a/multivimbroker/multivimbroker/pub/config/provider-plugin.json
+++ b/multivimbroker/multivimbroker/pub/config/provider-plugin.json
@@ -5,7 +5,7 @@
"titanium_cloud": {
"version": "titanium_cloud",
"extra_info_hint": "",
- "provider_plugin": "multicloud-titanium_cloud"
+ "provider_plugin": "multicloud-titaniumcloud"
},
"ocata": {
"version": "ocata",
diff --git a/multivimbroker/multivimbroker/tests/test_syscomm.py b/multivimbroker/multivimbroker/tests/test_syscomm.py
index 1a5017c..1f3d71d 100644
--- a/multivimbroker/multivimbroker/tests/test_syscomm.py
+++ b/multivimbroker/multivimbroker/tests/test_syscomm.py
@@ -51,7 +51,7 @@ class TestSyscomm(unittest.TestCase):
def test_findMultivimDriver_with_version(self):
vim = {"type": "openstack", "version": "titanium_cloud"}
ret = syscomm.findMultivimDriver(vim)
- self.assertEqual("multicloud-titanium_cloud", ret)
+ self.assertEqual("multicloud-titaniumcloud", ret)
def test_originHeaders(self):
req = mock.Mock()