Feature 10978: add tests for ipv6 profiles in vnfd and nsd

Change-Id: If62b1489249fe4135a14b9c2720573ba8fe1a5c1
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
diff --git a/robot-systest/lib/openstack_lib.robot b/robot-systest/lib/openstack_lib.robot
index 80bc22b..b95b0c3 100644
--- a/robot-systest/lib/openstack_lib.robot
+++ b/robot-systest/lib/openstack_lib.robot
@@ -147,6 +147,17 @@
     [Return]   ${stdout}
 
 
+Get Subnet
+    [Documentation]   Get subnet information in JSON format
+    [Arguments]   ${subnet_id}
+
+    Should Not Be Empty   ${subnet_id}
+    ${rc}   ${stdout}=   Run and Return RC and Output   openstack subnet show ${subnet_id} -f json
+    Log   ${stdout}
+    Should Be Equal As Integers   ${rc}   ${success_return_code}
+    [Return]   ${stdout}
+
+
 Stop Server
     [Documentation]   Stop a server
     [Arguments]   ${server_id}