From df64ad34ec990757176d2c1f0194855f8863cad9 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Thu, 4 Oct 2018 15:19:15 +0530 Subject: Casablanca: AAI vnfm-create Issue-ID: CLI-122 Change-Id: I6c732079c96b1f454741e4139da1723407fa1725 Signed-off-by: Kanagaraj Manickam k00365106 --- .../vnfm/vnfm-create-schema-casablanca-moco.json | 42 ++++++++++++++++++++++ .../vnfm/vnfm-create-schema-casablanca-sample.yaml | 9 +++++ 2 files changed, 51 insertions(+) create mode 100644 products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vnfm/vnfm-create-schema-casablanca-moco.json create mode 100644 products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vnfm/vnfm-create-schema-casablanca-sample.yaml (limited to 'products/onap-casablanca/features/aai/src/main/resources/open-cli-sample') 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 -- cgit 1.2.3-korg