X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_ro%2Fnfvo.py;h=76469946c19e6505975abe4e9b9866996be326b7;hb=c24b4e23ff4c27308ec4ccba0d036c6406f1925d;hp=06af5379eab95ca6a4e22144fb4018fe4872b739;hpb=99314908f1e270c682b3402491b227db71d59545;p=osm%2FRO.git 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