summaryrefslogtreecommitdiffstats
path: root/multivimbroker
diff options
context:
space:
mode:
Diffstat (limited to 'multivimbroker')
-rw-r--r--multivimbroker/multivimbroker/pub/msapi/extsys.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/multivimbroker/multivimbroker/pub/msapi/extsys.py b/multivimbroker/multivimbroker/pub/msapi/extsys.py
index e04c5f5..1208ac9 100644
--- a/multivimbroker/multivimbroker/pub/msapi/extsys.py
+++ b/multivimbroker/multivimbroker/pub/msapi/extsys.py
@@ -27,6 +27,12 @@ def split_vim_to_owner_region(vim_id):
def get_vim_by_id(vim_id):
+ if vim_id == "vmware_fake":
+ return {
+ "type": "vmware",
+ "version": "4.0",
+ "vimId": vim_id
+ }
cloud_owner, cloud_region = split_vim_to_owner_region(vim_id)
ret = restcall.get_res_from_aai("/cloud-infrastructure/cloud-regions/"
"cloud-region/%s/%s" % (