From 12425a2d159822f437a382176e61a28bbb47fab8 Mon Sep 17 00:00:00 2001 From: tierno Date: Fri, 27 Apr 2018 14:33:12 +0200 Subject: [PATCH] Set at nsd vnf_name equal to member_vnf_index Change-Id: If12df6926928ef6d62a053518324d02c4c8332e4 Signed-off-by: tierno --- osm_ro/nfvo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1