diff options
Diffstat (limited to 'products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr')
2 files changed, 39 insertions, 0 deletions
diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vnfm/vnfm-list-schema-casablanca-moco.json b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vnfm/vnfm-list-schema-casablanca-moco.json new file mode 100644 index 00000000..5ae1057a --- /dev/null +++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vnfm/vnfm-list-schema-casablanca-moco.json @@ -0,0 +1,25 @@ +[ {
+ "request" : {
+ "method" : "get",
+ "uri" : "/aai/v13/external-system/esr-vnfm-list",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-3a30a455-1807-42f2-a3c9-2e62b5c42e20",
+ "Content-Type" : "application/json"
+ },
+ "json" : null
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "esr-vnfm" : [ {
+ "vnfm-id" : "3c96d72b-7fd8-45f7-a9bb-c9d270001eb8",
+ "vim-id" : "6a47cd3d-a24c-4d71-b47d-bfe729acce7b",
+ "certificate-url" : "",
+ "resource-version" : "1538645099584"
+ } ]
+ }
+ }
+} ]
\ No newline at end of file diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vnfm/vnfm-list-schema-casablanca-sample.yaml b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vnfm/vnfm-list-schema-casablanca-sample.yaml new file mode 100644 index 00000000..e115559a --- /dev/null +++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/vnfm/vnfm-list-schema-casablanca-sample.yaml @@ -0,0 +1,14 @@ +open_cli_sample_version: 1.0 +name: vnfm-list +version: onap-casablanca +samples: + sample1: + name: vnfm-list + input: + moco: vnfm-list-schema-casablanca-moco.json + output: | + +--------------------------------------+--------------------------------------+------------------+------------------+ + |vnfm-id |vim-id |certificate-url |resource-version | + +--------------------------------------+--------------------------------------+------------------+------------------+ + |3c96d72b-7fd8-45f7-a9bb-c9d270001eb8 |6a47cd3d-a24c-4d71-b47d-bfe729acce7b | |1538645099584 | + +--------------------------------------+--------------------------------------+------------------+------------------+ |