projects
/
osm
/
RO.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
477cb96
)
Set at nsd vnf_name equal to member_vnf_index
46/6046/1
author
tierno
<alfonso.tiernosepulveda@telefonica.com>
Fri, 27 Apr 2018 12:33:12 +0000
(14:33 +0200)
committer
tierno
<alfonso.tiernosepulveda@telefonica.com>
Fri, 27 Apr 2018 12:33:12 +0000
(14:33 +0200)
Change-Id: If12df6926928ef6d62a053518324d02c4c8332e4
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_ro/nfvo.py
patch
|
blob
|
history
diff --git
a/osm_ro/nfvo.py
b/osm_ro/nfvo.py
index
895a956
..
6e7a400
100644
(file)
--- 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", 25
5),
"vnf_id": existing_vnf[0]["uuid"],
"member_vnf_index": str(vnf["member-vnf-index"]),
# TODO 'start-by-default': True