From c24b4e23ff4c27308ec4ccba0d036c6406f1925d Mon Sep 17 00:00:00 2001 From: Vance Shipley Date: Fri, 12 May 2017 02:34:53 +0530 Subject: [PATCH] Bug 266 fixed: dataenter-associate --type aws requires user and password Signed-off-by: Vance Shipley --- osm_ro/nfvo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1