summaryrefslogtreecommitdiffstats
path: root/plugins/aai/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/aai/src/test')
-rw-r--r--plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-create-sample-1.1.yaml8
-rw-r--r--plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-delete-sample-1.1.yaml8
-rw-r--r--plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-list-sample-1.1.yaml13
-rw-r--r--plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-show-sample-1.1.yaml14
4 files changed, 43 insertions, 0 deletions
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-create-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-create-sample-1.1.yaml
new file mode 100644
index 00000000..2856ba62
--- /dev/null
+++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-create-sample-1.1.yaml
@@ -0,0 +1,8 @@
+onap_cli_sample_version: 1.0
+
+name: ems-register
+version: onap-1.1
+samples:
+ sample1:
+ name: Create a ems
+ input: -z f962fa1e-d439-4b02-a122-cc38fd0da07c -b ems-1 -c OpenStack -e HW -q 1.0 -g http://locahost -i user -j password -x remote-path -d
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-delete-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-delete-sample-1.1.yaml
new file mode 100644
index 00000000..99a92785
--- /dev/null
+++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-delete-sample-1.1.yaml
@@ -0,0 +1,8 @@
+onap_cli_sample_version: 1.0
+
+name: ems-unregister
+version: onap-1.1
+samples:
+ sample1:
+ name: Delete the ems
+ input: -x f962fa1e-d439-4b02-a122-cc38fd0da07c -y 1505298922586
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-list-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-list-sample-1.1.yaml
new file mode 100644
index 00000000..88997812
--- /dev/null
+++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-list-sample-1.1.yaml
@@ -0,0 +1,13 @@
+onap_cli_sample_version: 1.0
+
+name: ems-list
+version: onap-1.1
+samples:
+ sample1:
+ name: List all ems
+ output: |
+ +--------------------------------------+------------------+
+ |ems-id |resource-version |
+ +--------------------------------------+------------------+
+ |f962fa1e-d439-4b02-a122-cc38fd0da07c |1505298922586 |
+ +--------------------------------------+------------------+
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-show-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-show-sample-1.1.yaml
new file mode 100644
index 00000000..e11753ac
--- /dev/null
+++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-show-sample-1.1.yaml
@@ -0,0 +1,14 @@
+onap_cli_sample_version: 1.0
+
+name: ems-show
+version: onap-1.1
+samples:
+ sample1:
+ name: Show the ems
+ input: -x f962fa1e-d439-4b02-a122-cc38fd0da07c -y 1505298922586
+ output: |
+ +--------+------------+--------+----------+------------------+
+ |name |type |vendor |version |url |
+ +--------+------------+--------+----------+------------------+
+ |ems-1 |OpenStack |HW |1.0 |http://locahost |
+ +--------+------------+--------+----------+------------------+