aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/aai/src/test/resources/onap-cli-sample/esr
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-09-13 16:59:24 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-09-13 17:07:25 +0530
commit911a0dde18b98fb66332596fd6bf69e991e0448f (patch)
tree605e610ed03d8c58ee0f4628a942d4f3b79c1a2d /plugins/aai/src/test/resources/onap-cli-sample/esr
parent8fb3d4a15d733625e2573b014ad54b4066209ffe (diff)
Add EMS show command
Adds ems-show command. in addition, adds samples for other ems commands CLI-5 Change-Id: I778e4a855f009c557d04f2f8b3651ebabbab7112 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/aai/src/test/resources/onap-cli-sample/esr')
-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 |
+ +--------+------------+--------+----------+------------------+