X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=models%2Fopenmano%2Fpython%2Frift%2Fopenmano%2Frift2openmano.py;fp=models%2Fopenmano%2Fpython%2Frift%2Fopenmano%2Frift2openmano.py;h=5652285120760de25a2953ce35fa6782eede2883;hb=f6914d7d8e3153683139096480a86afec5b07302;hp=2772f8f94cedef1d2c6416695b5dddeaf55ddcd3;hpb=4a34ba7b0bac3f07a75344cb4ad195c1aeeb6a3b;p=osm%2FSO.git diff --git a/models/openmano/python/rift/openmano/rift2openmano.py b/models/openmano/python/rift/openmano/rift2openmano.py index 2772f8f9..56522851 100755 --- a/models/openmano/python/rift/openmano/rift2openmano.py +++ b/models/openmano/python/rift/openmano/rift2openmano.py @@ -398,8 +398,8 @@ def rift2openmano_vnfd(rift_vnfd): } # Add the specific VDU connection points - for int_cp_ref in vld.internal_connection_point_ref: - vdu, int_if = find_vdu_and_int_if_by_cp_ref(int_cp_ref) + for int_cp in vld.internal_connection_point: + vdu, int_if = find_vdu_and_int_if_by_cp_ref(int_cp.id_ref) connection["elements"].append({ "VNFC": vdu.name, "local_iface_name": int_if.name, @@ -475,7 +475,7 @@ def rift2openmano_vnfd(rift_vnfd): if vdu.host_epa.has_field("om_cpu_feature"): vnfc["processor"]["features"] = [] for feature in vdu.host_epa.om_cpu_feature: - vnfc["processor"]["features"].append(feature) + vnfc["processor"]["features"].append(feature.feature) vnf["VNFC"].append(vnfc)