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=e037093cc18bba4dcfa960504a0ee6aa6e9057db;hb=6e68b19dbf2f4c37ed6776b9c18096ca8a980a40;hp=d76c470882122abd361cd343fb9ed205ad71b90d;hpb=4fe85aaedb7dfefe850241203b6b5eeef6f816ec;p=osm%2FSO.git diff --git a/models/openmano/python/rift/openmano/rift2openmano.py b/models/openmano/python/rift/openmano/rift2openmano.py index d76c4708..e037093c 100755 --- a/models/openmano/python/rift/openmano/rift2openmano.py +++ b/models/openmano/python/rift/openmano/rift2openmano.py @@ -572,6 +572,8 @@ def rift2openmano_vnfd(rift_vnfd, rift_nsd): [pair.thread_a, pair.thread_b] ) + if numa_node.has_field("num_threads"): + vnfc["numas"][0]["threads"] = numa_node.num_threads else: if vdu.vm_flavor.has_field("vcpu_count"): vnfc["numas"][0]["cores"] = max(vdu.vm_flavor.vcpu_count, 1)