AAI-2208 Robot tests for CCVPN and relationships
Add relationship to relationship-list
Add vpn-binding keywords
Update connectivity keywords
Update test cases to relate connectivity to vpn-binding and vice-versa
Change-Id: Id23f4603f0df47e737adf481d8b6308a64936ba0
Issue-ID: AAI-2208
Signed-off-by: Keong Lim <keong.lim@huawei.com>
diff --git a/robot/assets/templates/aai/add-relationship.template b/robot/assets/templates/aai/add-relationship.template
new file mode 100644
index 0000000..e8550aa
--- /dev/null
+++ b/robot/assets/templates/aai/add-relationship.template
@@ -0,0 +1,4 @@
+{
+ "related-to": "${related_class_name}",
+ "related-link": "${related_object_url}"
+}
diff --git a/robot/assets/templates/aai/add-vpn-binding.template b/robot/assets/templates/aai/add-vpn-binding.template
new file mode 100644
index 0000000..8c6743f
--- /dev/null
+++ b/robot/assets/templates/aai/add-vpn-binding.template
@@ -0,0 +1,18 @@
+{
+ "vpn-id": "${vpn_id}",
+ "vpn-name": "",
+ "vpn-platform": "",
+ "vpn-type": "",
+ "vpn-region": "",
+ "customer-vpn-id": "",
+ "route-distinguisher": "",
+ "access-provider-id": "",
+ "access-client-id": "",
+ "access-topology-id": "",
+ "src-access-node-id": "",
+ "src-access-ltp-id": "",
+ "dst-access-node-id": "",
+ "dst-access-ltp-id": "",
+ "operational-status": "",
+ "resource-version": ""
+}
\ No newline at end of file