From: Vance Shipley Date: Thu, 11 May 2017 21:04:53 +0000 (+0530) Subject: Bug 266 fixed: dataenter-associate --type aws requires user and password X-Git-Tag: v2.0.1~15 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=commitdiff_plain;h=c24b4e23ff4c27308ec4ccba0d036c6406f1925d Bug 266 fixed: dataenter-associate --type aws requires user and password Signed-off-by: Vance Shipley --- diff --git a/osm_ro/nfvo.py b/osm_ro/nfvo.py index 06af5379..76469946 100644 --- a/osm_ro/nfvo.py +++ b/osm_ro/nfvo.py @@ -2807,7 +2807,7 @@ def delete_datacenter(mydb, datacenter): def associate_datacenter_to_tenant(mydb, nfvo_tenant, datacenter, vim_tenant_id=None, vim_tenant_name=None, vim_username=None, vim_password=None, config=None): #get datacenter info - datacenter_id, myvim = get_datacenter_by_name_uuid(mydb, None, datacenter) + datacenter_id, myvim = get_datacenter_by_name_uuid(mydb, None, datacenter, vim_user=vim_username, vim_passwd=vim_password) datacenter_name = myvim["name"] create_vim_tenant = True if not vim_tenant_id and not vim_tenant_name else False