Bug 873: Robot Automation Improvement
1. Create a separate test to delete NS instance, extracted from NS launch test
2. Include test suite to test network slicing using NST
3. Include Platform Recovery & Resiliency Test
4. Include RBAC for platform test which require to update nbi docker service that is govern by stage-3 pipeline jobs under robot test

Change-Id: I5cd6f4fca78ad2d514b3e01aae630c083fbaf4e2
Signed-off-by: yadavmr <my00514913@techmahindra.com>
diff --git a/robot-systest/lib/custom_lib.py b/robot-systest/lib/custom_lib.py
index 5eb162f..4603f44 100644
--- a/robot-systest/lib/custom_lib.py
+++ b/robot-systest/lib/custom_lib.py
@@ -22,7 +22,7 @@
 # 1. Feature 7829: Jayant Madavi, Mrityunjay Yadav : MY00514913@techmahindra.com : 06-aug-2019 : Improvement to the code, robot framework initial seed code.
 ##
 
-
+import random
 from haikunator import Haikunator
 
 
@@ -30,3 +30,8 @@
     haikunator = Haikunator()
     name = haikunator.haikunate(delimiter='_', token_length=2)
     return name
+
+
+def get_random_item_from_list(l):
+    assert isinstance(l, list), "List should be provided"
+    return random.choice(l)