Commit fc7b3b74 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

fix issue #148 in v2.6.1

parent 3de081f5
Loading
Loading
Loading
Loading
+4 −23
Original line number Original line Diff line number Diff line
{
{
"CreateNsRequest": {
	"nsdId": "{nsdId}",
		"type": "object",
	"nsName": "{nsInstanceName}",
		"required": [
	"nsDescription": "{nsInstanceDescription}"
			"nsdId",
			"nsName",
			"nsDescription"
		],
		"properties": {
			"nsdId": {
				"description": "Identifier of the NSD that defines the NS instance to be created.\n",
				"$ref": "SOL005_def.yaml#/definitions/Identifier"
			},
			"nsName": {
				"description": "Human-readable name of the NS instance to be created.\n",
				"type": "string"
			},
			"nsDescription": {
				"description": "Human-readable description of the NS instance to be created.\n",
				"type": "string"
			}
		}
	}
}
}
+2 −31
Original line number Original line Diff line number Diff line
{
{
	"description": "This type represents a request for the scale NS operation.\n",
	"scaleType": "SCALE_NS"
	"type": "object",
	"required": [
		"scaleType"
	],
	"properties": {
		"scaleType": {
			"description": "Indicates the type of scaling to be performed. Possible values: - SCALE_NS - SCALE_VNF\n",
			"type": "string",
			"enum": [
				"SCALE_NS",
				"SCALE_VNF"
			]
		},
		"scaleNsData": {
			"description": "The necessary information to scale the referenced NS instance. It shall be present when scaleType = SCALE_NS.\n",
			"$ref": "#/definitions/ScaleNsData"
		},
		"scaleVnfData": {
			"description": "The necessary information to scale the referenced NS instance. It shall be present when scaleType = SCALE_VNF.\n",
			"type": "array",
			"items": {
				"$ref": "#/definitions/ScaleVnfData"
			}
		},
		"scaleTime": {
			"description": "Timestamp indicating the scale time of the NS, i.e. the NS will be scaled at this timestamp. Cardinality \"0\" indicates the NS scaling takes place immediately\".\n",
			"$ref": "SOL005_def.yaml#/definitions/DateTime"
		}
	}
}
}