diff options
author | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2017-11-03 12:51:40 +0000 |
---|---|---|
committer | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2017-11-06 06:20:05 +0000 |
commit | 49be0d781e3125da4343ad1c14e964bcc111d373 (patch) | |
tree | a0dcc0c48297550bc3fac9ba1c3b2dff854f0658 /plugins/aai/src/test | |
parent | 99c106f1ace0c6019d0a8b1deceaf1b6e1fbe476 (diff) |
Add samples for commands
- Add samples for command
- Fix typo (change from "ouput" to "output") in sample files.
Change-Id: Ifa5c1a302df5be07c28c7e97602ec22844ce1aea
Issue-ID: CLI-55
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'plugins/aai/src/test')
27 files changed, 27 insertions, 27 deletions
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-create-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-create-schema-1.1-sample.yaml index ad3a521e..9c64395d 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-create-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-create-schema-1.1-sample.yaml @@ -6,5 +6,5 @@ samples: name: cloud-create input: --cloud-name huawei-cloud --region-name bangalore moco: cloud-create-schema-1.1-moco.json - ouput: | + output: | diff --git a/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-delete-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-delete-schema-1.1-sample.yaml index 57dbc878..a61523a3 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-delete-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-delete-schema-1.1-sample.yaml @@ -6,5 +6,5 @@ samples: name: cloud-delete input: --cloud-name huawei-cloud-test --region-name bangalore-test --resource-version 1509027982352 moco: cloud-delete-schema-1.1-moco.json - ouput: | + output: | diff --git a/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-list-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-list-schema-1.1-sample.yaml index e527ea8b..00342b23 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-list-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-list-schema-1.1-sample.yaml @@ -6,7 +6,7 @@ samples: name: cloud-list input: moco: cloud-list-schema-1.1-moco.json - ouput: | + output: | +--------------+------------+------------------+ |cloud |region |resource-version | +--------------+------------+------------------+ diff --git a/plugins/aai/src/test/resources/onap-cli-sample/customer/customer-create-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/customer/customer-create-schema-1.1-sample.yaml index db4a5135..72273417 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/customer/customer-create-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/customer/customer-create-schema-1.1-sample.yaml @@ -6,5 +6,5 @@ samples: name: customer-create input: --customer-name test --subscriber-name test moco: customer-create-schema-1.1-moco.json - ouput: | + output: | diff --git a/plugins/aai/src/test/resources/onap-cli-sample/customer/customer-delete-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/customer/customer-delete-schema-1.1-sample.yaml index e209fe13..7e6f0dcb 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/customer/customer-delete-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/customer/customer-delete-schema-1.1-sample.yaml @@ -6,5 +6,5 @@ samples: name: customer-delete input: --customer-name test --resource-version 1509029022293 moco: customer-delete-schema-1.1-moco.json - ouput: | + output: | diff --git a/plugins/aai/src/test/resources/onap-cli-sample/customer/customer-list-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/customer/customer-list-schema-1.1-sample.yaml index 05c7a53e..7ff64210 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/customer/customer-list-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/customer/customer-list-schema-1.1-sample.yaml @@ -6,7 +6,7 @@ samples: name: customer-list input: moco: customer-list-schema-1.1-moco.json - ouput: | + output: | +----------------+------------------+ |name |resource-version | +----------------+------------------+ diff --git a/plugins/aai/src/test/resources/onap-cli-sample/customer/customer-show-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/customer/customer-show-schema-1.1-sample.yaml index 1e1ba425..1669ffd2 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/customer/customer-show-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/customer/customer-show-schema-1.1-sample.yaml @@ -6,7 +6,7 @@ samples: name: customer-show input: --customer-name kanag --long moco: customer-show-schema-1.1-moco.json - ouput: | + output: | +--------+------------------+------------------+------------------+ |name |subscriber-name |resource-version |subscriber-type | +--------+------------------+------------------+------------------+ diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-create-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-create-schema-1.1-sample.yaml index f0306caf..accd0567 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-create-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-create-schema-1.1-sample.yaml @@ -6,4 +6,4 @@ samples: name: ems-register input: --name ems1 --type ems --vendor boco --ems-version 1.0 --url http://10.0.0.1 --username admin --password password --remote-path sample moco: ems-create-schema-1.1-moco.json - ouput:
\ No newline at end of file + output:
\ No newline at end of file diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-delete-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-delete-schema-1.1-sample.yaml index 17437405..df4d080a 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-delete-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-delete-schema-1.1-sample.yaml @@ -6,4 +6,4 @@ samples: name: ems-unregister input: --ems-id 51a480ed-649c-4c47-a84b-f966dc4f9554 --resource-version 1509095358658 moco: ems-delete-schema-1.1-moco.json - ouput:
\ No newline at end of file + output:
\ No newline at end of file diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-list-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-list-schema-1.1-sample.yaml index 3bebdae1..174f4541 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-list-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-list-schema-1.1-sample.yaml @@ -6,7 +6,7 @@ samples: name: ems-list input: moco: ems-list-schema-1.1-moco.json - ouput: | + output: | +--------------------------------------+------------------+ |ems-id |resource-version | +--------------------------------------+------------------+ diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-show-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-show-schema-1.1-sample.yaml index df61b35f..4601cdef 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-show-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-show-schema-1.1-sample.yaml @@ -6,7 +6,7 @@ samples: name: ems-show input: --ems-id 51a480ed-649c-4c47-a84b-f966dc4f9554 moco: ems-show-schema-1.1-moco.json - ouput: | + output: | +------+------+--------+----------+------------------+ |name |type |vendor |version |url | +------+------+--------+----------+------------------+ diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-create-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-create-schema-1.1-sample.yaml index 337d458d..e23e61cb 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-create-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-create-schema-1.1-sample.yaml @@ -6,4 +6,4 @@ samples: name: vim-register input: --cloud-name huawei-cloud --region-name bangalore --name vim1 --type OpenStack --vendor Devstack --vim-version newton --url http://192.168.16.149/identity --username onap --password onap --cloud-domain default --default-tenant onap moco: vim-create-schema-1.1-moco.json - ouput:
\ No newline at end of file + output:
\ No newline at end of file diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-delete-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-delete-schema-1.1-sample.yaml index 2ebf56d4..fdadc344 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-delete-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-delete-schema-1.1-sample.yaml @@ -6,4 +6,4 @@ samples: name: vim-unregister input: --vim-id 810edb5a-42e9-462d-9587-96bc9272ac27 --cloud-name huawei-cloud --region-name bangalore --resource-version 1509093590932 moco: vim-delete-schema-1.1-moco.json - ouput:
\ No newline at end of file + output:
\ No newline at end of file diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-list-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-list-schema-1.1-sample.yaml index e8c18ff5..50f4eb3a 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-list-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/vim/vim-list-schema-1.1-sample.yaml @@ -6,7 +6,7 @@ samples: name: vim-list input: --cloud-name huawei-cloud --region-name bangalore --long moco: vim-list-schema-1.1-moco.json - ouput: | + output: | +--------------------------------------+------------+------------+----------+----------+--------------------------------+----------+--------------+----------------+------------------+ |vim-id |name |type |vendor |version |url |username |cloud-domain |default-tenant |resource-version | +--------------------------------------+------------+------------+----------+----------+--------------------------------+----------+--------------+----------------+------------------+ diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-create-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-create-schema-1.1-sample.yaml index 9692ea4e..411efcbe 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-create-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-create-schema-1.1-sample.yaml @@ -6,4 +6,4 @@ samples: name: vnfm-register input: --vim-id acc5e14e-1320-4ab5-97fe-b7cc82ad03f2 --name vnfm1 --type OpenStack --vendor ONAP --vnfm-version 1.0 --url http://10.0.1.1 --username admin --password password moco: vnfm-create-schema-1.1-moco.json - ouput:
\ No newline at end of file + output:
\ No newline at end of file diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-delete-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-delete-schema-1.1-sample.yaml index 7888d3b2..e58a20fb 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-delete-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-delete-schema-1.1-sample.yaml @@ -6,4 +6,4 @@ samples: name: vnfm-unregister input: --vnfm-id c0ecd788-22f4-49a4-a969-68051cd517e7 --resource-version 1509094328901 moco: vnfm-delete-schema-1.1-moco.json - ouput:
\ No newline at end of file + output:
\ No newline at end of file diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-list-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-list-schema-1.1-sample.yaml index b23463c4..eab55c2e 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-list-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-list-schema-1.1-sample.yaml @@ -6,7 +6,7 @@ samples: name: vnfm-list input: moco: vnfm-list-schema-1.1-moco.json - ouput: | + output: | +--------------------------------------+--------------------------------------+------------------+------------------+ |vnfm-id |vim-id |certificate-url |resource-version | +--------------------------------------+--------------------------------------+------------------+------------------+ diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-show-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-show-schema-1.1-sample.yaml index 7d9a9e1a..c79921f7 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-show-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/vnfm/vnfm-show-schema-1.1-sample.yaml @@ -6,7 +6,7 @@ samples: name: vnfm-show input: --vnfm-id c0ecd788-22f4-49a4-a969-68051cd517e7 moco: vnfm-show-schema-1.1-moco.json - ouput: | + output: | +----------+------------------+ |property |value | +----------+------------------+ diff --git a/plugins/aai/src/test/resources/onap-cli-sample/service-instance/service-list-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/service-instance/service-list-schema-1.1-sample.yaml index 5332a92e..2cda799b 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/service-instance/service-list-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/service-instance/service-list-schema-1.1-sample.yaml @@ -6,7 +6,7 @@ samples: name: service-list input: -x Demonstration -y vLB --long moco: service-list-schema-1.1-moco.json - ouput: | + output: | +--------------------------------------+----------------------------+--------------------------------------+--------------------------------------+--------------+ |service-id |service-name |model-invariant-id |model-uuid |description | +--------------------------------------+----------------------------+--------------------------------------+--------------------------------------+--------------+ diff --git a/plugins/aai/src/test/resources/onap-cli-sample/service-instance/vf-list-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/service-instance/vf-list-schema-1.1-sample.yaml index 3d9f05e3..b93b9d16 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/service-instance/vf-list-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/service-instance/vf-list-schema-1.1-sample.yaml @@ -6,7 +6,7 @@ samples: name: vf-list input: -x Demonstration -y vLB --service-id 2ad87511-4289-4bd7-ab0b-0b29d3d4c8ee moco: vf-list-schema-1.1-moco.json - ouput: | + output: | +--------------------------------------+--------------------+ |vf-id |vf-name | +--------------------------------------+--------------------+ diff --git a/plugins/aai/src/test/resources/onap-cli-sample/service-instance/vf-show-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/service-instance/vf-show-schema-1.1-sample.yaml index ad94345f..365affcf 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/service-instance/vf-show-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/service-instance/vf-show-schema-1.1-sample.yaml @@ -6,7 +6,7 @@ samples: name: vf-show input: --vf-id 1a667ce8-8b8b-4f59-ba5c-b162ae462fef -m https://192.168.17.111:8443 -u AAI -p AAI moco: vf-show-schema-1.1-moco.json - ouput: | + output: | +------------------------+--------------------------------------+ |property |value | +------------------------+--------------------------------------+ diff --git a/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-create-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-create-schema-1.1-sample.yaml index 0e5d5374..c0ccdc83 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-create-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-create-schema-1.1-sample.yaml @@ -6,4 +6,4 @@ samples: name: service-type-create input: --service-type test moco: service-type-create-schema-1.1-moco.json - ouput: + output: diff --git a/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-delete-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-delete-schema-1.1-sample.yaml index 1d4bb8fc..a5c2841f 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-delete-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-delete-schema-1.1-sample.yaml @@ -6,4 +6,4 @@ samples: name: service-type-delete input: --service-type-id de1fa33f-f676-42e5-b79a-a39825c19b1d --resource-version 1509029708094 moco: service-type-delete-schema-1.1-moco.json - ouput: + output: diff --git a/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-list-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-list-schema-1.1-sample.yaml index 9f04d4f1..081a42b1 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-list-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-list-schema-1.1-sample.yaml @@ -6,7 +6,7 @@ samples: name: service-type-list input: moco: service-type-list-schema-1.1-moco.json - ouput: | + output: | +--------------------------------------+--------------+------------------+ |service-type-id |service-type |resource-version | +--------------------------------------+--------------+------------------+ diff --git a/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-create-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-create-schema-1.1-sample.yaml index fdbb801f..facdcc77 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-create-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-create-schema-1.1-sample.yaml @@ -6,4 +6,4 @@ samples: name: subscription-create input: --customer-name kanag --cloud-name huawei-cloud --cloud-region bangalore --cloud-tenant-id e18173e6-6a13-4614-a13c-3859e7321103 --service-type vFW-kanag moco: subscription-create-schema-1.1-moco.json - ouput:
\ No newline at end of file + output:
\ No newline at end of file diff --git a/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-delete-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-delete-schema-1.1-sample.yaml index eb1e821d..f4b16b54 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-delete-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-delete-schema-1.1-sample.yaml @@ -6,4 +6,4 @@ samples: name: subscription-delete input: --customer-name kanag --service-type vFW-kanag --resource-version 1509079144326 moco: subscription-delete-schema-1.1-moco.json - ouput:
\ No newline at end of file + output:
\ No newline at end of file diff --git a/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-list-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-list-schema-1.1-sample.yaml index 7b74feec..eb823673 100644 --- a/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-list-schema-1.1-sample.yaml +++ b/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-list-schema-1.1-sample.yaml @@ -6,7 +6,7 @@ samples: name: subscription-list input: --customer-name kanag moco: subscription-list-schema-1.1-moco.json - ouput: | + output: | +--------------+------------------+ |service-type |resource-version | +--------------+------------------+ |