aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/aai/src/test
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-09-13 17:01:14 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-09-13 18:24:18 +0530
commitdd075504299c817ea899f32af2b558860da7c6fe (patch)
tree9e312764fa9cda9bf88500ffb689a5b7509a925c /plugins/aai/src/test
parent911a0dde18b98fb66332596fd6bf69e991e0448f (diff)
Add vnfm show command
CLI-5 Change-Id: If3416c709d0bae0edd0c1eaa4a2449e848d8b030 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/aai/src/test')
-rw-r--r--plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-create-sample-1.1.yaml8
-rw-r--r--plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-delete-sample-1.1.yaml8
-rw-r--r--plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-list-sample-1.1.yaml16
-rw-r--r--plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-show-sample-1.1.yaml23
4 files changed, 55 insertions, 0 deletions
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-create-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-create-sample-1.1.yaml
new file mode 100644
index 00000000..54944d41
--- /dev/null
+++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-create-sample-1.1.yaml
@@ -0,0 +1,8 @@
+onap_cli_sample_version: 1.0
+
+name: vnfm-register
+version: onap-1.1
+samples:
+ sample1:
+ name: Create a vnfm
+ input: -x f962fa1e-d439-4b02-a122-cc38fd0da07c -y f962fa1e-d439-4b02-a122-cc38fd0da07c -b vnfm-2 -c OpenStack -e HW -q 1.0 -g http://locahost -i user -j password -d
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-delete-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-delete-sample-1.1.yaml
new file mode 100644
index 00000000..c6a79730
--- /dev/null
+++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-delete-sample-1.1.yaml
@@ -0,0 +1,8 @@
+onap_cli_sample_version: 1.0
+
+name: vnfm-unregister
+version: onap-1.1
+samples:
+ sample1:
+ name: Delete the vnfm
+ input: -x f962fa1e-d439-4b02-a122-cc38fd0da07c -y 1505298922586
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-list-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-list-sample-1.1.yaml
new file mode 100644
index 00000000..e3a080ed
--- /dev/null
+++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-list-sample-1.1.yaml
@@ -0,0 +1,16 @@
+onap_cli_sample_version: 1.0
+
+name: vnfm-list
+version: onap-1.1
+samples:
+ sample1:
+ name: List all vnfm
+ output: |
+ +--------------------------------------+--------------------------------------+------------------------------------+------------------+
+ |vnfm-id |vim-id |certificate-url |resource-version |
+ +--------------------------------------+--------------------------------------+------------------------------------+------------------+
+ |f962fa1e-d439-4b02-a122-cc38fd0da07c |f962fa1e-d439-4b02-a122-cc38fd0da07c | |1505299563540 |
+ +--------------------------------------+--------------------------------------+------------------------------------+------------------+
+ |htipl913-vnfm-id-val-44685 |example-vim-id-val-36801 |example-certificate-url-val-70931 |1505283495503 |
+ +--------------------------------------+--------------------------------------+------------------------------------+------------------+
+
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-show-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-show-sample-1.1.yaml
new file mode 100644
index 00000000..35c38d2b
--- /dev/null
+++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-show-sample-1.1.yaml
@@ -0,0 +1,23 @@
+onap_cli_sample_version: 1.0
+
+name: vnfm-show
+version: onap-1.1
+samples:
+ sample1:
+ name: Show the vnfm
+ input: -x f962fa1e-d439-4b02-a122-cc38fd0da07c
+ output: |
+ +----------+------------------+
+ |property |value |
+ +----------+------------------+
+ |name |vnfm-2 |
+ +----------+------------------+
+ |type |OpenStack |
+ +----------+------------------+
+ |vendor |HW |
+ +----------+------------------+
+ |version |1.0 |
+ +----------+------------------+
+ |url |http://locahost |
+ +----------+------------------+
+