diff options
Diffstat (limited to 'plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr')
11 files changed, 138 insertions, 0 deletions
diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/ems/ems-create-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/ems/ems-create-sample-1.1.yaml new file mode 100644 index 00000000..2856ba62 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-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/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/ems/ems-delete-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/ems/ems-delete-sample-1.1.yaml new file mode 100644 index 00000000..99a92785 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-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/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/ems/ems-list-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/ems/ems-list-sample-1.1.yaml new file mode 100644 index 00000000..88997812 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-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/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/ems/ems-show-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/ems/ems-show-sample-1.1.yaml new file mode 100644 index 00000000..e11753ac --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-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 | + +--------+------------+--------+----------+------------------+ diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/vim/vim-create-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/vim/vim-create-sample-1.1.yaml new file mode 100644 index 00000000..3193f6e6 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-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/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/vim/vim-delete-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/vim/vim-delete-sample-1.1.yaml new file mode 100644 index 00000000..5a1998f4 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-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/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/vim/vim-list-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/vim/vim-list-sample-1.1.yaml new file mode 100644 index 00000000..d0e6d437 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-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 | + +--------------------------------------+--------+------------+--------+----------+------------------+----------+--------------+----------------+------------------+ + diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/vnfm/vnfm-create-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/vnfm/vnfm-create-sample-1.1.yaml new file mode 100644 index 00000000..54944d41 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-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/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/vnfm/vnfm-delete-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/vnfm/vnfm-delete-sample-1.1.yaml new file mode 100644 index 00000000..c6a79730 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-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/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/vnfm/vnfm-list-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/vnfm/vnfm-list-sample-1.1.yaml new file mode 100644 index 00000000..e3a080ed --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-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/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/vnfm/vnfm-show-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/esr/vnfm/vnfm-show-sample-1.1.yaml new file mode 100644 index 00000000..35c38d2b --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-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 | + +----------+------------------+ + |