X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_ro%2Fnfvo.py;h=c2f331be29b1f7614d6737698c89e3eb66cb89d5;hb=45140f51dbddc7084fdedf71fd888f691b851301;hp=b94d13b410d5b29888c72539e983866956f15d87;hpb=751a4ef6a5853c1cafb352ff1800793c4713667f;p=osm%2FRO.git diff --git a/osm_ro/nfvo.py b/osm_ro/nfvo.py index b94d13b4..c2f331be 100644 --- a/osm_ro/nfvo.py +++ b/osm_ro/nfvo.py @@ -916,7 +916,7 @@ def new_vnfd_v3(mydb, tenant_id, vnf_descriptor): HTTP_Bad_Request) db_ip_profiles[ip_profile_name2db_table_index[ip_profile_name]]["net_id"] = net_uuid else: #check no ip-address has been defined - for icp in vld.get("internal-connection-point"): + for icp in vld.get("internal-connection-point").itervalues(): if icp.get("ip-address"): raise NfvoException("Error at 'vnfd[{}]':'vld[{}]':'internal-connection-point[{}]' " "contains an ip-address but no ip-profile has been defined at VLD".format(