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:19:15 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-10-04 15:19:15 +0530
commitdf64ad34ec990757176d2c1f0194855f8863cad9 (patch)
tree835e67d20e190ee2fb20171b4b1eae616df86831 /products/onap-casablanca/features/aai/src/main/resources/open-cli-sample
parent520ffaeb974e84be04863dfc1ccd223bd2f0fc30 (diff)
Casablanca: AAI vnfm-create
Issue-ID: CLI-122 Change-Id: I6c732079c96b1f454741e4139da1723407fa1725 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/vnfm/vnfm-create-schema-casablanca-moco.json42
-rw-r--r--products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vnfm/vnfm-create-schema-casablanca-sample.yaml9
2 files changed, 51 insertions, 0 deletions
diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vnfm/vnfm-create-schema-casablanca-moco.json b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vnfm/vnfm-create-schema-casablanca-moco.json
new file mode 100644
index 00000000..6c047537
--- /dev/null
+++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vnfm/vnfm-create-schema-casablanca-moco.json
@@ -0,0 +1,42 @@
+[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/aai/v13/external-system/esr-vnfm-list/esr-vnfm/3c96d72b-7fd8-45f7-a9bb-c9d270001eb8",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-d263bbf3-1fa4-435a-858d-f11c9af5f651",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "vnfm-id" : "3c96d72b-7fd8-45f7-a9bb-c9d270001eb8",
+ "vim-id" : "6a47cd3d-a24c-4d71-b47d-bfe729acce7b",
+ "certificate-url" : "",
+ "esr-system-info-list" : {
+ "esr-system-info" : [ {
+ "esr-system-info-id" : "3c96d72b-7fd8-45f7-a9bb-c9d270001eb8",
+ "system-name" : "vnfm-hw",
+ "type" : "OpenStack",
+ "vendor" : "Huawei",
+ "version" : "1.0",
+ "service-url" : "http://10.0.1.1",
+ "user-name" : "admin",
+ "password" : "password",
+ "system-type" : "vnfm",
+ "protocal" : "",
+ "ssl-cacert" : "",
+ "ssl-insecure" : "",
+ "ip-address" : "",
+ "port" : "",
+ "cloud-domain" : "",
+ "default-tenant" : ""
+ } ]
+ }
+ }
+ },
+ "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/vnfm/vnfm-create-schema-casablanca-sample.yaml b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vnfm/vnfm-create-schema-casablanca-sample.yaml
new file mode 100644
index 00000000..2deae186
--- /dev/null
+++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vnfm/vnfm-create-schema-casablanca-sample.yaml
@@ -0,0 +1,9 @@
+open_cli_sample_version: 1.0
+name: vnfm-create
+version: onap-casablanca
+samples:
+ sample1:
+ name: vnfm-create
+ input: --vim-id 6a47cd3d-a24c-4d71-b47d-bfe729acce7b --name vnfm-hw --type OpenStack --vendor Huawei --vnfm-version 1.0 --url http://10.0.1.1 --username admin --password password -d
+ moco: vnfm-create-schema-casablanca-moco.json
+ output: \ No newline at end of file