diff options
Diffstat (limited to 'plugins/onap-1.1/features/aai/src/test')
27 files changed, 333 insertions, 0 deletions
diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/cloud-region/cloud-create-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/cloud-region/cloud-create-sample-1.1.yaml new file mode 100644 index 00000000..6a5c55c0 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/cloud-region/cloud-create-sample-1.1.yaml @@ -0,0 +1,8 @@ +onap_cli_sample_version: 1.0 + +name: cloud-create +version: onap-1.1 +samples: + sample1: + name: Create a cloud region in onap + input: -h https://locahost:8443 -u AAI -p AAI -x abc-xyz -y ABCXYZ25 diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/cloud-region/cloud-delete-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/cloud-region/cloud-delete-sample-1.1.yaml new file mode 100644 index 00000000..c84b8eca --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/cloud-region/cloud-delete-sample-1.1.yaml @@ -0,0 +1,8 @@ +onap_cli_sample_version: 1.0 + +name: cloud-delete +version: onap-1.1 +samples: + sample1: + name: Delete the cloud region in onap + input: -h https://locahost:8443 -u AAI -p AAI -x abc-xyz -y ABCXYZ25 -z 1504257554519
\ No newline at end of file diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/cloud-region/cloud-list-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/cloud-region/cloud-list-sample-1.1.yaml new file mode 100644 index 00000000..ada90903 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/cloud-region/cloud-list-sample-1.1.yaml @@ -0,0 +1,18 @@ +onap_cli_sample_version: 1.0 + +name: cloud-list +version: onap-1.1 +samples: + sample1: + name: List the configured clouds in onap + input: -h https://locahost:8443 -u AAI -p AAI + output: | + +--------------------------------+------------------------------------+------------------+ + |cloud |region |resource-version | + +--------------------------------+------------------------------------+------------------+ + |example-cloud-owner-val-44086 |example-cloud-region-id-val-67393 |1503503677953 | + +--------------------------------+------------------------------------+------------------+ + |att-aic |AAIAIC25 |1503380675 | + +--------------------------------+------------------------------------+------------------+ + |abc-xyz |ABCXYZ25 |1504257554519 | + +--------------------------------+------------------------------------+------------------+ diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/customer/customer-create-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/customer/customer-create-sample-1.1.yaml new file mode 100644 index 00000000..d5332115 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/customer/customer-create-sample-1.1.yaml @@ -0,0 +1,8 @@ +onap_cli_sample_version: 1.0 + +name: customer-create +version: onap-1.1 +samples: + sample1: + name: Create a customer + input: -h https://locahost:8443 -u AAI -p AAI -x customer-1 -y subscriber-1 diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/customer/customer-delete-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/customer/customer-delete-sample-1.1.yaml new file mode 100644 index 00000000..9f80da02 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/customer/customer-delete-sample-1.1.yaml @@ -0,0 +1,9 @@ +onap_cli_sample_version: 1.0 + +name: customer-delete +version: onap-1.1 +samples: + sample1: + name: Delete the customer + input: -h https://locahost:8443 -u AAI -p AAI -x customer-1 -y 1504085129922 + diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/customer/customer-list-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/customer/customer-list-sample-1.1.yaml new file mode 100644 index 00000000..feb4d7ce --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/customer/customer-list-sample-1.1.yaml @@ -0,0 +1,18 @@ +onap_cli_sample_version: 1.0 + +name: customer-list +version: onap-1.1 +samples: + sample1: + name: List the configured customers in onap + input: -h https://locahost:8443 -u AAI -p AAI + output: | + +--------------------------------------+------------------+ + |name |resource-version | + +--------------------------------------+------------------+ + |example-global-customer-id-val-8741 |1504017436899 | + +--------------------------------------+------------------+ + |example-global-customer-id-val-87416 |1504017249493 | + +--------------------------------------+------------------+ + |customer-1 |1504085129922 | + +--------------------------------------+------------------+ diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/customer/customer-show-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/customer/customer-show-sample-1.1.yaml new file mode 100644 index 00000000..8c2e8dbd --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/customer/customer-show-sample-1.1.yaml @@ -0,0 +1,23 @@ +onap_cli_sample_version: 1.0 + +name: customer-show +version: onap-1.1 +samples: + sample1: + name: Show complete details of a customer + input: -h https://locahost:8443 -u AAI -p AAI -x example-global-customer-id-val-8741 --long + output: | + +--------------------------------------+----------------------------------+------------------+------------------------------------+ + |name |subscriber-name |resource-version |subscriber-type | + +--------------------------------------+----------------------------------+------------------+------------------------------------+ + |example-global-customer-id-val-8741 |example-subscriber-name-val-2447 |1504017436899 |example-subscriber-type-val-24368 | + +--------------------------------------+----------------------------------+------------------+------------------------------------+ + sample2: + name: Show basic details of a customer + input: -h https://locahost:8443 -u AAI -p AAI -x example-global-customer-id-val-8741 + output: | + +--------------------------------------+----------------------------------+ + |name |subscriber-name | + +--------------------------------------+----------------------------------+ + |example-global-customer-id-val-8741 |example-subscriber-name-val-2447 | + +--------------------------------------+----------------------------------+ 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 | + +----------+------------------+ + diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/service-type/service-type-create-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/service-type/service-type-create-sample-1.1.yaml new file mode 100644 index 00000000..a9d01569 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/service-type/service-type-create-sample-1.1.yaml @@ -0,0 +1,8 @@ +onap_cli_sample_version: 1.0 + +name: service-type-create +version: onap-1.1 +samples: + sample1: + name: Create a service type + input: -h https://locahost:8443 -u AAI -p AAI -x vTest -y 26ab7af6-96cc-4c4e-814a-e533af4ef9f6 diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/service-type/service-type-delete-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/service-type/service-type-delete-sample-1.1.yaml new file mode 100644 index 00000000..46626a29 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/service-type/service-type-delete-sample-1.1.yaml @@ -0,0 +1,9 @@ +onap_cli_sample_version: 1.0 + +name: service-type-delete +version: onap-1.1 +samples: + sample1: + name: Delete the service type + input: -h https://locahost:8443 -u AAI -p AAI -x 26ab7af6-96cc-4c4e-814a-e533af4ef9f6 -y 1504086172338 + diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/service-type/service-type-list-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/service-type/service-type-list-sample-1.1.yaml new file mode 100644 index 00000000..01ef2b93 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/service-type/service-type-list-sample-1.1.yaml @@ -0,0 +1,14 @@ +onap_cli_sample_version: 1.0 + +name: service-type-list +version: onap-1.1 +samples: + sample1: + name: List the configured service types in onap + input: -h https://locahost:8443 -u AAI -p AAI + output: | + +--------------------------------------+--------------+------------------+ + |service-type-id |service-type |resource-version | + +--------------------------------------+--------------+------------------+ + |26ab7af6-96cc-4c4e-814a-e533af4ef9f6 |vTest |1504086172338 | + +--------------------------------------+--------------+------------------+ diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/subscription/subscription-create-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/subscription/subscription-create-sample-1.1.yaml new file mode 100644 index 00000000..b33cf597 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/subscription/subscription-create-sample-1.1.yaml @@ -0,0 +1,8 @@ +onap_cli_sample_version: 1.0 + +name: subscription-create +version: onap-1.1 +samples: + sample1: + name: Create a subscription + input: -h https://locahost:8443 -u AAI -p AAI -x customer-4 -y subscriber-4 -z abc-xyz -r ABCXYZ25 -c 8bcf4466-b092-473f-889b-7f40efb5a323 -e vTest diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/subscription/subscription-delete-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/subscription/subscription-delete-sample-1.1.yaml new file mode 100644 index 00000000..3a040d7e --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/subscription/subscription-delete-sample-1.1.yaml @@ -0,0 +1,8 @@ +onap_cli_sample_version: 1.0 + +name: subscription-delete +version: onap-1.1 +samples: + sample1: + name: Delete the subscription + input: -h https://locahost:8443 -u AAI -p AAI -x customer-4 -y vTest -g 1504258356743 diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/subscription/subscription-list-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/subscription/subscription-list-sample-1.1.yaml new file mode 100644 index 00000000..98880aad --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/subscription/subscription-list-sample-1.1.yaml @@ -0,0 +1,25 @@ +onap_cli_sample_version: 1.0 + +name: subscription-list +version: onap-1.1 +samples: + sample1: + name: List the configured subscription in onap for a given customer + input: -h https://locahost:8443 -u AAI -p AAI -x customer-4 + output: | + +--------------+------------------+ + |service-type |resource-version | + +--------------+------------------+ + |vTest |1504258356743 | + +--------------+------------------+ + + + sample2: + name: List the configured subscription in onap for a given customer with complete details + input: -h https://locahost:8443 -u AAI -p AAI -x customer-4 --long + output: | + +--------------+------------------+--------------------------------------+----------+----------+ + |service-type |resource-version |tenant |region |cloud | + +--------------+------------------+--------------------------------------+----------+----------+ + |vTest |1505276255854 |3853ca3c-3bc3-4500-9ddf-08e8cca5493f |region-1 |cloud-1 | + +--------------+------------------+--------------------------------------+----------+----------+ diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/tenant/tenant-create-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/tenant/tenant-create-sample-1.1.yaml new file mode 100644 index 00000000..8a2da490 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/tenant/tenant-create-sample-1.1.yaml @@ -0,0 +1,8 @@ +onap_cli_sample_version: 1.0 + +name: tenant-create +version: onap-1.1 +samples: + sample1: + name: Create a tenant under given cloud region + input: -h https://locahost:8443 -u AAI -p AAI -x abc-xyz -y ABCXYZ25 -z 8bcf4466-b092-473f-889b-7f40efb5a323 -r tenant-3 diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/tenant/tenant-delete-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/tenant/tenant-delete-sample-1.1.yaml new file mode 100644 index 00000000..44026ec3 --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/tenant/tenant-delete-sample-1.1.yaml @@ -0,0 +1,8 @@ +onap_cli_sample_version: 1.0 + +name: tenant-delete +version: onap-1.1 +samples: + sample1: + name: Delete the tenant under given cloud region + input: -h https://locahost:8443 -u AAI -p AAI -x abc-xyz -y ABCXYZ25 -z 8bcf4466-b092-473f-889b-7f40efb5a323 -r 1504258015611 diff --git a/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/tenant/tenant-list-sample-1.1.yaml b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/tenant/tenant-list-sample-1.1.yaml new file mode 100644 index 00000000..4348f6eb --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/test/resources/open-cli-sample/tenant/tenant-list-sample-1.1.yaml @@ -0,0 +1,15 @@ +onap_cli_sample_version: 1.0 + +name: tenant-list +version: onap-1.1 +samples: + sample1: + name: List the tenant under given cloud region in onap + input: -h https://locahost:8443 -u AAI -p AAI -x abc-xyz -y ABCXYZ25 + output: | + +--------------------------------------+--------------+------------------+ + |tenant-id |tenant-name |resource-version | + +--------------------------------------+--------------+------------------+ + |8bcf4466-b092-473f-889b-7f40efb5a323 |tenant-3 |1504258015611 | + +--------------------------------------+--------------+------------------+ + |