extra_dict["params"] = {
"name": "{}-{}-{}-{}".format(
- indata["name"][:16],
- vnfr["member-vnf-index-ref"][:16],
- target_vdu["vdu-name"][:32],
+ indata["name"],
+ vnfr["member-vnf-index-ref"],
+ target_vdu["vdu-name"],
target_vdu.get("count-index") or 0,
),
"description": target_vdu["vdu-name"],
extra_dict["params"] = {
"name": "{}-{}-{}-{}".format(
- db_nsr["name"][:16],
- vnfr["member-vnf-index-ref"][:16],
- existing_vdu["vdu-name"][:32],
+ db_nsr["name"],
+ vnfr["member-vnf-index-ref"],
+ existing_vdu["vdu-name"],
existing_vdu.get("count-index") or 0,
),
"description": existing_vdu["vdu-name"],
"disk_list": [],
"flavor_id": f"TASK-{ns_preffix}:flavor.0",
"image_id": f"TASK-{ns_preffix}:image.0",
- "name": "sample_name-vnf-several-volu-several_volumes-VM-0",
+ "name": "sample_name-vnf-several-volumes-several_volumes-VM-0",
"net_list": [],
"start": True,
},
"disk_list": [],
"flavor_id": f"TASK-{ns_preffix}:flavor.0",
"image_id": f"TASK-{ns_preffix}:image.0",
- "name": "sample_name-vnf-several-volu-without_volumes-VM-0",
+ "name": "sample_name-vnf-several-volumes-without_volumes-VM-0",
"net_list": [],
"start": True,
},