diff options
-rw-r--r-- | lcm/ns/vnfs/create_vnfs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/ns/vnfs/create_vnfs.py b/lcm/ns/vnfs/create_vnfs.py index 8e9c016d..631063fd 100644 --- a/lcm/ns/vnfs/create_vnfs.py +++ b/lcm/ns/vnfs/create_vnfs.py @@ -121,7 +121,7 @@ class CreateVnfs(Thread): self.vnfd_id = vnf_info['properties']['id'] if 'name' not in vnf_info['properties']: # HW vnf instance name must start with alphabet - self.vnf_inst_name = 'vnf' + self.vnfd_id + str(uuid.uuid4()) + self.vnf_inst_name = 'vnf' + self.vnfd_id[:10] + str(uuid.uuid4()) else: self.vnf_inst_name = vnf_info['properties']['name'] + str(uuid.uuid4()) self.vnf_inst_name = self.vnf_inst_name[:30] |