aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets
diff options
context:
space:
mode:
authorKeong Lim <keong.lim@huawei.com>2019-03-19 15:44:35 +1100
committerKeong Lim <keong.lim@huawei.com>2019-03-19 15:46:49 +1100
commiteff1eab948cd5624477e56c65db01104f87e7c96 (patch)
tree6c4b3a809e6e19d65f08a0a3a3c25b4b947ad4c1 /robot/assets
parent2c0558d9c185638a071666e459bab50dd010f0ed (diff)
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>
Diffstat (limited to 'robot/assets')
-rw-r--r--robot/assets/templates/aai/add-relationship.template4
-rw-r--r--robot/assets/templates/aai/add-vpn-binding.template18
2 files changed, 22 insertions, 0 deletions
diff --git a/robot/assets/templates/aai/add-relationship.template b/robot/assets/templates/aai/add-relationship.template
new file mode 100644
index 00000000..e8550aaf
--- /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 00000000..8c6743fe
--- /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