bug 828 inject VCA key only when vnf/vdu-configuration:config-access:ssh-access:required is True
Send user to RO in the inject key command
Wait RO to get up sometime at staring before abandom
Change-Id: I073a3322281f213550b8cde99a53721d2d1d9f05
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
diff --git a/osm_lcm/lcm_utils.py b/osm_lcm/lcm_utils.py
index bb53d7c..2779a25 100644
--- a/osm_lcm/lcm_utils.py
+++ b/osm_lcm/lcm_utils.py
@@ -42,7 +42,9 @@
"""
filled = []
for point in v.split("."):
- filled.append(point.zfill(16))
+ point, _, _ = point.partition("+")
+ point, _, _ = point.partition("-")
+ filled.append(point.zfill(20))
return tuple(filled)