aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-10-04 15:15:26 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-10-04 15:15:26 +0530
commit4e98e8ba158c3eed1b508c58687b42e786ea3a77 (patch)
tree986e74290e9fed8ef119a98b12aea78110111202 /products/onap-casablanca/features/aai/src/main/resources/open-cli-sample
parentb1c17eb6b6c45a2bc1915a3c841bd5cfcd08287d (diff)
Casablanca: AAI vim-create
Issue-ID: CLI-122 Change-Id: I31ab3547b9c107314f09f93a7fa3ddaabe843e4c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products/onap-casablanca/features/aai/src/main/resources/open-cli-sample')
-rw-r--r--products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vim/vim-create-schema-beijing-moco.json35
-rw-r--r--products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vim/vim-create-schema-beijing-sample.yaml9
2 files changed, 44 insertions, 0 deletions
diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vim/vim-create-schema-beijing-moco.json b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vim/vim-create-schema-beijing-moco.json
new file mode 100644
index 00000000..1a44aa09
--- /dev/null
+++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vim/vim-create-schema-beijing-moco.json
@@ -0,0 +1,35 @@
+[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/huawei-cloud/bangalore/esr-system-info-list/esr-system-info/6a47cd3d-a24c-4d71-b47d-bfe729acce7b",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-73d3c542-567c-4ad1-be40-a0baf85bdfde",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "esr-system-info-id" : "6a47cd3d-a24c-4d71-b47d-bfe729acce7b",
+ "system-name" : "vim-onap",
+ "type" : "OpenStack",
+ "vendor" : "Devstack",
+ "version" : "ocata",
+ "service-url" : "http://192.168.16.149/identity",
+ "user-name" : "onap",
+ "password" : "onap",
+ "system-type" : "vim",
+ "protocal" : "",
+ "ssl-cacert" : "",
+ "ssl-insecure" : "false",
+ "ip-address" : "",
+ "port" : "",
+ "cloud-domain" : "default",
+ "default-tenant" : "onap"
+ }
+ },
+ "response" : {
+ "status" : 201,
+ "json" : null
+ }
+} ] \ No newline at end of file
diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vim/vim-create-schema-beijing-sample.yaml b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vim/vim-create-schema-beijing-sample.yaml
new file mode 100644
index 00000000..70dfb2c5
--- /dev/null
+++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vim/vim-create-schema-beijing-sample.yaml
@@ -0,0 +1,9 @@
+open_cli_sample_version: 1.0
+name: vim-create
+version: onap-casablanca
+samples:
+ sample1:
+ name: vim-create
+ input: --cloud-name huawei-cloud --region-name bangalore --name vim-onap --type OpenStack --vendor Devstack --vim-version ocata --url http://192.168.16.149/identity --username onap --password onap --cloud-domain default --default-tenant onap -d
+ moco: vim-create-schema-beijing-moco.json
+ output: \ No newline at end of file