X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_ro%2Fnfvo.py;fp=osm_ro%2Fnfvo.py;h=6e7a4006c79e039a99434ce1ae7472070b6c277e;hb=12425a2d159822f437a382176e61a28bbb47fab8;hp=895a9569e58a66f0a61a26d2840322acd6f1449f;hpb=477cb96708ddce5bcd094f1a3a12ea0fc193c842;p=osm%2FRO.git diff --git a/osm_ro/nfvo.py b/osm_ro/nfvo.py index 895a9569..6e7a4006 100644 --- a/osm_ro/nfvo.py +++ b/osm_ro/nfvo.py @@ -2240,7 +2240,7 @@ def new_nsd_v3(mydb, tenant_id, nsd_descriptor): db_sce_vnf = { "uuid": sce_vnf_uuid, "scenario_id": scenario_uuid, - "name": existing_vnf[0]["name"][:200] + "." + get_str(vnf, "member-vnf-index", 5), + "name": get_str(vnf, "member-vnf-index", 255), "vnf_id": existing_vnf[0]["uuid"], "member_vnf_index": str(vnf["member-vnf-index"]), # TODO 'start-by-default': True