--- /dev/null
+[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/OCOMP/RegionOVP/tenants/tenant/6fcac72c-a2cd-4d18-9f1d-09908ca08afe",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-300c4e32-4fb2-4fe8-b238-e3cb13c2a9d1",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "tenant-id" : "6fcac72c-a2cd-4d18-9f1d-09908ca08afe",
+ "tenant-name" : "ocomp"
+ }
+ },
+ "response" : {
+ "status" : 201,
+ "json" : null
+ }
+} ]
\ No newline at end of file
--- /dev/null
+open_cli_sample_version: 1.0
+name: tenant-create
+version: onap-dublin
+samples:
+ sample1:
+ name: tenant-create
+ input: --format json --region RegionOVP --tenant-id 6fcac72c-a2cd-4d18-9f1d-09908ca08afe --cloud OCOMP --tenant-name ocomp
+ moco: tenant-create-schema-dublin-moco.json
+ output: |
+ [{}]
--- /dev/null
+[ {
+ "request" : {
+ "method" : "delete",
+ "uri" : "/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/OCOMP/RegionOVP/tenants/tenant/6fcac72c-a2cd-4d18-9f1d-09908ca08afe",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-22a79b24-0ed5-475c-9c5e-fed1d4461bb3",
+ "Content-Type" : "application/json"
+ },
+ "json" : null
+ },
+ "response" : {
+ "status" : 204,
+ "json" : null
+ }
+} ]
\ No newline at end of file
--- /dev/null
+open_cli_sample_version: 1.0
+name: tenant-delete
+version: onap-dublin
+samples:
+ sample1:
+ name: tenant-delete
+ input: --format json --region RegionOVP --resource-version 1567068676263 --cloud OCOMP --tenant-id 6fcac72c-a2cd-4d18-9f1d-09908ca08afe
+ moco: tenant-delete-schema-dublin-moco.json
+ output: |
+ [{}]
--- /dev/null
+[ {
+ "request" : {
+ "method" : "get",
+ "uri" : "/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/OCOMP/RegionOVP/tenants",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-be21d4e6-6e82-4a13-a1fb-0a2c6766e3e4",
+ "Content-Type" : "application/json"
+ },
+ "json" : null
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "tenant" : [ {
+ "tenant-id" : "6fcac72c-a2cd-4d18-9f1d-09908ca08afe",
+ "tenant-name" : "ocomp",
+ "resource-version" : "1567068676263"
+ } ]
+ }
+ }
+} ]
\ No newline at end of file
--- /dev/null
+open_cli_sample_version: 1.0
+name: tenant-list
+version: onap-dublin
+samples:
+ sample1:
+ name: tenant-list
+ input: --format json --region RegionOVP --cloud OCOMP
+ moco: tenant-list-schema-dublin-moco.json
+ output: |
+ [{"resource-version":"1567068676263","tenant-id":"6fcac72c-a2cd-4d18-9f1d-09908ca08afe","tenant-name":"ocomp"}]