aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/aai/src/test/resources/onap-cli-sample/esr/vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/aai/src/test/resources/onap-cli-sample/esr/vim')
-rw-r--r--plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-create-sample-1.1.yaml8
-rw-r--r--plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-delete-sample-1.1.yaml8
-rw-r--r--plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-list-sample-1.1.yaml24
3 files changed, 40 insertions, 0 deletions
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-create-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-create-sample-1.1.yaml
new file mode 100644
index 00000000..3193f6e6
--- /dev/null
+++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-create-sample-1.1.yaml
@@ -0,0 +1,8 @@
+onap_cli_sample_version: 1.0
+
+name: vim-register
+version: onap-1.1
+samples:
+ sample1:
+ name: Create a vim under given cloud region
+ input: -x cloud-1 -y region-1 -z f962fa1e-d439-4b02-a122-cc38fd0da07b -b vim-1 -c OpenStack -e HW -q 1.0 -g http://locahost -i user -j password -n default -o tenant-1 -d
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-delete-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-delete-sample-1.1.yaml
new file mode 100644
index 00000000..5a1998f4
--- /dev/null
+++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-delete-sample-1.1.yaml
@@ -0,0 +1,8 @@
+onap_cli_sample_version: 1.0
+
+name: vim-unregister
+version: onap-1.1
+samples:
+ sample1:
+ name: Delete the vim under given cloud region
+ input: -x cloud-1 -y region-1 -z f962fa1e-d439-4b02-a122-cc38fd0da07b -b 1505295671538
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-list-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-list-sample-1.1.yaml
new file mode 100644
index 00000000..d0e6d437
--- /dev/null
+++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-list-sample-1.1.yaml
@@ -0,0 +1,24 @@
+onap_cli_sample_version: 1.0
+
+name: vim-list
+version: onap-1.1
+samples:
+ sample1:
+ name: List all vim under given cloud region
+ input: -x cloud-1 -y region-1
+ output: |
+ +--------------------------------------+--------+--------+----------------+------------------+
+ |vim-id |name |vendor |default-tenant |resource-version |
+ +--------------------------------------+--------+--------+----------------+------------------+
+ |f962fa1e-d439-4b02-a122-cc38fd0da07b |vim-1 |HW |tenant-1 |1505295671538 |
+ +--------------------------------------+--------+--------+----------------+------------------+
+ sample2:
+ name: List all vim under given cloud region with complete details
+ input: -x cloud-1 -y region-1 --long
+ output: |
+ +--------------------------------------+--------+------------+--------+----------+------------------+----------+--------------+----------------+------------------+
+ |vim-id |name |type |vendor |version |url |username |cloud-domain |default-tenant |resource-version |
+ +--------------------------------------+--------+------------+--------+----------+------------------+----------+--------------+----------------+------------------+
+ |f962fa1e-d439-4b02-a122-cc38fd0da07b |vim-1 |OpenStack |HW |1.0 |http://locahost |user |default |tenant-1 |1505295671538 |
+ +--------------------------------------+--------+------------+--------+----------+------------------+----------+--------------+----------------+------------------+
+