\r
\r
Network services lifecycle management northbound APIs\r
-==========\r
-\r
- {\r
- "swagger": "2.0",\r
-\r
- "info": {\r
-\r
- "version": "1.0.0",\r
-\r
- "title": "ONAP VFC Network Service Lifecycle Management API",\r
-\r
- "description": "VFC Network Service Lifecycle Management Rest API.",\r
-\r
- "contact": {\r
-\r
- "name": "ONAP VFC team",\r
-\r
- "email": "onap-discuss@lists.onap.org",\r
-\r
- "url": "https://gerrit.onap.org/r/#/admin/projects/vfc/nfvo/lcm"\r
-\r
- }\r
-\r
- },\r
-\r
- "basePath": "/api/nslcm/v1",\r
-\r
- "schemes": [\r
-\r
- "http",\r
- "https"\r
-\r
- ],\r
-\r
- "consumes": [\r
-\r
- "application/json"\r
-\r
- ],\r
- "produces": [\r
-\r
- "application/json"\r
-\r
- ],\r
- "paths": {\r
-\r
- "/ns": {\r
-\r
- "post": {\r
-\r
- "tags": [\r
-\r
- "ns"\r
-\r
- ],\r
- "summary": "ns create",\r
-\r
- "description": "ns create",\r
-\r
- "operationId": "ns_create",\r
-\r
- "parameters": [\r
-\r
- {\r
-\r
- "in": "body",\r
-\r
- "name": "NSCreateRequest",\r
-\r
- "description": "NS Instance Create Request",\r
-\r
- "required": true,\r
-\r
- "schema": {\r
-\r
- "$ref": "#/definitions/NsCreateRequest"\r
-\r
- }\r
-\r
- }\r
-\r
- ],\r
-\r
- "responses": {\r
-\r
- "200": {\r
-\r
- "description": "successful operation",\r
-\r
- "schema": {\r
-\r
- "$ref": "#/definitions/NsCreateResponse"\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "get": {\r
-\r
- "tags": [\r
-\r
- "ns"\r
-\r
- ],\r
-\r
- "summary": "ns get",\r
-\r
- "description": "ns get",\r
-\r
- "operationId": "ns_get",\r
-\r
- "parameters": [],\r
-\r
- "responses": {\r
-\r
- "200": {\r
-\r
- "description": "successful operation",\r
-\r
- "schema": {\r
-\r
- "$ref": "#/definitions/NsInfo"\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "/ns/{nsInstanceId}/Instantiate": {\r
-\r
- "post": {\r
-\r
- "tags": [\r
-\r
- "ns"\r
-\r
- ],\r
-\r
- "summary": "ns Instantiate",\r
-\r
- "description": "ns Instantiate",\r
-\r
- "operationId": "ns_Instantiate",\r
-\r
- "parameters": [\r
-\r
- {\r
- "required": true,\r
-\r
- "type": "string",\r
-\r
- "description": "",\r
-\r
- "name": "nsInstanceId",\r
-\r
- "in": "path"\r
-\r
- },\r
- {\r
-\r
- "in": "body",\r
-\r
- "name": "NSInstantiateRequest",\r
-\r
- "description": "NS Instantiate Request Body",\r
-\r
- "required": true,\r
-\r
- "schema": {\r
-\r
- "$ref": "#/definitions/NsInstantiateRequest"\r
-\r
- }\r
-\r
- }\r
-\r
- ],\r
-\r
- "responses": {\r
-\r
- "200": {\r
-\r
- "description": "",\r
-\r
- "schema": {\r
-\r
- "$ref": "#/definitions/JobInfo"\r
-\r
- }\r
-\r
- },\r
-\r
- "201": {\r
-\r
- "description": "Invalid Request"\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "/ns/{nsInstanceId}/scale": {\r
-\r
- "post": {\r
-\r
- "tags": [\r
-\r
- "ns"\r
-\r
- ],\r
-\r
- "summary": "ns scale",\r
-\r
- "description": "ns scale",\r
-\r
- "operationId": "ns_scale",\r
-\r
- "parameters": [\r
-\r
- {\r
-\r
- "required": true,\r
-\r
- "type": "string",\r
-\r
- "description": "",\r
-\r
- "name": "nsInstanceId",\r
-\r
- "in": "path"\r
-\r
- },\r
-\r
- {\r
-\r
- "in": "body",\r
-\r
- "name": "ScaleNSRequest",\r
-\r
- "description": "Scale NS Request Body",\r
-\r
- "required": true,\r
-\r
- "schema": {\r
-\r
- "$ref": "#/definitions/NsScaleRequest"\r
-\r
- }\r
-\r
- }\r
-\r
- ],\r
-\r
- "responses": {\r
-\r
- "200": {\r
-\r
- "description": "",\r
-\r
- "schema": {\r
-\r
- "$ref": "#/definitions/JobInfo"\r
-\r
- }\r
-\r
- },\r
-\r
- "201": {\r
-\r
- "description": "Invalid Request"\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "/ns/{ns_instance_id}/heal": {\r
-\r
- "post": {\r
-\r
- "tags": [\r
-\r
- "ns"\r
-\r
- ],\r
-\r
- "summary": "ns heal",\r
-\r
- "description": "ns heal",\r
-\r
- "operationId": "ns_heal",\r
-\r
- "parameters": [\r
-\r
- {\r
- "required": true,\r
-\r
- "type": "string",\r
-\r
- "description": "Identifier of the NS instance.",\r
-\r
- "name": "ns_instance_id",\r
-\r
- "in": "path"\r
-\r
- },\r
-\r
- {\r
-\r
- "in": "body",\r
-\r
- "name": "healVnfData",\r
-\r
- "description": "healVnfData",\r
-\r
- "required": true,\r
-\r
- "schema": {\r
-\r
- "$ref": "#/definitions/NsHealRequest"\r
-\r
- }\r
-\r
- }\r
-\r
- ],\r
-\r
- "responses": {\r
-\r
- "202": {\r
-\r
- "description": "",\r
-\r
- "schema": {\r
-\r
- "$ref": "#/definitions/JobInfo"\r
-\r
- }\r
-\r
- },\r
-\r
- "500": {\r
-\r
- "description": "the url is invalid"\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "/ns/{ns_instance_id}/terminate": {\r
-\r
- "post": {\r
-\r
- "tags": [\r
-\r
- "ns"\r
-\r
- ],\r
-\r
- "summary": "ns terminate",\r
-\r
- "description": "ns terminate",\r
-\r
- "operationId": "ns_terminate",\r
-\r
- "parameters": [\r
-\r
- {\r
-\r
- "required": true,\r
-\r
- "type": "string",\r
-\r
- "description": "Identifier of the NS instance.",\r
-\r
- "name": "ns_instance_id",\r
-\r
- "in": "path"\r
-\r
- },\r
-\r
- {\r
- "in": "body",\r
-\r
- "name": "NsTerminateRequest",\r
-\r
- "description": "NsTerminateRequest",\r
-\r
- "required": true,\r
-\r
- "schema": {\r
-\r
- "$ref": "#/definitions/NsTerminateRequest"\r
-\r
- }\r
-\r
- }\r
-\r
- ],\r
-\r
- "responses": {\r
-\r
- "202": {\r
-\r
- "description": "",\r
-\r
- "schema": {\r
-\r
- "$ref": "#/definitions/JobInfo"\r
-\r
- }\r
-\r
- },\r
-\r
- "500": {\r
-\r
- "description": "the url is invalid"\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
- "/ns/{ns_instance_id}": {\r
-\r
- "delete": {\r
-\r
- "tags": [\r
-\r
- "ns"\r
-\r
- ],\r
-\r
- "summary": "ns delete",\r
-\r
- "description": "ns delete",\r
-\r
- "operationId": "ns_delete",\r
-\r
- "parameters": [\r
-\r
- {\r
- "required": true,\r
-\r
- "type": "string",\r
-\r
- "description": "Identifier of the NS instance.",\r
-\r
- "name": "ns_instance_id",\r
-\r
- "in": "path"\r
-\r
- }\r
-\r
- ],\r
-\r
- "responses": {\r
-\r
- "204": {\r
-\r
- "description": "The NS instance resource and the associated NS identifier were deleted successfully."\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "/jobs/{jobId}": {\r
-\r
- "post": {\r
-\r
- "tags": [\r
-\r
- "job"\r
-\r
- ],\r
-\r
- "summary": "jobstatus",\r
-\r
- "description": "",\r
-\r
- "operationId": "jobstatus",\r
-\r
- "parameters": [\r
-\r
- {\r
- "required": true,\r
-\r
- "type": "string",\r
-\r
- "description": "",\r
-\r
- "name": "jobId",\r
-\r
- "in": "path"\r
-\r
- },\r
-\r
- {\r
-\r
- "in": "body",\r
-\r
- "name": "body",\r
-\r
- "description": "request param",\r
-\r
- "required": true,\r
-\r
+=====================================================\r
+\r
+{\r
+ "swagger": "2.0",\r
+ "info": {\r
+ "version": "1.0.0",\r
+ "title": "ONAP VFC Network Service Lifecycle Management API",\r
+ "description": "VFC Network Service Lifecycle Management Rest API.",\r
+ "contact": {\r
+ "name": "ONAP VFC team",\r
+ "email": "onap-discuss@lists.onap.org",\r
+ "url": "https://gerrit.onap.org/r/#/admin/projects/vfc/nfvo/lcm"\r
+ }\r
+ },\r
+ "basePath": "/api/nslcm/v1",\r
+ "schemes": [\r
+ "http",\r
+ "https"\r
+ ],\r
+ "consumes": [\r
+ "application/json"\r
+ ],\r
+ "produces": [\r
+ "application/json"\r
+ ],\r
+ "paths": {\r
+ "/ns": {\r
+ "post": {\r
+ "tags": [\r
+ "ns"\r
+ ],\r
+ "summary": "ns create",\r
+ "description": "ns create",\r
+ "operationId": "ns_create",\r
+ "parameters": [\r
+ {\r
+ "in": "body",\r
+ "name": "NSCreateRequest",\r
+ "description": "NS Instance Create Request",\r
+ "required": true,\r
+ "schema": {\r
+ "$ref": "#/definitions/NsCreateRequest"\r
+ }\r
+ }\r
+ ],\r
+ "responses": {\r
+ "200": {\r
+ "description": "successful operation",\r
+ "schema": {\r
+ "$ref": "#/definitions/NsCreateResponse"\r
+ }\r
+ },\r
+ "404": {\r
+ "description": "URL not found"\r
+ }\r
+ }\r
+ },\r
+ "get": {\r
+ "tags": [\r
+ "ns"\r
+ ],\r
+ "summary": "ns get",\r
+ "description": "ns get",\r
+ "operationId": "ns_instantces_get",\r
+ "parameters": [\r
+ {\r
+ "required": true,\r
+ "type": "string",\r
+ "description": "job response message id",\r
+ "name": "csarId",\r
+ "in": "query"\r
+ }\r
+ ],\r
+ "responses": {\r
+ "200": {\r
+ "description": "successful operation",\r
+ "schema": {\r
+ "$ref": "#/definitions/NsInstancesInfo"\r
+ }\r
+ },\r
+ "404": {\r
+ "description": "URL not found"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "/ns/{nsInstanceId}/Instantiate": {\r
+ "post": {\r
+ "tags": [\r
+ "ns"\r
+ ],\r
+ "summary": "ns Instantiate",\r
+ "description": "ns Instantiate",\r
+ "operationId": "ns_Instantiate",\r
+ "parameters": [\r
+ {\r
+ "required": true,\r
+ "type": "string",\r
+ "description": "",\r
+ "name": "nsInstanceId",\r
+ "in": "path"\r
+ },\r
+ {\r
+ "in": "body",\r
+ "name": "NSInstantiateRequest",\r
+ "description": "NS Instantiate Request Body",\r
+ "required": true,\r
+ "schema": {\r
+ "$ref": "#/definitions/NsInstantiateRequest"\r
+ }\r
+ }\r
+ ],\r
+ "responses": {\r
+ "200": {\r
+ "description": "",\r
+ "schema": {\r
+ "$ref": "#/definitions/JobInfo"\r
+ }\r
+ },\r
+ "201": {\r
+ "description": "Invalid Request"\r
+ },\r
+ "404": {\r
+ "description": "URL not found"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "/ns/{nsInstanceId}/scale": {\r
+ "post": {\r
+ "tags": [\r
+ "ns"\r
+ ],\r
+ "summary": "ns scale",\r
+ "description": "ns scale",\r
+ "operationId": "ns_scale",\r
+ "parameters": [\r
+ {\r
+ "required": true,\r
+ "type": "string",\r
+ "description": "",\r
+ "name": "nsInstanceId",\r
+ "in": "path"\r
+ },\r
+ {\r
+ "in": "body",\r
+ "name": "ScaleNSRequest",\r
+ "description": "Scale NS Request Body",\r
+ "required": true,\r
+ "schema": {\r
+ "$ref": "#/definitions/NsScaleRequest"\r
+ }\r
+ }\r
+ ],\r
+ "responses": {\r
+ "200": {\r
+ "description": "",\r
+ "schema": {\r
+ "$ref": "#/definitions/JobInfo"\r
+ }\r
+ },\r
+ "201": {\r
+ "description": "Invalid Request"\r
+ },\r
+ "404": {\r
+ "description": "URL not found"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "/ns/{nsInstanceId}/heal": {\r
+ "post": {\r
+ "tags": [\r
+ "ns"\r
+ ],\r
+ "summary": "ns heal",\r
+ "description": "ns heal",\r
+ "operationId": "ns_heal",\r
+ "parameters": [\r
+ {\r
+ "required": true,\r
+ "type": "string",\r
+ "description": "Identifier of the NS instance.",\r
+ "name": "nsInstanceId",\r
+ "in": "path"\r
+ },\r
+ {\r
+ "in": "body",\r
+ "name": "healVnfData",\r
+ "description": "healVnfData",\r
+ "required": true,\r
+ "schema": {\r
+ "$ref": "#/definitions/NsHealRequest"\r
+ }\r
+ }\r
+ ],\r
+ "responses": {\r
+ "202": {\r
+ "description": "",\r
+ "schema": {\r
+ "$ref": "#/definitions/JobInfo"\r
+ }\r
+ },\r
+ "404": {\r
+ "description": "URL not found"\r
+ },\r
+ "500": {\r
+ "description": "the url is invalid"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "/ns/{nsInstanceId}/terminate": {\r
+ "post": {\r
+ "tags": [\r
+ "ns"\r
+ ],\r
+ "summary": "ns terminate",\r
+ "description": "ns terminate",\r
+ "operationId": "ns_terminate",\r
+ "parameters": [\r
+ {\r
+ "required": true,\r
+ "type": "string",\r
+ "description": "Identifier of the NS instance.",\r
+ "name": "nsInstanceId",\r
+ "in": "path"\r
+ },\r
+ {\r
+ "in": "body",\r
+ "name": "NsTerminateRequest",\r
+ "description": "NsTerminateRequest",\r
+ "required": true,\r
+ "schema": {\r
+ "$ref": "#/definitions/NsTerminateRequest"\r
+ }\r
+ }\r
+ ],\r
+ "responses": {\r
+ "202": {\r
+ "description": "",\r
+ "schema": {\r
+ "$ref": "#/definitions/JobInfo"\r
+ }\r
+ },\r
+ "500": {\r
+ "description": "the url is invalid"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "/ns/{nsInstanceId}": {\r
+ "get": {\r
+ "tags": [\r
+ "ns"\r
+ ],\r
+ "summary": "ns get",\r
+ "description": "ns get",\r
+ "operationId": "ns_instance_get",\r
+ "parameters": [\r
+ {\r
+ "required": true,\r
+ "type": "string",\r
+ "description": "Identifier of the NS instance.",\r
+ "name": "nsInstanceId",\r
+ "in": "path"\r
+ }\r
+ ],\r
+ "responses": {\r
+ "200": {\r
+ "description": "successful operation",\r
+ "schema": {\r
+ "$ref": "#/definitions/NsInstanceInfo"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "delete": {\r
+ "tags": [\r
+ "ns"\r
+ ],\r
+ "summary": "ns delete",\r
+ "description": "ns delete",\r
+ "operationId": "ns_delete",\r
+ "parameters": [\r
+ {\r
+ "required": true,\r
+ "type": "string",\r
+ "description": "Identifier of the NS instance.",\r
+ "name": "nsInstanceId",\r
+ "in": "path"\r
+ }\r
+ ],\r
+ "responses": {\r
+ "204": {\r
+ "description": "The NS instance resource and the associated NS identifier were deleted successfully."\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "/jobs/{jobId}": {\r
+ "get": {\r
+ "tags": [\r
+ "job"\r
+ ],\r
+ "summary": "jobstatus",\r
+ "description": "",\r
+ "operationId": "get_jobstatus",\r
+ "parameters": [\r
+ {\r
+ "required": true,\r
+ "type": "string",\r
+ "description": "job Id",\r
+ "name": "jobId",\r
+ "in": "path"\r
+ },\r
+ {\r
+ "required": true,\r
+ "type": "string",\r
+ "description": "job response message id",\r
+ "name": "responseId",\r
+ "in": "query"\r
+ }\r
+ ],\r
+ "responses": {\r
+ "202": {\r
+ "description": "",\r
"schema": {\r
-\r
- "$ref": "#/definitions/JobProgressRequest"\r
-\r
- }\r
-\r
- }\r
-\r
- ],\r
-\r
- "responses": {\r
-\r
- "202": {\r
-\r
- "description": ""\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "definitions": {\r
-\r
- "NsCreateRequest": {\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
- "context":{\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
+ "$ref": "#/definitions/JobDetailInfo"\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "definitions": {\r
+ "NsCreateRequest": {\r
+ "type": "object",\r
+ "properties": {\r
+ "context":{\r
+ "type": "object",\r
+ "properties": {\r
"globalCustomerId":{\r
-\r
"type": "string",\r
"description": "the global customer id"\r
-\r
},\r
-\r
"serviceType":{\r
"type": "string",\r
-\r
"description": "service type"\r
-\r
}\r
-\r
}\r
-\r
- },\r
-\r
- "csarId": {\r
-\r
- "type": "string",\r
-\r
- "description": "the NS package ID"\r
-\r
- },\r
-\r
- "nsName": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "description": {\r
-\r
- "type": "string"\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "NsCreateResponse": {\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
- "nsInstanceId": {\r
-\r
- "type": "string"\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
- "NsInstantiateRequest": {\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
- "LocationConstraints": {\r
-\r
- "type": "array",\r
-\r
- "items": {\r
-\r
- "$ref": "#/definitions/LocationConstraint"\r
-\r
- }\r
-\r
- },\r
-\r
- "additionalParamForNs": {\r
-\r
- "type": "string"\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "LocationConstraint": {\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
- "vnfProfileId": {\r
-\r
- "type": "string"\r
-\r
- },\r
- "locationConstraints": {\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
- "vimid": {\r
-\r
- "type": "string"\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "NsScaleRequest": {\r
-\r
+ },\r
+ "csarId": {\r
+ "type": "string",\r
+ "description": "the NS package ID"\r
+ },\r
+ "nsName": {\r
+ "type": "string"\r
+ },\r
+ "description": {\r
+ "type": "string"\r
+ }\r
+ }\r
+ },\r
+ "NsCreateResponse": {\r
+ "type": "object",\r
+ "properties": {\r
+ "nsInstanceId": {\r
+ "type": "string"\r
+ }\r
+ }\r
+ },\r
+ "NsInstantiateRequest": {\r
+ "type": "object",\r
+ "properties": {\r
+ "LocationConstraints": {\r
+ "type": "array",\r
+ "items": {\r
+ "$ref": "#/definitions/LocationConstraint"\r
+ }\r
+ },\r
+ "additionalParamForNs": {\r
+ "type": "string"\r
+ }\r
+ }\r
+ },\r
+ "LocationConstraint": {\r
+ "type": "object",\r
+ "properties": {\r
+ "vnfProfileId": {\r
+ "type": "string"\r
+ },\r
+ "locationConstraints": {\r
+ "type": "object",\r
+ "properties": {\r
+ "vimid": {\r
+ "type": "string"\r
+ }\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "NsScaleRequest": {\r
+ "type": "object",\r
+ "properties": {\r
+ "scaleType": {\r
+ "type": "string"\r
+ },\r
+ "scaleNsByStepsData": {\r
+ "$ref": "#/definitions/NsScaleByStepsData"\r
+ }\r
+ }\r
+ },\r
+ "NsScaleByStepsData": {\r
+ "type": "object",\r
+ "properties": {\r
+ "scalingDirection": {\r
+ "type": "string"\r
+ },\r
+ "aspectId": {\r
+ "type": "string"\r
+ },\r
+ "numberOfSteps": {\r
+ "type": "integer"\r
+ }\r
+ }\r
+ },\r
+ "NsHealRequest": {\r
+ "type": "object",\r
+ "properties": {\r
+ "vnfInstanceId": {\r
+ "type": "string"\r
+ },\r
+ "cause": {\r
+ "type": "string"\r
+ },\r
+ "additionalParams": {\r
+ "type": "object",\r
+ "properties": {\r
+ "action": {\r
+ "type": "string"\r
+ },\r
+ "actionvminfo": {\r
+ "type": "object",\r
+ "properties": {\r
+ "vmid": {\r
+ "type": "string"\r
+ },\r
+ "vmname": {\r
+ "type": "string"\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "NsTerminateRequest": {\r
+ "type": "object",\r
+ "properties": {\r
+ "terminationType": {\r
+ "type": "string"\r
+ },\r
+ "gracefulTerminationTimeout": {\r
+ "type": "string"\r
+ }\r
+ }\r
+ },\r
+ "JobInfo": {\r
+ "type": "object",\r
+ "properties": {\r
+ "jobId": {\r
+ "type": "string"\r
+ }\r
+ }\r
+ },\r
+ "NsInstancesInfo":{\r
+ "type": "array",\r
+ "items": {\r
+ "$ref": "#/definitions/NsInstanceInfo"\r
+ }\r
+ },\r
+ "NsInstanceInfo": {\r
+ "type": "object",\r
+ "properties": {\r
+ "nsInstanceId": {\r
+ "type": "string"\r
+ },\r
+ "nsName": {\r
+ "type": "string"\r
+ },\r
+ "description": {\r
+ "type": "string"\r
+ },\r
+ "nsdId": {\r
+ "type": "string"\r
+ },\r
+ "vnfInfo": {\r
+ "type": "array",\r
+ "items": {\r
+ "$ref": "#/definitions/vnfInfo"\r
+ }\r
+ },\r
+ "vlInfo": {\r
+ "type": "array",\r
+ "items": {\r
+ "$ref": "#/definitions/vlInfo"\r
+ }\r
+ },\r
+ "vnffgInfo": {\r
+ "type": "array",\r
+ "items": {\r
+ "$ref": "#/definitions/vnffgInfo"\r
+ }\r
+ },\r
+ "nsState": {\r
+ "type": "string"\r
+ }\r
+ }\r
+ },\r
+ "vnfInfo": {\r
+ "type": "object",\r
+ "properties": {\r
+ "vnfInstanceId": {\r
+ "type": "string"\r
+ },\r
+ "vnfInstanceName": {\r
+ "type": "string"\r
+ },\r
+ "vnfdId": {\r
+ "type": "string"\r
+ }\r
+ }\r
+ },\r
+ "vlInfo": {\r
+ "type": "object",\r
+ "properties": {\r
+ "vlInstanceId": {\r
+ "type": "string"\r
+ },\r
+ "vlInstanceName": {\r
+ "type": "string"\r
+ },\r
+ "vldId": {\r
+ "type": "string"\r
+ },\r
+ "relatedCpInstanceId": {\r
+ "type": "array",\r
+ "items": {\r
+ "$ref": "#/definitions/cpInfo"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "cpInfo": {\r
+ "type": "object",\r
+ "properties": {\r
+ "cpInstanceId": {\r
+ "type": "string"\r
+ },\r
+ "cpInstanceName": {\r
+ "type": "string"\r
+ },\r
+ "cpdId": {\r
+ "type": "string"\r
+ }\r
+ }\r
+ },\r
+ "vnffgInfo": {\r
+ "type": "object",\r
+ "properties": {\r
+ "vnffgInstanceId": {\r
+ "type": "string"\r
+ },\r
+ "vnfId": {\r
+ "type": "string"\r
+ },\r
+ "pnfId": {\r
+ "type": "string"\r
+ },\r
+ "virtualLinkId": {\r
+ "type": "string"\r
+ },\r
+ "cpId": {\r
+ "type": "string"\r
+ },\r
+ "nfp": {\r
+ "type": "string"\r
+ }\r
+ }\r
+ },\r
+ "jobResponseInfo": {\r
"type": "object",\r
-\r
"properties": {\r
-\r
- "scaleType": {\r
-\r
- "type": "string"\r
-\r
+ "status": {\r
+ "type": "string"\r
+ },\r
+ "progress":{\r
+ "type": "string"\r
},\r
-\r
- "scaleNsByStepsData": {\r
-\r
- "$ref": "#/definitions/NsScaleByStepsData"\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "NsScaleByStepsData": {\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
- "scalingDirection": {\r
-\r
- "type": "string"\r
-\r
+ "statusDescription": {\r
+ "type": "string"\r
},\r
-\r
- "aspectId": {\r
-\r
- "type": "string"\r
-\r
+ "errorCode": {\r
+ "type": "string"\r
},\r
-\r
- "numberOfSteps": {\r
-\r
- "type": "integer"\r
-\r
- }\r
-\r
+ "responseId": {\r
+ "type": "string"\r
+ }\r
}\r
-\r
- },\r
-\r
- "NsHealRequest": {\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
- "vnfInstanceId": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "cause": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "additionalParams": {\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
- "action": {\r
-\r
+ },\r
+ "JobDetailInfo":{\r
+ "type": "object",\r
+ "properties": {\r
+ "jobId": {\r
"type": "string"\r
-\r
},\r
-\r
- "actionvminfo": {\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
- "vmid": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "vmname": {\r
-\r
- "type": "string"\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "NsTerminateRequest": {\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
- "terminationType": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "gracefulTerminationTimeout": {\r
-\r
- "type": "string"\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "JobInfo": {\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
- "jobId": {\r
-\r
- "type": "string"\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "JobProgressRequest": {\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
- "progress": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "desc": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "errcode": {\r
-\r
- "type": "string"\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "NsInfo": {\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
- "nsInstanceId": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "nsName": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "description": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "nsdId": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "vnfInfo": {\r
-\r
- "type": "array",\r
-\r
- "items": {\r
-\r
- "$ref": "#/definitions/vnfInfo"\r
-\r
- }\r
-\r
- },\r
-\r
- "vlInfo": {\r
-\r
- "type": "array",\r
-\r
- "items": {\r
-\r
- "$ref": "#/definitions/vlInfo"\r
-\r
- }\r
-\r
- },\r
-\r
- "vnffgInfo": {\r
-\r
- "type": "array",\r
-\r
- "items": {\r
-\r
- "$ref": "#/definitions/vnffgInfo"\r
-\r
- }\r
-\r
- },\r
-\r
- "nsState": {\r
-\r
- "type": "string"\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "vnfInfo": {\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
- "vnfInstanceId": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "vnfInstanceName": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "vnfdId": {\r
-\r
- "type": "string"\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "vlInfo": {\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
- "vlInstanceId": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "vlInstanceName": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "vldId": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "relatedCpInstanceId": {\r
-\r
- "type": "array",\r
-\r
- "items": {\r
-\r
- "$ref": "#/definitions/cpInfo"\r
-\r
+ "responseDescriptor":\r
+ {\r
+ "type":"object",\r
+ "properties": {\r
+ "status": {\r
+ "type": "string"\r
+ },\r
+ "progress":{\r
+ "type": "string"\r
+ },\r
+ "statusDescription": {\r
+ "type": "string"\r
+ },\r
+ "errorCode": {\r
+ "type": "string"\r
+ },\r
+ "responseId": {\r
+ "type": "string"\r
+ },\r
+ "responseHistoryList": {\r
+ "type": "array",\r
+ "items": {\r
+ "$ref": "#/definitions/jobResponseInfo"\r
+ }\r
+ }\r
+ }\r
}\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
-\r
- "cpInfo": {\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
- "cpInstanceId": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "cpInstanceName": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "cpdId": {\r
-\r
- "type": "string"\r
-\r
- }\r
-\r
- }\r
-\r
- },\r
- "vnffgInfo": {\r
-\r
- "type": "object",\r
-\r
- "properties": {\r
-\r
- "vnffgInstanceId": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "vnfId": {\r
-\r
- "type": "string"\r
-\r
- },\r
- "pnfId": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "virtualLinkId": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "cpId": {\r
-\r
- "type": "string"\r
-\r
- },\r
-\r
- "nfp": {\r
-\r
- "type": "string"\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- }\r
-\r
- }
\ No newline at end of file
+ }\r
+ }\r
+ }\r
+}
\ No newline at end of file