rokenny | 1d9a4a6 | 2019-04-09 20:34:44 +0000 | [diff] [blame] | 1 | { |
| 2 | "swagger": "2.0", |
| 3 | "info": { |
| 4 | "version": "1.1.1", |
| 5 | "title": "SOL003 - VNF Lifecycle Management interface", |
| 6 | "description": "SOL003 - VNF Lifecycle Management interface definition\n\nIMPORTANT: Please note that this file might be not aligned to the current version of the ETSI Group Specification it refers to. In case of discrepancies the published ETSI Group Specification takes precedence.\n\nIn clause 4.3.2 of ETSI GS NFV-SOL 003 v2.4.1, an attribute-based filtering mechanism is defined. This mechanism is currently not included in the corresponding OpenAPI design for this GS version. Changes to the attribute-based filtering mechanism are being considered in v2.5.1 of this GS for inclusion in the corresponding future ETSI NFV OpenAPI design.\nPlease report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis&list_id=61&product=NFV&resolution=\n", |
| 7 | "license": { |
| 8 | "name": "ETSI Forge copyright notice", |
| 9 | "url": "https://forge.etsi.org/etsi-forge-copyright-notice.txt" |
| 10 | } |
| 11 | }, |
| 12 | "externalDocs": { |
| 13 | "description": "ETSI GS NFV-SOL 003 V2.4.1", |
| 14 | "url": "http://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/02.04.01_60/gs_NFV-SOL003v020401p.pdf" |
| 15 | }, |
| 16 | "basePath": "/vnflcm/v1", |
| 17 | "schemes": ["https"], |
| 18 | "consumes": ["application/json"], |
| 19 | "produces": ["application/json"], |
| 20 | "paths": { |
| 21 | "/vnf_instances": { |
| 22 | "post": { |
| 23 | "description": "Create VNF Identifier\n\nThe POST method creates a new VNF instance resource.\n", |
| 24 | "tags": ["Sol003VnfLcm"], |
| 25 | "parameters": [{ |
| 26 | "name": "createVnfRequest", |
| 27 | "description": "The VNF creation parameters", |
| 28 | "in": "body", |
| 29 | "required": true, |
| 30 | "schema": { |
| 31 | "type": "object", |
| 32 | "required": ["vnfdId"], |
| 33 | "properties": { |
| 34 | "vnfdId": { |
| 35 | "description": "An identifier with the intention of being globally unique.\n", |
| 36 | "type": "string" |
| 37 | }, |
| 38 | "vnfInstanceName": { |
| 39 | "description": "Human-readable name of the VNF instance to be created.\n", |
| 40 | "type": "string" |
| 41 | }, |
| 42 | "vnfInstanceDescription": { |
| 43 | "description": "Human-readable description of the VNF instance to be created.\n", |
| 44 | "type": "string" |
| 45 | } |
| 46 | } |
| 47 | } |
| 48 | }, { |
| 49 | "name": "Accept", |
| 50 | "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n", |
| 51 | "in": "header", |
| 52 | "required": true, |
| 53 | "type": "string" |
| 54 | }, { |
| 55 | "name": "Authorization", |
| 56 | "description": "The authorization token for the request. Reference: IETF RFC 7235\n", |
| 57 | "in": "header", |
| 58 | "required": false, |
| 59 | "type": "string" |
| 60 | }, { |
| 61 | "name": "Content-Type", |
| 62 | "description": "The MIME type of the body of the request. Reference: IETF RFC 7231\n", |
| 63 | "in": "header", |
| 64 | "required": true, |
| 65 | "type": "string" |
| 66 | } |
| 67 | ], |
| 68 | "responses": { |
| 69 | "201": { |
| 70 | "description": "A VNF Instance identifier was created successfully", |
| 71 | "headers": { |
| 72 | "Content-Type": { |
| 73 | "description": "The MIME type of the body of the response.", |
| 74 | "type": "string", |
| 75 | "maximum": 1, |
| 76 | "minimum": 1 |
| 77 | }, |
| 78 | "Location": { |
| 79 | "description": "The resource URI of the created VNF instance", |
| 80 | "type": "string", |
| 81 | "format": "url" |
| 82 | }, |
| 83 | "WWW-Authenticate": { |
| 84 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 85 | "type": "string", |
| 86 | "maximum": 1, |
| 87 | "minimum": 0 |
| 88 | } |
| 89 | }, |
| 90 | "schema": { |
| 91 | "description": "This type represents a VNF instance.\n", |
| 92 | "type": "object", |
| 93 | "required": ["id", "vnfdId", "vnfProvider", "vnfProductName", "vnfSoftwareVersion", "vnfdVersion", "vnfPkgId", "instantiationState"], |
| 94 | "properties": { |
| 95 | "id": { |
| 96 | "description": "An identifier with the intention of being globally unique.\n", |
| 97 | "type": "string" |
| 98 | }, |
| 99 | "vnfInstanceName": { |
| 100 | "description": "Name of the VNF instance. This attribute can be modified with the PATCH method.\n", |
| 101 | "type": "string" |
| 102 | }, |
| 103 | "vnfInstanceDescription": { |
| 104 | "description": "Human-readable description of the VNF instance. This attribute can be modified with the PATCH method.\n", |
| 105 | "type": "string" |
| 106 | }, |
| 107 | "vnfdId": { |
| 108 | "description": "An identifier with the intention of being globally unique.\n", |
| 109 | "type": "string" |
| 110 | }, |
| 111 | "vnfProvider": { |
| 112 | "description": "Provider of the VNF and the VNFD. The value is copied from the VNFD.\n", |
| 113 | "type": "string" |
| 114 | }, |
| 115 | "vnfProductName": { |
| 116 | "description": "Name to identify the VNF Product. The value is copied from the VNFD.\n", |
| 117 | "type": "string" |
| 118 | }, |
| 119 | "vnfSoftwareVersion": { |
| 120 | "description": "A Version.\n", |
| 121 | "type": "string" |
| 122 | }, |
| 123 | "vnfdVersion": { |
| 124 | "description": "A Version.\n", |
| 125 | "type": "string" |
| 126 | }, |
| 127 | "vnfPkgId": { |
| 128 | "description": "An identifier with the intention of being globally unique.\n", |
| 129 | "type": "string" |
| 130 | }, |
| 131 | "vnfConfigurableProperties": { |
| 132 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 133 | "type": "object" |
| 134 | }, |
| 135 | "vimConnectionInfo": { |
| 136 | "description": "Information about VIM connections to be used for managing the resources for the VNF instance. This attribute shall only be supported and present if VNF-related resource management in direct mode is applicable. This attribute can be modified with the PATCH method.\n", |
| 137 | "type": "array", |
| 138 | "items": { |
| 139 | "description": "This type represents parameters to connect to a VIM for managing the resources of a VNF instance. This structure is used to convey VIM-related parameters over the Or-Vnfm interface. Additional parameters for a VIM may be configured into the VNFM by means outside the scope of the present document, and bound to the identifier of that VIM.\n", |
| 140 | "type": "object", |
| 141 | "required": ["id", "vimType"], |
| 142 | "properties": { |
| 143 | "id": { |
| 144 | "description": "An identifier with the intention of being globally unique.\n", |
| 145 | "type": "string" |
| 146 | }, |
| 147 | "vimId": { |
| 148 | "description": "An identifier with the intention of being globally unique.\n", |
| 149 | "type": "string" |
| 150 | }, |
| 151 | "vimType": { |
| 152 | "description": "Discriminator for the different types of the VIM information. The value of this attribute determines the structure of the \"interfaceInfo\" and \"accessInfo\" attributes, based on the type of the VIM. The set of permitted values is expected to change over time as new types or versions of VIMs become available. The ETSI NFV registry of VIM-related information provides access to information about VimConnectionInfo definitions for various VIM types. The structure of the registry is defined in Annex C of SOL003.\n", |
| 153 | "type": "string" |
| 154 | }, |
| 155 | "interfaceInfo": { |
| 156 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 157 | "type": "object" |
| 158 | }, |
| 159 | "accessInfo": { |
| 160 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 161 | "type": "object" |
| 162 | }, |
| 163 | "extra": { |
| 164 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 165 | "type": "object" |
| 166 | } |
| 167 | } |
| 168 | } |
| 169 | }, |
| 170 | "instantiationState": { |
| 171 | "description": "The instantiation state of the VNF.\n", |
| 172 | "type": "string", |
| 173 | "enum": ["NOT_INSTANTIATED", "INSTANTIATED"] |
| 174 | }, |
| 175 | "instantiatedVnfInfo": { |
| 176 | "description": "Information specific to an instantiated VNF instance. This attribute shall be present if the instantiateState attribute value is INSTANTIATED.\n", |
| 177 | "type": "object", |
| 178 | "required": ["flavourId", "vnfState"], |
| 179 | "properties": { |
| 180 | "flavourId": { |
| 181 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 182 | "type": "string" |
| 183 | }, |
| 184 | "vnfState": { |
| 185 | "type": "string", |
| 186 | "enum": ["STARTED", "STOPPED"] |
| 187 | }, |
| 188 | "scaleStatus": { |
| 189 | "description": "Scale status of the VNF, one entry per aspect. Represents for every scaling aspect how \"big\" the VNF has been scaled w.r.t. that aspect.\n", |
| 190 | "type": "array", |
| 191 | "items": { |
| 192 | "required": ["aspectId", "scaleLevel"], |
| 193 | "type": "object", |
| 194 | "properties": { |
| 195 | "aspectId": { |
| 196 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 197 | "type": "string" |
| 198 | }, |
| 199 | "scaleLevel": { |
| 200 | "description": "Indicates the scale level. The minimum value shall be 0 and the maximum value shall be <= maxScaleLevel as described in the VNFD.\n", |
| 201 | "type": "integer" |
| 202 | } |
| 203 | } |
| 204 | } |
| 205 | }, |
| 206 | "extCpInfo": { |
| 207 | "description": "Information about the external CPs exposed by the VNF instance.\n", |
| 208 | "type": "array", |
| 209 | "minItems": 1, |
| 210 | "items": { |
| 211 | "type": "object", |
| 212 | "required": ["id", "cpdId"], |
| 213 | "properties": { |
| 214 | "id": { |
| 215 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 216 | "type": "string" |
| 217 | }, |
| 218 | "cpdId": { |
| 219 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 220 | "type": "string" |
| 221 | }, |
| 222 | "cpProtocolInfo": { |
| 223 | "description": "Network protocol information for this CP.\n", |
| 224 | "type": "array", |
| 225 | "items": { |
| 226 | "description": "This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses.\n", |
| 227 | "required": ["layerProtocol"], |
| 228 | "properties": { |
| 229 | "layerProtocol": { |
| 230 | "description": "The identifier of layer(s) and protocol(s) associated to the network address information. Permitted values: IP_OVER_ETHERNET This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n", |
| 231 | "type": "string", |
| 232 | "enum": ["IP_OVER_ETHERNET"] |
| 233 | }, |
| 234 | "ipOverEthernet": { |
| 235 | "description": "This type represents information about a network address that has been assigned.\n", |
| 236 | "type": "object", |
| 237 | "required": ["macAddress"], |
| 238 | "properties": { |
| 239 | "macAddress": { |
| 240 | "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n", |
| 241 | "type": "string", |
| 242 | "format": "MAC" |
| 243 | }, |
| 244 | "ipAddresses": { |
| 245 | "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n", |
| 246 | "type": "array", |
| 247 | "items": { |
| 248 | "type": "object", |
| 249 | "required": ["type"], |
| 250 | "properties": { |
| 251 | "type": { |
| 252 | "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n", |
| 253 | "type": "string", |
| 254 | "enum": ["IPV4", "IPV6"] |
| 255 | }, |
| 256 | "addresses": { |
| 257 | "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n", |
| 258 | "type": "array", |
| 259 | "items": { |
| 260 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 261 | "type": "string", |
| 262 | "format": "IP" |
| 263 | } |
| 264 | }, |
| 265 | "isDynamic": { |
| 266 | "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n", |
| 267 | "type": "boolean" |
| 268 | }, |
| 269 | "addressRange": { |
| 270 | "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n", |
| 271 | "type": "object", |
| 272 | "required": ["minAddress", "maxAddress"], |
| 273 | "properties": { |
| 274 | "minAddress": { |
| 275 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 276 | "type": "string", |
| 277 | "format": "IP" |
| 278 | }, |
| 279 | "maxAddress": { |
| 280 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 281 | "type": "string", |
| 282 | "format": "IP" |
| 283 | } |
| 284 | } |
| 285 | }, |
| 286 | "subnetId": { |
| 287 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 288 | "type": "string", |
| 289 | "format": "IP" |
| 290 | } |
| 291 | } |
| 292 | } |
| 293 | } |
| 294 | } |
| 295 | } |
| 296 | } |
| 297 | } |
| 298 | }, |
| 299 | "extLinkPortId": { |
| 300 | "description": "An identifier with the intention of being globally unique.\n", |
| 301 | "type": "string" |
| 302 | } |
| 303 | } |
| 304 | } |
| 305 | }, |
| 306 | "extVirtualLinkInfo": { |
| 307 | "description": "Information about the external VLs the VNF instance is connected to.\n", |
| 308 | "type": "array", |
| 309 | "items": { |
| 310 | "type": "object", |
| 311 | "required": ["id", "resourceHandle"], |
| 312 | "properties": { |
| 313 | "id": { |
| 314 | "description": "An identifier with the intention of being globally unique.\n", |
| 315 | "type": "string" |
| 316 | }, |
| 317 | "resourceHandle": { |
| 318 | "required": ["vimConnectionId", "resourceId"], |
| 319 | "type": "object", |
| 320 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 321 | "properties": { |
| 322 | "vimConnectionId": { |
| 323 | "description": "An identifier with the intention of being globally unique.\n", |
| 324 | "type": "string" |
| 325 | }, |
| 326 | "resourceProviderId": { |
| 327 | "description": "An identifier with the intention of being globally unique.\n", |
| 328 | "type": "string" |
| 329 | }, |
| 330 | "resourceId": { |
| 331 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 332 | "type": "string" |
| 333 | }, |
| 334 | "vimLevelResourceType": { |
| 335 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 336 | "type": "string" |
| 337 | } |
| 338 | } |
| 339 | }, |
| 340 | "extLinkPorts": { |
| 341 | "description": "Link ports of this VL.\n", |
| 342 | "type": "array", |
| 343 | "items": { |
| 344 | "description": "This type represents information about a link port of an external VL, i.e. a port providing connectivity for the VNF to an NS VL.\n", |
| 345 | "type": "object", |
| 346 | "required": ["id", "resourceHandle"], |
| 347 | "properties": { |
| 348 | "id": { |
| 349 | "description": "An identifier with the intention of being globally unique.\n", |
| 350 | "type": "string" |
| 351 | }, |
| 352 | "resourceHandle": { |
| 353 | "required": ["vimConnectionId", "resourceId"], |
| 354 | "type": "object", |
| 355 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 356 | "properties": { |
| 357 | "vimConnectionId": { |
| 358 | "description": "An identifier with the intention of being globally unique.\n", |
| 359 | "type": "string" |
| 360 | }, |
| 361 | "resourceProviderId": { |
| 362 | "description": "An identifier with the intention of being globally unique.\n", |
| 363 | "type": "string" |
| 364 | }, |
| 365 | "resourceId": { |
| 366 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 367 | "type": "string" |
| 368 | }, |
| 369 | "vimLevelResourceType": { |
| 370 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 371 | "type": "string" |
| 372 | } |
| 373 | } |
| 374 | }, |
| 375 | "cpInstanceId": { |
| 376 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 377 | "type": "string" |
| 378 | } |
| 379 | } |
| 380 | } |
| 381 | } |
| 382 | } |
| 383 | } |
| 384 | }, |
| 385 | "extManagedVirtualLinkInfo": { |
| 386 | "description": "External virtual links the VNF instance is connected to.\n", |
| 387 | "type": "array", |
| 388 | "items": { |
| 389 | "type": "object", |
| 390 | "required": ["id", "vnfVirtualLinkDescId"], |
| 391 | "properties": { |
| 392 | "id": { |
| 393 | "description": "An identifier with the intention of being globally unique.\n", |
| 394 | "type": "string" |
| 395 | }, |
| 396 | "vnfVirtualLinkDescId": { |
| 397 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 398 | "type": "string" |
| 399 | }, |
| 400 | "networkResource": { |
| 401 | "required": ["vimConnectionId", "resourceId"], |
| 402 | "type": "object", |
| 403 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 404 | "properties": { |
| 405 | "vimConnectionId": { |
| 406 | "description": "An identifier with the intention of being globally unique.\n", |
| 407 | "type": "string" |
| 408 | }, |
| 409 | "resourceProviderId": { |
| 410 | "description": "An identifier with the intention of being globally unique.\n", |
| 411 | "type": "string" |
| 412 | }, |
| 413 | "resourceId": { |
| 414 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 415 | "type": "string" |
| 416 | }, |
| 417 | "vimLevelResourceType": { |
| 418 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 419 | "type": "string" |
| 420 | } |
| 421 | } |
| 422 | }, |
| 423 | "vnfLinkPorts": { |
| 424 | "description": "Link ports of this VL.\n", |
| 425 | "type": "array", |
| 426 | "items": { |
| 427 | "type": "object", |
| 428 | "required": ["id", "resourceHandle"], |
| 429 | "properties": { |
| 430 | "id": { |
| 431 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 432 | "type": "string" |
| 433 | }, |
| 434 | "resourceHandle": { |
| 435 | "required": ["vimConnectionId", "resourceId"], |
| 436 | "type": "object", |
| 437 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 438 | "properties": { |
| 439 | "vimConnectionId": { |
| 440 | "description": "An identifier with the intention of being globally unique.\n", |
| 441 | "type": "string" |
| 442 | }, |
| 443 | "resourceProviderId": { |
| 444 | "description": "An identifier with the intention of being globally unique.\n", |
| 445 | "type": "string" |
| 446 | }, |
| 447 | "resourceId": { |
| 448 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 449 | "type": "string" |
| 450 | }, |
| 451 | "vimLevelResourceType": { |
| 452 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 453 | "type": "string" |
| 454 | } |
| 455 | } |
| 456 | }, |
| 457 | "cpInstanceId": { |
| 458 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 459 | "type": "string" |
| 460 | } |
| 461 | } |
| 462 | } |
| 463 | } |
| 464 | } |
| 465 | } |
| 466 | }, |
| 467 | "monitoringParameters": { |
| 468 | "description": "Active monitoring parameters.\n", |
| 469 | "type": "array", |
| 470 | "items": { |
| 471 | "type": "object", |
| 472 | "required": ["id", "value", "timeStamp"], |
| 473 | "properties": { |
| 474 | "id": { |
| 475 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 476 | "type": "string" |
| 477 | }, |
| 478 | "name": { |
| 479 | "description": "Human readable name of the monitoring parameter, as defined in the VNFD.\n", |
| 480 | "type": "string" |
| 481 | }, |
| 482 | "value": { |
| 483 | "description": "Value of the monitoring parameter known to the VNFM (e.g. obtained for autoscaling purposes). The type of the \"value\" attribute (i.e. scalar, structure (Object in JSON), or array (of scalars, arrays or structures/Objects)) is assumed to be defined in an external measurement specification.\n", |
| 484 | "type": "object" |
| 485 | }, |
| 486 | "timeStamp": { |
| 487 | "description": "Represents the point in time when the measurement has been performed, as known to the VNFM. Should be formatted according to ETF RFC 3339.\n", |
| 488 | "type": "string" |
| 489 | } |
| 490 | } |
| 491 | } |
| 492 | }, |
| 493 | "localizationLanguage": { |
| 494 | "description": "Information about localization language of the VNF (includes e.g. strings in the VNFD). The localization languages supported by a VNF can be declared in the VNFD, and localization language selection can take place at instantiation time. The value shall comply with the format defined in IETF RFC 5646.\n", |
| 495 | "type": "string" |
| 496 | }, |
| 497 | "vnfcResourceInfo": { |
| 498 | "description": "Information about the virtualised compute and storage resources used by the VNFCs of the VNF instance.\n", |
| 499 | "type": "array", |
| 500 | "items": { |
| 501 | "description": "This type represents the information on virtualised compute and storage resources used by a VNFC in a VNF instance.\n", |
| 502 | "type": "object", |
| 503 | "required": ["id", "vduId", "computeResource"], |
| 504 | "properties": { |
| 505 | "id": { |
| 506 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 507 | "type": "string" |
| 508 | }, |
| 509 | "vduId": { |
| 510 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 511 | "type": "string" |
| 512 | }, |
| 513 | "computeResource": { |
| 514 | "required": ["vimConnectionId", "resourceId"], |
| 515 | "type": "object", |
| 516 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 517 | "properties": { |
| 518 | "vimConnectionId": { |
| 519 | "description": "An identifier with the intention of being globally unique.\n", |
| 520 | "type": "string" |
| 521 | }, |
| 522 | "resourceProviderId": { |
| 523 | "description": "An identifier with the intention of being globally unique.\n", |
| 524 | "type": "string" |
| 525 | }, |
| 526 | "resourceId": { |
| 527 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 528 | "type": "string" |
| 529 | }, |
| 530 | "vimLevelResourceType": { |
| 531 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 532 | "type": "string" |
| 533 | } |
| 534 | } |
| 535 | }, |
| 536 | "storageResourceIds": { |
| 537 | "description": "References to the VirtualStorage resources. The value refers to a VirtualStorageResourceInfo item in the VnfInstance.\n", |
| 538 | "type": "array", |
| 539 | "items": { |
| 540 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 541 | "type": "string" |
| 542 | } |
| 543 | }, |
| 544 | "reservationId": { |
| 545 | "description": "An identifier with the intention of being globally unique.\n", |
| 546 | "type": "string" |
| 547 | }, |
| 548 | "vnfcCpInfo": { |
| 549 | "description": "CPs of the VNFC instance. Shall be present when that particular CP of the VNFC instance is associated to an external CP of the VNF instance. May be present otherwise.\n", |
| 550 | "type": "array", |
| 551 | "items": { |
| 552 | "type": "object", |
| 553 | "required": ["id", "cpdId"], |
| 554 | "properties": { |
| 555 | "id": { |
| 556 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 557 | "type": "string" |
| 558 | }, |
| 559 | "cpdId": { |
| 560 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 561 | "type": "string" |
| 562 | }, |
| 563 | "vnfExtCpId": { |
| 564 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 565 | "type": "string" |
| 566 | }, |
| 567 | "cpProtocolInfo": { |
| 568 | "description": "Network protocol information for this CP.\n", |
| 569 | "type": "array", |
| 570 | "items": { |
| 571 | "description": "This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses.\n", |
| 572 | "required": ["layerProtocol"], |
| 573 | "properties": { |
| 574 | "layerProtocol": { |
| 575 | "description": "The identifier of layer(s) and protocol(s) associated to the network address information. Permitted values: IP_OVER_ETHERNET This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n", |
| 576 | "type": "string", |
| 577 | "enum": ["IP_OVER_ETHERNET"] |
| 578 | }, |
| 579 | "ipOverEthernet": { |
| 580 | "description": "This type represents information about a network address that has been assigned.\n", |
| 581 | "type": "object", |
| 582 | "required": ["macAddress"], |
| 583 | "properties": { |
| 584 | "macAddress": { |
| 585 | "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n", |
| 586 | "type": "string", |
| 587 | "format": "MAC" |
| 588 | }, |
| 589 | "ipAddresses": { |
| 590 | "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n", |
| 591 | "type": "array", |
| 592 | "items": { |
| 593 | "type": "object", |
| 594 | "required": ["type"], |
| 595 | "properties": { |
| 596 | "type": { |
| 597 | "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n", |
| 598 | "type": "string", |
| 599 | "enum": ["IPV4", "IPV6"] |
| 600 | }, |
| 601 | "addresses": { |
| 602 | "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n", |
| 603 | "type": "array", |
| 604 | "items": { |
| 605 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 606 | "type": "string", |
| 607 | "format": "IP" |
| 608 | } |
| 609 | }, |
| 610 | "isDynamic": { |
| 611 | "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n", |
| 612 | "type": "boolean" |
| 613 | }, |
| 614 | "addressRange": { |
| 615 | "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n", |
| 616 | "type": "object", |
| 617 | "required": ["minAddress", "maxAddress"], |
| 618 | "properties": { |
| 619 | "minAddress": { |
| 620 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 621 | "type": "string", |
| 622 | "format": "IP" |
| 623 | }, |
| 624 | "maxAddress": { |
| 625 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 626 | "type": "string", |
| 627 | "format": "IP" |
| 628 | } |
| 629 | } |
| 630 | }, |
| 631 | "subnetId": { |
| 632 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 633 | "type": "string", |
| 634 | "format": "IP" |
| 635 | } |
| 636 | } |
| 637 | } |
| 638 | } |
| 639 | } |
| 640 | } |
| 641 | } |
| 642 | } |
| 643 | }, |
| 644 | "vnfLinkPortId": { |
| 645 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 646 | "type": "string" |
| 647 | } |
| 648 | } |
| 649 | } |
| 650 | }, |
| 651 | "metadata": { |
| 652 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 653 | "type": "object" |
| 654 | } |
| 655 | } |
| 656 | } |
| 657 | }, |
| 658 | "virtualLinkResourceInfo": { |
| 659 | "description": "Information about the virtualised network resources used by the VLs of the VNF instance.\n", |
| 660 | "type": "array", |
| 661 | "items": { |
| 662 | "description": "This type represents the information that allows addressing a virtualised resource that is used by an internal VL instance in a VNF instance.\n", |
| 663 | "type": "object", |
| 664 | "required": ["id", "vnfVirtualLinkDescId", "networkResource"], |
| 665 | "properties": { |
| 666 | "id": { |
| 667 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 668 | "type": "string" |
| 669 | }, |
| 670 | "vnfVirtualLinkDescId": { |
| 671 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 672 | "type": "string" |
| 673 | }, |
| 674 | "networkResource": { |
| 675 | "required": ["vimConnectionId", "resourceId"], |
| 676 | "type": "object", |
| 677 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 678 | "properties": { |
| 679 | "vimConnectionId": { |
| 680 | "description": "An identifier with the intention of being globally unique.\n", |
| 681 | "type": "string" |
| 682 | }, |
| 683 | "resourceProviderId": { |
| 684 | "description": "An identifier with the intention of being globally unique.\n", |
| 685 | "type": "string" |
| 686 | }, |
| 687 | "resourceId": { |
| 688 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 689 | "type": "string" |
| 690 | }, |
| 691 | "vimLevelResourceType": { |
| 692 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 693 | "type": "string" |
| 694 | } |
| 695 | } |
| 696 | }, |
| 697 | "reservationId": { |
| 698 | "description": "An identifier with the intention of being globally unique.\n", |
| 699 | "type": "string" |
| 700 | }, |
| 701 | "vnfLinkPorts": { |
| 702 | "description": "Links ports of this VL. Shall be present when the linkPort is used for external connectivity by the VNF (refer to VnfLinkPortInfo). May be present otherwise.\n", |
| 703 | "type": "array", |
| 704 | "items": { |
| 705 | "type": "object", |
| 706 | "required": ["id", "resourceHandle"], |
| 707 | "properties": { |
| 708 | "id": { |
| 709 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 710 | "type": "string" |
| 711 | }, |
| 712 | "resourceHandle": { |
| 713 | "required": ["vimConnectionId", "resourceId"], |
| 714 | "type": "object", |
| 715 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 716 | "properties": { |
| 717 | "vimConnectionId": { |
| 718 | "description": "An identifier with the intention of being globally unique.\n", |
| 719 | "type": "string" |
| 720 | }, |
| 721 | "resourceProviderId": { |
| 722 | "description": "An identifier with the intention of being globally unique.\n", |
| 723 | "type": "string" |
| 724 | }, |
| 725 | "resourceId": { |
| 726 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 727 | "type": "string" |
| 728 | }, |
| 729 | "vimLevelResourceType": { |
| 730 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 731 | "type": "string" |
| 732 | } |
| 733 | } |
| 734 | }, |
| 735 | "cpInstanceId": { |
| 736 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 737 | "type": "string" |
| 738 | } |
| 739 | } |
| 740 | } |
| 741 | }, |
| 742 | "metadata": { |
| 743 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 744 | "type": "object" |
| 745 | } |
| 746 | } |
| 747 | } |
| 748 | }, |
| 749 | "virtualStorageResourceInfo": { |
| 750 | "description": "Information on the virtualised storage resource(s) used as storage for the VNF instance.\n", |
| 751 | "type": "array", |
| 752 | "items": { |
| 753 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance.\n", |
| 754 | "type": "object", |
| 755 | "required": ["id", "virtualStorageDescId", "storageResource"], |
| 756 | "properties": { |
| 757 | "id": { |
| 758 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 759 | "type": "string" |
| 760 | }, |
| 761 | "virtualStorageDescId": { |
| 762 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 763 | "type": "string" |
| 764 | }, |
| 765 | "storageResource": { |
| 766 | "required": ["vimConnectionId", "resourceId"], |
| 767 | "type": "object", |
| 768 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 769 | "properties": { |
| 770 | "vimConnectionId": { |
| 771 | "description": "An identifier with the intention of being globally unique.\n", |
| 772 | "type": "string" |
| 773 | }, |
| 774 | "resourceProviderId": { |
| 775 | "description": "An identifier with the intention of being globally unique.\n", |
| 776 | "type": "string" |
| 777 | }, |
| 778 | "resourceId": { |
| 779 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 780 | "type": "string" |
| 781 | }, |
| 782 | "vimLevelResourceType": { |
| 783 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 784 | "type": "string" |
| 785 | } |
| 786 | } |
| 787 | }, |
| 788 | "reservationId": { |
| 789 | "description": "An identifier with the intention of being globally unique.\n", |
| 790 | "type": "string" |
| 791 | }, |
| 792 | "metadata": { |
| 793 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 794 | "type": "object" |
| 795 | } |
| 796 | } |
| 797 | } |
| 798 | } |
| 799 | } |
| 800 | }, |
| 801 | "metadata": { |
| 802 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 803 | "type": "object" |
| 804 | }, |
| 805 | "extensions": { |
| 806 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 807 | "type": "object" |
| 808 | }, |
| 809 | "_links": { |
| 810 | "description": "Links to resources related to this resource.\n", |
| 811 | "type": "object", |
| 812 | "required": ["self"], |
| 813 | "properties": { |
| 814 | "self": { |
| 815 | "description": "This type represents a link to a resource.\n", |
| 816 | "type": "object", |
| 817 | "required": ["href"], |
| 818 | "properties": { |
| 819 | "href": { |
| 820 | "description": "URI of the referenced resource.\n", |
| 821 | "type": "string", |
| 822 | "format": "url" |
| 823 | } |
| 824 | } |
| 825 | }, |
| 826 | "indicators": { |
| 827 | "description": "This type represents a link to a resource.\n", |
| 828 | "type": "object", |
| 829 | "required": ["href"], |
| 830 | "properties": { |
| 831 | "href": { |
| 832 | "description": "URI of the referenced resource.\n", |
| 833 | "type": "string", |
| 834 | "format": "url" |
| 835 | } |
| 836 | } |
| 837 | }, |
| 838 | "instantiate": { |
| 839 | "description": "This type represents a link to a resource.\n", |
| 840 | "type": "object", |
| 841 | "required": ["href"], |
| 842 | "properties": { |
| 843 | "href": { |
| 844 | "description": "URI of the referenced resource.\n", |
| 845 | "type": "string", |
| 846 | "format": "url" |
| 847 | } |
| 848 | } |
| 849 | }, |
| 850 | "terminate": { |
| 851 | "description": "This type represents a link to a resource.\n", |
| 852 | "type": "object", |
| 853 | "required": ["href"], |
| 854 | "properties": { |
| 855 | "href": { |
| 856 | "description": "URI of the referenced resource.\n", |
| 857 | "type": "string", |
| 858 | "format": "url" |
| 859 | } |
| 860 | } |
| 861 | }, |
| 862 | "scale": { |
| 863 | "description": "This type represents a link to a resource.\n", |
| 864 | "type": "object", |
| 865 | "required": ["href"], |
| 866 | "properties": { |
| 867 | "href": { |
| 868 | "description": "URI of the referenced resource.\n", |
| 869 | "type": "string", |
| 870 | "format": "url" |
| 871 | } |
| 872 | } |
| 873 | }, |
| 874 | "scaleToLevel": { |
| 875 | "description": "This type represents a link to a resource.\n", |
| 876 | "type": "object", |
| 877 | "required": ["href"], |
| 878 | "properties": { |
| 879 | "href": { |
| 880 | "description": "URI of the referenced resource.\n", |
| 881 | "type": "string", |
| 882 | "format": "url" |
| 883 | } |
| 884 | } |
| 885 | }, |
| 886 | "changeFlavour": { |
| 887 | "description": "This type represents a link to a resource.\n", |
| 888 | "type": "object", |
| 889 | "required": ["href"], |
| 890 | "properties": { |
| 891 | "href": { |
| 892 | "description": "URI of the referenced resource.\n", |
| 893 | "type": "string", |
| 894 | "format": "url" |
| 895 | } |
| 896 | } |
| 897 | }, |
| 898 | "heal": { |
| 899 | "description": "This type represents a link to a resource.\n", |
| 900 | "type": "object", |
| 901 | "required": ["href"], |
| 902 | "properties": { |
| 903 | "href": { |
| 904 | "description": "URI of the referenced resource.\n", |
| 905 | "type": "string", |
| 906 | "format": "url" |
| 907 | } |
| 908 | } |
| 909 | }, |
| 910 | "operate": { |
| 911 | "description": "This type represents a link to a resource.\n", |
| 912 | "type": "object", |
| 913 | "required": ["href"], |
| 914 | "properties": { |
| 915 | "href": { |
| 916 | "description": "URI of the referenced resource.\n", |
| 917 | "type": "string", |
| 918 | "format": "url" |
| 919 | } |
| 920 | } |
| 921 | }, |
| 922 | "changeExtConn": { |
| 923 | "description": "This type represents a link to a resource.\n", |
| 924 | "type": "object", |
| 925 | "required": ["href"], |
| 926 | "properties": { |
| 927 | "href": { |
| 928 | "description": "URI of the referenced resource.\n", |
| 929 | "type": "string", |
| 930 | "format": "url" |
| 931 | } |
| 932 | } |
| 933 | } |
| 934 | } |
| 935 | } |
| 936 | } |
| 937 | } |
| 938 | }, |
| 939 | "400": { |
| 940 | "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 941 | "headers": { |
| 942 | "Content-Type": { |
| 943 | "description": "The MIME type of the body of the response.", |
| 944 | "type": "string", |
| 945 | "maximum": 1, |
| 946 | "minimum": 1 |
| 947 | }, |
| 948 | "WWW-Authenticate": { |
| 949 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 950 | "type": "string", |
| 951 | "maximum": 1, |
| 952 | "minimum": 0 |
| 953 | } |
| 954 | }, |
| 955 | "schema": { |
| 956 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 957 | "type": "object", |
| 958 | "required": ["status", "detail"], |
| 959 | "properties": { |
| 960 | "type": { |
| 961 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 962 | "type": "string", |
| 963 | "format": "URI" |
| 964 | }, |
| 965 | "title": { |
| 966 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 967 | "type": "string" |
| 968 | }, |
| 969 | "status": { |
| 970 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 971 | "type": "integer" |
| 972 | }, |
| 973 | "detail": { |
| 974 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 975 | "type": "string" |
| 976 | }, |
| 977 | "instance": { |
| 978 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 979 | "type": "string", |
| 980 | "format": "URI" |
| 981 | } |
| 982 | } |
| 983 | } |
| 984 | }, |
| 985 | "401": { |
| 986 | "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n", |
| 987 | "headers": { |
| 988 | "Content-Type": { |
| 989 | "description": "The MIME type of the body of the response.", |
| 990 | "type": "string", |
| 991 | "maximum": 1, |
| 992 | "minimum": 1 |
| 993 | }, |
| 994 | "WWW-Authenticate": { |
| 995 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 996 | "type": "string", |
| 997 | "maximum": 1, |
| 998 | "minimum": 0 |
| 999 | } |
| 1000 | }, |
| 1001 | "schema": { |
| 1002 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 1003 | "type": "object", |
| 1004 | "required": ["status", "detail"], |
| 1005 | "properties": { |
| 1006 | "type": { |
| 1007 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 1008 | "type": "string", |
| 1009 | "format": "URI" |
| 1010 | }, |
| 1011 | "title": { |
| 1012 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 1013 | "type": "string" |
| 1014 | }, |
| 1015 | "status": { |
| 1016 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 1017 | "type": "integer" |
| 1018 | }, |
| 1019 | "detail": { |
| 1020 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 1021 | "type": "string" |
| 1022 | }, |
| 1023 | "instance": { |
| 1024 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 1025 | "type": "string", |
| 1026 | "format": "URI" |
| 1027 | } |
| 1028 | } |
| 1029 | } |
| 1030 | }, |
| 1031 | "403": { |
| 1032 | "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided. It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n", |
| 1033 | "headers": { |
| 1034 | "Content-Type": { |
| 1035 | "description": "The MIME type of the body of the response.", |
| 1036 | "type": "string", |
| 1037 | "maximum": 1, |
| 1038 | "minimum": 1 |
| 1039 | } |
| 1040 | }, |
| 1041 | "schema": { |
| 1042 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 1043 | "type": "object", |
| 1044 | "required": ["status", "detail"], |
| 1045 | "properties": { |
| 1046 | "type": { |
| 1047 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 1048 | "type": "string", |
| 1049 | "format": "URI" |
| 1050 | }, |
| 1051 | "title": { |
| 1052 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 1053 | "type": "string" |
| 1054 | }, |
| 1055 | "status": { |
| 1056 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 1057 | "type": "integer" |
| 1058 | }, |
| 1059 | "detail": { |
| 1060 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 1061 | "type": "string" |
| 1062 | }, |
| 1063 | "instance": { |
| 1064 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 1065 | "type": "string", |
| 1066 | "format": "URI" |
| 1067 | } |
| 1068 | } |
| 1069 | } |
| 1070 | }, |
| 1071 | "404": { |
| 1072 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n", |
| 1073 | "headers": { |
| 1074 | "Content-Type": { |
| 1075 | "description": "The MIME type of the body of the response.", |
| 1076 | "type": "string", |
| 1077 | "maximum": 1, |
| 1078 | "minimum": 1 |
| 1079 | } |
| 1080 | }, |
| 1081 | "schema": { |
| 1082 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 1083 | "type": "object", |
| 1084 | "required": ["status", "detail"], |
| 1085 | "properties": { |
| 1086 | "type": { |
| 1087 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 1088 | "type": "string", |
| 1089 | "format": "URI" |
| 1090 | }, |
| 1091 | "title": { |
| 1092 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 1093 | "type": "string" |
| 1094 | }, |
| 1095 | "status": { |
| 1096 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 1097 | "type": "integer" |
| 1098 | }, |
| 1099 | "detail": { |
| 1100 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 1101 | "type": "string" |
| 1102 | }, |
| 1103 | "instance": { |
| 1104 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 1105 | "type": "string", |
| 1106 | "format": "URI" |
| 1107 | } |
| 1108 | } |
| 1109 | } |
| 1110 | }, |
| 1111 | "405": { |
| 1112 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n", |
| 1113 | "headers": { |
| 1114 | "Content-Type": { |
| 1115 | "description": "The MIME type of the body of the response.", |
| 1116 | "type": "string", |
| 1117 | "maximum": 1, |
| 1118 | "minimum": 1 |
| 1119 | } |
| 1120 | }, |
| 1121 | "schema": { |
| 1122 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 1123 | "type": "object", |
| 1124 | "required": ["status", "detail"], |
| 1125 | "properties": { |
| 1126 | "type": { |
| 1127 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 1128 | "type": "string", |
| 1129 | "format": "URI" |
| 1130 | }, |
| 1131 | "title": { |
| 1132 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 1133 | "type": "string" |
| 1134 | }, |
| 1135 | "status": { |
| 1136 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 1137 | "type": "integer" |
| 1138 | }, |
| 1139 | "detail": { |
| 1140 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 1141 | "type": "string" |
| 1142 | }, |
| 1143 | "instance": { |
| 1144 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 1145 | "type": "string", |
| 1146 | "format": "URI" |
| 1147 | } |
| 1148 | } |
| 1149 | } |
| 1150 | }, |
| 1151 | "406": { |
| 1152 | "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n", |
| 1153 | "headers": { |
| 1154 | "Content-Type": { |
| 1155 | "description": "The MIME type of the body of the response.", |
| 1156 | "type": "string", |
| 1157 | "maximum": 1, |
| 1158 | "minimum": 1 |
| 1159 | } |
| 1160 | }, |
| 1161 | "schema": { |
| 1162 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 1163 | "type": "object", |
| 1164 | "required": ["status", "detail"], |
| 1165 | "properties": { |
| 1166 | "type": { |
| 1167 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 1168 | "type": "string", |
| 1169 | "format": "URI" |
| 1170 | }, |
| 1171 | "title": { |
| 1172 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 1173 | "type": "string" |
| 1174 | }, |
| 1175 | "status": { |
| 1176 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 1177 | "type": "integer" |
| 1178 | }, |
| 1179 | "detail": { |
| 1180 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 1181 | "type": "string" |
| 1182 | }, |
| 1183 | "instance": { |
| 1184 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 1185 | "type": "string", |
| 1186 | "format": "URI" |
| 1187 | } |
| 1188 | } |
| 1189 | } |
| 1190 | }, |
| 1191 | "409": { |
| 1192 | "description": "Conflict\nAnother request is in progress that prohibits the fulfilment of the current request, or the current resource state is inconsistent with the request.\n", |
| 1193 | "headers": { |
| 1194 | "Content-Type": { |
| 1195 | "description": "The MIME type of the body of the response.", |
| 1196 | "type": "string", |
| 1197 | "maximum": 1, |
| 1198 | "minimum": 1 |
| 1199 | }, |
| 1200 | "WWW-Authenticate": { |
| 1201 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 1202 | "type": "string", |
| 1203 | "maximum": 1, |
| 1204 | "minimum": 0 |
| 1205 | } |
| 1206 | }, |
| 1207 | "schema": { |
| 1208 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 1209 | "type": "object", |
| 1210 | "required": ["status", "detail"], |
| 1211 | "properties": { |
| 1212 | "type": { |
| 1213 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 1214 | "type": "string", |
| 1215 | "format": "URI" |
| 1216 | }, |
| 1217 | "title": { |
| 1218 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 1219 | "type": "string" |
| 1220 | }, |
| 1221 | "status": { |
| 1222 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 1223 | "type": "integer" |
| 1224 | }, |
| 1225 | "detail": { |
| 1226 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 1227 | "type": "string" |
| 1228 | }, |
| 1229 | "instance": { |
| 1230 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 1231 | "type": "string", |
| 1232 | "format": "URI" |
| 1233 | } |
| 1234 | } |
| 1235 | } |
| 1236 | }, |
| 1237 | "416": { |
| 1238 | "description": "Requested Range Not Satisfiable\nThis code is returned if the requested byte range in the Range HTTP header is not present in the requested resource.\n", |
| 1239 | "headers": { |
| 1240 | "Content-Type": { |
| 1241 | "description": "The MIME type of the body of the response.", |
| 1242 | "type": "string", |
| 1243 | "maximum": 1, |
| 1244 | "minimum": 1 |
| 1245 | } |
| 1246 | }, |
| 1247 | "schema": { |
| 1248 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 1249 | "type": "object", |
| 1250 | "required": ["status", "detail"], |
| 1251 | "properties": { |
| 1252 | "type": { |
| 1253 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 1254 | "type": "string", |
| 1255 | "format": "URI" |
| 1256 | }, |
| 1257 | "title": { |
| 1258 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 1259 | "type": "string" |
| 1260 | }, |
| 1261 | "status": { |
| 1262 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 1263 | "type": "integer" |
| 1264 | }, |
| 1265 | "detail": { |
| 1266 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 1267 | "type": "string" |
| 1268 | }, |
| 1269 | "instance": { |
| 1270 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 1271 | "type": "string", |
| 1272 | "format": "URI" |
| 1273 | } |
| 1274 | } |
| 1275 | } |
| 1276 | }, |
| 1277 | "422": { |
| 1278 | "description": "Unprocessable Entity\nIf the payload body of a request contains syntactically correct data (e.g. well-formed JSON) but the data cannot be processed (e.g. because it fails validation against a schema), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem. NOTE 2: This error response code is only applicable for methods that have a request body.\n", |
| 1279 | "headers": { |
| 1280 | "Content-Type": { |
| 1281 | "description": "The MIME type of the body of the response.", |
| 1282 | "type": "string", |
| 1283 | "maximum": 1, |
| 1284 | "minimum": 1 |
| 1285 | } |
| 1286 | }, |
| 1287 | "schema": { |
| 1288 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 1289 | "type": "object", |
| 1290 | "required": ["status", "detail"], |
| 1291 | "properties": { |
| 1292 | "type": { |
| 1293 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 1294 | "type": "string", |
| 1295 | "format": "URI" |
| 1296 | }, |
| 1297 | "title": { |
| 1298 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 1299 | "type": "string" |
| 1300 | }, |
| 1301 | "status": { |
| 1302 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 1303 | "type": "integer" |
| 1304 | }, |
| 1305 | "detail": { |
| 1306 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 1307 | "type": "string" |
| 1308 | }, |
| 1309 | "instance": { |
| 1310 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 1311 | "type": "string", |
| 1312 | "format": "URI" |
| 1313 | } |
| 1314 | } |
| 1315 | } |
| 1316 | }, |
| 1317 | "500": { |
| 1318 | "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 1319 | "headers": { |
| 1320 | "Content-Type": { |
| 1321 | "description": "The MIME type of the body of the response.", |
| 1322 | "type": "string", |
| 1323 | "maximum": 1, |
| 1324 | "minimum": 1 |
| 1325 | } |
| 1326 | }, |
| 1327 | "schema": { |
| 1328 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 1329 | "type": "object", |
| 1330 | "required": ["status", "detail"], |
| 1331 | "properties": { |
| 1332 | "type": { |
| 1333 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 1334 | "type": "string", |
| 1335 | "format": "URI" |
| 1336 | }, |
| 1337 | "title": { |
| 1338 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 1339 | "type": "string" |
| 1340 | }, |
| 1341 | "status": { |
| 1342 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 1343 | "type": "integer" |
| 1344 | }, |
| 1345 | "detail": { |
| 1346 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 1347 | "type": "string" |
| 1348 | }, |
| 1349 | "instance": { |
| 1350 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 1351 | "type": "string", |
| 1352 | "format": "URI" |
| 1353 | } |
| 1354 | } |
| 1355 | } |
| 1356 | }, |
| 1357 | "503": { |
| 1358 | "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n", |
| 1359 | "headers": { |
| 1360 | "Content-Type": { |
| 1361 | "description": "The MIME type of the body of the response.", |
| 1362 | "type": "string", |
| 1363 | "maximum": 1, |
| 1364 | "minimum": 1 |
| 1365 | } |
| 1366 | }, |
| 1367 | "schema": { |
| 1368 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 1369 | "type": "object", |
| 1370 | "required": ["status", "detail"], |
| 1371 | "properties": { |
| 1372 | "type": { |
| 1373 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 1374 | "type": "string", |
| 1375 | "format": "URI" |
| 1376 | }, |
| 1377 | "title": { |
| 1378 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 1379 | "type": "string" |
| 1380 | }, |
| 1381 | "status": { |
| 1382 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 1383 | "type": "integer" |
| 1384 | }, |
| 1385 | "detail": { |
| 1386 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 1387 | "type": "string" |
| 1388 | }, |
| 1389 | "instance": { |
| 1390 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 1391 | "type": "string", |
| 1392 | "format": "URI" |
| 1393 | } |
| 1394 | } |
| 1395 | } |
| 1396 | } |
| 1397 | } |
| 1398 | } |
| 1399 | }, |
| 1400 | "/vnf_instances/{vnfInstanceId}": { |
| 1401 | "parameters": [{ |
| 1402 | "name": "vnfInstanceId", |
| 1403 | "description": "Identifier of the VNF instance. This identifier can be retrieved from the resource referenced by the \"Location\" HTTP header in the response to a POST request creating a new VNF instance resource. It can also be retrieved from the \"id\" attribute in the payload body of that response.\n", |
| 1404 | "in": "path", |
| 1405 | "type": "string", |
| 1406 | "required": true |
| 1407 | } |
| 1408 | ], |
| 1409 | "get": { |
| 1410 | "description": "Query VNF\n\nThe GET method retrieves information about a VNF instance by reading an individual VNF instance resource.\n", |
| 1411 | "tags": ["Sol003VnfLcm"], |
| 1412 | "parameters": [{ |
| 1413 | "name": "Accept", |
| 1414 | "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n", |
| 1415 | "in": "header", |
| 1416 | "required": true, |
| 1417 | "type": "string" |
| 1418 | }, { |
| 1419 | "name": "Authorization", |
| 1420 | "description": "The authorization token for the request. Reference: IETF RFC 7235\n", |
| 1421 | "in": "header", |
| 1422 | "required": false, |
| 1423 | "type": "string" |
| 1424 | }, { |
| 1425 | "name": "Content-Type", |
| 1426 | "description": "The MIME type of the body of the request. Reference: IETF RFC 7231\n", |
| 1427 | "in": "header", |
| 1428 | "required": true, |
| 1429 | "type": "string" |
| 1430 | } |
| 1431 | ], |
| 1432 | "responses": { |
| 1433 | "200": { |
| 1434 | "description": "OK\nInformation about zero or more VNF instances was queried successfully. The response body shall contain representations of zero or more VNF instances.\n", |
| 1435 | "headers": { |
| 1436 | "Content-Type": { |
| 1437 | "description": "The MIME type of the body of the response.", |
| 1438 | "type": "string", |
| 1439 | "maximum": 1, |
| 1440 | "minimum": 1 |
| 1441 | }, |
| 1442 | "WWW-Authenticate": { |
| 1443 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 1444 | "type": "string", |
| 1445 | "maximum": 1, |
| 1446 | "minimum": 0 |
| 1447 | } |
| 1448 | }, |
| 1449 | "schema": { |
| 1450 | "description": "This type represents a VNF instance.\n", |
| 1451 | "type": "object", |
| 1452 | "required": ["id", "vnfdId", "vnfProvider", "vnfProductName", "vnfSoftwareVersion", "vnfdVersion", "vnfPkgId", "instantiationState"], |
| 1453 | "properties": { |
| 1454 | "id": { |
| 1455 | "description": "An identifier with the intention of being globally unique.\n", |
| 1456 | "type": "string" |
| 1457 | }, |
| 1458 | "vnfInstanceName": { |
| 1459 | "description": "Name of the VNF instance. This attribute can be modified with the PATCH method.\n", |
| 1460 | "type": "string" |
| 1461 | }, |
| 1462 | "vnfInstanceDescription": { |
| 1463 | "description": "Human-readable description of the VNF instance. This attribute can be modified with the PATCH method.\n", |
| 1464 | "type": "string" |
| 1465 | }, |
| 1466 | "vnfdId": { |
| 1467 | "description": "An identifier with the intention of being globally unique.\n", |
| 1468 | "type": "string" |
| 1469 | }, |
| 1470 | "vnfProvider": { |
| 1471 | "description": "Provider of the VNF and the VNFD. The value is copied from the VNFD.\n", |
| 1472 | "type": "string" |
| 1473 | }, |
| 1474 | "vnfProductName": { |
| 1475 | "description": "Name to identify the VNF Product. The value is copied from the VNFD.\n", |
| 1476 | "type": "string" |
| 1477 | }, |
| 1478 | "vnfSoftwareVersion": { |
| 1479 | "description": "A Version.\n", |
| 1480 | "type": "string" |
| 1481 | }, |
| 1482 | "vnfdVersion": { |
| 1483 | "description": "A Version.\n", |
| 1484 | "type": "string" |
| 1485 | }, |
| 1486 | "vnfPkgId": { |
| 1487 | "description": "An identifier with the intention of being globally unique.\n", |
| 1488 | "type": "string" |
| 1489 | }, |
| 1490 | "vnfConfigurableProperties": { |
| 1491 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 1492 | "type": "object" |
| 1493 | }, |
| 1494 | "vimConnectionInfo": { |
| 1495 | "description": "Information about VIM connections to be used for managing the resources for the VNF instance. This attribute shall only be supported and present if VNF-related resource management in direct mode is applicable. This attribute can be modified with the PATCH method.\n", |
| 1496 | "type": "array", |
| 1497 | "items": { |
| 1498 | "description": "This type represents parameters to connect to a VIM for managing the resources of a VNF instance. This structure is used to convey VIM-related parameters over the Or-Vnfm interface. Additional parameters for a VIM may be configured into the VNFM by means outside the scope of the present document, and bound to the identifier of that VIM.\n", |
| 1499 | "type": "object", |
| 1500 | "required": ["id", "vimType"], |
| 1501 | "properties": { |
| 1502 | "id": { |
| 1503 | "description": "An identifier with the intention of being globally unique.\n", |
| 1504 | "type": "string" |
| 1505 | }, |
| 1506 | "vimId": { |
| 1507 | "description": "An identifier with the intention of being globally unique.\n", |
| 1508 | "type": "string" |
| 1509 | }, |
| 1510 | "vimType": { |
| 1511 | "description": "Discriminator for the different types of the VIM information. The value of this attribute determines the structure of the \"interfaceInfo\" and \"accessInfo\" attributes, based on the type of the VIM. The set of permitted values is expected to change over time as new types or versions of VIMs become available. The ETSI NFV registry of VIM-related information provides access to information about VimConnectionInfo definitions for various VIM types. The structure of the registry is defined in Annex C of SOL003.\n", |
| 1512 | "type": "string" |
| 1513 | }, |
| 1514 | "interfaceInfo": { |
| 1515 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 1516 | "type": "object" |
| 1517 | }, |
| 1518 | "accessInfo": { |
| 1519 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 1520 | "type": "object" |
| 1521 | }, |
| 1522 | "extra": { |
| 1523 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 1524 | "type": "object" |
| 1525 | } |
| 1526 | } |
| 1527 | } |
| 1528 | }, |
| 1529 | "instantiationState": { |
| 1530 | "description": "The instantiation state of the VNF.\n", |
| 1531 | "type": "string", |
| 1532 | "enum": ["NOT_INSTANTIATED", "INSTANTIATED"] |
| 1533 | }, |
| 1534 | "instantiatedVnfInfo": { |
| 1535 | "description": "Information specific to an instantiated VNF instance. This attribute shall be present if the instantiateState attribute value is INSTANTIATED.\n", |
| 1536 | "type": "object", |
| 1537 | "required": ["flavourId", "vnfState"], |
| 1538 | "properties": { |
| 1539 | "flavourId": { |
| 1540 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 1541 | "type": "string" |
| 1542 | }, |
| 1543 | "vnfState": { |
| 1544 | "type": "string", |
| 1545 | "enum": ["STARTED", "STOPPED"] |
| 1546 | }, |
| 1547 | "scaleStatus": { |
| 1548 | "description": "Scale status of the VNF, one entry per aspect. Represents for every scaling aspect how \"big\" the VNF has been scaled w.r.t. that aspect.\n", |
| 1549 | "type": "array", |
| 1550 | "items": { |
| 1551 | "required": ["aspectId", "scaleLevel"], |
| 1552 | "type": "object", |
| 1553 | "properties": { |
| 1554 | "aspectId": { |
| 1555 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 1556 | "type": "string" |
| 1557 | }, |
| 1558 | "scaleLevel": { |
| 1559 | "description": "Indicates the scale level. The minimum value shall be 0 and the maximum value shall be <= maxScaleLevel as described in the VNFD.\n", |
| 1560 | "type": "integer" |
| 1561 | } |
| 1562 | } |
| 1563 | } |
| 1564 | }, |
| 1565 | "extCpInfo": { |
| 1566 | "description": "Information about the external CPs exposed by the VNF instance.\n", |
| 1567 | "type": "array", |
| 1568 | "minItems": 1, |
| 1569 | "items": { |
| 1570 | "type": "object", |
| 1571 | "required": ["id", "cpdId"], |
| 1572 | "properties": { |
| 1573 | "id": { |
| 1574 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 1575 | "type": "string" |
| 1576 | }, |
| 1577 | "cpdId": { |
| 1578 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 1579 | "type": "string" |
| 1580 | }, |
| 1581 | "cpProtocolInfo": { |
| 1582 | "description": "Network protocol information for this CP.\n", |
| 1583 | "type": "array", |
| 1584 | "items": { |
| 1585 | "description": "This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses.\n", |
| 1586 | "required": ["layerProtocol"], |
| 1587 | "properties": { |
| 1588 | "layerProtocol": { |
| 1589 | "description": "The identifier of layer(s) and protocol(s) associated to the network address information. Permitted values: IP_OVER_ETHERNET This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n", |
| 1590 | "type": "string", |
| 1591 | "enum": ["IP_OVER_ETHERNET"] |
| 1592 | }, |
| 1593 | "ipOverEthernet": { |
| 1594 | "description": "This type represents information about a network address that has been assigned.\n", |
| 1595 | "type": "object", |
| 1596 | "required": ["macAddress"], |
| 1597 | "properties": { |
| 1598 | "macAddress": { |
| 1599 | "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n", |
| 1600 | "type": "string", |
| 1601 | "format": "MAC" |
| 1602 | }, |
| 1603 | "ipAddresses": { |
| 1604 | "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n", |
| 1605 | "type": "array", |
| 1606 | "items": { |
| 1607 | "type": "object", |
| 1608 | "required": ["type"], |
| 1609 | "properties": { |
| 1610 | "type": { |
| 1611 | "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n", |
| 1612 | "type": "string", |
| 1613 | "enum": ["IPV4", "IPV6"] |
| 1614 | }, |
| 1615 | "addresses": { |
| 1616 | "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n", |
| 1617 | "type": "array", |
| 1618 | "items": { |
| 1619 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 1620 | "type": "string", |
| 1621 | "format": "IP" |
| 1622 | } |
| 1623 | }, |
| 1624 | "isDynamic": { |
| 1625 | "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n", |
| 1626 | "type": "boolean" |
| 1627 | }, |
| 1628 | "addressRange": { |
| 1629 | "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n", |
| 1630 | "type": "object", |
| 1631 | "required": ["minAddress", "maxAddress"], |
| 1632 | "properties": { |
| 1633 | "minAddress": { |
| 1634 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 1635 | "type": "string", |
| 1636 | "format": "IP" |
| 1637 | }, |
| 1638 | "maxAddress": { |
| 1639 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 1640 | "type": "string", |
| 1641 | "format": "IP" |
| 1642 | } |
| 1643 | } |
| 1644 | }, |
| 1645 | "subnetId": { |
| 1646 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 1647 | "type": "string", |
| 1648 | "format": "IP" |
| 1649 | } |
| 1650 | } |
| 1651 | } |
| 1652 | } |
| 1653 | } |
| 1654 | } |
| 1655 | } |
| 1656 | } |
| 1657 | }, |
| 1658 | "extLinkPortId": { |
| 1659 | "description": "An identifier with the intention of being globally unique.\n", |
| 1660 | "type": "string" |
| 1661 | } |
| 1662 | } |
| 1663 | } |
| 1664 | }, |
| 1665 | "extVirtualLinkInfo": { |
| 1666 | "description": "Information about the external VLs the VNF instance is connected to.\n", |
| 1667 | "type": "array", |
| 1668 | "items": { |
| 1669 | "type": "object", |
| 1670 | "required": ["id", "resourceHandle"], |
| 1671 | "properties": { |
| 1672 | "id": { |
| 1673 | "description": "An identifier with the intention of being globally unique.\n", |
| 1674 | "type": "string" |
| 1675 | }, |
| 1676 | "resourceHandle": { |
| 1677 | "required": ["vimConnectionId", "resourceId"], |
| 1678 | "type": "object", |
| 1679 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 1680 | "properties": { |
| 1681 | "vimConnectionId": { |
| 1682 | "description": "An identifier with the intention of being globally unique.\n", |
| 1683 | "type": "string" |
| 1684 | }, |
| 1685 | "resourceProviderId": { |
| 1686 | "description": "An identifier with the intention of being globally unique.\n", |
| 1687 | "type": "string" |
| 1688 | }, |
| 1689 | "resourceId": { |
| 1690 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 1691 | "type": "string" |
| 1692 | }, |
| 1693 | "vimLevelResourceType": { |
| 1694 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 1695 | "type": "string" |
| 1696 | } |
| 1697 | } |
| 1698 | }, |
| 1699 | "extLinkPorts": { |
| 1700 | "description": "Link ports of this VL.\n", |
| 1701 | "type": "array", |
| 1702 | "items": { |
| 1703 | "description": "This type represents information about a link port of an external VL, i.e. a port providing connectivity for the VNF to an NS VL.\n", |
| 1704 | "type": "object", |
| 1705 | "required": ["id", "resourceHandle"], |
| 1706 | "properties": { |
| 1707 | "id": { |
| 1708 | "description": "An identifier with the intention of being globally unique.\n", |
| 1709 | "type": "string" |
| 1710 | }, |
| 1711 | "resourceHandle": { |
| 1712 | "required": ["vimConnectionId", "resourceId"], |
| 1713 | "type": "object", |
| 1714 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 1715 | "properties": { |
| 1716 | "vimConnectionId": { |
| 1717 | "description": "An identifier with the intention of being globally unique.\n", |
| 1718 | "type": "string" |
| 1719 | }, |
| 1720 | "resourceProviderId": { |
| 1721 | "description": "An identifier with the intention of being globally unique.\n", |
| 1722 | "type": "string" |
| 1723 | }, |
| 1724 | "resourceId": { |
| 1725 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 1726 | "type": "string" |
| 1727 | }, |
| 1728 | "vimLevelResourceType": { |
| 1729 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 1730 | "type": "string" |
| 1731 | } |
| 1732 | } |
| 1733 | }, |
| 1734 | "cpInstanceId": { |
| 1735 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 1736 | "type": "string" |
| 1737 | } |
| 1738 | } |
| 1739 | } |
| 1740 | } |
| 1741 | } |
| 1742 | } |
| 1743 | }, |
| 1744 | "extManagedVirtualLinkInfo": { |
| 1745 | "description": "External virtual links the VNF instance is connected to.\n", |
| 1746 | "type": "array", |
| 1747 | "items": { |
| 1748 | "type": "object", |
| 1749 | "required": ["id", "vnfVirtualLinkDescId"], |
| 1750 | "properties": { |
| 1751 | "id": { |
| 1752 | "description": "An identifier with the intention of being globally unique.\n", |
| 1753 | "type": "string" |
| 1754 | }, |
| 1755 | "vnfVirtualLinkDescId": { |
| 1756 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 1757 | "type": "string" |
| 1758 | }, |
| 1759 | "networkResource": { |
| 1760 | "required": ["vimConnectionId", "resourceId"], |
| 1761 | "type": "object", |
| 1762 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 1763 | "properties": { |
| 1764 | "vimConnectionId": { |
| 1765 | "description": "An identifier with the intention of being globally unique.\n", |
| 1766 | "type": "string" |
| 1767 | }, |
| 1768 | "resourceProviderId": { |
| 1769 | "description": "An identifier with the intention of being globally unique.\n", |
| 1770 | "type": "string" |
| 1771 | }, |
| 1772 | "resourceId": { |
| 1773 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 1774 | "type": "string" |
| 1775 | }, |
| 1776 | "vimLevelResourceType": { |
| 1777 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 1778 | "type": "string" |
| 1779 | } |
| 1780 | } |
| 1781 | }, |
| 1782 | "vnfLinkPorts": { |
| 1783 | "description": "Link ports of this VL.\n", |
| 1784 | "type": "array", |
| 1785 | "items": { |
| 1786 | "type": "object", |
| 1787 | "required": ["id", "resourceHandle"], |
| 1788 | "properties": { |
| 1789 | "id": { |
| 1790 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 1791 | "type": "string" |
| 1792 | }, |
| 1793 | "resourceHandle": { |
| 1794 | "required": ["vimConnectionId", "resourceId"], |
| 1795 | "type": "object", |
| 1796 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 1797 | "properties": { |
| 1798 | "vimConnectionId": { |
| 1799 | "description": "An identifier with the intention of being globally unique.\n", |
| 1800 | "type": "string" |
| 1801 | }, |
| 1802 | "resourceProviderId": { |
| 1803 | "description": "An identifier with the intention of being globally unique.\n", |
| 1804 | "type": "string" |
| 1805 | }, |
| 1806 | "resourceId": { |
| 1807 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 1808 | "type": "string" |
| 1809 | }, |
| 1810 | "vimLevelResourceType": { |
| 1811 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 1812 | "type": "string" |
| 1813 | } |
| 1814 | } |
| 1815 | }, |
| 1816 | "cpInstanceId": { |
| 1817 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 1818 | "type": "string" |
| 1819 | } |
| 1820 | } |
| 1821 | } |
| 1822 | } |
| 1823 | } |
| 1824 | } |
| 1825 | }, |
| 1826 | "monitoringParameters": { |
| 1827 | "description": "Active monitoring parameters.\n", |
| 1828 | "type": "array", |
| 1829 | "items": { |
| 1830 | "type": "object", |
| 1831 | "required": ["id", "value", "timeStamp"], |
| 1832 | "properties": { |
| 1833 | "id": { |
| 1834 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 1835 | "type": "string" |
| 1836 | }, |
| 1837 | "name": { |
| 1838 | "description": "Human readable name of the monitoring parameter, as defined in the VNFD.\n", |
| 1839 | "type": "string" |
| 1840 | }, |
| 1841 | "value": { |
| 1842 | "description": "Value of the monitoring parameter known to the VNFM (e.g. obtained for autoscaling purposes). The type of the \"value\" attribute (i.e. scalar, structure (Object in JSON), or array (of scalars, arrays or structures/Objects)) is assumed to be defined in an external measurement specification.\n", |
| 1843 | "type": "object" |
| 1844 | }, |
| 1845 | "timeStamp": { |
| 1846 | "description": "Represents the point in time when the measurement has been performed, as known to the VNFM. Should be formatted according to ETF RFC 3339.\n", |
| 1847 | "type": "string" |
| 1848 | } |
| 1849 | } |
| 1850 | } |
| 1851 | }, |
| 1852 | "localizationLanguage": { |
| 1853 | "description": "Information about localization language of the VNF (includes e.g. strings in the VNFD). The localization languages supported by a VNF can be declared in the VNFD, and localization language selection can take place at instantiation time. The value shall comply with the format defined in IETF RFC 5646.\n", |
| 1854 | "type": "string" |
| 1855 | }, |
| 1856 | "vnfcResourceInfo": { |
| 1857 | "description": "Information about the virtualised compute and storage resources used by the VNFCs of the VNF instance.\n", |
| 1858 | "type": "array", |
| 1859 | "items": { |
| 1860 | "description": "This type represents the information on virtualised compute and storage resources used by a VNFC in a VNF instance.\n", |
| 1861 | "type": "object", |
| 1862 | "required": ["id", "vduId", "computeResource"], |
| 1863 | "properties": { |
| 1864 | "id": { |
| 1865 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 1866 | "type": "string" |
| 1867 | }, |
| 1868 | "vduId": { |
| 1869 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 1870 | "type": "string" |
| 1871 | }, |
| 1872 | "computeResource": { |
| 1873 | "required": ["vimConnectionId", "resourceId"], |
| 1874 | "type": "object", |
| 1875 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 1876 | "properties": { |
| 1877 | "vimConnectionId": { |
| 1878 | "description": "An identifier with the intention of being globally unique.\n", |
| 1879 | "type": "string" |
| 1880 | }, |
| 1881 | "resourceProviderId": { |
| 1882 | "description": "An identifier with the intention of being globally unique.\n", |
| 1883 | "type": "string" |
| 1884 | }, |
| 1885 | "resourceId": { |
| 1886 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 1887 | "type": "string" |
| 1888 | }, |
| 1889 | "vimLevelResourceType": { |
| 1890 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 1891 | "type": "string" |
| 1892 | } |
| 1893 | } |
| 1894 | }, |
| 1895 | "storageResourceIds": { |
| 1896 | "description": "References to the VirtualStorage resources. The value refers to a VirtualStorageResourceInfo item in the VnfInstance.\n", |
| 1897 | "type": "array", |
| 1898 | "items": { |
| 1899 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 1900 | "type": "string" |
| 1901 | } |
| 1902 | }, |
| 1903 | "reservationId": { |
| 1904 | "description": "An identifier with the intention of being globally unique.\n", |
| 1905 | "type": "string" |
| 1906 | }, |
| 1907 | "vnfcCpInfo": { |
| 1908 | "description": "CPs of the VNFC instance. Shall be present when that particular CP of the VNFC instance is associated to an external CP of the VNF instance. May be present otherwise.\n", |
| 1909 | "type": "array", |
| 1910 | "items": { |
| 1911 | "type": "object", |
| 1912 | "required": ["id", "cpdId"], |
| 1913 | "properties": { |
| 1914 | "id": { |
| 1915 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 1916 | "type": "string" |
| 1917 | }, |
| 1918 | "cpdId": { |
| 1919 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 1920 | "type": "string" |
| 1921 | }, |
| 1922 | "vnfExtCpId": { |
| 1923 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 1924 | "type": "string" |
| 1925 | }, |
| 1926 | "cpProtocolInfo": { |
| 1927 | "description": "Network protocol information for this CP.\n", |
| 1928 | "type": "array", |
| 1929 | "items": { |
| 1930 | "description": "This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses.\n", |
| 1931 | "required": ["layerProtocol"], |
| 1932 | "properties": { |
| 1933 | "layerProtocol": { |
| 1934 | "description": "The identifier of layer(s) and protocol(s) associated to the network address information. Permitted values: IP_OVER_ETHERNET This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n", |
| 1935 | "type": "string", |
| 1936 | "enum": ["IP_OVER_ETHERNET"] |
| 1937 | }, |
| 1938 | "ipOverEthernet": { |
| 1939 | "description": "This type represents information about a network address that has been assigned.\n", |
| 1940 | "type": "object", |
| 1941 | "required": ["macAddress"], |
| 1942 | "properties": { |
| 1943 | "macAddress": { |
| 1944 | "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n", |
| 1945 | "type": "string", |
| 1946 | "format": "MAC" |
| 1947 | }, |
| 1948 | "ipAddresses": { |
| 1949 | "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n", |
| 1950 | "type": "array", |
| 1951 | "items": { |
| 1952 | "type": "object", |
| 1953 | "required": ["type"], |
| 1954 | "properties": { |
| 1955 | "type": { |
| 1956 | "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n", |
| 1957 | "type": "string", |
| 1958 | "enum": ["IPV4", "IPV6"] |
| 1959 | }, |
| 1960 | "addresses": { |
| 1961 | "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n", |
| 1962 | "type": "array", |
| 1963 | "items": { |
| 1964 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 1965 | "type": "string", |
| 1966 | "format": "IP" |
| 1967 | } |
| 1968 | }, |
| 1969 | "isDynamic": { |
| 1970 | "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n", |
| 1971 | "type": "boolean" |
| 1972 | }, |
| 1973 | "addressRange": { |
| 1974 | "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n", |
| 1975 | "type": "object", |
| 1976 | "required": ["minAddress", "maxAddress"], |
| 1977 | "properties": { |
| 1978 | "minAddress": { |
| 1979 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 1980 | "type": "string", |
| 1981 | "format": "IP" |
| 1982 | }, |
| 1983 | "maxAddress": { |
| 1984 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 1985 | "type": "string", |
| 1986 | "format": "IP" |
| 1987 | } |
| 1988 | } |
| 1989 | }, |
| 1990 | "subnetId": { |
| 1991 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 1992 | "type": "string", |
| 1993 | "format": "IP" |
| 1994 | } |
| 1995 | } |
| 1996 | } |
| 1997 | } |
| 1998 | } |
| 1999 | } |
| 2000 | } |
| 2001 | } |
| 2002 | }, |
| 2003 | "vnfLinkPortId": { |
| 2004 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 2005 | "type": "string" |
| 2006 | } |
| 2007 | } |
| 2008 | } |
| 2009 | }, |
| 2010 | "metadata": { |
| 2011 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 2012 | "type": "object" |
| 2013 | } |
| 2014 | } |
| 2015 | } |
| 2016 | }, |
| 2017 | "virtualLinkResourceInfo": { |
| 2018 | "description": "Information about the virtualised network resources used by the VLs of the VNF instance.\n", |
| 2019 | "type": "array", |
| 2020 | "items": { |
| 2021 | "description": "This type represents the information that allows addressing a virtualised resource that is used by an internal VL instance in a VNF instance.\n", |
| 2022 | "type": "object", |
| 2023 | "required": ["id", "vnfVirtualLinkDescId", "networkResource"], |
| 2024 | "properties": { |
| 2025 | "id": { |
| 2026 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 2027 | "type": "string" |
| 2028 | }, |
| 2029 | "vnfVirtualLinkDescId": { |
| 2030 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 2031 | "type": "string" |
| 2032 | }, |
| 2033 | "networkResource": { |
| 2034 | "required": ["vimConnectionId", "resourceId"], |
| 2035 | "type": "object", |
| 2036 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 2037 | "properties": { |
| 2038 | "vimConnectionId": { |
| 2039 | "description": "An identifier with the intention of being globally unique.\n", |
| 2040 | "type": "string" |
| 2041 | }, |
| 2042 | "resourceProviderId": { |
| 2043 | "description": "An identifier with the intention of being globally unique.\n", |
| 2044 | "type": "string" |
| 2045 | }, |
| 2046 | "resourceId": { |
| 2047 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 2048 | "type": "string" |
| 2049 | }, |
| 2050 | "vimLevelResourceType": { |
| 2051 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 2052 | "type": "string" |
| 2053 | } |
| 2054 | } |
| 2055 | }, |
| 2056 | "reservationId": { |
| 2057 | "description": "An identifier with the intention of being globally unique.\n", |
| 2058 | "type": "string" |
| 2059 | }, |
| 2060 | "vnfLinkPorts": { |
| 2061 | "description": "Links ports of this VL. Shall be present when the linkPort is used for external connectivity by the VNF (refer to VnfLinkPortInfo). May be present otherwise.\n", |
| 2062 | "type": "array", |
| 2063 | "items": { |
| 2064 | "type": "object", |
| 2065 | "required": ["id", "resourceHandle"], |
| 2066 | "properties": { |
| 2067 | "id": { |
| 2068 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 2069 | "type": "string" |
| 2070 | }, |
| 2071 | "resourceHandle": { |
| 2072 | "required": ["vimConnectionId", "resourceId"], |
| 2073 | "type": "object", |
| 2074 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 2075 | "properties": { |
| 2076 | "vimConnectionId": { |
| 2077 | "description": "An identifier with the intention of being globally unique.\n", |
| 2078 | "type": "string" |
| 2079 | }, |
| 2080 | "resourceProviderId": { |
| 2081 | "description": "An identifier with the intention of being globally unique.\n", |
| 2082 | "type": "string" |
| 2083 | }, |
| 2084 | "resourceId": { |
| 2085 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 2086 | "type": "string" |
| 2087 | }, |
| 2088 | "vimLevelResourceType": { |
| 2089 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 2090 | "type": "string" |
| 2091 | } |
| 2092 | } |
| 2093 | }, |
| 2094 | "cpInstanceId": { |
| 2095 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 2096 | "type": "string" |
| 2097 | } |
| 2098 | } |
| 2099 | } |
| 2100 | }, |
| 2101 | "metadata": { |
| 2102 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 2103 | "type": "object" |
| 2104 | } |
| 2105 | } |
| 2106 | } |
| 2107 | }, |
| 2108 | "virtualStorageResourceInfo": { |
| 2109 | "description": "Information on the virtualised storage resource(s) used as storage for the VNF instance.\n", |
| 2110 | "type": "array", |
| 2111 | "items": { |
| 2112 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance.\n", |
| 2113 | "type": "object", |
| 2114 | "required": ["id", "virtualStorageDescId", "storageResource"], |
| 2115 | "properties": { |
| 2116 | "id": { |
| 2117 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 2118 | "type": "string" |
| 2119 | }, |
| 2120 | "virtualStorageDescId": { |
| 2121 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 2122 | "type": "string" |
| 2123 | }, |
| 2124 | "storageResource": { |
| 2125 | "required": ["vimConnectionId", "resourceId"], |
| 2126 | "type": "object", |
| 2127 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 2128 | "properties": { |
| 2129 | "vimConnectionId": { |
| 2130 | "description": "An identifier with the intention of being globally unique.\n", |
| 2131 | "type": "string" |
| 2132 | }, |
| 2133 | "resourceProviderId": { |
| 2134 | "description": "An identifier with the intention of being globally unique.\n", |
| 2135 | "type": "string" |
| 2136 | }, |
| 2137 | "resourceId": { |
| 2138 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 2139 | "type": "string" |
| 2140 | }, |
| 2141 | "vimLevelResourceType": { |
| 2142 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 2143 | "type": "string" |
| 2144 | } |
| 2145 | } |
| 2146 | }, |
| 2147 | "reservationId": { |
| 2148 | "description": "An identifier with the intention of being globally unique.\n", |
| 2149 | "type": "string" |
| 2150 | }, |
| 2151 | "metadata": { |
| 2152 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 2153 | "type": "object" |
| 2154 | } |
| 2155 | } |
| 2156 | } |
| 2157 | } |
| 2158 | } |
| 2159 | }, |
| 2160 | "metadata": { |
| 2161 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 2162 | "type": "object" |
| 2163 | }, |
| 2164 | "extensions": { |
| 2165 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 2166 | "type": "object" |
| 2167 | }, |
| 2168 | "_links": { |
| 2169 | "description": "Links to resources related to this resource.\n", |
| 2170 | "type": "object", |
| 2171 | "required": ["self"], |
| 2172 | "properties": { |
| 2173 | "self": { |
| 2174 | "description": "This type represents a link to a resource.\n", |
| 2175 | "type": "object", |
| 2176 | "required": ["href"], |
| 2177 | "properties": { |
| 2178 | "href": { |
| 2179 | "description": "URI of the referenced resource.\n", |
| 2180 | "type": "string", |
| 2181 | "format": "url" |
| 2182 | } |
| 2183 | } |
| 2184 | }, |
| 2185 | "indicators": { |
| 2186 | "description": "This type represents a link to a resource.\n", |
| 2187 | "type": "object", |
| 2188 | "required": ["href"], |
| 2189 | "properties": { |
| 2190 | "href": { |
| 2191 | "description": "URI of the referenced resource.\n", |
| 2192 | "type": "string", |
| 2193 | "format": "url" |
| 2194 | } |
| 2195 | } |
| 2196 | }, |
| 2197 | "instantiate": { |
| 2198 | "description": "This type represents a link to a resource.\n", |
| 2199 | "type": "object", |
| 2200 | "required": ["href"], |
| 2201 | "properties": { |
| 2202 | "href": { |
| 2203 | "description": "URI of the referenced resource.\n", |
| 2204 | "type": "string", |
| 2205 | "format": "url" |
| 2206 | } |
| 2207 | } |
| 2208 | }, |
| 2209 | "terminate": { |
| 2210 | "description": "This type represents a link to a resource.\n", |
| 2211 | "type": "object", |
| 2212 | "required": ["href"], |
| 2213 | "properties": { |
| 2214 | "href": { |
| 2215 | "description": "URI of the referenced resource.\n", |
| 2216 | "type": "string", |
| 2217 | "format": "url" |
| 2218 | } |
| 2219 | } |
| 2220 | }, |
| 2221 | "scale": { |
| 2222 | "description": "This type represents a link to a resource.\n", |
| 2223 | "type": "object", |
| 2224 | "required": ["href"], |
| 2225 | "properties": { |
| 2226 | "href": { |
| 2227 | "description": "URI of the referenced resource.\n", |
| 2228 | "type": "string", |
| 2229 | "format": "url" |
| 2230 | } |
| 2231 | } |
| 2232 | }, |
| 2233 | "scaleToLevel": { |
| 2234 | "description": "This type represents a link to a resource.\n", |
| 2235 | "type": "object", |
| 2236 | "required": ["href"], |
| 2237 | "properties": { |
| 2238 | "href": { |
| 2239 | "description": "URI of the referenced resource.\n", |
| 2240 | "type": "string", |
| 2241 | "format": "url" |
| 2242 | } |
| 2243 | } |
| 2244 | }, |
| 2245 | "changeFlavour": { |
| 2246 | "description": "This type represents a link to a resource.\n", |
| 2247 | "type": "object", |
| 2248 | "required": ["href"], |
| 2249 | "properties": { |
| 2250 | "href": { |
| 2251 | "description": "URI of the referenced resource.\n", |
| 2252 | "type": "string", |
| 2253 | "format": "url" |
| 2254 | } |
| 2255 | } |
| 2256 | }, |
| 2257 | "heal": { |
| 2258 | "description": "This type represents a link to a resource.\n", |
| 2259 | "type": "object", |
| 2260 | "required": ["href"], |
| 2261 | "properties": { |
| 2262 | "href": { |
| 2263 | "description": "URI of the referenced resource.\n", |
| 2264 | "type": "string", |
| 2265 | "format": "url" |
| 2266 | } |
| 2267 | } |
| 2268 | }, |
| 2269 | "operate": { |
| 2270 | "description": "This type represents a link to a resource.\n", |
| 2271 | "type": "object", |
| 2272 | "required": ["href"], |
| 2273 | "properties": { |
| 2274 | "href": { |
| 2275 | "description": "URI of the referenced resource.\n", |
| 2276 | "type": "string", |
| 2277 | "format": "url" |
| 2278 | } |
| 2279 | } |
| 2280 | }, |
| 2281 | "changeExtConn": { |
| 2282 | "description": "This type represents a link to a resource.\n", |
| 2283 | "type": "object", |
| 2284 | "required": ["href"], |
| 2285 | "properties": { |
| 2286 | "href": { |
| 2287 | "description": "URI of the referenced resource.\n", |
| 2288 | "type": "string", |
| 2289 | "format": "url" |
| 2290 | } |
| 2291 | } |
| 2292 | } |
| 2293 | } |
| 2294 | } |
| 2295 | } |
| 2296 | } |
| 2297 | }, |
| 2298 | "400": { |
| 2299 | "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 2300 | "headers": { |
| 2301 | "Content-Type": { |
| 2302 | "description": "The MIME type of the body of the response.", |
| 2303 | "type": "string", |
| 2304 | "maximum": 1, |
| 2305 | "minimum": 1 |
| 2306 | }, |
| 2307 | "WWW-Authenticate": { |
| 2308 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 2309 | "type": "string", |
| 2310 | "maximum": 1, |
| 2311 | "minimum": 0 |
| 2312 | } |
| 2313 | }, |
| 2314 | "schema": { |
| 2315 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 2316 | "type": "object", |
| 2317 | "required": ["status", "detail"], |
| 2318 | "properties": { |
| 2319 | "type": { |
| 2320 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 2321 | "type": "string", |
| 2322 | "format": "URI" |
| 2323 | }, |
| 2324 | "title": { |
| 2325 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 2326 | "type": "string" |
| 2327 | }, |
| 2328 | "status": { |
| 2329 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 2330 | "type": "integer" |
| 2331 | }, |
| 2332 | "detail": { |
| 2333 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 2334 | "type": "string" |
| 2335 | }, |
| 2336 | "instance": { |
| 2337 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 2338 | "type": "string", |
| 2339 | "format": "URI" |
| 2340 | } |
| 2341 | } |
| 2342 | } |
| 2343 | }, |
| 2344 | "401": { |
| 2345 | "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n", |
| 2346 | "headers": { |
| 2347 | "Content-Type": { |
| 2348 | "description": "The MIME type of the body of the response.", |
| 2349 | "type": "string", |
| 2350 | "maximum": 1, |
| 2351 | "minimum": 1 |
| 2352 | }, |
| 2353 | "WWW-Authenticate": { |
| 2354 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 2355 | "type": "string", |
| 2356 | "maximum": 1, |
| 2357 | "minimum": 0 |
| 2358 | } |
| 2359 | }, |
| 2360 | "schema": { |
| 2361 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 2362 | "type": "object", |
| 2363 | "required": ["status", "detail"], |
| 2364 | "properties": { |
| 2365 | "type": { |
| 2366 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 2367 | "type": "string", |
| 2368 | "format": "URI" |
| 2369 | }, |
| 2370 | "title": { |
| 2371 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 2372 | "type": "string" |
| 2373 | }, |
| 2374 | "status": { |
| 2375 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 2376 | "type": "integer" |
| 2377 | }, |
| 2378 | "detail": { |
| 2379 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 2380 | "type": "string" |
| 2381 | }, |
| 2382 | "instance": { |
| 2383 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 2384 | "type": "string", |
| 2385 | "format": "URI" |
| 2386 | } |
| 2387 | } |
| 2388 | } |
| 2389 | }, |
| 2390 | "403": { |
| 2391 | "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided. It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n", |
| 2392 | "headers": { |
| 2393 | "Content-Type": { |
| 2394 | "description": "The MIME type of the body of the response.", |
| 2395 | "type": "string", |
| 2396 | "maximum": 1, |
| 2397 | "minimum": 1 |
| 2398 | } |
| 2399 | }, |
| 2400 | "schema": { |
| 2401 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 2402 | "type": "object", |
| 2403 | "required": ["status", "detail"], |
| 2404 | "properties": { |
| 2405 | "type": { |
| 2406 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 2407 | "type": "string", |
| 2408 | "format": "URI" |
| 2409 | }, |
| 2410 | "title": { |
| 2411 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 2412 | "type": "string" |
| 2413 | }, |
| 2414 | "status": { |
| 2415 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 2416 | "type": "integer" |
| 2417 | }, |
| 2418 | "detail": { |
| 2419 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 2420 | "type": "string" |
| 2421 | }, |
| 2422 | "instance": { |
| 2423 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 2424 | "type": "string", |
| 2425 | "format": "URI" |
| 2426 | } |
| 2427 | } |
| 2428 | } |
| 2429 | }, |
| 2430 | "404": { |
| 2431 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n", |
| 2432 | "headers": { |
| 2433 | "Content-Type": { |
| 2434 | "description": "The MIME type of the body of the response.", |
| 2435 | "type": "string", |
| 2436 | "maximum": 1, |
| 2437 | "minimum": 1 |
| 2438 | } |
| 2439 | }, |
| 2440 | "schema": { |
| 2441 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 2442 | "type": "object", |
| 2443 | "required": ["status", "detail"], |
| 2444 | "properties": { |
| 2445 | "type": { |
| 2446 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 2447 | "type": "string", |
| 2448 | "format": "URI" |
| 2449 | }, |
| 2450 | "title": { |
| 2451 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 2452 | "type": "string" |
| 2453 | }, |
| 2454 | "status": { |
| 2455 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 2456 | "type": "integer" |
| 2457 | }, |
| 2458 | "detail": { |
| 2459 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 2460 | "type": "string" |
| 2461 | }, |
| 2462 | "instance": { |
| 2463 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 2464 | "type": "string", |
| 2465 | "format": "URI" |
| 2466 | } |
| 2467 | } |
| 2468 | } |
| 2469 | }, |
| 2470 | "405": { |
| 2471 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n", |
| 2472 | "headers": { |
| 2473 | "Content-Type": { |
| 2474 | "description": "The MIME type of the body of the response.", |
| 2475 | "type": "string", |
| 2476 | "maximum": 1, |
| 2477 | "minimum": 1 |
| 2478 | } |
| 2479 | }, |
| 2480 | "schema": { |
| 2481 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 2482 | "type": "object", |
| 2483 | "required": ["status", "detail"], |
| 2484 | "properties": { |
| 2485 | "type": { |
| 2486 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 2487 | "type": "string", |
| 2488 | "format": "URI" |
| 2489 | }, |
| 2490 | "title": { |
| 2491 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 2492 | "type": "string" |
| 2493 | }, |
| 2494 | "status": { |
| 2495 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 2496 | "type": "integer" |
| 2497 | }, |
| 2498 | "detail": { |
| 2499 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 2500 | "type": "string" |
| 2501 | }, |
| 2502 | "instance": { |
| 2503 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 2504 | "type": "string", |
| 2505 | "format": "URI" |
| 2506 | } |
| 2507 | } |
| 2508 | } |
| 2509 | }, |
| 2510 | "406": { |
| 2511 | "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n", |
| 2512 | "headers": { |
| 2513 | "Content-Type": { |
| 2514 | "description": "The MIME type of the body of the response.", |
| 2515 | "type": "string", |
| 2516 | "maximum": 1, |
| 2517 | "minimum": 1 |
| 2518 | } |
| 2519 | }, |
| 2520 | "schema": { |
| 2521 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 2522 | "type": "object", |
| 2523 | "required": ["status", "detail"], |
| 2524 | "properties": { |
| 2525 | "type": { |
| 2526 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 2527 | "type": "string", |
| 2528 | "format": "URI" |
| 2529 | }, |
| 2530 | "title": { |
| 2531 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 2532 | "type": "string" |
| 2533 | }, |
| 2534 | "status": { |
| 2535 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 2536 | "type": "integer" |
| 2537 | }, |
| 2538 | "detail": { |
| 2539 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 2540 | "type": "string" |
| 2541 | }, |
| 2542 | "instance": { |
| 2543 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 2544 | "type": "string", |
| 2545 | "format": "URI" |
| 2546 | } |
| 2547 | } |
| 2548 | } |
| 2549 | }, |
| 2550 | "409": { |
| 2551 | "description": "Conflict\nAnother request is in progress that prohibits the fulfilment of the current request, or the current resource state is inconsistent with the request.\n", |
| 2552 | "headers": { |
| 2553 | "Content-Type": { |
| 2554 | "description": "The MIME type of the body of the response.", |
| 2555 | "type": "string", |
| 2556 | "maximum": 1, |
| 2557 | "minimum": 1 |
| 2558 | }, |
| 2559 | "WWW-Authenticate": { |
| 2560 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 2561 | "type": "string", |
| 2562 | "maximum": 1, |
| 2563 | "minimum": 0 |
| 2564 | } |
| 2565 | }, |
| 2566 | "schema": { |
| 2567 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 2568 | "type": "object", |
| 2569 | "required": ["status", "detail"], |
| 2570 | "properties": { |
| 2571 | "type": { |
| 2572 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 2573 | "type": "string", |
| 2574 | "format": "URI" |
| 2575 | }, |
| 2576 | "title": { |
| 2577 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 2578 | "type": "string" |
| 2579 | }, |
| 2580 | "status": { |
| 2581 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 2582 | "type": "integer" |
| 2583 | }, |
| 2584 | "detail": { |
| 2585 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 2586 | "type": "string" |
| 2587 | }, |
| 2588 | "instance": { |
| 2589 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 2590 | "type": "string", |
| 2591 | "format": "URI" |
| 2592 | } |
| 2593 | } |
| 2594 | } |
| 2595 | }, |
| 2596 | "416": { |
| 2597 | "description": "Requested Range Not Satisfiable\nThis code is returned if the requested byte range in the Range HTTP header is not present in the requested resource.\n", |
| 2598 | "headers": { |
| 2599 | "Content-Type": { |
| 2600 | "description": "The MIME type of the body of the response.", |
| 2601 | "type": "string", |
| 2602 | "maximum": 1, |
| 2603 | "minimum": 1 |
| 2604 | } |
| 2605 | }, |
| 2606 | "schema": { |
| 2607 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 2608 | "type": "object", |
| 2609 | "required": ["status", "detail"], |
| 2610 | "properties": { |
| 2611 | "type": { |
| 2612 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 2613 | "type": "string", |
| 2614 | "format": "URI" |
| 2615 | }, |
| 2616 | "title": { |
| 2617 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 2618 | "type": "string" |
| 2619 | }, |
| 2620 | "status": { |
| 2621 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 2622 | "type": "integer" |
| 2623 | }, |
| 2624 | "detail": { |
| 2625 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 2626 | "type": "string" |
| 2627 | }, |
| 2628 | "instance": { |
| 2629 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 2630 | "type": "string", |
| 2631 | "format": "URI" |
| 2632 | } |
| 2633 | } |
| 2634 | } |
| 2635 | }, |
| 2636 | "500": { |
| 2637 | "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 2638 | "headers": { |
| 2639 | "Content-Type": { |
| 2640 | "description": "The MIME type of the body of the response.", |
| 2641 | "type": "string", |
| 2642 | "maximum": 1, |
| 2643 | "minimum": 1 |
| 2644 | } |
| 2645 | }, |
| 2646 | "schema": { |
| 2647 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 2648 | "type": "object", |
| 2649 | "required": ["status", "detail"], |
| 2650 | "properties": { |
| 2651 | "type": { |
| 2652 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 2653 | "type": "string", |
| 2654 | "format": "URI" |
| 2655 | }, |
| 2656 | "title": { |
| 2657 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 2658 | "type": "string" |
| 2659 | }, |
| 2660 | "status": { |
| 2661 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 2662 | "type": "integer" |
| 2663 | }, |
| 2664 | "detail": { |
| 2665 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 2666 | "type": "string" |
| 2667 | }, |
| 2668 | "instance": { |
| 2669 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 2670 | "type": "string", |
| 2671 | "format": "URI" |
| 2672 | } |
| 2673 | } |
| 2674 | } |
| 2675 | }, |
| 2676 | "503": { |
| 2677 | "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n", |
| 2678 | "headers": { |
| 2679 | "Content-Type": { |
| 2680 | "description": "The MIME type of the body of the response.", |
| 2681 | "type": "string", |
| 2682 | "maximum": 1, |
| 2683 | "minimum": 1 |
| 2684 | } |
| 2685 | }, |
| 2686 | "schema": { |
| 2687 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 2688 | "type": "object", |
| 2689 | "required": ["status", "detail"], |
| 2690 | "properties": { |
| 2691 | "type": { |
| 2692 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 2693 | "type": "string", |
| 2694 | "format": "URI" |
| 2695 | }, |
| 2696 | "title": { |
| 2697 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 2698 | "type": "string" |
| 2699 | }, |
| 2700 | "status": { |
| 2701 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 2702 | "type": "integer" |
| 2703 | }, |
| 2704 | "detail": { |
| 2705 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 2706 | "type": "string" |
| 2707 | }, |
| 2708 | "instance": { |
| 2709 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 2710 | "type": "string", |
| 2711 | "format": "URI" |
| 2712 | } |
| 2713 | } |
| 2714 | } |
| 2715 | } |
| 2716 | } |
| 2717 | }, |
| 2718 | "delete": { |
| 2719 | "description": "Delete VNF Identifier\n\nThis method deletes an individual VNF instance resource.\n", |
| 2720 | "tags": ["Sol003VnfLcm"], |
| 2721 | "parameters": [{ |
| 2722 | "name": "Authorization", |
| 2723 | "description": "The authorization token for the request. Reference: IETF RFC 7235\n", |
| 2724 | "in": "header", |
| 2725 | "required": false, |
| 2726 | "type": "string" |
| 2727 | } |
| 2728 | ], |
| 2729 | "responses": { |
| 2730 | "204": { |
| 2731 | "description": "No Content\nThe VNF instance resource and the associated VNF identifier were deleted successfully. The response body shall be empty.\n", |
| 2732 | "headers": { |
| 2733 | "WWW-Authenticate": { |
| 2734 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 2735 | "type": "string", |
| 2736 | "maximum": 1, |
| 2737 | "minimum": 0 |
| 2738 | } |
| 2739 | } |
| 2740 | }, |
| 2741 | "400": { |
| 2742 | "description": "Bad Request\nIt fhe request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem. If the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided. If there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 2743 | "headers": { |
| 2744 | "Content-Type": { |
| 2745 | "description": "The MIME type of the body of the response.", |
| 2746 | "type": "string", |
| 2747 | "maximum": 1, |
| 2748 | "minimum": 1 |
| 2749 | }, |
| 2750 | "WWW-Authenticate": { |
| 2751 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 2752 | "type": "string", |
| 2753 | "maximum": 1, |
| 2754 | "minimum": 0 |
| 2755 | } |
| 2756 | }, |
| 2757 | "schema": { |
| 2758 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 2759 | "type": "object", |
| 2760 | "required": ["status", "detail"], |
| 2761 | "properties": { |
| 2762 | "type": { |
| 2763 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 2764 | "type": "string", |
| 2765 | "format": "URI" |
| 2766 | }, |
| 2767 | "title": { |
| 2768 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 2769 | "type": "string" |
| 2770 | }, |
| 2771 | "status": { |
| 2772 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 2773 | "type": "integer" |
| 2774 | }, |
| 2775 | "detail": { |
| 2776 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 2777 | "type": "string" |
| 2778 | }, |
| 2779 | "instance": { |
| 2780 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 2781 | "type": "string", |
| 2782 | "format": "URI" |
| 2783 | } |
| 2784 | } |
| 2785 | } |
| 2786 | }, |
| 2787 | "401": { |
| 2788 | "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n", |
| 2789 | "headers": { |
| 2790 | "Content-Type": { |
| 2791 | "description": "The MIME type of the body of the response.", |
| 2792 | "type": "string", |
| 2793 | "maximum": 1, |
| 2794 | "minimum": 1 |
| 2795 | }, |
| 2796 | "WWW-Authenticate": { |
| 2797 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 2798 | "type": "string", |
| 2799 | "maximum": 1, |
| 2800 | "minimum": 0 |
| 2801 | } |
| 2802 | }, |
| 2803 | "schema": { |
| 2804 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 2805 | "type": "object", |
| 2806 | "required": ["status", "detail"], |
| 2807 | "properties": { |
| 2808 | "type": { |
| 2809 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 2810 | "type": "string", |
| 2811 | "format": "URI" |
| 2812 | }, |
| 2813 | "title": { |
| 2814 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 2815 | "type": "string" |
| 2816 | }, |
| 2817 | "status": { |
| 2818 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 2819 | "type": "integer" |
| 2820 | }, |
| 2821 | "detail": { |
| 2822 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 2823 | "type": "string" |
| 2824 | }, |
| 2825 | "instance": { |
| 2826 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 2827 | "type": "string", |
| 2828 | "format": "URI" |
| 2829 | } |
| 2830 | } |
| 2831 | } |
| 2832 | }, |
| 2833 | "403": { |
| 2834 | "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided. It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n", |
| 2835 | "headers": { |
| 2836 | "Content-Type": { |
| 2837 | "description": "The MIME type of the body of the response.", |
| 2838 | "type": "string", |
| 2839 | "maximum": 1, |
| 2840 | "minimum": 1 |
| 2841 | } |
| 2842 | }, |
| 2843 | "schema": { |
| 2844 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 2845 | "type": "object", |
| 2846 | "required": ["status", "detail"], |
| 2847 | "properties": { |
| 2848 | "type": { |
| 2849 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 2850 | "type": "string", |
| 2851 | "format": "URI" |
| 2852 | }, |
| 2853 | "title": { |
| 2854 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 2855 | "type": "string" |
| 2856 | }, |
| 2857 | "status": { |
| 2858 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 2859 | "type": "integer" |
| 2860 | }, |
| 2861 | "detail": { |
| 2862 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 2863 | "type": "string" |
| 2864 | }, |
| 2865 | "instance": { |
| 2866 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 2867 | "type": "string", |
| 2868 | "format": "URI" |
| 2869 | } |
| 2870 | } |
| 2871 | } |
| 2872 | }, |
| 2873 | "404": { |
| 2874 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n", |
| 2875 | "headers": { |
| 2876 | "Content-Type": { |
| 2877 | "description": "The MIME type of the body of the response.", |
| 2878 | "type": "string", |
| 2879 | "maximum": 1, |
| 2880 | "minimum": 1 |
| 2881 | } |
| 2882 | }, |
| 2883 | "schema": { |
| 2884 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 2885 | "type": "object", |
| 2886 | "required": ["status", "detail"], |
| 2887 | "properties": { |
| 2888 | "type": { |
| 2889 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 2890 | "type": "string", |
| 2891 | "format": "URI" |
| 2892 | }, |
| 2893 | "title": { |
| 2894 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 2895 | "type": "string" |
| 2896 | }, |
| 2897 | "status": { |
| 2898 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 2899 | "type": "integer" |
| 2900 | }, |
| 2901 | "detail": { |
| 2902 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 2903 | "type": "string" |
| 2904 | }, |
| 2905 | "instance": { |
| 2906 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 2907 | "type": "string", |
| 2908 | "format": "URI" |
| 2909 | } |
| 2910 | } |
| 2911 | } |
| 2912 | }, |
| 2913 | "405": { |
| 2914 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n", |
| 2915 | "headers": { |
| 2916 | "Content-Type": { |
| 2917 | "description": "The MIME type of the body of the response.", |
| 2918 | "type": "string", |
| 2919 | "maximum": 1, |
| 2920 | "minimum": 1 |
| 2921 | } |
| 2922 | }, |
| 2923 | "schema": { |
| 2924 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 2925 | "type": "object", |
| 2926 | "required": ["status", "detail"], |
| 2927 | "properties": { |
| 2928 | "type": { |
| 2929 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 2930 | "type": "string", |
| 2931 | "format": "URI" |
| 2932 | }, |
| 2933 | "title": { |
| 2934 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 2935 | "type": "string" |
| 2936 | }, |
| 2937 | "status": { |
| 2938 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 2939 | "type": "integer" |
| 2940 | }, |
| 2941 | "detail": { |
| 2942 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 2943 | "type": "string" |
| 2944 | }, |
| 2945 | "instance": { |
| 2946 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 2947 | "type": "string", |
| 2948 | "format": "URI" |
| 2949 | } |
| 2950 | } |
| 2951 | } |
| 2952 | }, |
| 2953 | "406": { |
| 2954 | "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n", |
| 2955 | "headers": { |
| 2956 | "Content-Type": { |
| 2957 | "description": "The MIME type of the body of the response.", |
| 2958 | "type": "string", |
| 2959 | "maximum": 1, |
| 2960 | "minimum": 1 |
| 2961 | } |
| 2962 | }, |
| 2963 | "schema": { |
| 2964 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 2965 | "type": "object", |
| 2966 | "required": ["status", "detail"], |
| 2967 | "properties": { |
| 2968 | "type": { |
| 2969 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 2970 | "type": "string", |
| 2971 | "format": "URI" |
| 2972 | }, |
| 2973 | "title": { |
| 2974 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 2975 | "type": "string" |
| 2976 | }, |
| 2977 | "status": { |
| 2978 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 2979 | "type": "integer" |
| 2980 | }, |
| 2981 | "detail": { |
| 2982 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 2983 | "type": "string" |
| 2984 | }, |
| 2985 | "instance": { |
| 2986 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 2987 | "type": "string", |
| 2988 | "format": "URI" |
| 2989 | } |
| 2990 | } |
| 2991 | } |
| 2992 | }, |
| 2993 | "409": { |
| 2994 | "description": "Conflict\nThe operation cannot be executed currently, due to a conflict with the state of the VNF instance resource. Typically, this is due to the fact that the VNF instance resource is in INSTANTIATED state. The response body shall contain a ProblemDetails structure, in which the \"detail\" attribute should convey more information about the error.\n", |
| 2995 | "headers": { |
| 2996 | "Content-Type": { |
| 2997 | "description": "The MIME type of the body of the response.", |
| 2998 | "type": "string", |
| 2999 | "maximum": 1, |
| 3000 | "minimum": 1 |
| 3001 | }, |
| 3002 | "WWW-Authenticate": { |
| 3003 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 3004 | "type": "string", |
| 3005 | "maximum": 1, |
| 3006 | "minimum": 0 |
| 3007 | } |
| 3008 | }, |
| 3009 | "schema": { |
| 3010 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 3011 | "type": "object", |
| 3012 | "required": ["status", "detail"], |
| 3013 | "properties": { |
| 3014 | "type": { |
| 3015 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 3016 | "type": "string", |
| 3017 | "format": "URI" |
| 3018 | }, |
| 3019 | "title": { |
| 3020 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 3021 | "type": "string" |
| 3022 | }, |
| 3023 | "status": { |
| 3024 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 3025 | "type": "integer" |
| 3026 | }, |
| 3027 | "detail": { |
| 3028 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 3029 | "type": "string" |
| 3030 | }, |
| 3031 | "instance": { |
| 3032 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 3033 | "type": "string", |
| 3034 | "format": "URI" |
| 3035 | } |
| 3036 | } |
| 3037 | } |
| 3038 | }, |
| 3039 | "412": { |
| 3040 | "description": "Precondition Failed\nA precondition given in an HTTP request header is not fulfilled. Typically, this is due to an ETag mismatch, indicating that the resource was modified by another entity. The response body should contain a ProblemDetails structure, in which the \"detail\" attribute should convey more information about the error.\n", |
| 3041 | "headers": { |
| 3042 | "Content-Type": { |
| 3043 | "description": "The MIME type of the body of the response.", |
| 3044 | "type": "string", |
| 3045 | "maximum": 1, |
| 3046 | "minimum": 1 |
| 3047 | } |
| 3048 | }, |
| 3049 | "schema": { |
| 3050 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 3051 | "type": "object", |
| 3052 | "required": ["status", "detail"], |
| 3053 | "properties": { |
| 3054 | "type": { |
| 3055 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 3056 | "type": "string", |
| 3057 | "format": "URI" |
| 3058 | }, |
| 3059 | "title": { |
| 3060 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 3061 | "type": "string" |
| 3062 | }, |
| 3063 | "status": { |
| 3064 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 3065 | "type": "integer" |
| 3066 | }, |
| 3067 | "detail": { |
| 3068 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 3069 | "type": "string" |
| 3070 | }, |
| 3071 | "instance": { |
| 3072 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 3073 | "type": "string", |
| 3074 | "format": "URI" |
| 3075 | } |
| 3076 | } |
| 3077 | } |
| 3078 | }, |
| 3079 | "500": { |
| 3080 | "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 3081 | "headers": { |
| 3082 | "Content-Type": { |
| 3083 | "description": "The MIME type of the body of the response.", |
| 3084 | "type": "string", |
| 3085 | "maximum": 1, |
| 3086 | "minimum": 1 |
| 3087 | } |
| 3088 | }, |
| 3089 | "schema": { |
| 3090 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 3091 | "type": "object", |
| 3092 | "required": ["status", "detail"], |
| 3093 | "properties": { |
| 3094 | "type": { |
| 3095 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 3096 | "type": "string", |
| 3097 | "format": "URI" |
| 3098 | }, |
| 3099 | "title": { |
| 3100 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 3101 | "type": "string" |
| 3102 | }, |
| 3103 | "status": { |
| 3104 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 3105 | "type": "integer" |
| 3106 | }, |
| 3107 | "detail": { |
| 3108 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 3109 | "type": "string" |
| 3110 | }, |
| 3111 | "instance": { |
| 3112 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 3113 | "type": "string", |
| 3114 | "format": "URI" |
| 3115 | } |
| 3116 | } |
| 3117 | } |
| 3118 | }, |
| 3119 | "503": { |
| 3120 | "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n", |
| 3121 | "headers": { |
| 3122 | "Content-Type": { |
| 3123 | "description": "The MIME type of the body of the response.", |
| 3124 | "type": "string", |
| 3125 | "maximum": 1, |
| 3126 | "minimum": 1 |
| 3127 | } |
| 3128 | }, |
| 3129 | "schema": { |
| 3130 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 3131 | "type": "object", |
| 3132 | "required": ["status", "detail"], |
| 3133 | "properties": { |
| 3134 | "type": { |
| 3135 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 3136 | "type": "string", |
| 3137 | "format": "URI" |
| 3138 | }, |
| 3139 | "title": { |
| 3140 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 3141 | "type": "string" |
| 3142 | }, |
| 3143 | "status": { |
| 3144 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 3145 | "type": "integer" |
| 3146 | }, |
| 3147 | "detail": { |
| 3148 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 3149 | "type": "string" |
| 3150 | }, |
| 3151 | "instance": { |
| 3152 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 3153 | "type": "string", |
| 3154 | "format": "URI" |
| 3155 | } |
| 3156 | } |
| 3157 | } |
| 3158 | } |
| 3159 | } |
| 3160 | } |
| 3161 | }, |
| 3162 | "/vnf_instances/{vnfInstanceId}/instantiate": { |
| 3163 | "parameters": [{ |
| 3164 | "name": "vnfInstanceId", |
| 3165 | "description": "Identifier of the VNF instance. This identifier can be retrieved from the resource referenced by the \"Location\" HTTP header in the response to a POST request creating a new VNF instance resource. It can also be retrieved from the \"id\" attribute in the payload body of that response.\n", |
| 3166 | "in": "path", |
| 3167 | "type": "string", |
| 3168 | "required": true |
| 3169 | } |
| 3170 | ], |
| 3171 | "post": { |
| 3172 | "description": "Instantiate VNF\n\nThe POST method instantiates a VNF instance.\n", |
| 3173 | "tags": ["Sol003VnfLcm"], |
| 3174 | "parameters": [{ |
| 3175 | "name": "InstantiateVnfRequest", |
| 3176 | "description": "Parameters for the VNF instantiation.", |
| 3177 | "in": "body", |
| 3178 | "required": true, |
| 3179 | "schema": { |
| 3180 | "type": "object", |
| 3181 | "required": ["flavourId"], |
| 3182 | "properties": { |
| 3183 | "flavourId": { |
| 3184 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 3185 | "type": "string" |
| 3186 | }, |
| 3187 | "extVirtualLinks": { |
| 3188 | "description": "Information about external VLs to connect the VNF to.\n", |
| 3189 | "type": "array", |
| 3190 | "items": { |
| 3191 | "description": "This type represents an external VL.\n", |
| 3192 | "type": "object", |
| 3193 | "required": ["id", "resourceId", "extCps"], |
| 3194 | "properties": { |
| 3195 | "id": { |
| 3196 | "description": "An identifier with the intention of being globally unique.\n", |
| 3197 | "type": "string" |
| 3198 | }, |
| 3199 | "vimConnectionId": { |
| 3200 | "description": "An identifier with the intention of being globally unique.\n", |
| 3201 | "type": "string" |
| 3202 | }, |
| 3203 | "resourceId": { |
| 3204 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 3205 | "type": "string" |
| 3206 | }, |
| 3207 | "extCps": { |
| 3208 | "description": "External CPs of the VNF to be connected to this external VL.\n", |
| 3209 | "type": "array", |
| 3210 | "items": { |
| 3211 | "description": "This type represents configuration information for external CPs created from a CPD.\n", |
| 3212 | "type": "object", |
| 3213 | "required": ["cpdId"], |
| 3214 | "properties": { |
| 3215 | "cpdId": { |
| 3216 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 3217 | "type": "string" |
| 3218 | }, |
| 3219 | "cpConfig": { |
| 3220 | "description": "List of instance data that need to be configured on the CP instances created from the respective CPD.\n", |
| 3221 | "type": "array", |
| 3222 | "items": { |
| 3223 | "description": "This type represents an externally provided link port or network address information per instance of an external connection point. In case a link port is provided, the VNFM shall use that link port when connecting the external CP to the external VL. In a link port is not provided, the VNFM shall create a link port on the external VL, and use that link port to connect the external CP to the external VL.\n", |
| 3224 | "type": "object", |
| 3225 | "properties": { |
| 3226 | "cpInstanceId": { |
| 3227 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 3228 | "type": "string" |
| 3229 | }, |
| 3230 | "linkPortId": { |
| 3231 | "description": "An identifier with the intention of being globally unique.\n", |
| 3232 | "type": "string" |
| 3233 | }, |
| 3234 | "cpProtocolData": { |
| 3235 | "description": "Parameters for configuring the network protocols on the link port that connects the CP to a VL. The following conditions apply to the attributes \"linkPortId\" and \"cpProtocolData\": * The \"linkPortId\" and \"cpProtocolData\" attributes shall both be absent for the deletion of an existing external CP instance\n addressed by cpInstanceId. \n* At least one of these attributes shall be present for a to-be-created external CP instance or an existing external\n CP instance.\n* If the \"linkPortId\" attribute is absent, the VNFM shall create a link port.\n* If the \"cpProtocolData\" attribute is absent, the \"linkPortId\" attribute shall be provided referencing a pre-created link port,\n and the VNFM can use means outside the scope of the present\n document to obtain the pre-configured address information for the\n connection point from the resource representing the link port.\n* If both \"cpProtocolData\" and \"linkportId\" are provided, the API consumer shall ensure that the cpProtocolData can be used with the\n pre-created link port referenced by \"linkPortId\".\n", |
| 3236 | "type": "array", |
| 3237 | "items": { |
| 3238 | "description": "This type represents network protocol data.\n", |
| 3239 | "type": "object", |
| 3240 | "required": ["layerProtocol"], |
| 3241 | "properties": { |
| 3242 | "layerProtocol": { |
| 3243 | "description": "Identifier of layer(s) and protocol(s). This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n", |
| 3244 | "type": "string", |
| 3245 | "enum": ["IP_OVER_ETHERNET"] |
| 3246 | }, |
| 3247 | "ipOverEthernet": { |
| 3248 | "description": "This type represents network address data for IP over Ethernet.\n", |
| 3249 | "type": "object", |
| 3250 | "properties": { |
| 3251 | "macAddress": { |
| 3252 | "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n", |
| 3253 | "type": "string", |
| 3254 | "format": "MAC" |
| 3255 | }, |
| 3256 | "ipAddresses": { |
| 3257 | "description": "List of IP addresses to assign to the CP instance. Each entry represents IP address data for fixed or dynamic IP address assignment per subnet. If this attribute is not present, no IP address shall be assigned.\n", |
| 3258 | "type": "array", |
| 3259 | "items": { |
| 3260 | "type": "object", |
| 3261 | "required": ["type"], |
| 3262 | "properties": { |
| 3263 | "type": { |
| 3264 | "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n", |
| 3265 | "type": "string", |
| 3266 | "enum": ["IPV4", "IPV6"] |
| 3267 | }, |
| 3268 | "fixedAddresses": { |
| 3269 | "description": "Fixed addresses to assign (from the subnet defined by \"subnetId\" if provided). Exactly one of \"fixedAddresses\", \"numDynamicAddresses\" or \"ipAddressRange\" shall be present.\n", |
| 3270 | "type": "array", |
| 3271 | "items": { |
| 3272 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 3273 | "type": "string", |
| 3274 | "format": "IP" |
| 3275 | } |
| 3276 | }, |
| 3277 | "numDynamicAddresses": { |
| 3278 | "description": "Number of dynamic addresses to assign (from the subnet defined by \"subnetId\" if provided). Exactly one of \"fixedAddresses\", \"numDynamicAddresses\" or \"ipAddressRange\" shall be present.\n", |
| 3279 | "type": "integer" |
| 3280 | }, |
| 3281 | "addressRange": { |
| 3282 | "description": "An IP address range to be used, e.g. in case of egress connections. In case this attribute is present, IP addresses from the range will be used.\n", |
| 3283 | "type": "object", |
| 3284 | "required": ["minAddress", "maxAddress"], |
| 3285 | "properties": { |
| 3286 | "minAddress": { |
| 3287 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 3288 | "type": "string", |
| 3289 | "format": "IP" |
| 3290 | }, |
| 3291 | "maxAddress": { |
| 3292 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 3293 | "type": "string", |
| 3294 | "format": "IP" |
| 3295 | } |
| 3296 | } |
| 3297 | }, |
| 3298 | "subnetId": { |
| 3299 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 3300 | "type": "string" |
| 3301 | } |
| 3302 | } |
| 3303 | } |
| 3304 | } |
| 3305 | } |
| 3306 | } |
| 3307 | } |
| 3308 | } |
| 3309 | } |
| 3310 | } |
| 3311 | } |
| 3312 | } |
| 3313 | } |
| 3314 | } |
| 3315 | }, |
| 3316 | "extLinkPorts": { |
| 3317 | "description": "Externally provided link ports to be used to connect external connection points to this external VL. If this attribute is not present, the VNFM shall create the link ports on the external VL.\n", |
| 3318 | "type": "array", |
| 3319 | "items": { |
| 3320 | "description": "This type represents an externally provided link port to be used to connect an external connection point to an external VL.\n", |
| 3321 | "type": "object", |
| 3322 | "required": ["id", "resourceHandle"], |
| 3323 | "properties": { |
| 3324 | "id": { |
| 3325 | "description": "An identifier with the intention of being globally unique.\n", |
| 3326 | "type": "string" |
| 3327 | }, |
| 3328 | "resourceHandle": { |
| 3329 | "required": ["vimConnectionId", "resourceId"], |
| 3330 | "type": "object", |
| 3331 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 3332 | "properties": { |
| 3333 | "vimConnectionId": { |
| 3334 | "description": "An identifier with the intention of being globally unique.\n", |
| 3335 | "type": "string" |
| 3336 | }, |
| 3337 | "resourceId": { |
| 3338 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 3339 | "type": "string" |
| 3340 | }, |
| 3341 | "vimLevelResourceType": { |
| 3342 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 3343 | "type": "string" |
| 3344 | } |
| 3345 | } |
| 3346 | } |
| 3347 | } |
| 3348 | } |
| 3349 | } |
| 3350 | } |
| 3351 | } |
| 3352 | }, |
| 3353 | "vimConnectionInfo": { |
| 3354 | "description": "Information about VIM connections to be used for managing the resources for the VNF instance, or refer to external / externally-managed virtual links. This attribute shall only be supported and may be present if VNF-related resource management in direct mode is applicable.\n", |
| 3355 | "type": "array", |
| 3356 | "items": { |
| 3357 | "description": "This type represents parameters to connect to a VIM for managing the resources of a VNF instance. This structure is used to convey VIM-related parameters over the Or-Vnfm interface. Additional parameters for a VIM may be configured into the VNFM by means outside the scope of the present document, and bound to the identifier of that VIM.\n", |
| 3358 | "type": "object", |
| 3359 | "required": ["id", "vimType"], |
| 3360 | "properties": { |
| 3361 | "id": { |
| 3362 | "description": "An identifier with the intention of being globally unique.\n", |
| 3363 | "type": "string" |
| 3364 | }, |
| 3365 | "vimId": { |
| 3366 | "description": "An identifier with the intention of being globally unique.\n", |
| 3367 | "type": "string" |
| 3368 | }, |
| 3369 | "vimType": { |
| 3370 | "description": "Discriminator for the different types of the VIM information. The value of this attribute determines the structure of the \"interfaceInfo\" and \"accessInfo\" attributes, based on the type of the VIM. The set of permitted values is expected to change over time as new types or versions of VIMs become available. The ETSI NFV registry of VIM-related information provides access to information about VimConnectionInfo definitions for various VIM types. The structure of the registry is defined in Annex C of SOL003.\n", |
| 3371 | "type": "string" |
| 3372 | }, |
| 3373 | "interfaceInfo": { |
| 3374 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 3375 | "type": "object" |
| 3376 | }, |
| 3377 | "accessInfo": { |
| 3378 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 3379 | "type": "object" |
| 3380 | } |
| 3381 | } |
| 3382 | } |
| 3383 | }, |
| 3384 | "additionalParams": { |
| 3385 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 3386 | "type": "object" |
| 3387 | } |
| 3388 | } |
| 3389 | } |
| 3390 | }, { |
| 3391 | "name": "Accept", |
| 3392 | "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n", |
| 3393 | "in": "header", |
| 3394 | "required": true, |
| 3395 | "type": "string" |
| 3396 | }, { |
| 3397 | "name": "Authorization", |
| 3398 | "description": "The authorization token for the request. Reference: IETF RFC 7235\n", |
| 3399 | "in": "header", |
| 3400 | "required": false, |
| 3401 | "type": "string" |
| 3402 | }, { |
| 3403 | "name": "Content-Type", |
| 3404 | "description": "The MIME type of the body of the request. Reference: IETF RFC 7231\n", |
| 3405 | "in": "header", |
| 3406 | "required": true, |
| 3407 | "type": "string" |
| 3408 | } |
| 3409 | ], |
| 3410 | "responses": { |
| 3411 | "202": { |
| 3412 | "description": "Accepted\nThe request was accepted for processing, but the processing has not been completed. The response body shall be empty. The HTTP response shall include a \"Location\" HTTP header that contains the URI of the newly-created \"VNF LCM operation occurrence\" resource corresponding to the operation.\n", |
| 3413 | "headers": { |
| 3414 | "Location": { |
| 3415 | "description": "The resource URI of the created VNF instance", |
| 3416 | "type": "string", |
| 3417 | "format": "url" |
| 3418 | }, |
| 3419 | "WWW-Authenticate": { |
| 3420 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 3421 | "type": "string", |
| 3422 | "maximum": 1, |
| 3423 | "minimum": 0 |
| 3424 | } |
| 3425 | } |
| 3426 | }, |
| 3427 | "400": { |
| 3428 | "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 3429 | "headers": { |
| 3430 | "Content-Type": { |
| 3431 | "description": "The MIME type of the body of the response.", |
| 3432 | "type": "string", |
| 3433 | "maximum": 1, |
| 3434 | "minimum": 1 |
| 3435 | }, |
| 3436 | "WWW-Authenticate": { |
| 3437 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 3438 | "type": "string", |
| 3439 | "maximum": 1, |
| 3440 | "minimum": 0 |
| 3441 | } |
| 3442 | }, |
| 3443 | "schema": { |
| 3444 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 3445 | "type": "object", |
| 3446 | "required": ["status", "detail"], |
| 3447 | "properties": { |
| 3448 | "type": { |
| 3449 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 3450 | "type": "string", |
| 3451 | "format": "URI" |
| 3452 | }, |
| 3453 | "title": { |
| 3454 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 3455 | "type": "string" |
| 3456 | }, |
| 3457 | "status": { |
| 3458 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 3459 | "type": "integer" |
| 3460 | }, |
| 3461 | "detail": { |
| 3462 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 3463 | "type": "string" |
| 3464 | }, |
| 3465 | "instance": { |
| 3466 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 3467 | "type": "string", |
| 3468 | "format": "URI" |
| 3469 | } |
| 3470 | } |
| 3471 | } |
| 3472 | }, |
| 3473 | "401": { |
| 3474 | "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n", |
| 3475 | "headers": { |
| 3476 | "Content-Type": { |
| 3477 | "description": "The MIME type of the body of the response.", |
| 3478 | "type": "string", |
| 3479 | "maximum": 1, |
| 3480 | "minimum": 1 |
| 3481 | }, |
| 3482 | "WWW-Authenticate": { |
| 3483 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 3484 | "type": "string", |
| 3485 | "maximum": 1, |
| 3486 | "minimum": 0 |
| 3487 | } |
| 3488 | }, |
| 3489 | "schema": { |
| 3490 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 3491 | "type": "object", |
| 3492 | "required": ["status", "detail"], |
| 3493 | "properties": { |
| 3494 | "type": { |
| 3495 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 3496 | "type": "string", |
| 3497 | "format": "URI" |
| 3498 | }, |
| 3499 | "title": { |
| 3500 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 3501 | "type": "string" |
| 3502 | }, |
| 3503 | "status": { |
| 3504 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 3505 | "type": "integer" |
| 3506 | }, |
| 3507 | "detail": { |
| 3508 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 3509 | "type": "string" |
| 3510 | }, |
| 3511 | "instance": { |
| 3512 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 3513 | "type": "string", |
| 3514 | "format": "URI" |
| 3515 | } |
| 3516 | } |
| 3517 | } |
| 3518 | }, |
| 3519 | "403": { |
| 3520 | "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided. It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n", |
| 3521 | "headers": { |
| 3522 | "Content-Type": { |
| 3523 | "description": "The MIME type of the body of the response.", |
| 3524 | "type": "string", |
| 3525 | "maximum": 1, |
| 3526 | "minimum": 1 |
| 3527 | } |
| 3528 | }, |
| 3529 | "schema": { |
| 3530 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 3531 | "type": "object", |
| 3532 | "required": ["status", "detail"], |
| 3533 | "properties": { |
| 3534 | "type": { |
| 3535 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 3536 | "type": "string", |
| 3537 | "format": "URI" |
| 3538 | }, |
| 3539 | "title": { |
| 3540 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 3541 | "type": "string" |
| 3542 | }, |
| 3543 | "status": { |
| 3544 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 3545 | "type": "integer" |
| 3546 | }, |
| 3547 | "detail": { |
| 3548 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 3549 | "type": "string" |
| 3550 | }, |
| 3551 | "instance": { |
| 3552 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 3553 | "type": "string", |
| 3554 | "format": "URI" |
| 3555 | } |
| 3556 | } |
| 3557 | } |
| 3558 | }, |
| 3559 | "404": { |
| 3560 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n", |
| 3561 | "headers": { |
| 3562 | "Content-Type": { |
| 3563 | "description": "The MIME type of the body of the response.", |
| 3564 | "type": "string", |
| 3565 | "maximum": 1, |
| 3566 | "minimum": 1 |
| 3567 | } |
| 3568 | }, |
| 3569 | "schema": { |
| 3570 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 3571 | "type": "object", |
| 3572 | "required": ["status", "detail"], |
| 3573 | "properties": { |
| 3574 | "type": { |
| 3575 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 3576 | "type": "string", |
| 3577 | "format": "URI" |
| 3578 | }, |
| 3579 | "title": { |
| 3580 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 3581 | "type": "string" |
| 3582 | }, |
| 3583 | "status": { |
| 3584 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 3585 | "type": "integer" |
| 3586 | }, |
| 3587 | "detail": { |
| 3588 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 3589 | "type": "string" |
| 3590 | }, |
| 3591 | "instance": { |
| 3592 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 3593 | "type": "string", |
| 3594 | "format": "URI" |
| 3595 | } |
| 3596 | } |
| 3597 | } |
| 3598 | }, |
| 3599 | "405": { |
| 3600 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n", |
| 3601 | "headers": { |
| 3602 | "Content-Type": { |
| 3603 | "description": "The MIME type of the body of the response.", |
| 3604 | "type": "string", |
| 3605 | "maximum": 1, |
| 3606 | "minimum": 1 |
| 3607 | } |
| 3608 | }, |
| 3609 | "schema": { |
| 3610 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 3611 | "type": "object", |
| 3612 | "required": ["status", "detail"], |
| 3613 | "properties": { |
| 3614 | "type": { |
| 3615 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 3616 | "type": "string", |
| 3617 | "format": "URI" |
| 3618 | }, |
| 3619 | "title": { |
| 3620 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 3621 | "type": "string" |
| 3622 | }, |
| 3623 | "status": { |
| 3624 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 3625 | "type": "integer" |
| 3626 | }, |
| 3627 | "detail": { |
| 3628 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 3629 | "type": "string" |
| 3630 | }, |
| 3631 | "instance": { |
| 3632 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 3633 | "type": "string", |
| 3634 | "format": "URI" |
| 3635 | } |
| 3636 | } |
| 3637 | } |
| 3638 | }, |
| 3639 | "406": { |
| 3640 | "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n", |
| 3641 | "headers": { |
| 3642 | "Content-Type": { |
| 3643 | "description": "The MIME type of the body of the response.", |
| 3644 | "type": "string", |
| 3645 | "maximum": 1, |
| 3646 | "minimum": 1 |
| 3647 | } |
| 3648 | }, |
| 3649 | "schema": { |
| 3650 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 3651 | "type": "object", |
| 3652 | "required": ["status", "detail"], |
| 3653 | "properties": { |
| 3654 | "type": { |
| 3655 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 3656 | "type": "string", |
| 3657 | "format": "URI" |
| 3658 | }, |
| 3659 | "title": { |
| 3660 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 3661 | "type": "string" |
| 3662 | }, |
| 3663 | "status": { |
| 3664 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 3665 | "type": "integer" |
| 3666 | }, |
| 3667 | "detail": { |
| 3668 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 3669 | "type": "string" |
| 3670 | }, |
| 3671 | "instance": { |
| 3672 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 3673 | "type": "string", |
| 3674 | "format": "URI" |
| 3675 | } |
| 3676 | } |
| 3677 | } |
| 3678 | }, |
| 3679 | "409": { |
| 3680 | "description": "Conflict\nThe operation cannot be executed currently, due to a conflict with the state of the VNF instance resource. Typically, this is due to the fact that the VNF instance resource is in INSTANTIATED state. The response body shall contain a ProblemDetails structure, in which the \"detail\" attribute should convey more information about the error.\n", |
| 3681 | "headers": { |
| 3682 | "Content-Type": { |
| 3683 | "description": "The MIME type of the body of the response.", |
| 3684 | "type": "string", |
| 3685 | "maximum": 1, |
| 3686 | "minimum": 1 |
| 3687 | }, |
| 3688 | "WWW-Authenticate": { |
| 3689 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 3690 | "type": "string", |
| 3691 | "maximum": 1, |
| 3692 | "minimum": 0 |
| 3693 | } |
| 3694 | }, |
| 3695 | "schema": { |
| 3696 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 3697 | "type": "object", |
| 3698 | "required": ["status", "detail"], |
| 3699 | "properties": { |
| 3700 | "type": { |
| 3701 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 3702 | "type": "string", |
| 3703 | "format": "URI" |
| 3704 | }, |
| 3705 | "title": { |
| 3706 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 3707 | "type": "string" |
| 3708 | }, |
| 3709 | "status": { |
| 3710 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 3711 | "type": "integer" |
| 3712 | }, |
| 3713 | "detail": { |
| 3714 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 3715 | "type": "string" |
| 3716 | }, |
| 3717 | "instance": { |
| 3718 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 3719 | "type": "string", |
| 3720 | "format": "URI" |
| 3721 | } |
| 3722 | } |
| 3723 | } |
| 3724 | }, |
| 3725 | "416": { |
| 3726 | "description": "Requested Range Not Satisfiable\nThis code is returned if the requested byte range in the Range HTTP header is not present in the requested resource.\n", |
| 3727 | "headers": { |
| 3728 | "Content-Type": { |
| 3729 | "description": "The MIME type of the body of the response.", |
| 3730 | "type": "string", |
| 3731 | "maximum": 1, |
| 3732 | "minimum": 1 |
| 3733 | } |
| 3734 | }, |
| 3735 | "schema": { |
| 3736 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 3737 | "type": "object", |
| 3738 | "required": ["status", "detail"], |
| 3739 | "properties": { |
| 3740 | "type": { |
| 3741 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 3742 | "type": "string", |
| 3743 | "format": "URI" |
| 3744 | }, |
| 3745 | "title": { |
| 3746 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 3747 | "type": "string" |
| 3748 | }, |
| 3749 | "status": { |
| 3750 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 3751 | "type": "integer" |
| 3752 | }, |
| 3753 | "detail": { |
| 3754 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 3755 | "type": "string" |
| 3756 | }, |
| 3757 | "instance": { |
| 3758 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 3759 | "type": "string", |
| 3760 | "format": "URI" |
| 3761 | } |
| 3762 | } |
| 3763 | } |
| 3764 | }, |
| 3765 | "500": { |
| 3766 | "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 3767 | "headers": { |
| 3768 | "Content-Type": { |
| 3769 | "description": "The MIME type of the body of the response.", |
| 3770 | "type": "string", |
| 3771 | "maximum": 1, |
| 3772 | "minimum": 1 |
| 3773 | } |
| 3774 | }, |
| 3775 | "schema": { |
| 3776 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 3777 | "type": "object", |
| 3778 | "required": ["status", "detail"], |
| 3779 | "properties": { |
| 3780 | "type": { |
| 3781 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 3782 | "type": "string", |
| 3783 | "format": "URI" |
| 3784 | }, |
| 3785 | "title": { |
| 3786 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 3787 | "type": "string" |
| 3788 | }, |
| 3789 | "status": { |
| 3790 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 3791 | "type": "integer" |
| 3792 | }, |
| 3793 | "detail": { |
| 3794 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 3795 | "type": "string" |
| 3796 | }, |
| 3797 | "instance": { |
| 3798 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 3799 | "type": "string", |
| 3800 | "format": "URI" |
| 3801 | } |
| 3802 | } |
| 3803 | } |
| 3804 | }, |
| 3805 | "503": { |
| 3806 | "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n", |
| 3807 | "headers": { |
| 3808 | "Content-Type": { |
| 3809 | "description": "The MIME type of the body of the response.", |
| 3810 | "type": "string", |
| 3811 | "maximum": 1, |
| 3812 | "minimum": 1 |
| 3813 | } |
| 3814 | }, |
| 3815 | "schema": { |
| 3816 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 3817 | "type": "object", |
| 3818 | "required": ["status", "detail"], |
| 3819 | "properties": { |
| 3820 | "type": { |
| 3821 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 3822 | "type": "string", |
| 3823 | "format": "URI" |
| 3824 | }, |
| 3825 | "title": { |
| 3826 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 3827 | "type": "string" |
| 3828 | }, |
| 3829 | "status": { |
| 3830 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 3831 | "type": "integer" |
| 3832 | }, |
| 3833 | "detail": { |
| 3834 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 3835 | "type": "string" |
| 3836 | }, |
| 3837 | "instance": { |
| 3838 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 3839 | "type": "string", |
| 3840 | "format": "URI" |
| 3841 | } |
| 3842 | } |
| 3843 | } |
| 3844 | } |
| 3845 | } |
| 3846 | } |
| 3847 | }, |
| 3848 | "/vnf_instances/{vnfInstanceId}/terminate": { |
| 3849 | "parameters": [{ |
| 3850 | "name": "vnfInstanceId", |
| 3851 | "description": "The identifier of the VNF instance to be terminated. This identifier can be retrieved from the resource referenced by the \"Location\" HTTP header in the response to a POST request creating a new VNF instance resource. It can also be retrieved from the \"id\" attribute in the payload body of that response.\n", |
| 3852 | "in": "path", |
| 3853 | "type": "string", |
| 3854 | "required": true |
| 3855 | } |
| 3856 | ], |
| 3857 | "post": { |
| 3858 | "description": "Terminate VNF\n\nThe POST method terminates a VNF instance.\n", |
| 3859 | "tags": ["Sol003VnfLcm"], |
| 3860 | "parameters": [{ |
| 3861 | "name": "TerminateVnfRequest", |
| 3862 | "description": "Parameters for the VNF termination.", |
| 3863 | "in": "body", |
| 3864 | "required": true, |
| 3865 | "schema": { |
| 3866 | "type": "object", |
| 3867 | "required": ["terminationType"], |
| 3868 | "properties": { |
| 3869 | "terminationType": { |
| 3870 | "description": "Indicates whether forceful or graceful termination is requested. VNFM Adapter will only support FORCEFUL in Dublin.\n", |
| 3871 | "type": "string", |
| 3872 | "enum": ["FORCEFUL", "GRACEFUL"] |
| 3873 | } |
| 3874 | } |
| 3875 | } |
| 3876 | }, { |
| 3877 | "name": "Accept", |
| 3878 | "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n", |
| 3879 | "in": "header", |
| 3880 | "required": true, |
| 3881 | "type": "string" |
| 3882 | }, { |
| 3883 | "name": "Authorization", |
| 3884 | "description": "The authorization token for the request. Reference: IETF RFC 7235\n", |
| 3885 | "in": "header", |
| 3886 | "required": false, |
| 3887 | "type": "string" |
| 3888 | }, { |
| 3889 | "name": "Content-Type", |
| 3890 | "description": "The MIME type of the body of the request. Reference: IETF RFC 7231\n", |
| 3891 | "in": "header", |
| 3892 | "required": true, |
| 3893 | "type": "string" |
| 3894 | } |
| 3895 | ], |
| 3896 | "responses": { |
| 3897 | "202": { |
| 3898 | "description": "Accepted\nThe request was accepted for processing, but the processing has not been completed. On success, the HTTP response shall include a \"Location\" HTTP header that contains the URI of the newly-created \"VNF LCM operation occurrence\" resource corresponding to the operation.\n", |
| 3899 | "headers": { |
| 3900 | "Content-Type": { |
| 3901 | "description": "The MIME type of the body of the response.", |
| 3902 | "type": "string", |
| 3903 | "maximum": 1, |
| 3904 | "minimum": 1 |
| 3905 | }, |
| 3906 | "Location": { |
| 3907 | "description": "The resource URI of the created VNF instance", |
| 3908 | "type": "string", |
| 3909 | "format": "url" |
| 3910 | }, |
| 3911 | "WWW-Authenticate": { |
| 3912 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 3913 | "type": "string", |
| 3914 | "maximum": 1, |
| 3915 | "minimum": 0 |
| 3916 | } |
| 3917 | }, |
| 3918 | "schema": { |
| 3919 | "description": "This type represents a VNF instance.\n", |
| 3920 | "type": "object", |
| 3921 | "required": ["id", "vnfdId", "vnfProvider", "vnfProductName", "vnfSoftwareVersion", "vnfdVersion", "vnfPkgId", "instantiationState"], |
| 3922 | "properties": { |
| 3923 | "id": { |
| 3924 | "description": "An identifier with the intention of being globally unique.\n", |
| 3925 | "type": "string" |
| 3926 | }, |
| 3927 | "vnfInstanceName": { |
| 3928 | "description": "Name of the VNF instance. This attribute can be modified with the PATCH method.\n", |
| 3929 | "type": "string" |
| 3930 | }, |
| 3931 | "vnfInstanceDescription": { |
| 3932 | "description": "Human-readable description of the VNF instance. This attribute can be modified with the PATCH method.\n", |
| 3933 | "type": "string" |
| 3934 | }, |
| 3935 | "vnfdId": { |
| 3936 | "description": "An identifier with the intention of being globally unique.\n", |
| 3937 | "type": "string" |
| 3938 | }, |
| 3939 | "vnfProvider": { |
| 3940 | "description": "Provider of the VNF and the VNFD. The value is copied from the VNFD.\n", |
| 3941 | "type": "string" |
| 3942 | }, |
| 3943 | "vnfProductName": { |
| 3944 | "description": "Name to identify the VNF Product. The value is copied from the VNFD.\n", |
| 3945 | "type": "string" |
| 3946 | }, |
| 3947 | "vnfSoftwareVersion": { |
| 3948 | "description": "A Version.\n", |
| 3949 | "type": "string" |
| 3950 | }, |
| 3951 | "vnfdVersion": { |
| 3952 | "description": "A Version.\n", |
| 3953 | "type": "string" |
| 3954 | }, |
| 3955 | "vnfPkgId": { |
| 3956 | "description": "An identifier with the intention of being globally unique.\n", |
| 3957 | "type": "string" |
| 3958 | }, |
| 3959 | "vnfConfigurableProperties": { |
| 3960 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 3961 | "type": "object" |
| 3962 | }, |
| 3963 | "vimConnectionInfo": { |
| 3964 | "description": "Information about VIM connections to be used for managing the resources for the VNF instance. This attribute shall only be supported and present if VNF-related resource management in direct mode is applicable. This attribute can be modified with the PATCH method.\n", |
| 3965 | "type": "array", |
| 3966 | "items": { |
| 3967 | "description": "This type represents parameters to connect to a VIM for managing the resources of a VNF instance. This structure is used to convey VIM-related parameters over the Or-Vnfm interface. Additional parameters for a VIM may be configured into the VNFM by means outside the scope of the present document, and bound to the identifier of that VIM.\n", |
| 3968 | "type": "object", |
| 3969 | "required": ["id", "vimType"], |
| 3970 | "properties": { |
| 3971 | "id": { |
| 3972 | "description": "An identifier with the intention of being globally unique.\n", |
| 3973 | "type": "string" |
| 3974 | }, |
| 3975 | "vimId": { |
| 3976 | "description": "An identifier with the intention of being globally unique.\n", |
| 3977 | "type": "string" |
| 3978 | }, |
| 3979 | "vimType": { |
| 3980 | "description": "Discriminator for the different types of the VIM information. The value of this attribute determines the structure of the \"interfaceInfo\" and \"accessInfo\" attributes, based on the type of the VIM. The set of permitted values is expected to change over time as new types or versions of VIMs become available. The ETSI NFV registry of VIM-related information provides access to information about VimConnectionInfo definitions for various VIM types. The structure of the registry is defined in Annex C of SOL003.\n", |
| 3981 | "type": "string" |
| 3982 | }, |
| 3983 | "interfaceInfo": { |
| 3984 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 3985 | "type": "object" |
| 3986 | }, |
| 3987 | "accessInfo": { |
| 3988 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 3989 | "type": "object" |
| 3990 | }, |
| 3991 | "extra": { |
| 3992 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 3993 | "type": "object" |
| 3994 | } |
| 3995 | } |
| 3996 | } |
| 3997 | }, |
| 3998 | "instantiationState": { |
| 3999 | "description": "The instantiation state of the VNF.\n", |
| 4000 | "type": "string", |
| 4001 | "enum": ["NOT_INSTANTIATED", "INSTANTIATED"] |
| 4002 | }, |
| 4003 | "instantiatedVnfInfo": { |
| 4004 | "description": "Information specific to an instantiated VNF instance. This attribute shall be present if the instantiateState attribute value is INSTANTIATED.\n", |
| 4005 | "type": "object", |
| 4006 | "required": ["flavourId", "vnfState"], |
| 4007 | "properties": { |
| 4008 | "flavourId": { |
| 4009 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 4010 | "type": "string" |
| 4011 | }, |
| 4012 | "vnfState": { |
| 4013 | "type": "string", |
| 4014 | "enum": ["STARTED", "STOPPED"] |
| 4015 | }, |
| 4016 | "scaleStatus": { |
| 4017 | "description": "Scale status of the VNF, one entry per aspect. Represents for every scaling aspect how \"big\" the VNF has been scaled w.r.t. that aspect.\n", |
| 4018 | "type": "array", |
| 4019 | "items": { |
| 4020 | "required": ["aspectId", "scaleLevel"], |
| 4021 | "type": "object", |
| 4022 | "properties": { |
| 4023 | "aspectId": { |
| 4024 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 4025 | "type": "string" |
| 4026 | }, |
| 4027 | "scaleLevel": { |
| 4028 | "description": "Indicates the scale level. The minimum value shall be 0 and the maximum value shall be <= maxScaleLevel as described in the VNFD.\n", |
| 4029 | "type": "integer" |
| 4030 | } |
| 4031 | } |
| 4032 | } |
| 4033 | }, |
| 4034 | "extCpInfo": { |
| 4035 | "description": "Information about the external CPs exposed by the VNF instance.\n", |
| 4036 | "type": "array", |
| 4037 | "minItems": 1, |
| 4038 | "items": { |
| 4039 | "type": "object", |
| 4040 | "required": ["id", "cpdId"], |
| 4041 | "properties": { |
| 4042 | "id": { |
| 4043 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 4044 | "type": "string" |
| 4045 | }, |
| 4046 | "cpdId": { |
| 4047 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 4048 | "type": "string" |
| 4049 | }, |
| 4050 | "cpProtocolInfo": { |
| 4051 | "description": "Network protocol information for this CP.\n", |
| 4052 | "type": "array", |
| 4053 | "items": { |
| 4054 | "description": "This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses.\n", |
| 4055 | "required": ["layerProtocol"], |
| 4056 | "properties": { |
| 4057 | "layerProtocol": { |
| 4058 | "description": "The identifier of layer(s) and protocol(s) associated to the network address information. Permitted values: IP_OVER_ETHERNET This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n", |
| 4059 | "type": "string", |
| 4060 | "enum": ["IP_OVER_ETHERNET"] |
| 4061 | }, |
| 4062 | "ipOverEthernet": { |
| 4063 | "description": "This type represents information about a network address that has been assigned.\n", |
| 4064 | "type": "object", |
| 4065 | "required": ["macAddress"], |
| 4066 | "properties": { |
| 4067 | "macAddress": { |
| 4068 | "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n", |
| 4069 | "type": "string", |
| 4070 | "format": "MAC" |
| 4071 | }, |
| 4072 | "ipAddresses": { |
| 4073 | "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n", |
| 4074 | "type": "array", |
| 4075 | "items": { |
| 4076 | "type": "object", |
| 4077 | "required": ["type"], |
| 4078 | "properties": { |
| 4079 | "type": { |
| 4080 | "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n", |
| 4081 | "type": "string", |
| 4082 | "enum": ["IPV4", "IPV6"] |
| 4083 | }, |
| 4084 | "addresses": { |
| 4085 | "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n", |
| 4086 | "type": "array", |
| 4087 | "items": { |
| 4088 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 4089 | "type": "string", |
| 4090 | "format": "IP" |
| 4091 | } |
| 4092 | }, |
| 4093 | "isDynamic": { |
| 4094 | "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n", |
| 4095 | "type": "boolean" |
| 4096 | }, |
| 4097 | "addressRange": { |
| 4098 | "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n", |
| 4099 | "type": "object", |
| 4100 | "required": ["minAddress", "maxAddress"], |
| 4101 | "properties": { |
| 4102 | "minAddress": { |
| 4103 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 4104 | "type": "string", |
| 4105 | "format": "IP" |
| 4106 | }, |
| 4107 | "maxAddress": { |
| 4108 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 4109 | "type": "string", |
| 4110 | "format": "IP" |
| 4111 | } |
| 4112 | } |
| 4113 | }, |
| 4114 | "subnetId": { |
| 4115 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 4116 | "type": "string", |
| 4117 | "format": "IP" |
| 4118 | } |
| 4119 | } |
| 4120 | } |
| 4121 | } |
| 4122 | } |
| 4123 | } |
| 4124 | } |
| 4125 | } |
| 4126 | }, |
| 4127 | "extLinkPortId": { |
| 4128 | "description": "An identifier with the intention of being globally unique.\n", |
| 4129 | "type": "string" |
| 4130 | } |
| 4131 | } |
| 4132 | } |
| 4133 | }, |
| 4134 | "extVirtualLinkInfo": { |
| 4135 | "description": "Information about the external VLs the VNF instance is connected to.\n", |
| 4136 | "type": "array", |
| 4137 | "items": { |
| 4138 | "type": "object", |
| 4139 | "required": ["id", "resourceHandle"], |
| 4140 | "properties": { |
| 4141 | "id": { |
| 4142 | "description": "An identifier with the intention of being globally unique.\n", |
| 4143 | "type": "string" |
| 4144 | }, |
| 4145 | "resourceHandle": { |
| 4146 | "required": ["vimConnectionId", "resourceId"], |
| 4147 | "type": "object", |
| 4148 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 4149 | "properties": { |
| 4150 | "vimConnectionId": { |
| 4151 | "description": "An identifier with the intention of being globally unique.\n", |
| 4152 | "type": "string" |
| 4153 | }, |
| 4154 | "resourceProviderId": { |
| 4155 | "description": "An identifier with the intention of being globally unique.\n", |
| 4156 | "type": "string" |
| 4157 | }, |
| 4158 | "resourceId": { |
| 4159 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 4160 | "type": "string" |
| 4161 | }, |
| 4162 | "vimLevelResourceType": { |
| 4163 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 4164 | "type": "string" |
| 4165 | } |
| 4166 | } |
| 4167 | }, |
| 4168 | "extLinkPorts": { |
| 4169 | "description": "Link ports of this VL.\n", |
| 4170 | "type": "array", |
| 4171 | "items": { |
| 4172 | "description": "This type represents information about a link port of an external VL, i.e. a port providing connectivity for the VNF to an NS VL.\n", |
| 4173 | "type": "object", |
| 4174 | "required": ["id", "resourceHandle"], |
| 4175 | "properties": { |
| 4176 | "id": { |
| 4177 | "description": "An identifier with the intention of being globally unique.\n", |
| 4178 | "type": "string" |
| 4179 | }, |
| 4180 | "resourceHandle": { |
| 4181 | "required": ["vimConnectionId", "resourceId"], |
| 4182 | "type": "object", |
| 4183 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 4184 | "properties": { |
| 4185 | "vimConnectionId": { |
| 4186 | "description": "An identifier with the intention of being globally unique.\n", |
| 4187 | "type": "string" |
| 4188 | }, |
| 4189 | "resourceProviderId": { |
| 4190 | "description": "An identifier with the intention of being globally unique.\n", |
| 4191 | "type": "string" |
| 4192 | }, |
| 4193 | "resourceId": { |
| 4194 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 4195 | "type": "string" |
| 4196 | }, |
| 4197 | "vimLevelResourceType": { |
| 4198 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 4199 | "type": "string" |
| 4200 | } |
| 4201 | } |
| 4202 | }, |
| 4203 | "cpInstanceId": { |
| 4204 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 4205 | "type": "string" |
| 4206 | } |
| 4207 | } |
| 4208 | } |
| 4209 | } |
| 4210 | } |
| 4211 | } |
| 4212 | }, |
| 4213 | "extManagedVirtualLinkInfo": { |
| 4214 | "description": "External virtual links the VNF instance is connected to.\n", |
| 4215 | "type": "array", |
| 4216 | "items": { |
| 4217 | "type": "object", |
| 4218 | "required": ["id", "vnfVirtualLinkDescId"], |
| 4219 | "properties": { |
| 4220 | "id": { |
| 4221 | "description": "An identifier with the intention of being globally unique.\n", |
| 4222 | "type": "string" |
| 4223 | }, |
| 4224 | "vnfVirtualLinkDescId": { |
| 4225 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 4226 | "type": "string" |
| 4227 | }, |
| 4228 | "networkResource": { |
| 4229 | "required": ["vimConnectionId", "resourceId"], |
| 4230 | "type": "object", |
| 4231 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 4232 | "properties": { |
| 4233 | "vimConnectionId": { |
| 4234 | "description": "An identifier with the intention of being globally unique.\n", |
| 4235 | "type": "string" |
| 4236 | }, |
| 4237 | "resourceProviderId": { |
| 4238 | "description": "An identifier with the intention of being globally unique.\n", |
| 4239 | "type": "string" |
| 4240 | }, |
| 4241 | "resourceId": { |
| 4242 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 4243 | "type": "string" |
| 4244 | }, |
| 4245 | "vimLevelResourceType": { |
| 4246 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 4247 | "type": "string" |
| 4248 | } |
| 4249 | } |
| 4250 | }, |
| 4251 | "vnfLinkPorts": { |
| 4252 | "description": "Link ports of this VL.\n", |
| 4253 | "type": "array", |
| 4254 | "items": { |
| 4255 | "type": "object", |
| 4256 | "required": ["id", "resourceHandle"], |
| 4257 | "properties": { |
| 4258 | "id": { |
| 4259 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 4260 | "type": "string" |
| 4261 | }, |
| 4262 | "resourceHandle": { |
| 4263 | "required": ["vimConnectionId", "resourceId"], |
| 4264 | "type": "object", |
| 4265 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 4266 | "properties": { |
| 4267 | "vimConnectionId": { |
| 4268 | "description": "An identifier with the intention of being globally unique.\n", |
| 4269 | "type": "string" |
| 4270 | }, |
| 4271 | "resourceProviderId": { |
| 4272 | "description": "An identifier with the intention of being globally unique.\n", |
| 4273 | "type": "string" |
| 4274 | }, |
| 4275 | "resourceId": { |
| 4276 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 4277 | "type": "string" |
| 4278 | }, |
| 4279 | "vimLevelResourceType": { |
| 4280 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 4281 | "type": "string" |
| 4282 | } |
| 4283 | } |
| 4284 | }, |
| 4285 | "cpInstanceId": { |
| 4286 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 4287 | "type": "string" |
| 4288 | } |
| 4289 | } |
| 4290 | } |
| 4291 | } |
| 4292 | } |
| 4293 | } |
| 4294 | }, |
| 4295 | "monitoringParameters": { |
| 4296 | "description": "Active monitoring parameters.\n", |
| 4297 | "type": "array", |
| 4298 | "items": { |
| 4299 | "type": "object", |
| 4300 | "required": ["id", "value", "timeStamp"], |
| 4301 | "properties": { |
| 4302 | "id": { |
| 4303 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 4304 | "type": "string" |
| 4305 | }, |
| 4306 | "name": { |
| 4307 | "description": "Human readable name of the monitoring parameter, as defined in the VNFD.\n", |
| 4308 | "type": "string" |
| 4309 | }, |
| 4310 | "value": { |
| 4311 | "description": "Value of the monitoring parameter known to the VNFM (e.g. obtained for autoscaling purposes). The type of the \"value\" attribute (i.e. scalar, structure (Object in JSON), or array (of scalars, arrays or structures/Objects)) is assumed to be defined in an external measurement specification.\n", |
| 4312 | "type": "object" |
| 4313 | }, |
| 4314 | "timeStamp": { |
| 4315 | "description": "Represents the point in time when the measurement has been performed, as known to the VNFM. Should be formatted according to ETF RFC 3339.\n", |
| 4316 | "type": "string" |
| 4317 | } |
| 4318 | } |
| 4319 | } |
| 4320 | }, |
| 4321 | "localizationLanguage": { |
| 4322 | "description": "Information about localization language of the VNF (includes e.g. strings in the VNFD). The localization languages supported by a VNF can be declared in the VNFD, and localization language selection can take place at instantiation time. The value shall comply with the format defined in IETF RFC 5646.\n", |
| 4323 | "type": "string" |
| 4324 | }, |
| 4325 | "vnfcResourceInfo": { |
| 4326 | "description": "Information about the virtualised compute and storage resources used by the VNFCs of the VNF instance.\n", |
| 4327 | "type": "array", |
| 4328 | "items": { |
| 4329 | "description": "This type represents the information on virtualised compute and storage resources used by a VNFC in a VNF instance.\n", |
| 4330 | "type": "object", |
| 4331 | "required": ["id", "vduId", "computeResource"], |
| 4332 | "properties": { |
| 4333 | "id": { |
| 4334 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 4335 | "type": "string" |
| 4336 | }, |
| 4337 | "vduId": { |
| 4338 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 4339 | "type": "string" |
| 4340 | }, |
| 4341 | "computeResource": { |
| 4342 | "required": ["vimConnectionId", "resourceId"], |
| 4343 | "type": "object", |
| 4344 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 4345 | "properties": { |
| 4346 | "vimConnectionId": { |
| 4347 | "description": "An identifier with the intention of being globally unique.\n", |
| 4348 | "type": "string" |
| 4349 | }, |
| 4350 | "resourceProviderId": { |
| 4351 | "description": "An identifier with the intention of being globally unique.\n", |
| 4352 | "type": "string" |
| 4353 | }, |
| 4354 | "resourceId": { |
| 4355 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 4356 | "type": "string" |
| 4357 | }, |
| 4358 | "vimLevelResourceType": { |
| 4359 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 4360 | "type": "string" |
| 4361 | } |
| 4362 | } |
| 4363 | }, |
| 4364 | "storageResourceIds": { |
| 4365 | "description": "References to the VirtualStorage resources. The value refers to a VirtualStorageResourceInfo item in the VnfInstance.\n", |
| 4366 | "type": "array", |
| 4367 | "items": { |
| 4368 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 4369 | "type": "string" |
| 4370 | } |
| 4371 | }, |
| 4372 | "reservationId": { |
| 4373 | "description": "An identifier with the intention of being globally unique.\n", |
| 4374 | "type": "string" |
| 4375 | }, |
| 4376 | "vnfcCpInfo": { |
| 4377 | "description": "CPs of the VNFC instance. Shall be present when that particular CP of the VNFC instance is associated to an external CP of the VNF instance. May be present otherwise.\n", |
| 4378 | "type": "array", |
| 4379 | "items": { |
| 4380 | "type": "object", |
| 4381 | "required": ["id", "cpdId"], |
| 4382 | "properties": { |
| 4383 | "id": { |
| 4384 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 4385 | "type": "string" |
| 4386 | }, |
| 4387 | "cpdId": { |
| 4388 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 4389 | "type": "string" |
| 4390 | }, |
| 4391 | "vnfExtCpId": { |
| 4392 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 4393 | "type": "string" |
| 4394 | }, |
| 4395 | "cpProtocolInfo": { |
| 4396 | "description": "Network protocol information for this CP.\n", |
| 4397 | "type": "array", |
| 4398 | "items": { |
| 4399 | "description": "This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses.\n", |
| 4400 | "required": ["layerProtocol"], |
| 4401 | "properties": { |
| 4402 | "layerProtocol": { |
| 4403 | "description": "The identifier of layer(s) and protocol(s) associated to the network address information. Permitted values: IP_OVER_ETHERNET This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n", |
| 4404 | "type": "string", |
| 4405 | "enum": ["IP_OVER_ETHERNET"] |
| 4406 | }, |
| 4407 | "ipOverEthernet": { |
| 4408 | "description": "This type represents information about a network address that has been assigned.\n", |
| 4409 | "type": "object", |
| 4410 | "required": ["macAddress"], |
| 4411 | "properties": { |
| 4412 | "macAddress": { |
| 4413 | "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n", |
| 4414 | "type": "string", |
| 4415 | "format": "MAC" |
| 4416 | }, |
| 4417 | "ipAddresses": { |
| 4418 | "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n", |
| 4419 | "type": "array", |
| 4420 | "items": { |
| 4421 | "type": "object", |
| 4422 | "required": ["type"], |
| 4423 | "properties": { |
| 4424 | "type": { |
| 4425 | "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n", |
| 4426 | "type": "string", |
| 4427 | "enum": ["IPV4", "IPV6"] |
| 4428 | }, |
| 4429 | "addresses": { |
| 4430 | "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n", |
| 4431 | "type": "array", |
| 4432 | "items": { |
| 4433 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 4434 | "type": "string", |
| 4435 | "format": "IP" |
| 4436 | } |
| 4437 | }, |
| 4438 | "isDynamic": { |
| 4439 | "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n", |
| 4440 | "type": "boolean" |
| 4441 | }, |
| 4442 | "addressRange": { |
| 4443 | "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n", |
| 4444 | "type": "object", |
| 4445 | "required": ["minAddress", "maxAddress"], |
| 4446 | "properties": { |
| 4447 | "minAddress": { |
| 4448 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 4449 | "type": "string", |
| 4450 | "format": "IP" |
| 4451 | }, |
| 4452 | "maxAddress": { |
| 4453 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 4454 | "type": "string", |
| 4455 | "format": "IP" |
| 4456 | } |
| 4457 | } |
| 4458 | }, |
| 4459 | "subnetId": { |
| 4460 | "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n", |
| 4461 | "type": "string", |
| 4462 | "format": "IP" |
| 4463 | } |
| 4464 | } |
| 4465 | } |
| 4466 | } |
| 4467 | } |
| 4468 | } |
| 4469 | } |
| 4470 | } |
| 4471 | }, |
| 4472 | "vnfLinkPortId": { |
| 4473 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 4474 | "type": "string" |
| 4475 | } |
| 4476 | } |
| 4477 | } |
| 4478 | }, |
| 4479 | "metadata": { |
| 4480 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 4481 | "type": "object" |
| 4482 | } |
| 4483 | } |
| 4484 | } |
| 4485 | }, |
| 4486 | "virtualLinkResourceInfo": { |
| 4487 | "description": "Information about the virtualised network resources used by the VLs of the VNF instance.\n", |
| 4488 | "type": "array", |
| 4489 | "items": { |
| 4490 | "description": "This type represents the information that allows addressing a virtualised resource that is used by an internal VL instance in a VNF instance.\n", |
| 4491 | "type": "object", |
| 4492 | "required": ["id", "vnfVirtualLinkDescId", "networkResource"], |
| 4493 | "properties": { |
| 4494 | "id": { |
| 4495 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 4496 | "type": "string" |
| 4497 | }, |
| 4498 | "vnfVirtualLinkDescId": { |
| 4499 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 4500 | "type": "string" |
| 4501 | }, |
| 4502 | "networkResource": { |
| 4503 | "required": ["vimConnectionId", "resourceId"], |
| 4504 | "type": "object", |
| 4505 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 4506 | "properties": { |
| 4507 | "vimConnectionId": { |
| 4508 | "description": "An identifier with the intention of being globally unique.\n", |
| 4509 | "type": "string" |
| 4510 | }, |
| 4511 | "resourceProviderId": { |
| 4512 | "description": "An identifier with the intention of being globally unique.\n", |
| 4513 | "type": "string" |
| 4514 | }, |
| 4515 | "resourceId": { |
| 4516 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 4517 | "type": "string" |
| 4518 | }, |
| 4519 | "vimLevelResourceType": { |
| 4520 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 4521 | "type": "string" |
| 4522 | } |
| 4523 | } |
| 4524 | }, |
| 4525 | "reservationId": { |
| 4526 | "description": "An identifier with the intention of being globally unique.\n", |
| 4527 | "type": "string" |
| 4528 | }, |
| 4529 | "vnfLinkPorts": { |
| 4530 | "description": "Links ports of this VL. Shall be present when the linkPort is used for external connectivity by the VNF (refer to VnfLinkPortInfo). May be present otherwise.\n", |
| 4531 | "type": "array", |
| 4532 | "items": { |
| 4533 | "type": "object", |
| 4534 | "required": ["id", "resourceHandle"], |
| 4535 | "properties": { |
| 4536 | "id": { |
| 4537 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 4538 | "type": "string" |
| 4539 | }, |
| 4540 | "resourceHandle": { |
| 4541 | "required": ["vimConnectionId", "resourceId"], |
| 4542 | "type": "object", |
| 4543 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 4544 | "properties": { |
| 4545 | "vimConnectionId": { |
| 4546 | "description": "An identifier with the intention of being globally unique.\n", |
| 4547 | "type": "string" |
| 4548 | }, |
| 4549 | "resourceProviderId": { |
| 4550 | "description": "An identifier with the intention of being globally unique.\n", |
| 4551 | "type": "string" |
| 4552 | }, |
| 4553 | "resourceId": { |
| 4554 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 4555 | "type": "string" |
| 4556 | }, |
| 4557 | "vimLevelResourceType": { |
| 4558 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 4559 | "type": "string" |
| 4560 | } |
| 4561 | } |
| 4562 | }, |
| 4563 | "cpInstanceId": { |
| 4564 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 4565 | "type": "string" |
| 4566 | } |
| 4567 | } |
| 4568 | } |
| 4569 | }, |
| 4570 | "metadata": { |
| 4571 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 4572 | "type": "object" |
| 4573 | } |
| 4574 | } |
| 4575 | } |
| 4576 | }, |
| 4577 | "virtualStorageResourceInfo": { |
| 4578 | "description": "Information on the virtualised storage resource(s) used as storage for the VNF instance.\n", |
| 4579 | "type": "array", |
| 4580 | "items": { |
| 4581 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance.\n", |
| 4582 | "type": "object", |
| 4583 | "required": ["id", "virtualStorageDescId", "storageResource"], |
| 4584 | "properties": { |
| 4585 | "id": { |
| 4586 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 4587 | "type": "string" |
| 4588 | }, |
| 4589 | "virtualStorageDescId": { |
| 4590 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 4591 | "type": "string" |
| 4592 | }, |
| 4593 | "storageResource": { |
| 4594 | "required": ["vimConnectionId", "resourceId"], |
| 4595 | "type": "object", |
| 4596 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 4597 | "properties": { |
| 4598 | "vimConnectionId": { |
| 4599 | "description": "An identifier with the intention of being globally unique.\n", |
| 4600 | "type": "string" |
| 4601 | }, |
| 4602 | "resourceProviderId": { |
| 4603 | "description": "An identifier with the intention of being globally unique.\n", |
| 4604 | "type": "string" |
| 4605 | }, |
| 4606 | "resourceId": { |
| 4607 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 4608 | "type": "string" |
| 4609 | }, |
| 4610 | "vimLevelResourceType": { |
| 4611 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 4612 | "type": "string" |
| 4613 | } |
| 4614 | } |
| 4615 | }, |
| 4616 | "reservationId": { |
| 4617 | "description": "An identifier with the intention of being globally unique.\n", |
| 4618 | "type": "string" |
| 4619 | }, |
| 4620 | "metadata": { |
| 4621 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 4622 | "type": "object" |
| 4623 | } |
| 4624 | } |
| 4625 | } |
| 4626 | } |
| 4627 | } |
| 4628 | }, |
| 4629 | "metadata": { |
| 4630 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 4631 | "type": "object" |
| 4632 | }, |
| 4633 | "extensions": { |
| 4634 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 4635 | "type": "object" |
| 4636 | }, |
| 4637 | "_links": { |
| 4638 | "description": "Links to resources related to this resource.\n", |
| 4639 | "type": "object", |
| 4640 | "required": ["self"], |
| 4641 | "properties": { |
| 4642 | "self": { |
| 4643 | "description": "This type represents a link to a resource.\n", |
| 4644 | "type": "object", |
| 4645 | "required": ["href"], |
| 4646 | "properties": { |
| 4647 | "href": { |
| 4648 | "description": "URI of the referenced resource.\n", |
| 4649 | "type": "string", |
| 4650 | "format": "url" |
| 4651 | } |
| 4652 | } |
| 4653 | }, |
| 4654 | "indicators": { |
| 4655 | "description": "This type represents a link to a resource.\n", |
| 4656 | "type": "object", |
| 4657 | "required": ["href"], |
| 4658 | "properties": { |
| 4659 | "href": { |
| 4660 | "description": "URI of the referenced resource.\n", |
| 4661 | "type": "string", |
| 4662 | "format": "url" |
| 4663 | } |
| 4664 | } |
| 4665 | }, |
| 4666 | "instantiate": { |
| 4667 | "description": "This type represents a link to a resource.\n", |
| 4668 | "type": "object", |
| 4669 | "required": ["href"], |
| 4670 | "properties": { |
| 4671 | "href": { |
| 4672 | "description": "URI of the referenced resource.\n", |
| 4673 | "type": "string", |
| 4674 | "format": "url" |
| 4675 | } |
| 4676 | } |
| 4677 | }, |
| 4678 | "terminate": { |
| 4679 | "description": "This type represents a link to a resource.\n", |
| 4680 | "type": "object", |
| 4681 | "required": ["href"], |
| 4682 | "properties": { |
| 4683 | "href": { |
| 4684 | "description": "URI of the referenced resource.\n", |
| 4685 | "type": "string", |
| 4686 | "format": "url" |
| 4687 | } |
| 4688 | } |
| 4689 | }, |
| 4690 | "scale": { |
| 4691 | "description": "This type represents a link to a resource.\n", |
| 4692 | "type": "object", |
| 4693 | "required": ["href"], |
| 4694 | "properties": { |
| 4695 | "href": { |
| 4696 | "description": "URI of the referenced resource.\n", |
| 4697 | "type": "string", |
| 4698 | "format": "url" |
| 4699 | } |
| 4700 | } |
| 4701 | }, |
| 4702 | "scaleToLevel": { |
| 4703 | "description": "This type represents a link to a resource.\n", |
| 4704 | "type": "object", |
| 4705 | "required": ["href"], |
| 4706 | "properties": { |
| 4707 | "href": { |
| 4708 | "description": "URI of the referenced resource.\n", |
| 4709 | "type": "string", |
| 4710 | "format": "url" |
| 4711 | } |
| 4712 | } |
| 4713 | }, |
| 4714 | "changeFlavour": { |
| 4715 | "description": "This type represents a link to a resource.\n", |
| 4716 | "type": "object", |
| 4717 | "required": ["href"], |
| 4718 | "properties": { |
| 4719 | "href": { |
| 4720 | "description": "URI of the referenced resource.\n", |
| 4721 | "type": "string", |
| 4722 | "format": "url" |
| 4723 | } |
| 4724 | } |
| 4725 | }, |
| 4726 | "heal": { |
| 4727 | "description": "This type represents a link to a resource.\n", |
| 4728 | "type": "object", |
| 4729 | "required": ["href"], |
| 4730 | "properties": { |
| 4731 | "href": { |
| 4732 | "description": "URI of the referenced resource.\n", |
| 4733 | "type": "string", |
| 4734 | "format": "url" |
| 4735 | } |
| 4736 | } |
| 4737 | }, |
| 4738 | "operate": { |
| 4739 | "description": "This type represents a link to a resource.\n", |
| 4740 | "type": "object", |
| 4741 | "required": ["href"], |
| 4742 | "properties": { |
| 4743 | "href": { |
| 4744 | "description": "URI of the referenced resource.\n", |
| 4745 | "type": "string", |
| 4746 | "format": "url" |
| 4747 | } |
| 4748 | } |
| 4749 | }, |
| 4750 | "changeExtConn": { |
| 4751 | "description": "This type represents a link to a resource.\n", |
| 4752 | "type": "object", |
| 4753 | "required": ["href"], |
| 4754 | "properties": { |
| 4755 | "href": { |
| 4756 | "description": "URI of the referenced resource.\n", |
| 4757 | "type": "string", |
| 4758 | "format": "url" |
| 4759 | } |
| 4760 | } |
| 4761 | } |
| 4762 | } |
| 4763 | } |
| 4764 | } |
| 4765 | } |
| 4766 | }, |
| 4767 | "400": { |
| 4768 | "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 4769 | "headers": { |
| 4770 | "Content-Type": { |
| 4771 | "description": "The MIME type of the body of the response.", |
| 4772 | "type": "string", |
| 4773 | "maximum": 1, |
| 4774 | "minimum": 1 |
| 4775 | }, |
| 4776 | "WWW-Authenticate": { |
| 4777 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 4778 | "type": "string", |
| 4779 | "maximum": 1, |
| 4780 | "minimum": 0 |
| 4781 | } |
| 4782 | }, |
| 4783 | "schema": { |
| 4784 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 4785 | "type": "object", |
| 4786 | "required": ["status", "detail"], |
| 4787 | "properties": { |
| 4788 | "type": { |
| 4789 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 4790 | "type": "string", |
| 4791 | "format": "URI" |
| 4792 | }, |
| 4793 | "title": { |
| 4794 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 4795 | "type": "string" |
| 4796 | }, |
| 4797 | "status": { |
| 4798 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 4799 | "type": "integer" |
| 4800 | }, |
| 4801 | "detail": { |
| 4802 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 4803 | "type": "string" |
| 4804 | }, |
| 4805 | "instance": { |
| 4806 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 4807 | "type": "string", |
| 4808 | "format": "URI" |
| 4809 | } |
| 4810 | } |
| 4811 | } |
| 4812 | }, |
| 4813 | "401": { |
| 4814 | "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n", |
| 4815 | "headers": { |
| 4816 | "Content-Type": { |
| 4817 | "description": "The MIME type of the body of the response.", |
| 4818 | "type": "string", |
| 4819 | "maximum": 1, |
| 4820 | "minimum": 1 |
| 4821 | }, |
| 4822 | "WWW-Authenticate": { |
| 4823 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 4824 | "type": "string", |
| 4825 | "maximum": 1, |
| 4826 | "minimum": 0 |
| 4827 | } |
| 4828 | }, |
| 4829 | "schema": { |
| 4830 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 4831 | "type": "object", |
| 4832 | "required": ["status", "detail"], |
| 4833 | "properties": { |
| 4834 | "type": { |
| 4835 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 4836 | "type": "string", |
| 4837 | "format": "URI" |
| 4838 | }, |
| 4839 | "title": { |
| 4840 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 4841 | "type": "string" |
| 4842 | }, |
| 4843 | "status": { |
| 4844 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 4845 | "type": "integer" |
| 4846 | }, |
| 4847 | "detail": { |
| 4848 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 4849 | "type": "string" |
| 4850 | }, |
| 4851 | "instance": { |
| 4852 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 4853 | "type": "string", |
| 4854 | "format": "URI" |
| 4855 | } |
| 4856 | } |
| 4857 | } |
| 4858 | }, |
| 4859 | "403": { |
| 4860 | "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided. It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n", |
| 4861 | "headers": { |
| 4862 | "Content-Type": { |
| 4863 | "description": "The MIME type of the body of the response.", |
| 4864 | "type": "string", |
| 4865 | "maximum": 1, |
| 4866 | "minimum": 1 |
| 4867 | } |
| 4868 | }, |
| 4869 | "schema": { |
| 4870 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 4871 | "type": "object", |
| 4872 | "required": ["status", "detail"], |
| 4873 | "properties": { |
| 4874 | "type": { |
| 4875 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 4876 | "type": "string", |
| 4877 | "format": "URI" |
| 4878 | }, |
| 4879 | "title": { |
| 4880 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 4881 | "type": "string" |
| 4882 | }, |
| 4883 | "status": { |
| 4884 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 4885 | "type": "integer" |
| 4886 | }, |
| 4887 | "detail": { |
| 4888 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 4889 | "type": "string" |
| 4890 | }, |
| 4891 | "instance": { |
| 4892 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 4893 | "type": "string", |
| 4894 | "format": "URI" |
| 4895 | } |
| 4896 | } |
| 4897 | } |
| 4898 | }, |
| 4899 | "404": { |
| 4900 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n", |
| 4901 | "headers": { |
| 4902 | "Content-Type": { |
| 4903 | "description": "The MIME type of the body of the response.", |
| 4904 | "type": "string", |
| 4905 | "maximum": 1, |
| 4906 | "minimum": 1 |
| 4907 | } |
| 4908 | }, |
| 4909 | "schema": { |
| 4910 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 4911 | "type": "object", |
| 4912 | "required": ["status", "detail"], |
| 4913 | "properties": { |
| 4914 | "type": { |
| 4915 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 4916 | "type": "string", |
| 4917 | "format": "URI" |
| 4918 | }, |
| 4919 | "title": { |
| 4920 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 4921 | "type": "string" |
| 4922 | }, |
| 4923 | "status": { |
| 4924 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 4925 | "type": "integer" |
| 4926 | }, |
| 4927 | "detail": { |
| 4928 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 4929 | "type": "string" |
| 4930 | }, |
| 4931 | "instance": { |
| 4932 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 4933 | "type": "string", |
| 4934 | "format": "URI" |
| 4935 | } |
| 4936 | } |
| 4937 | } |
| 4938 | }, |
| 4939 | "405": { |
| 4940 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n", |
| 4941 | "headers": { |
| 4942 | "Content-Type": { |
| 4943 | "description": "The MIME type of the body of the response.", |
| 4944 | "type": "string", |
| 4945 | "maximum": 1, |
| 4946 | "minimum": 1 |
| 4947 | } |
| 4948 | }, |
| 4949 | "schema": { |
| 4950 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 4951 | "type": "object", |
| 4952 | "required": ["status", "detail"], |
| 4953 | "properties": { |
| 4954 | "type": { |
| 4955 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 4956 | "type": "string", |
| 4957 | "format": "URI" |
| 4958 | }, |
| 4959 | "title": { |
| 4960 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 4961 | "type": "string" |
| 4962 | }, |
| 4963 | "status": { |
| 4964 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 4965 | "type": "integer" |
| 4966 | }, |
| 4967 | "detail": { |
| 4968 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 4969 | "type": "string" |
| 4970 | }, |
| 4971 | "instance": { |
| 4972 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 4973 | "type": "string", |
| 4974 | "format": "URI" |
| 4975 | } |
| 4976 | } |
| 4977 | } |
| 4978 | }, |
| 4979 | "406": { |
| 4980 | "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n", |
| 4981 | "headers": { |
| 4982 | "Content-Type": { |
| 4983 | "description": "The MIME type of the body of the response.", |
| 4984 | "type": "string", |
| 4985 | "maximum": 1, |
| 4986 | "minimum": 1 |
| 4987 | } |
| 4988 | }, |
| 4989 | "schema": { |
| 4990 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 4991 | "type": "object", |
| 4992 | "required": ["status", "detail"], |
| 4993 | "properties": { |
| 4994 | "type": { |
| 4995 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 4996 | "type": "string", |
| 4997 | "format": "URI" |
| 4998 | }, |
| 4999 | "title": { |
| 5000 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 5001 | "type": "string" |
| 5002 | }, |
| 5003 | "status": { |
| 5004 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 5005 | "type": "integer" |
| 5006 | }, |
| 5007 | "detail": { |
| 5008 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 5009 | "type": "string" |
| 5010 | }, |
| 5011 | "instance": { |
| 5012 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 5013 | "type": "string", |
| 5014 | "format": "URI" |
| 5015 | } |
| 5016 | } |
| 5017 | } |
| 5018 | }, |
| 5019 | "409": { |
| 5020 | "description": "Conflict\nThe operation cannot be executed currently, due to a conflict with the state of the VNF instance resource. Typically, this is due to the fact that the VNF instance resource is in NOT-INSTANTIATED state, or that another lifecycle management operation is ongoing. The response body shall contain a ProblemDetails structure, in which the \"detail\" attribute should convey more information about the error.\n", |
| 5021 | "headers": { |
| 5022 | "Content-Type": { |
| 5023 | "description": "The MIME type of the body of the response.", |
| 5024 | "type": "string", |
| 5025 | "maximum": 1, |
| 5026 | "minimum": 1 |
| 5027 | }, |
| 5028 | "WWW-Authenticate": { |
| 5029 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 5030 | "type": "string", |
| 5031 | "maximum": 1, |
| 5032 | "minimum": 0 |
| 5033 | } |
| 5034 | }, |
| 5035 | "schema": { |
| 5036 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 5037 | "type": "object", |
| 5038 | "required": ["status", "detail"], |
| 5039 | "properties": { |
| 5040 | "type": { |
| 5041 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 5042 | "type": "string", |
| 5043 | "format": "URI" |
| 5044 | }, |
| 5045 | "title": { |
| 5046 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 5047 | "type": "string" |
| 5048 | }, |
| 5049 | "status": { |
| 5050 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 5051 | "type": "integer" |
| 5052 | }, |
| 5053 | "detail": { |
| 5054 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 5055 | "type": "string" |
| 5056 | }, |
| 5057 | "instance": { |
| 5058 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 5059 | "type": "string", |
| 5060 | "format": "URI" |
| 5061 | } |
| 5062 | } |
| 5063 | } |
| 5064 | }, |
| 5065 | "500": { |
| 5066 | "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 5067 | "headers": { |
| 5068 | "Content-Type": { |
| 5069 | "description": "The MIME type of the body of the response.", |
| 5070 | "type": "string", |
| 5071 | "maximum": 1, |
| 5072 | "minimum": 1 |
| 5073 | } |
| 5074 | }, |
| 5075 | "schema": { |
| 5076 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 5077 | "type": "object", |
| 5078 | "required": ["status", "detail"], |
| 5079 | "properties": { |
| 5080 | "type": { |
| 5081 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 5082 | "type": "string", |
| 5083 | "format": "URI" |
| 5084 | }, |
| 5085 | "title": { |
| 5086 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 5087 | "type": "string" |
| 5088 | }, |
| 5089 | "status": { |
| 5090 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 5091 | "type": "integer" |
| 5092 | }, |
| 5093 | "detail": { |
| 5094 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 5095 | "type": "string" |
| 5096 | }, |
| 5097 | "instance": { |
| 5098 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 5099 | "type": "string", |
| 5100 | "format": "URI" |
| 5101 | } |
| 5102 | } |
| 5103 | } |
| 5104 | }, |
| 5105 | "503": { |
| 5106 | "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n", |
| 5107 | "headers": { |
| 5108 | "Content-Type": { |
| 5109 | "description": "The MIME type of the body of the response.", |
| 5110 | "type": "string", |
| 5111 | "maximum": 1, |
| 5112 | "minimum": 1 |
| 5113 | } |
| 5114 | }, |
| 5115 | "schema": { |
| 5116 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 5117 | "type": "object", |
| 5118 | "required": ["status", "detail"], |
| 5119 | "properties": { |
| 5120 | "type": { |
| 5121 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 5122 | "type": "string", |
| 5123 | "format": "URI" |
| 5124 | }, |
| 5125 | "title": { |
| 5126 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 5127 | "type": "string" |
| 5128 | }, |
| 5129 | "status": { |
| 5130 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 5131 | "type": "integer" |
| 5132 | }, |
| 5133 | "detail": { |
| 5134 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 5135 | "type": "string" |
| 5136 | }, |
| 5137 | "instance": { |
| 5138 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 5139 | "type": "string", |
| 5140 | "format": "URI" |
| 5141 | } |
| 5142 | } |
| 5143 | } |
| 5144 | } |
| 5145 | } |
| 5146 | } |
| 5147 | }, |
| 5148 | "/vnf_lcm_op_occs/{vnfLcmOpOccId}": { |
| 5149 | "parameters": [{ |
| 5150 | "name": "vnfLcmOpOccId", |
| 5151 | "description": "Identifier of a VNF lifecycle management operation occurrence. This identifier can be retrieved from the resource referenced by the \"Location\" HTTP header in the response to a PATCH or POST request triggering a VNF LCM operation. It can also be retrieved from the \"vnfLcmOpOccId\" attribute in the VnfLcmOperationOccurrenceNotification.\n", |
| 5152 | "in": "path", |
| 5153 | "required": true, |
| 5154 | "type": "string" |
| 5155 | } |
| 5156 | ], |
| 5157 | "get": { |
| 5158 | "description": "Get Operation Status\n\nThe client can use this method to retrieve status information about a VNF lifecycle management operation occurrence by reading an individual \"VNF LCM operation occurrence\" resource.\n", |
| 5159 | "tags": ["Sol003VnfLcm"], |
| 5160 | "parameters": [{ |
| 5161 | "name": "Accept", |
| 5162 | "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n", |
| 5163 | "in": "header", |
| 5164 | "required": true, |
| 5165 | "type": "string" |
| 5166 | }, { |
| 5167 | "name": "Authorization", |
| 5168 | "description": "The authorization token for the request. Reference: IETF RFC 7235\n", |
| 5169 | "in": "header", |
| 5170 | "required": false, |
| 5171 | "type": "string" |
| 5172 | } |
| 5173 | ], |
| 5174 | "responses": { |
| 5175 | "200": { |
| 5176 | "description": "OK\nInformation about an individual VNF instance was queried successfully. The response body shall contain status information about a VNF lifecycle management operation occurrence.\n", |
| 5177 | "headers": { |
| 5178 | "Content-Type": { |
| 5179 | "description": "The MIME type of the body of the response.", |
| 5180 | "type": "string", |
| 5181 | "maximum": 1, |
| 5182 | "minimum": 1 |
| 5183 | }, |
| 5184 | "WWW-Authenticate": { |
| 5185 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 5186 | "type": "string", |
| 5187 | "maximum": 1, |
| 5188 | "minimum": 0 |
| 5189 | } |
| 5190 | }, |
| 5191 | "schema": { |
| 5192 | "description": "This type represents a VNF lifecycle management operation occurrence.\n", |
| 5193 | "type": "object", |
| 5194 | "required": ["id", "operationState", "stateEnteredTime", "startTime", "vnfInstanceId", "operation", "isAutomaticInvocation", "operationParams", "isCancelPending"], |
| 5195 | "properties": { |
| 5196 | "id": { |
| 5197 | "description": "An identifier with the intention of being globally unique.\n", |
| 5198 | "type": "string" |
| 5199 | }, |
| 5200 | "operationState": { |
| 5201 | "description": "Value | Description ------|------------ STARTING | The LCM operation is starting. PROCESSING | The LCM operation is currently in execution. COMPLETED | he LCM operation has been completed successfully. FAILED_TEMP | The LCM operation has failed and execution has stopped, but the execution of the operation is not considered to be closed. FAILED | The LCM operation has failed and it cannot be retried or rolled back, as it is determined that such action won't succeed. ROLLING_BACK | The LCM operation is currently being rolled back. ROLLED_BACK | The LCM operation has been successfully rolled back, i.e. The state of the VNF prior to the original operation invocation has been restored as closely as possible.\n", |
| 5202 | "type": "string", |
| 5203 | "enum": ["STARTING", "PROCESSING", "COMPLETED", "FAILED_TEMP", "FAILED", "ROLLING_BACK", "ROLLED_BACK"] |
| 5204 | }, |
| 5205 | "stateEnteredTime": { |
| 5206 | "description": "Date-time when the current state was entered.\n", |
| 5207 | "type": "string", |
| 5208 | "format": "date-time" |
| 5209 | }, |
| 5210 | "startTime": { |
| 5211 | "description": "Date-time of the start of the operation.\n", |
| 5212 | "type": "string", |
| 5213 | "format": "date-time" |
| 5214 | }, |
| 5215 | "vnfInstanceId": { |
| 5216 | "description": "An identifier with the intention of being globally unique.\n", |
| 5217 | "type": "string" |
| 5218 | }, |
| 5219 | "grantId": { |
| 5220 | "description": "An identifier with the intention of being globally unique.\n", |
| 5221 | "type": "string" |
| 5222 | }, |
| 5223 | "operation": { |
| 5224 | "description": "Value | Description ------|------------ INSTANTIATE | Represents the \"Instantiate VNF\" LCM operation. SCALE | Represents the \"Scale VNF\" LCM operation. SCALE_TO_LEVEL | Represents the \"Scale VNF to Level\" LCM operation. CHANGE_FLAVOUR | Represents the \"Change VNF Flavour\" LCM operation. TERMINATE | Represents the \"Terminate VNF\" LCM operation. HEAL | Represents the \"Heal VNF\" LCM operation. OPERATE | Represents the \"Operate VNF\" LCM operation. CHANGE_EXT_CONN | Represents the \"Change external VNF connectivity\" LCM operation. MODIFY_INFO | Represents the \"Modify VNF Information\" LCM operation.\n", |
| 5225 | "type": "string", |
| 5226 | "enum": ["INSTANTIATE", "SCALE", "SCALE_TO_LEVEL", "CHANGE_FLAVOUR", "TERMINATE", "HEAL", "OPERATE", "CHANGE_EXT_CONN", "MODIFY_INFO"] |
| 5227 | }, |
| 5228 | "isAutomaticInvocation": { |
| 5229 | "description": "Set to true if this VNF LCM operation occurrence has been triggered by an automated procedure inside the VNFM (i.e. ScaleVnf / ScaleVnfToLevel triggered by auto-scale, or HealVnf triggered by auto-heal). Set to false otherwise.\n", |
| 5230 | "type": "boolean" |
| 5231 | }, |
| 5232 | "operationParams": { |
| 5233 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 5234 | "type": "object" |
| 5235 | }, |
| 5236 | "isCancelPending": { |
| 5237 | "description": "If the VNF LCM operation occurrence is in \"STARTING\", \"PROCESSING\" or \"ROLLING_BACK\" state and the operation is being cancelled, this attribute shall be set to true. Otherwise, it shall be set to false.\n", |
| 5238 | "type": "boolean" |
| 5239 | }, |
| 5240 | "cancelMode": { |
| 5241 | "description": "Cancellation mode. GRACEFUL: If the VNF LCM operation occurrence is in \"PROCESSING\" or \"ROLLING_BACK\" state, the VNFM shall not start any new resource management operation and shall wait for the ongoing resource management operations in the underlying system, typically the VIM, to finish execution or to time out. After that, the VNFM shall put the operation occurrence into the FAILED_TEMP state. If the VNF LCM operation occurrence is in \"STARTING\" state, the VNFM shall not start any resource management operation and shall wait for the granting request to finish execution or time out. After that, the VNFM shall put the operation occurrence into the ROLLED_BACK state. FORCEFUL: If the VNF LCM operation occurrence is in \"PROCESSING\" or \"ROLLING_BACK\" state, the VNFM shall not start any new resource management operation, shall cancel the ongoing resource management operations in the underlying system, typically the VIM, and shall wait for the cancellation to finish or to time out. After that, the VNFM shall put the operation occurrence into the FAILED_TEMP state. If the VNF LCM operation occurrence is in \"STARTING\" state, the VNFM shall not start any resource management operation and put the operation occurrence into the ROLLED_BACK state.\n", |
| 5242 | "type": "string", |
| 5243 | "enum": ["GRACEFUL", "FORCEFUL"] |
| 5244 | }, |
| 5245 | "error": { |
| 5246 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 5247 | "type": "object", |
| 5248 | "required": ["status", "detail"], |
| 5249 | "properties": { |
| 5250 | "type": { |
| 5251 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 5252 | "type": "string", |
| 5253 | "format": "URI" |
| 5254 | }, |
| 5255 | "title": { |
| 5256 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 5257 | "type": "string" |
| 5258 | }, |
| 5259 | "status": { |
| 5260 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 5261 | "type": "integer" |
| 5262 | }, |
| 5263 | "detail": { |
| 5264 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 5265 | "type": "string" |
| 5266 | }, |
| 5267 | "instance": { |
| 5268 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 5269 | "type": "string", |
| 5270 | "format": "URI" |
| 5271 | } |
| 5272 | } |
| 5273 | }, |
| 5274 | "resourceChanges": { |
| 5275 | "description": "This attribute contains information about the cumulative changes to virtualised resources that were performed so far by the LCM operation since its start, if applicable.\n", |
| 5276 | "type": "object", |
| 5277 | "properties": { |
| 5278 | "affectedVnfcs": { |
| 5279 | "description": "Information about VNFC instances that were affected during the lifecycle operation. This allows the NFVO to obtain the information contained in the latest \"result\" notification if it has not received it due to an error or a wrongly configured subscription filter.\n", |
| 5280 | "type": "array", |
| 5281 | "items": { |
| 5282 | "description": "This type provides information about added, deleted, modified and temporary VNFCs.\n", |
| 5283 | "type": "object", |
| 5284 | "required": ["id", "vduId", "changeType", "computeResource"], |
| 5285 | "properties": { |
| 5286 | "id": { |
| 5287 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 5288 | "type": "string" |
| 5289 | }, |
| 5290 | "vduId": { |
| 5291 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 5292 | "type": "string" |
| 5293 | }, |
| 5294 | "changeType": { |
| 5295 | "description": "Signals the type of change. Permitted values: * ADDED * REMOVED * MODIFIED * TEMPORARY For a temporary resource, an AffectedVnfc structure exists as long as the temporary resource exists.\n", |
| 5296 | "type": "string", |
| 5297 | "enum": ["ADDED", "REMOVED", "MODIFIED", "TEMPORARY"] |
| 5298 | }, |
| 5299 | "computeResource": { |
| 5300 | "required": ["vimConnectionId", "resourceId"], |
| 5301 | "type": "object", |
| 5302 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 5303 | "properties": { |
| 5304 | "vimConnectionId": { |
| 5305 | "description": "An identifier with the intention of being globally unique.\n", |
| 5306 | "type": "string" |
| 5307 | }, |
| 5308 | "resourceProviderId": { |
| 5309 | "description": "An identifier with the intention of being globally unique.\n", |
| 5310 | "type": "string" |
| 5311 | }, |
| 5312 | "resourceId": { |
| 5313 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 5314 | "type": "string" |
| 5315 | }, |
| 5316 | "vimLevelResourceType": { |
| 5317 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 5318 | "type": "string" |
| 5319 | } |
| 5320 | } |
| 5321 | }, |
| 5322 | "metadata": { |
| 5323 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 5324 | "type": "object" |
| 5325 | }, |
| 5326 | "affectedVnfcCpIds": { |
| 5327 | "description": "Identifiers of CP(s) of the VNFC instance that were affected by the change. Shall be present for those affected CPs of the VNFC instance that are associated to an external CP of the VNF instance. May be present for further affected CPs of the VNFC instance.\n", |
| 5328 | "type": "array", |
| 5329 | "items": { |
| 5330 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 5331 | "type": "string" |
| 5332 | } |
| 5333 | }, |
| 5334 | "addedStorageResourceIds": { |
| 5335 | "description": "References to VirtualStorage resources that have been added. Each value refers to a VirtualStorageResourceInfo item in the VnfInstance that was added to the VNFC. It shall be provided if at least one storage resource was added to the VNFC.\n", |
| 5336 | "type": "array", |
| 5337 | "items": { |
| 5338 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 5339 | "type": "string" |
| 5340 | } |
| 5341 | }, |
| 5342 | "removedStorageResourceIds": { |
| 5343 | "description": "References to VirtualStorage resources that have been removed. The value contains the identifier of a VirtualStorageResourceInfo item that has been removed from the VNFC, and might no longer exist in the VnfInstance. It shall be provided if at least one storage resource was removed from the VNFC.\n", |
| 5344 | "type": "array", |
| 5345 | "items": { |
| 5346 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 5347 | "type": "string" |
| 5348 | } |
| 5349 | } |
| 5350 | } |
| 5351 | } |
| 5352 | }, |
| 5353 | "affectedVirtualLinks": { |
| 5354 | "description": "Information about VL instances that were affected during the lifecycle operation. This allows the NFVO to obtain the information contained in the latest \"result\" notification if it has not received it due to an error or a wrongly configured subscription filter.\n", |
| 5355 | "type": "array", |
| 5356 | "items": { |
| 5357 | "description": "This type provides information about added, deleted, modified and temporary VLs.\n", |
| 5358 | "type": "object", |
| 5359 | "required": ["id", "virtualLinkDescId", "changeType", "networkResource"], |
| 5360 | "properties": { |
| 5361 | "id": { |
| 5362 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 5363 | "type": "string" |
| 5364 | }, |
| 5365 | "virtualLinkDescId": { |
| 5366 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 5367 | "type": "string" |
| 5368 | }, |
| 5369 | "changeType": { |
| 5370 | "description": "Signals the type of change. Permitted values: * ADDED * REMOVED * MODIFIED * TEMPORARY * LINK_PORT_ADDED * LINK_PORT_REMOVED For a temporary resource, an AffectedVirtualLink structure exists as long as the temporary resource exists.\n", |
| 5371 | "type": "string", |
| 5372 | "enum": ["ADDED", "REMOVED", "MODIFIED", "TEMPORARY", "LINK_PORT_ADDED", "LINK_PORT_REMOVED"] |
| 5373 | }, |
| 5374 | "networkResource": { |
| 5375 | "required": ["vimConnectionId", "resourceId"], |
| 5376 | "type": "object", |
| 5377 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 5378 | "properties": { |
| 5379 | "vimConnectionId": { |
| 5380 | "description": "An identifier with the intention of being globally unique.\n", |
| 5381 | "type": "string" |
| 5382 | }, |
| 5383 | "resourceProviderId": { |
| 5384 | "description": "An identifier with the intention of being globally unique.\n", |
| 5385 | "type": "string" |
| 5386 | }, |
| 5387 | "resourceId": { |
| 5388 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 5389 | "type": "string" |
| 5390 | }, |
| 5391 | "vimLevelResourceType": { |
| 5392 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 5393 | "type": "string" |
| 5394 | } |
| 5395 | } |
| 5396 | }, |
| 5397 | "metadata": { |
| 5398 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 5399 | "type": "object" |
| 5400 | } |
| 5401 | } |
| 5402 | } |
| 5403 | }, |
| 5404 | "affectedVirtualStorages": { |
| 5405 | "description": "Information about virtualised storage instances that were affected during the lifecycle operation. This allows the NFVO to obtain the information contained in the latest \"result\" notification if it has not received it due to an error or a wrongly configured subscription filter.\n", |
| 5406 | "type": "array", |
| 5407 | "items": { |
| 5408 | "description": "This type provides information about added, deleted, modified and temporary virtual storage resources.\n", |
| 5409 | "type": "object", |
| 5410 | "required": ["id", "virtualStorageDescId", "changeType", "storageResource"], |
| 5411 | "properties": { |
| 5412 | "id": { |
| 5413 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 5414 | "type": "string" |
| 5415 | }, |
| 5416 | "virtualStorageDescId": { |
| 5417 | "description": "An identifier that is unique within a VNF descriptor.\n", |
| 5418 | "type": "string" |
| 5419 | }, |
| 5420 | "changeType": { |
| 5421 | "description": "Signals the type of change. Permitted values: * ADDED * REMOVED * MODIFIED * TEMPORARY For a temporary resource, an AffectedVirtualStorage structure exists as long as the temporary resource exists.\n", |
| 5422 | "type": "string", |
| 5423 | "enum": ["ADDED", "REMOVED", "MODIFIED", "TEMPORARY"] |
| 5424 | }, |
| 5425 | "storageResource": { |
| 5426 | "required": ["vimConnectionId", "resourceId"], |
| 5427 | "type": "object", |
| 5428 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 5429 | "properties": { |
| 5430 | "vimConnectionId": { |
| 5431 | "description": "An identifier with the intention of being globally unique.\n", |
| 5432 | "type": "string" |
| 5433 | }, |
| 5434 | "resourceProviderId": { |
| 5435 | "description": "An identifier with the intention of being globally unique.\n", |
| 5436 | "type": "string" |
| 5437 | }, |
| 5438 | "resourceId": { |
| 5439 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 5440 | "type": "string" |
| 5441 | }, |
| 5442 | "vimLevelResourceType": { |
| 5443 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 5444 | "type": "string" |
| 5445 | } |
| 5446 | } |
| 5447 | }, |
| 5448 | "metadata": { |
| 5449 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 5450 | "type": "object" |
| 5451 | } |
| 5452 | } |
| 5453 | } |
| 5454 | } |
| 5455 | } |
| 5456 | }, |
| 5457 | "changedInfo": { |
| 5458 | "description": "This type represents attribute modifications that were performed on an \"Individual VNF instance\" resource. The attributes that can be included consist of those requested to be modified explicitly in the \"VnfInfoModificationRequest\" data structure, and additional attributes of the \"VnfInstance\" data structure that were modified implicitly e.g. when modifying the referenced VNF package.\n", |
| 5459 | "type": "object", |
| 5460 | "properties": { |
| 5461 | "vnfInstanceName": { |
| 5462 | "description": "If present, this attribute signals modifications of the \"vnfInstanceName\" attribute in \"VnfInstance\".\n", |
| 5463 | "type": "string" |
| 5464 | }, |
| 5465 | "vnfInstanceDescription": { |
| 5466 | "description": "If present, this attribute signals modifications of the \"vnfInstanceDescription\" attribute in \"VnfInstance\".\n", |
| 5467 | "type": "string" |
| 5468 | }, |
| 5469 | "vnfConfigurableProperties": { |
| 5470 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 5471 | "type": "object" |
| 5472 | }, |
| 5473 | "metadata": { |
| 5474 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 5475 | "type": "object" |
| 5476 | }, |
| 5477 | "extensions": { |
| 5478 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 5479 | "type": "object" |
| 5480 | }, |
| 5481 | "vimConnectionInfo": { |
| 5482 | "description": "If present, this attribute signals modifications of certain entries in the \"vimConnectionInfo\" attribute array in \"VnfInstance\".\n", |
| 5483 | "type": "array", |
| 5484 | "items": { |
| 5485 | "description": "This type represents parameters to connect to a VIM for managing the resources of a VNF instance. This structure is used to convey VIM-related parameters over the Or-Vnfm interface. Additional parameters for a VIM may be configured into the VNFM by means outside the scope of the present document, and bound to the identifier of that VIM.\n", |
| 5486 | "type": "object", |
| 5487 | "required": ["id", "vimType"], |
| 5488 | "properties": { |
| 5489 | "id": { |
| 5490 | "description": "An identifier with the intention of being globally unique.\n", |
| 5491 | "type": "string" |
| 5492 | }, |
| 5493 | "vimId": { |
| 5494 | "description": "An identifier with the intention of being globally unique.\n", |
| 5495 | "type": "string" |
| 5496 | }, |
| 5497 | "vimType": { |
| 5498 | "description": "Discriminator for the different types of the VIM information. The value of this attribute determines the structure of the \"interfaceInfo\" and \"accessInfo\" attributes, based on the type of the VIM. The set of permitted values is expected to change over time as new types or versions of VIMs become available. The ETSI NFV registry of VIM-related information provides access to information about VimConnectionInfo definitions for various VIM types. The structure of the registry is defined in Annex C of SOL003.\n", |
| 5499 | "type": "string" |
| 5500 | }, |
| 5501 | "interfaceInfo": { |
| 5502 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 5503 | "type": "object" |
| 5504 | }, |
| 5505 | "accessInfo": { |
| 5506 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 5507 | "type": "object" |
| 5508 | }, |
| 5509 | "extra": { |
| 5510 | "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n", |
| 5511 | "type": "object" |
| 5512 | } |
| 5513 | } |
| 5514 | } |
| 5515 | }, |
| 5516 | "vnfPkgId": { |
| 5517 | "description": "An identifier with the intention of being globally unique.\n", |
| 5518 | "type": "string" |
| 5519 | }, |
| 5520 | "vnfdId": { |
| 5521 | "description": "An identifier with the intention of being globally unique.\n", |
| 5522 | "type": "string" |
| 5523 | }, |
| 5524 | "vnfProvider": { |
| 5525 | "description": "If present, this attribute signals modifications of the \"vnfProvider\" attribute in \"VnfInstance\". If present, this attribute (which depends on the value of the \"vnfPkgId\" attribute) was modified implicitly following a request to modify the \"vnfPkgId\" attribute, by copying the value of this attribute from the VNFD in the VNF Package identified by the \"vnfPkgId” attribute.\n", |
| 5526 | "type": "string" |
| 5527 | }, |
| 5528 | "vnfProductName": { |
| 5529 | "description": "If present, this attribute signals modifications of the \"vnfProductName\" attribute in \"VnfInstance\". If present, this attribute (which depends on the value of the \"vnfPkgId\" attribute) was modified implicitly following a request to modify the \"vnfPkgId\" attribute, by copying the value of this attribute from the VNFD in the VNF Package identified by the \"vnfPkgId” attribute.\n", |
| 5530 | "type": "string" |
| 5531 | }, |
| 5532 | "vnfSoftwareVersion": { |
| 5533 | "description": "A Version.\n", |
| 5534 | "type": "string" |
| 5535 | }, |
| 5536 | "vnfdVersion": { |
| 5537 | "description": "A Version.\n", |
| 5538 | "type": "string" |
| 5539 | } |
| 5540 | } |
| 5541 | }, |
| 5542 | "changedExtConnectivity": { |
| 5543 | "description": "Information about changed external connectivity, if applicable. This allows the NFVO to obtain the information contained in the latest \"result\" notification if it has not received it due to an error or a wrongly configured subscription filter.\n", |
| 5544 | "type": "array", |
| 5545 | "items": { |
| 5546 | "type": "object", |
| 5547 | "required": ["id", "resourceHandle"], |
| 5548 | "properties": { |
| 5549 | "id": { |
| 5550 | "description": "An identifier with the intention of being globally unique.\n", |
| 5551 | "type": "string" |
| 5552 | }, |
| 5553 | "resourceHandle": { |
| 5554 | "required": ["vimConnectionId", "resourceId"], |
| 5555 | "type": "object", |
| 5556 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 5557 | "properties": { |
| 5558 | "vimConnectionId": { |
| 5559 | "description": "An identifier with the intention of being globally unique.\n", |
| 5560 | "type": "string" |
| 5561 | }, |
| 5562 | "resourceProviderId": { |
| 5563 | "description": "An identifier with the intention of being globally unique.\n", |
| 5564 | "type": "string" |
| 5565 | }, |
| 5566 | "resourceId": { |
| 5567 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 5568 | "type": "string" |
| 5569 | }, |
| 5570 | "vimLevelResourceType": { |
| 5571 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 5572 | "type": "string" |
| 5573 | } |
| 5574 | } |
| 5575 | }, |
| 5576 | "extLinkPorts": { |
| 5577 | "description": "Link ports of this VL.\n", |
| 5578 | "type": "array", |
| 5579 | "items": { |
| 5580 | "description": "This type represents information about a link port of an external VL, i.e. a port providing connectivity for the VNF to an NS VL.\n", |
| 5581 | "type": "object", |
| 5582 | "required": ["id", "resourceHandle"], |
| 5583 | "properties": { |
| 5584 | "id": { |
| 5585 | "description": "An identifier with the intention of being globally unique.\n", |
| 5586 | "type": "string" |
| 5587 | }, |
| 5588 | "resourceHandle": { |
| 5589 | "required": ["vimConnectionId", "resourceId"], |
| 5590 | "type": "object", |
| 5591 | "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n", |
| 5592 | "properties": { |
| 5593 | "vimConnectionId": { |
| 5594 | "description": "An identifier with the intention of being globally unique.\n", |
| 5595 | "type": "string" |
| 5596 | }, |
| 5597 | "resourceProviderId": { |
| 5598 | "description": "An identifier with the intention of being globally unique.\n", |
| 5599 | "type": "string" |
| 5600 | }, |
| 5601 | "resourceId": { |
| 5602 | "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n", |
| 5603 | "type": "string" |
| 5604 | }, |
| 5605 | "vimLevelResourceType": { |
| 5606 | "description": "Type of the resource in the scope of the VIM or the resource provider.\n", |
| 5607 | "type": "string" |
| 5608 | } |
| 5609 | } |
| 5610 | }, |
| 5611 | "cpInstanceId": { |
| 5612 | "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n", |
| 5613 | "type": "string" |
| 5614 | } |
| 5615 | } |
| 5616 | } |
| 5617 | } |
| 5618 | } |
| 5619 | } |
| 5620 | }, |
| 5621 | "_links": { |
| 5622 | "description": "Links to resources related to this resource.\n", |
| 5623 | "type": "object", |
| 5624 | "required": ["self", "vnfInstance"], |
| 5625 | "properties": { |
| 5626 | "self": { |
| 5627 | "description": "This type represents a link to a resource.\n", |
| 5628 | "type": "object", |
| 5629 | "required": ["href"], |
| 5630 | "properties": { |
| 5631 | "href": { |
| 5632 | "description": "URI of the referenced resource.\n", |
| 5633 | "type": "string", |
| 5634 | "format": "url" |
| 5635 | } |
| 5636 | } |
| 5637 | }, |
| 5638 | "vnfInstance": { |
| 5639 | "description": "This type represents a link to a resource.\n", |
| 5640 | "type": "object", |
| 5641 | "required": ["href"], |
| 5642 | "properties": { |
| 5643 | "href": { |
| 5644 | "description": "URI of the referenced resource.\n", |
| 5645 | "type": "string", |
| 5646 | "format": "url" |
| 5647 | } |
| 5648 | } |
| 5649 | }, |
| 5650 | "grant": { |
| 5651 | "description": "This type represents a link to a resource.\n", |
| 5652 | "type": "object", |
| 5653 | "required": ["href"], |
| 5654 | "properties": { |
| 5655 | "href": { |
| 5656 | "description": "URI of the referenced resource.\n", |
| 5657 | "type": "string", |
| 5658 | "format": "url" |
| 5659 | } |
| 5660 | } |
| 5661 | }, |
| 5662 | "cancel": { |
| 5663 | "description": "This type represents a link to a resource.\n", |
| 5664 | "type": "object", |
| 5665 | "required": ["href"], |
| 5666 | "properties": { |
| 5667 | "href": { |
| 5668 | "description": "URI of the referenced resource.\n", |
| 5669 | "type": "string", |
| 5670 | "format": "url" |
| 5671 | } |
| 5672 | } |
| 5673 | }, |
| 5674 | "retry": { |
| 5675 | "description": "This type represents a link to a resource.\n", |
| 5676 | "type": "object", |
| 5677 | "required": ["href"], |
| 5678 | "properties": { |
| 5679 | "href": { |
| 5680 | "description": "URI of the referenced resource.\n", |
| 5681 | "type": "string", |
| 5682 | "format": "url" |
| 5683 | } |
| 5684 | } |
| 5685 | }, |
| 5686 | "rollback": { |
| 5687 | "description": "This type represents a link to a resource.\n", |
| 5688 | "type": "object", |
| 5689 | "required": ["href"], |
| 5690 | "properties": { |
| 5691 | "href": { |
| 5692 | "description": "URI of the referenced resource.\n", |
| 5693 | "type": "string", |
| 5694 | "format": "url" |
| 5695 | } |
| 5696 | } |
| 5697 | }, |
| 5698 | "fail": { |
| 5699 | "description": "This type represents a link to a resource.\n", |
| 5700 | "type": "object", |
| 5701 | "required": ["href"], |
| 5702 | "properties": { |
| 5703 | "href": { |
| 5704 | "description": "URI of the referenced resource.\n", |
| 5705 | "type": "string", |
| 5706 | "format": "url" |
| 5707 | } |
| 5708 | } |
| 5709 | } |
| 5710 | } |
| 5711 | } |
| 5712 | } |
| 5713 | } |
| 5714 | }, |
| 5715 | "400": { |
| 5716 | "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 5717 | "headers": { |
| 5718 | "Content-Type": { |
| 5719 | "description": "The MIME type of the body of the response.", |
| 5720 | "type": "string", |
| 5721 | "maximum": 1, |
| 5722 | "minimum": 1 |
| 5723 | }, |
| 5724 | "WWW-Authenticate": { |
| 5725 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 5726 | "type": "string", |
| 5727 | "maximum": 1, |
| 5728 | "minimum": 0 |
| 5729 | } |
| 5730 | }, |
| 5731 | "schema": { |
| 5732 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 5733 | "type": "object", |
| 5734 | "required": ["status", "detail"], |
| 5735 | "properties": { |
| 5736 | "type": { |
| 5737 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 5738 | "type": "string", |
| 5739 | "format": "URI" |
| 5740 | }, |
| 5741 | "title": { |
| 5742 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 5743 | "type": "string" |
| 5744 | }, |
| 5745 | "status": { |
| 5746 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 5747 | "type": "integer" |
| 5748 | }, |
| 5749 | "detail": { |
| 5750 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 5751 | "type": "string" |
| 5752 | }, |
| 5753 | "instance": { |
| 5754 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 5755 | "type": "string", |
| 5756 | "format": "URI" |
| 5757 | } |
| 5758 | } |
| 5759 | } |
| 5760 | }, |
| 5761 | "401": { |
| 5762 | "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n", |
| 5763 | "headers": { |
| 5764 | "Content-Type": { |
| 5765 | "description": "The MIME type of the body of the response.", |
| 5766 | "type": "string", |
| 5767 | "maximum": 1, |
| 5768 | "minimum": 1 |
| 5769 | }, |
| 5770 | "WWW-Authenticate": { |
| 5771 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 5772 | "type": "string", |
| 5773 | "maximum": 1, |
| 5774 | "minimum": 0 |
| 5775 | } |
| 5776 | }, |
| 5777 | "schema": { |
| 5778 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 5779 | "type": "object", |
| 5780 | "required": ["status", "detail"], |
| 5781 | "properties": { |
| 5782 | "type": { |
| 5783 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 5784 | "type": "string", |
| 5785 | "format": "URI" |
| 5786 | }, |
| 5787 | "title": { |
| 5788 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 5789 | "type": "string" |
| 5790 | }, |
| 5791 | "status": { |
| 5792 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 5793 | "type": "integer" |
| 5794 | }, |
| 5795 | "detail": { |
| 5796 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 5797 | "type": "string" |
| 5798 | }, |
| 5799 | "instance": { |
| 5800 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 5801 | "type": "string", |
| 5802 | "format": "URI" |
| 5803 | } |
| 5804 | } |
| 5805 | } |
| 5806 | }, |
| 5807 | "403": { |
| 5808 | "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided. It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n", |
| 5809 | "headers": { |
| 5810 | "Content-Type": { |
| 5811 | "description": "The MIME type of the body of the response.", |
| 5812 | "type": "string", |
| 5813 | "maximum": 1, |
| 5814 | "minimum": 1 |
| 5815 | } |
| 5816 | }, |
| 5817 | "schema": { |
| 5818 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 5819 | "type": "object", |
| 5820 | "required": ["status", "detail"], |
| 5821 | "properties": { |
| 5822 | "type": { |
| 5823 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 5824 | "type": "string", |
| 5825 | "format": "URI" |
| 5826 | }, |
| 5827 | "title": { |
| 5828 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 5829 | "type": "string" |
| 5830 | }, |
| 5831 | "status": { |
| 5832 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 5833 | "type": "integer" |
| 5834 | }, |
| 5835 | "detail": { |
| 5836 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 5837 | "type": "string" |
| 5838 | }, |
| 5839 | "instance": { |
| 5840 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 5841 | "type": "string", |
| 5842 | "format": "URI" |
| 5843 | } |
| 5844 | } |
| 5845 | } |
| 5846 | }, |
| 5847 | "404": { |
| 5848 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n", |
| 5849 | "headers": { |
| 5850 | "Content-Type": { |
| 5851 | "description": "The MIME type of the body of the response.", |
| 5852 | "type": "string", |
| 5853 | "maximum": 1, |
| 5854 | "minimum": 1 |
| 5855 | } |
| 5856 | }, |
| 5857 | "schema": { |
| 5858 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 5859 | "type": "object", |
| 5860 | "required": ["status", "detail"], |
| 5861 | "properties": { |
| 5862 | "type": { |
| 5863 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 5864 | "type": "string", |
| 5865 | "format": "URI" |
| 5866 | }, |
| 5867 | "title": { |
| 5868 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 5869 | "type": "string" |
| 5870 | }, |
| 5871 | "status": { |
| 5872 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 5873 | "type": "integer" |
| 5874 | }, |
| 5875 | "detail": { |
| 5876 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 5877 | "type": "string" |
| 5878 | }, |
| 5879 | "instance": { |
| 5880 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 5881 | "type": "string", |
| 5882 | "format": "URI" |
| 5883 | } |
| 5884 | } |
| 5885 | } |
| 5886 | }, |
| 5887 | "405": { |
| 5888 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n", |
| 5889 | "headers": { |
| 5890 | "Content-Type": { |
| 5891 | "description": "The MIME type of the body of the response.", |
| 5892 | "type": "string", |
| 5893 | "maximum": 1, |
| 5894 | "minimum": 1 |
| 5895 | } |
| 5896 | }, |
| 5897 | "schema": { |
| 5898 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 5899 | "type": "object", |
| 5900 | "required": ["status", "detail"], |
| 5901 | "properties": { |
| 5902 | "type": { |
| 5903 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 5904 | "type": "string", |
| 5905 | "format": "URI" |
| 5906 | }, |
| 5907 | "title": { |
| 5908 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 5909 | "type": "string" |
| 5910 | }, |
| 5911 | "status": { |
| 5912 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 5913 | "type": "integer" |
| 5914 | }, |
| 5915 | "detail": { |
| 5916 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 5917 | "type": "string" |
| 5918 | }, |
| 5919 | "instance": { |
| 5920 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 5921 | "type": "string", |
| 5922 | "format": "URI" |
| 5923 | } |
| 5924 | } |
| 5925 | } |
| 5926 | }, |
| 5927 | "406": { |
| 5928 | "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n", |
| 5929 | "headers": { |
| 5930 | "Content-Type": { |
| 5931 | "description": "The MIME type of the body of the response.", |
| 5932 | "type": "string", |
| 5933 | "maximum": 1, |
| 5934 | "minimum": 1 |
| 5935 | } |
| 5936 | }, |
| 5937 | "schema": { |
| 5938 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 5939 | "type": "object", |
| 5940 | "required": ["status", "detail"], |
| 5941 | "properties": { |
| 5942 | "type": { |
| 5943 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 5944 | "type": "string", |
| 5945 | "format": "URI" |
| 5946 | }, |
| 5947 | "title": { |
| 5948 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 5949 | "type": "string" |
| 5950 | }, |
| 5951 | "status": { |
| 5952 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 5953 | "type": "integer" |
| 5954 | }, |
| 5955 | "detail": { |
| 5956 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 5957 | "type": "string" |
| 5958 | }, |
| 5959 | "instance": { |
| 5960 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 5961 | "type": "string", |
| 5962 | "format": "URI" |
| 5963 | } |
| 5964 | } |
| 5965 | } |
| 5966 | }, |
| 5967 | "409": { |
| 5968 | "description": "Conflict\nAnother request is in progress that prohibits the fulfilment of the current request, or the current resource state is inconsistent with the request.\n", |
| 5969 | "headers": { |
| 5970 | "Content-Type": { |
| 5971 | "description": "The MIME type of the body of the response.", |
| 5972 | "type": "string", |
| 5973 | "maximum": 1, |
| 5974 | "minimum": 1 |
| 5975 | }, |
| 5976 | "WWW-Authenticate": { |
| 5977 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 5978 | "type": "string", |
| 5979 | "maximum": 1, |
| 5980 | "minimum": 0 |
| 5981 | } |
| 5982 | }, |
| 5983 | "schema": { |
| 5984 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 5985 | "type": "object", |
| 5986 | "required": ["status", "detail"], |
| 5987 | "properties": { |
| 5988 | "type": { |
| 5989 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 5990 | "type": "string", |
| 5991 | "format": "URI" |
| 5992 | }, |
| 5993 | "title": { |
| 5994 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 5995 | "type": "string" |
| 5996 | }, |
| 5997 | "status": { |
| 5998 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 5999 | "type": "integer" |
| 6000 | }, |
| 6001 | "detail": { |
| 6002 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 6003 | "type": "string" |
| 6004 | }, |
| 6005 | "instance": { |
| 6006 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 6007 | "type": "string", |
| 6008 | "format": "URI" |
| 6009 | } |
| 6010 | } |
| 6011 | } |
| 6012 | }, |
| 6013 | "500": { |
| 6014 | "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 6015 | "headers": { |
| 6016 | "Content-Type": { |
| 6017 | "description": "The MIME type of the body of the response.", |
| 6018 | "type": "string", |
| 6019 | "maximum": 1, |
| 6020 | "minimum": 1 |
| 6021 | } |
| 6022 | }, |
| 6023 | "schema": { |
| 6024 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 6025 | "type": "object", |
| 6026 | "required": ["status", "detail"], |
| 6027 | "properties": { |
| 6028 | "type": { |
| 6029 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 6030 | "type": "string", |
| 6031 | "format": "URI" |
| 6032 | }, |
| 6033 | "title": { |
| 6034 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 6035 | "type": "string" |
| 6036 | }, |
| 6037 | "status": { |
| 6038 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 6039 | "type": "integer" |
| 6040 | }, |
| 6041 | "detail": { |
| 6042 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 6043 | "type": "string" |
| 6044 | }, |
| 6045 | "instance": { |
| 6046 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 6047 | "type": "string", |
| 6048 | "format": "URI" |
| 6049 | } |
| 6050 | } |
| 6051 | } |
| 6052 | }, |
| 6053 | "503": { |
| 6054 | "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n", |
| 6055 | "headers": { |
| 6056 | "Content-Type": { |
| 6057 | "description": "The MIME type of the body of the response.", |
| 6058 | "type": "string", |
| 6059 | "maximum": 1, |
| 6060 | "minimum": 1 |
| 6061 | } |
| 6062 | }, |
| 6063 | "schema": { |
| 6064 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 6065 | "type": "object", |
| 6066 | "required": ["status", "detail"], |
| 6067 | "properties": { |
| 6068 | "type": { |
| 6069 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 6070 | "type": "string", |
| 6071 | "format": "URI" |
| 6072 | }, |
| 6073 | "title": { |
| 6074 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 6075 | "type": "string" |
| 6076 | }, |
| 6077 | "status": { |
| 6078 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 6079 | "type": "integer" |
| 6080 | }, |
| 6081 | "detail": { |
| 6082 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 6083 | "type": "string" |
| 6084 | }, |
| 6085 | "instance": { |
| 6086 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 6087 | "type": "string", |
| 6088 | "format": "URI" |
| 6089 | } |
| 6090 | } |
| 6091 | } |
| 6092 | } |
| 6093 | } |
| 6094 | } |
| 6095 | }, |
| 6096 | "/subscriptions": { |
| 6097 | "post": { |
| 6098 | "description": "Subscribe\n\nThe POST method creates a new subscription. Creation of two subscription resources with the same callbackURI and the same filter can result in performance degradation and will provide duplicates of notifications to the NFVO, and might make sense only in very rare use cases. Consequently, the VNFM may either allow creating a subscription resource if another subscription resource with the same filter and callbackUri already exists (in which case it shall return the “201 Created” response code), or may decide to not create a duplicate subscription resource (in which case it shall return a “303 See Other” response code referencing the existing subscription resource with the same filter and callbackUri).\n", |
| 6099 | "tags": ["Sol003VnfLcm"], |
| 6100 | "parameters": [{ |
| 6101 | "name": "LccnSubscriptionRequest", |
| 6102 | "description": "Details of the subscription to be created.\n", |
| 6103 | "in": "body", |
| 6104 | "required": true, |
| 6105 | "schema": { |
| 6106 | "description": "This type represents a subscription request related to notifications about VNF lifecycle changes.\n", |
| 6107 | "type": "object", |
| 6108 | "required": ["callbackUri"], |
| 6109 | "properties": { |
| 6110 | "filter": { |
| 6111 | "description": "This type represents a subscription filter related to notifications about VNF lifecycle changes. At a particular nesting level in the filter structure, the following applies: All attributes shall match in order for the filter to match (logical \"and\" between different filter attributes). If an attribute is an array, the attribute shall match if at least one of the values in the array matches (logical \"or\" between the values of one filter attribute).\n", |
| 6112 | "type": "object", |
| 6113 | "properties": { |
| 6114 | "vnfInstanceSubscriptionFilter": { |
| 6115 | "description": "This type represents subscription filter criteria to match VNF instances.\n", |
| 6116 | "type": "object", |
| 6117 | "properties": { |
| 6118 | "vnfInstanceIds": { |
| 6119 | "description": "If present, match VNF instances with an instance identifier listed in this attribute. The attributes \"vnfInstanceIds\" and \"vnfInstanceNames\" are alternatives to reference to particular VNF Instances in a filter. They should not be used both in the same filter instance, but one alternative should be chosen.\n", |
| 6120 | "type": "array", |
| 6121 | "items": { |
| 6122 | "description": "An identifier with the intention of being globally unique.\n", |
| 6123 | "type": "string" |
| 6124 | } |
| 6125 | } |
| 6126 | } |
| 6127 | }, |
| 6128 | "notificationTypes": { |
| 6129 | "description": "Match particular notification types. Permitted values: * VnfLcmOperationOccurrenceNotification * VnfIdentifierCreationNotification * VnfIdentifierDeletionNotification The permitted values of the \"notificationTypes\" attribute are spelled exactly as the names of the notification types to facilitate automated code generation systems.\n", |
| 6130 | "type": "array", |
| 6131 | "items": { |
| 6132 | "type": "string", |
| 6133 | "enum": ["VnfLcmOperationOccurrenceNotification", "VnfIdentifierCreationNotification", "VnfIdentifierDeletionNotification"] |
| 6134 | } |
| 6135 | }, |
| 6136 | "operationTypes": { |
| 6137 | "description": "Match particular VNF lifecycle operation types for the notification of type VnfLcmOperationOccurrenceNotification. May be present if the \"notificationTypes\" attribute contains the value \"VnfLcmOperationOccurrenceNotification\", and shall be absent otherwise.\n", |
| 6138 | "type": "array", |
| 6139 | "items": { |
| 6140 | "description": "Value | Description ------|------------ INSTANTIATE | Represents the \"Instantiate VNF\" LCM operation. SCALE | Represents the \"Scale VNF\" LCM operation. SCALE_TO_LEVEL | Represents the \"Scale VNF to Level\" LCM operation. CHANGE_FLAVOUR | Represents the \"Change VNF Flavour\" LCM operation. TERMINATE | Represents the \"Terminate VNF\" LCM operation. HEAL | Represents the \"Heal VNF\" LCM operation. OPERATE | Represents the \"Operate VNF\" LCM operation. CHANGE_EXT_CONN | Represents the \"Change external VNF connectivity\" LCM operation. MODIFY_INFO | Represents the \"Modify VNF Information\" LCM operation.\n", |
| 6141 | "type": "string", |
| 6142 | "enum": ["INSTANTIATE", "TERMINATE"] |
| 6143 | } |
| 6144 | }, |
| 6145 | "operationStates": { |
| 6146 | "description": "Match particular LCM operation state values as reported in notifications of type VnfLcmOperationOccurrenceNotification. May be present if the \"notificationTypes\" attribute contains the value \"VnfLcmOperationOccurrenceNotification\", and shall be absent otherwise.\n", |
| 6147 | "type": "array", |
| 6148 | "items": { |
| 6149 | "description": "Value | Description ------|------------ STARTING | The LCM operation is starting. PROCESSING | The LCM operation is currently in execution. COMPLETED | he LCM operation has been completed successfully. FAILED_TEMP | The LCM operation has failed and execution has stopped, but the execution of the operation is not considered to be closed. FAILED | The LCM operation has failed and it cannot be retried or rolled back, as it is determined that such action won't succeed. ROLLING_BACK | The LCM operation is currently being rolled back. ROLLED_BACK | The LCM operation has been successfully rolled back, i.e. The state of the VNF prior to the original operation invocation has been restored as closely as possible.\n", |
| 6150 | "type": "string", |
| 6151 | "enum": ["STARTING", "PROCESSING", "COMPLETED", "FAILED_TEMP", "FAILED", "ROLLING_BACK", "ROLLED_BACK"] |
| 6152 | } |
| 6153 | } |
| 6154 | } |
| 6155 | }, |
| 6156 | "callbackUri": { |
| 6157 | "description": "String formatted according to IETF RFC 3986.\n", |
| 6158 | "type": "string" |
| 6159 | }, |
| 6160 | "authentication": { |
| 6161 | "type": "object", |
| 6162 | "required": ["authType"], |
| 6163 | "properties": { |
| 6164 | "authType": { |
| 6165 | "description": "Defines the types of Authentication / Authorization which the API consumer is willing to accept when receiving a notification. Permitted values: * BASIC: In every HTTP request to the notification endpoint, use HTTP Basic authentication with the client credentials. \n* OAUTH2_CLIENT_CREDENTIALS: In every HTTP request to the notification endpoint, use an OAuth 2.0 Bearer token, obtained\n using the client credentials grant type.\n* TLS_CERT: Every HTTP request to the notification endpoint is sent over a mutually authenticated TLS session, i.e. not only the\n server is authenticated, but also the client is authenticated\n during the TLS tunnel setup.\n", |
| 6166 | "type": "array", |
| 6167 | "items": { |
| 6168 | "type": "string", |
| 6169 | "enum": ["BASIC", "OAUTH2_CLIENT_CREDENTIALS", "TLS_CERT"] |
| 6170 | } |
| 6171 | }, |
| 6172 | "paramsBasic": { |
| 6173 | "description": "Parameters for authentication/authorization using BASIC. Shall be present if authType is \"BASIC\" and the contained information has not been provisioned out of band. Shall be absent otherwise.\n", |
| 6174 | "type": "object", |
| 6175 | "properties": { |
| 6176 | "userName": { |
| 6177 | "description": "Username to be used in HTTP Basic authentication. Shall be present if it has not been provisioned out of band.\n", |
| 6178 | "type": "string" |
| 6179 | }, |
| 6180 | "password": { |
| 6181 | "description": "Password to be used in HTTP Basic authentication. Shall be present if it has not been provisioned out of band.\n", |
| 6182 | "type": "string" |
| 6183 | } |
| 6184 | } |
| 6185 | }, |
| 6186 | "paramsOauth2ClientCredentials": { |
| 6187 | "description": "Parameters for authentication/authorization using OAUTH2_CLIENT_CREDENTIALS. Shall be present if authType is \"OAUTH2_CLIENT_CREDENTIALS\" and the contained information has not been provisioned out of band. Shall be absent otherwise.\n", |
| 6188 | "type": "object", |
| 6189 | "properties": { |
| 6190 | "clientId": { |
| 6191 | "description": "Client identifier to be used in the access token request of the OAuth 2.0 client credentials grant type. Shall be present if it has not been provisioned out of band. The clientId and clientPassword passed in a subscription shall not be the same as the clientId and clientPassword that are used to obtain authorization for API requests. Client credentials may differ between subscriptions. The value of clientPassword should be generated by a random process.\n", |
| 6192 | "type": "string" |
| 6193 | }, |
| 6194 | "clientPassword": { |
| 6195 | "description": "Client password to be used in the access token request of the OAuth 2.0 client credentials grant type. Shall be present if it has not been provisioned out of band. The clientId and clientPassword passed in a subscription shall not be the same as the clientId and clientPassword that are used to obtain authorization for API requests. Client credentials may differ between subscriptions. The value of clientPassword should be generated by a random process.\n", |
| 6196 | "type": "string" |
| 6197 | }, |
| 6198 | "tokenEndpoint": { |
| 6199 | "description": "String formatted according to IETF RFC 3986.\n", |
| 6200 | "type": "string" |
| 6201 | } |
| 6202 | } |
| 6203 | } |
| 6204 | } |
| 6205 | } |
| 6206 | } |
| 6207 | } |
| 6208 | }, { |
| 6209 | "name": "Accept", |
| 6210 | "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n", |
| 6211 | "in": "header", |
| 6212 | "required": true, |
| 6213 | "type": "string" |
| 6214 | }, { |
| 6215 | "name": "Authorization", |
| 6216 | "description": "The authorization token for the request. Reference: IETF RFC 7235\n", |
| 6217 | "in": "header", |
| 6218 | "required": false, |
| 6219 | "type": "string" |
| 6220 | }, { |
| 6221 | "name": "Content-Type", |
| 6222 | "description": "The MIME type of the body of the request. Reference: IETF RFC 7231\n", |
| 6223 | "in": "header", |
| 6224 | "required": true, |
| 6225 | "type": "string" |
| 6226 | } |
| 6227 | ], |
| 6228 | "responses": { |
| 6229 | "201": { |
| 6230 | "description": "Created\nThe subscription was created successfully. The response body shall contain a representation of the created subscription resource. The HTTP response shall include a \"Location\" HTTP header that points to the created subscription resource.\n", |
| 6231 | "headers": { |
| 6232 | "Content-Type": { |
| 6233 | "description": "The MIME type of the body of the response.", |
| 6234 | "type": "string", |
| 6235 | "maximum": 1, |
| 6236 | "minimum": 1 |
| 6237 | }, |
| 6238 | "Location": { |
| 6239 | "description": "The resource URI of the created VNF instance", |
| 6240 | "type": "string", |
| 6241 | "format": "url" |
| 6242 | }, |
| 6243 | "WWW-Authenticate": { |
| 6244 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 6245 | "type": "string", |
| 6246 | "maximum": 1, |
| 6247 | "minimum": 0 |
| 6248 | } |
| 6249 | }, |
| 6250 | "schema": { |
| 6251 | "description": "This type represents a subscription related to notifications about VNF lifecycle changes.\n", |
| 6252 | "type": "object", |
| 6253 | "required": ["id", "callbackUri", "_links"], |
| 6254 | "properties": { |
| 6255 | "id": { |
| 6256 | "description": "An identifier with the intention of being globally unique.\n", |
| 6257 | "type": "string" |
| 6258 | }, |
| 6259 | "filter": { |
| 6260 | "description": "This type represents a subscription filter related to notifications about VNF lifecycle changes. At a particular nesting level in the filter structure, the following applies: All attributes shall match in order for the filter to match (logical \"and\" between different filter attributes). If an attribute is an array, the attribute shall match if at least one of the values in the array matches (logical \"or\" between the values of one filter attribute).\n", |
| 6261 | "type": "object", |
| 6262 | "properties": { |
| 6263 | "vnfInstanceSubscriptionFilter": { |
| 6264 | "description": "This type represents subscription filter criteria to match VNF instances.\n", |
| 6265 | "type": "object", |
| 6266 | "properties": { |
| 6267 | "vnfdIds": { |
| 6268 | "description": "If present, match VNF instances that were created based on a VNFD identified by one of the vnfdId values listed in this attribute. The attributes \"vnfdIds\" and \"vnfProductsFromProviders\" are alternatives to reference to VNF instances that are based on certain VNFDs in a filter. They should not be used both in the same filter instance, but one alternative should be chosen.\n", |
| 6269 | "type": "array", |
| 6270 | "items": { |
| 6271 | "description": "An identifier with the intention of being globally unique.\n", |
| 6272 | "type": "string" |
| 6273 | } |
| 6274 | }, |
| 6275 | "vnfProductsFromProviders": { |
| 6276 | "description": "If present, match VNF instances that belong to VNF products from certain providers. The attributes \"vnfdIds\" and \"vnfProductsFromProviders\" are alternatives to reference to VNF instances that are based on certain VNFDs in a filter. They should not be used both in the same filter instance, but one alternative should be chosen.\n", |
| 6277 | "type": "array", |
| 6278 | "items": { |
| 6279 | "type": "object", |
| 6280 | "required": ["vnfProvider"], |
| 6281 | "properties": { |
| 6282 | "vnfProvider": { |
| 6283 | "description": "Name of the VNF provider to match.\n", |
| 6284 | "type": "string" |
| 6285 | }, |
| 6286 | "vnfProducts": { |
| 6287 | "description": "If present, match VNF instances that belong to VNF products with certain product names, from one particular provider.\n", |
| 6288 | "type": "array", |
| 6289 | "items": { |
| 6290 | "type": "object", |
| 6291 | "required": ["vnfProductName"], |
| 6292 | "properties": { |
| 6293 | "vnfProductName": { |
| 6294 | "description": "Name of the VNF product to match.\n", |
| 6295 | "type": "string" |
| 6296 | }, |
| 6297 | "versions": { |
| 6298 | "description": "If present, match VNF instances that belong to VNF products with certain versions and a certain product name, from one particular provider.\n", |
| 6299 | "type": "array", |
| 6300 | "items": { |
| 6301 | "type": "object", |
| 6302 | "required": ["vnfSoftwareVersion"], |
| 6303 | "properties": { |
| 6304 | "vnfSoftwareVersion": { |
| 6305 | "description": "A version.\n", |
| 6306 | "type": "string" |
| 6307 | }, |
| 6308 | "vnfdVersions": { |
| 6309 | "description": "If present, match VNF instances that belong to VNF products with certain VNFD versions, a certain software version and a certain product name, from one particular provider.\n", |
| 6310 | "type": "array", |
| 6311 | "items": { |
| 6312 | "description": "A version.\n", |
| 6313 | "type": "string" |
| 6314 | } |
| 6315 | } |
| 6316 | } |
| 6317 | } |
| 6318 | } |
| 6319 | } |
| 6320 | } |
| 6321 | } |
| 6322 | } |
| 6323 | } |
| 6324 | }, |
| 6325 | "vnfInstanceIds": { |
| 6326 | "description": "If present, match VNF instances with an instance identifier listed in this attribute. The attributes \"vnfInstanceIds\" and \"vnfInstanceNames\" are alternatives to reference to particular VNF Instances in a filter. They should not be used both in the same filter instance, but one alternative should be chosen.\n", |
| 6327 | "type": "array", |
| 6328 | "items": { |
| 6329 | "description": "An identifier with the intention of being globally unique.\n", |
| 6330 | "type": "string" |
| 6331 | } |
| 6332 | }, |
| 6333 | "vnfInstanceNames": { |
| 6334 | "description": "If present, match VNF instances with a VNF Instance Name listed in this attribute. The attributes \"vnfInstanceIds\" and \"vnfInstanceNames\" are alternatives to reference to particular VNF Instances in a filter. They should not be used both in the same filter instance, but one alternative should be chosen.\n", |
| 6335 | "type": "array", |
| 6336 | "items": { |
| 6337 | "type": "string" |
| 6338 | } |
| 6339 | } |
| 6340 | } |
| 6341 | }, |
| 6342 | "notificationTypes": { |
| 6343 | "description": "Match particular notification types. Permitted values: * VnfLcmOperationOccurrenceNotification * VnfIdentifierCreationNotification * VnfIdentifierDeletionNotification The permitted values of the \"notificationTypes\" attribute are spelled exactly as the names of the notification types to facilitate automated code generation systems.\n", |
| 6344 | "type": "array", |
| 6345 | "items": { |
| 6346 | "type": "string", |
| 6347 | "enum": ["VnfLcmOperationOccurrenceNotification", "VnfIdentifierCreationNotification", "VnfIdentifierDeletionNotification"] |
| 6348 | } |
| 6349 | }, |
| 6350 | "operationTypes": { |
| 6351 | "description": "Match particular VNF lifecycle operation types for the notification of type VnfLcmOperationOccurrenceNotification. May be present if the \"notificationTypes\" attribute contains the value \"VnfLcmOperationOccurrenceNotification\", and shall be absent otherwise.\n", |
| 6352 | "type": "array", |
| 6353 | "items": { |
| 6354 | "description": "Value | Description ------|------------ INSTANTIATE | Represents the \"Instantiate VNF\" LCM operation. SCALE | Represents the \"Scale VNF\" LCM operation. SCALE_TO_LEVEL | Represents the \"Scale VNF to Level\" LCM operation. CHANGE_FLAVOUR | Represents the \"Change VNF Flavour\" LCM operation. TERMINATE | Represents the \"Terminate VNF\" LCM operation. HEAL | Represents the \"Heal VNF\" LCM operation. OPERATE | Represents the \"Operate VNF\" LCM operation. CHANGE_EXT_CONN | Represents the \"Change external VNF connectivity\" LCM operation. MODIFY_INFO | Represents the \"Modify VNF Information\" LCM operation.\n", |
| 6355 | "type": "string", |
| 6356 | "enum": ["INSTANTIATE", "SCALE", "SCALE_TO_LEVEL", "CHANGE_FLAVOUR", "TERMINATE", "HEAL", "OPERATE", "CHANGE_EXT_CONN", "MODIFY_INFO"] |
| 6357 | } |
| 6358 | }, |
| 6359 | "operationStates": { |
| 6360 | "description": "Match particular LCM operation state values as reported in notifications of type VnfLcmOperationOccurrenceNotification. May be present if the \"notificationTypes\" attribute contains the value \"VnfLcmOperationOccurrenceNotification\", and shall be absent otherwise.\n", |
| 6361 | "type": "array", |
| 6362 | "items": { |
| 6363 | "description": "Value | Description ------|------------ STARTING | The LCM operation is starting. PROCESSING | The LCM operation is currently in execution. COMPLETED | he LCM operation has been completed successfully. FAILED_TEMP | The LCM operation has failed and execution has stopped, but the execution of the operation is not considered to be closed. FAILED | The LCM operation has failed and it cannot be retried or rolled back, as it is determined that such action won't succeed. ROLLING_BACK | The LCM operation is currently being rolled back. ROLLED_BACK | The LCM operation has been successfully rolled back, i.e. The state of the VNF prior to the original operation invocation has been restored as closely as possible.\n", |
| 6364 | "type": "string", |
| 6365 | "enum": ["STARTING", "PROCESSING", "COMPLETED", "FAILED_TEMP", "FAILED", "ROLLING_BACK", "ROLLED_BACK"] |
| 6366 | } |
| 6367 | } |
| 6368 | } |
| 6369 | }, |
| 6370 | "callbackUri": { |
| 6371 | "description": "String formatted according to IETF RFC 3986.\n", |
| 6372 | "type": "string" |
| 6373 | }, |
| 6374 | "_links": { |
| 6375 | "description": "Links to resources related to this resource.\n", |
| 6376 | "type": "object", |
| 6377 | "required": ["self"], |
| 6378 | "properties": { |
| 6379 | "self": { |
| 6380 | "description": "This type represents a link to a resource.\n", |
| 6381 | "type": "object", |
| 6382 | "required": ["href"], |
| 6383 | "properties": { |
| 6384 | "href": { |
| 6385 | "description": "URI of the referenced resource.\n", |
| 6386 | "type": "string", |
| 6387 | "format": "url" |
| 6388 | } |
| 6389 | } |
| 6390 | } |
| 6391 | } |
| 6392 | } |
| 6393 | } |
| 6394 | } |
| 6395 | }, |
| 6396 | "303": { |
| 6397 | "description": "See Other\nA subscription with the same callbackURI and the same filter already exists and the policy of the VNFM is to not create redundant subscriptions. The HTTP response shall include a \"Location\" HTTP header that contains the resource URI of the existing subscription resource. The response body shall be empty.\n", |
| 6398 | "headers": { |
| 6399 | "Location": { |
| 6400 | "description": "The resource URI of the created VNF instance", |
| 6401 | "type": "string", |
| 6402 | "format": "url" |
| 6403 | }, |
| 6404 | "WWW-Authenticate": { |
| 6405 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 6406 | "type": "string", |
| 6407 | "maximum": 1, |
| 6408 | "minimum": 0 |
| 6409 | } |
| 6410 | } |
| 6411 | }, |
| 6412 | "400": { |
| 6413 | "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 6414 | "headers": { |
| 6415 | "Content-Type": { |
| 6416 | "description": "The MIME type of the body of the response.", |
| 6417 | "type": "string", |
| 6418 | "maximum": 1, |
| 6419 | "minimum": 1 |
| 6420 | }, |
| 6421 | "WWW-Authenticate": { |
| 6422 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 6423 | "type": "string", |
| 6424 | "maximum": 1, |
| 6425 | "minimum": 0 |
| 6426 | } |
| 6427 | }, |
| 6428 | "schema": { |
| 6429 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 6430 | "type": "object", |
| 6431 | "required": ["status", "detail"], |
| 6432 | "properties": { |
| 6433 | "type": { |
| 6434 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 6435 | "type": "string", |
| 6436 | "format": "URI" |
| 6437 | }, |
| 6438 | "title": { |
| 6439 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 6440 | "type": "string" |
| 6441 | }, |
| 6442 | "status": { |
| 6443 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 6444 | "type": "integer" |
| 6445 | }, |
| 6446 | "detail": { |
| 6447 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 6448 | "type": "string" |
| 6449 | }, |
| 6450 | "instance": { |
| 6451 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 6452 | "type": "string", |
| 6453 | "format": "URI" |
| 6454 | } |
| 6455 | } |
| 6456 | } |
| 6457 | }, |
| 6458 | "401": { |
| 6459 | "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n", |
| 6460 | "headers": { |
| 6461 | "Content-Type": { |
| 6462 | "description": "The MIME type of the body of the response.", |
| 6463 | "type": "string", |
| 6464 | "maximum": 1, |
| 6465 | "minimum": 1 |
| 6466 | }, |
| 6467 | "WWW-Authenticate": { |
| 6468 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 6469 | "type": "string", |
| 6470 | "maximum": 1, |
| 6471 | "minimum": 0 |
| 6472 | } |
| 6473 | }, |
| 6474 | "schema": { |
| 6475 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 6476 | "type": "object", |
| 6477 | "required": ["status", "detail"], |
| 6478 | "properties": { |
| 6479 | "type": { |
| 6480 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 6481 | "type": "string", |
| 6482 | "format": "URI" |
| 6483 | }, |
| 6484 | "title": { |
| 6485 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 6486 | "type": "string" |
| 6487 | }, |
| 6488 | "status": { |
| 6489 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 6490 | "type": "integer" |
| 6491 | }, |
| 6492 | "detail": { |
| 6493 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 6494 | "type": "string" |
| 6495 | }, |
| 6496 | "instance": { |
| 6497 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 6498 | "type": "string", |
| 6499 | "format": "URI" |
| 6500 | } |
| 6501 | } |
| 6502 | } |
| 6503 | }, |
| 6504 | "403": { |
| 6505 | "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided. It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n", |
| 6506 | "headers": { |
| 6507 | "Content-Type": { |
| 6508 | "description": "The MIME type of the body of the response.", |
| 6509 | "type": "string", |
| 6510 | "maximum": 1, |
| 6511 | "minimum": 1 |
| 6512 | } |
| 6513 | }, |
| 6514 | "schema": { |
| 6515 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 6516 | "type": "object", |
| 6517 | "required": ["status", "detail"], |
| 6518 | "properties": { |
| 6519 | "type": { |
| 6520 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 6521 | "type": "string", |
| 6522 | "format": "URI" |
| 6523 | }, |
| 6524 | "title": { |
| 6525 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 6526 | "type": "string" |
| 6527 | }, |
| 6528 | "status": { |
| 6529 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 6530 | "type": "integer" |
| 6531 | }, |
| 6532 | "detail": { |
| 6533 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 6534 | "type": "string" |
| 6535 | }, |
| 6536 | "instance": { |
| 6537 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 6538 | "type": "string", |
| 6539 | "format": "URI" |
| 6540 | } |
| 6541 | } |
| 6542 | } |
| 6543 | }, |
| 6544 | "404": { |
| 6545 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. Specifically in case of this task resource, the reason can also be that the task is not supported for the VNF LCM operation occurrence represented by the parent resource, and that the task resource consequently does not exist. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the sourceof the problem, e.g. a wrong resource URI variable.\n", |
| 6546 | "headers": { |
| 6547 | "Content-Type": { |
| 6548 | "description": "The MIME type of the body of the response.", |
| 6549 | "type": "string", |
| 6550 | "maximum": 1, |
| 6551 | "minimum": 1 |
| 6552 | } |
| 6553 | }, |
| 6554 | "schema": { |
| 6555 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 6556 | "type": "object", |
| 6557 | "required": ["status", "detail"], |
| 6558 | "properties": { |
| 6559 | "type": { |
| 6560 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 6561 | "type": "string", |
| 6562 | "format": "URI" |
| 6563 | }, |
| 6564 | "title": { |
| 6565 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 6566 | "type": "string" |
| 6567 | }, |
| 6568 | "status": { |
| 6569 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 6570 | "type": "integer" |
| 6571 | }, |
| 6572 | "detail": { |
| 6573 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 6574 | "type": "string" |
| 6575 | }, |
| 6576 | "instance": { |
| 6577 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 6578 | "type": "string", |
| 6579 | "format": "URI" |
| 6580 | } |
| 6581 | } |
| 6582 | } |
| 6583 | }, |
| 6584 | "405": { |
| 6585 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n", |
| 6586 | "headers": { |
| 6587 | "Content-Type": { |
| 6588 | "description": "The MIME type of the body of the response.", |
| 6589 | "type": "string", |
| 6590 | "maximum": 1, |
| 6591 | "minimum": 1 |
| 6592 | } |
| 6593 | }, |
| 6594 | "schema": { |
| 6595 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 6596 | "type": "object", |
| 6597 | "required": ["status", "detail"], |
| 6598 | "properties": { |
| 6599 | "type": { |
| 6600 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 6601 | "type": "string", |
| 6602 | "format": "URI" |
| 6603 | }, |
| 6604 | "title": { |
| 6605 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 6606 | "type": "string" |
| 6607 | }, |
| 6608 | "status": { |
| 6609 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 6610 | "type": "integer" |
| 6611 | }, |
| 6612 | "detail": { |
| 6613 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 6614 | "type": "string" |
| 6615 | }, |
| 6616 | "instance": { |
| 6617 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 6618 | "type": "string", |
| 6619 | "format": "URI" |
| 6620 | } |
| 6621 | } |
| 6622 | } |
| 6623 | }, |
| 6624 | "406": { |
| 6625 | "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n", |
| 6626 | "headers": { |
| 6627 | "Content-Type": { |
| 6628 | "description": "The MIME type of the body of the response.", |
| 6629 | "type": "string", |
| 6630 | "maximum": 1, |
| 6631 | "minimum": 1 |
| 6632 | } |
| 6633 | }, |
| 6634 | "schema": { |
| 6635 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 6636 | "type": "object", |
| 6637 | "required": ["status", "detail"], |
| 6638 | "properties": { |
| 6639 | "type": { |
| 6640 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 6641 | "type": "string", |
| 6642 | "format": "URI" |
| 6643 | }, |
| 6644 | "title": { |
| 6645 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 6646 | "type": "string" |
| 6647 | }, |
| 6648 | "status": { |
| 6649 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 6650 | "type": "integer" |
| 6651 | }, |
| 6652 | "detail": { |
| 6653 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 6654 | "type": "string" |
| 6655 | }, |
| 6656 | "instance": { |
| 6657 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 6658 | "type": "string", |
| 6659 | "format": "URI" |
| 6660 | } |
| 6661 | } |
| 6662 | } |
| 6663 | }, |
| 6664 | "500": { |
| 6665 | "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 6666 | "headers": { |
| 6667 | "Content-Type": { |
| 6668 | "description": "The MIME type of the body of the response.", |
| 6669 | "type": "string", |
| 6670 | "maximum": 1, |
| 6671 | "minimum": 1 |
| 6672 | } |
| 6673 | }, |
| 6674 | "schema": { |
| 6675 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 6676 | "type": "object", |
| 6677 | "required": ["status", "detail"], |
| 6678 | "properties": { |
| 6679 | "type": { |
| 6680 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 6681 | "type": "string", |
| 6682 | "format": "URI" |
| 6683 | }, |
| 6684 | "title": { |
| 6685 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 6686 | "type": "string" |
| 6687 | }, |
| 6688 | "status": { |
| 6689 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 6690 | "type": "integer" |
| 6691 | }, |
| 6692 | "detail": { |
| 6693 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 6694 | "type": "string" |
| 6695 | }, |
| 6696 | "instance": { |
| 6697 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 6698 | "type": "string", |
| 6699 | "format": "URI" |
| 6700 | } |
| 6701 | } |
| 6702 | } |
| 6703 | }, |
| 6704 | "503": { |
| 6705 | "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n", |
| 6706 | "headers": { |
| 6707 | "Content-Type": { |
| 6708 | "description": "The MIME type of the body of the response.", |
| 6709 | "type": "string", |
| 6710 | "maximum": 1, |
| 6711 | "minimum": 1 |
| 6712 | } |
| 6713 | }, |
| 6714 | "schema": { |
| 6715 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 6716 | "type": "object", |
| 6717 | "required": ["status", "detail"], |
| 6718 | "properties": { |
| 6719 | "type": { |
| 6720 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 6721 | "type": "string", |
| 6722 | "format": "URI" |
| 6723 | }, |
| 6724 | "title": { |
| 6725 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 6726 | "type": "string" |
| 6727 | }, |
| 6728 | "status": { |
| 6729 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 6730 | "type": "integer" |
| 6731 | }, |
| 6732 | "detail": { |
| 6733 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 6734 | "type": "string" |
| 6735 | }, |
| 6736 | "instance": { |
| 6737 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 6738 | "type": "string", |
| 6739 | "format": "URI" |
| 6740 | } |
| 6741 | } |
| 6742 | } |
| 6743 | } |
| 6744 | } |
| 6745 | }, |
| 6746 | "get": { |
| 6747 | "description": "Query Subscription Information\n\nThe GET method queries the list of active subscriptions of the functional block that invokes the method. It can be used e.g. for resynchronization after error situations.\n", |
| 6748 | "tags": ["Sol003VnfLcm"], |
| 6749 | "parameters": [{ |
| 6750 | "name": "Accept", |
| 6751 | "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n", |
| 6752 | "in": "header", |
| 6753 | "required": true, |
| 6754 | "type": "string" |
| 6755 | }, { |
| 6756 | "name": "Authorization", |
| 6757 | "description": "The authorization token for the request. Reference: IETF RFC 7235\n", |
| 6758 | "in": "header", |
| 6759 | "required": false, |
| 6760 | "type": "string" |
| 6761 | } |
| 6762 | ], |
| 6763 | "responses": { |
| 6764 | "200": { |
| 6765 | "description": "OK\nThe list of subscriptions was queried successfully. The response body shall contain the representations of all active subscriptions of the functional block that invokes the method.\n", |
| 6766 | "headers": { |
| 6767 | "Content-Type": { |
| 6768 | "description": "The MIME type of the body of the response.", |
| 6769 | "type": "string", |
| 6770 | "maximum": 1, |
| 6771 | "minimum": 1 |
| 6772 | }, |
| 6773 | "WWW-Authenticate": { |
| 6774 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 6775 | "type": "string", |
| 6776 | "maximum": 1, |
| 6777 | "minimum": 0 |
| 6778 | } |
| 6779 | }, |
| 6780 | "schema": { |
| 6781 | "description": "This type represents a subscription related to notifications about VNF lifecycle changes.\n", |
| 6782 | "type": "object", |
| 6783 | "required": ["id", "callbackUri", "_links"], |
| 6784 | "properties": { |
| 6785 | "id": { |
| 6786 | "description": "An identifier with the intention of being globally unique.\n", |
| 6787 | "type": "string" |
| 6788 | }, |
| 6789 | "filter": { |
| 6790 | "description": "This type represents a subscription filter related to notifications about VNF lifecycle changes. At a particular nesting level in the filter structure, the following applies: All attributes shall match in order for the filter to match (logical \"and\" between different filter attributes). If an attribute is an array, the attribute shall match if at least one of the values in the array matches (logical \"or\" between the values of one filter attribute).\n", |
| 6791 | "type": "object", |
| 6792 | "properties": { |
| 6793 | "vnfInstanceSubscriptionFilter": { |
| 6794 | "description": "This type represents subscription filter criteria to match VNF instances.\n", |
| 6795 | "type": "object", |
| 6796 | "properties": { |
| 6797 | "vnfdIds": { |
| 6798 | "description": "If present, match VNF instances that were created based on a VNFD identified by one of the vnfdId values listed in this attribute. The attributes \"vnfdIds\" and \"vnfProductsFromProviders\" are alternatives to reference to VNF instances that are based on certain VNFDs in a filter. They should not be used both in the same filter instance, but one alternative should be chosen.\n", |
| 6799 | "type": "array", |
| 6800 | "items": { |
| 6801 | "description": "An identifier with the intention of being globally unique.\n", |
| 6802 | "type": "string" |
| 6803 | } |
| 6804 | }, |
| 6805 | "vnfProductsFromProviders": { |
| 6806 | "description": "If present, match VNF instances that belong to VNF products from certain providers. The attributes \"vnfdIds\" and \"vnfProductsFromProviders\" are alternatives to reference to VNF instances that are based on certain VNFDs in a filter. They should not be used both in the same filter instance, but one alternative should be chosen.\n", |
| 6807 | "type": "array", |
| 6808 | "items": { |
| 6809 | "type": "object", |
| 6810 | "required": ["vnfProvider"], |
| 6811 | "properties": { |
| 6812 | "vnfProvider": { |
| 6813 | "description": "Name of the VNF provider to match.\n", |
| 6814 | "type": "string" |
| 6815 | }, |
| 6816 | "vnfProducts": { |
| 6817 | "description": "If present, match VNF instances that belong to VNF products with certain product names, from one particular provider.\n", |
| 6818 | "type": "array", |
| 6819 | "items": { |
| 6820 | "type": "object", |
| 6821 | "required": ["vnfProductName"], |
| 6822 | "properties": { |
| 6823 | "vnfProductName": { |
| 6824 | "description": "Name of the VNF product to match.\n", |
| 6825 | "type": "string" |
| 6826 | }, |
| 6827 | "versions": { |
| 6828 | "description": "If present, match VNF instances that belong to VNF products with certain versions and a certain product name, from one particular provider.\n", |
| 6829 | "type": "array", |
| 6830 | "items": { |
| 6831 | "type": "object", |
| 6832 | "required": ["vnfSoftwareVersion"], |
| 6833 | "properties": { |
| 6834 | "vnfSoftwareVersion": { |
| 6835 | "description": "A version.\n", |
| 6836 | "type": "string" |
| 6837 | }, |
| 6838 | "vnfdVersions": { |
| 6839 | "description": "If present, match VNF instances that belong to VNF products with certain VNFD versions, a certain software version and a certain product name, from one particular provider.\n", |
| 6840 | "type": "array", |
| 6841 | "items": { |
| 6842 | "description": "A version.\n", |
| 6843 | "type": "string" |
| 6844 | } |
| 6845 | } |
| 6846 | } |
| 6847 | } |
| 6848 | } |
| 6849 | } |
| 6850 | } |
| 6851 | } |
| 6852 | } |
| 6853 | } |
| 6854 | }, |
| 6855 | "vnfInstanceIds": { |
| 6856 | "description": "If present, match VNF instances with an instance identifier listed in this attribute. The attributes \"vnfInstanceIds\" and \"vnfInstanceNames\" are alternatives to reference to particular VNF Instances in a filter. They should not be used both in the same filter instance, but one alternative should be chosen.\n", |
| 6857 | "type": "array", |
| 6858 | "items": { |
| 6859 | "description": "An identifier with the intention of being globally unique.\n", |
| 6860 | "type": "string" |
| 6861 | } |
| 6862 | }, |
| 6863 | "vnfInstanceNames": { |
| 6864 | "description": "If present, match VNF instances with a VNF Instance Name listed in this attribute. The attributes \"vnfInstanceIds\" and \"vnfInstanceNames\" are alternatives to reference to particular VNF Instances in a filter. They should not be used both in the same filter instance, but one alternative should be chosen.\n", |
| 6865 | "type": "array", |
| 6866 | "items": { |
| 6867 | "type": "string" |
| 6868 | } |
| 6869 | } |
| 6870 | } |
| 6871 | }, |
| 6872 | "notificationTypes": { |
| 6873 | "description": "Match particular notification types. Permitted values: * VnfLcmOperationOccurrenceNotification * VnfIdentifierCreationNotification * VnfIdentifierDeletionNotification The permitted values of the \"notificationTypes\" attribute are spelled exactly as the names of the notification types to facilitate automated code generation systems.\n", |
| 6874 | "type": "array", |
| 6875 | "items": { |
| 6876 | "type": "string", |
| 6877 | "enum": ["VnfLcmOperationOccurrenceNotification", "VnfIdentifierCreationNotification", "VnfIdentifierDeletionNotification"] |
| 6878 | } |
| 6879 | }, |
| 6880 | "operationTypes": { |
| 6881 | "description": "Match particular VNF lifecycle operation types for the notification of type VnfLcmOperationOccurrenceNotification. May be present if the \"notificationTypes\" attribute contains the value \"VnfLcmOperationOccurrenceNotification\", and shall be absent otherwise.\n", |
| 6882 | "type": "array", |
| 6883 | "items": { |
| 6884 | "description": "Value | Description ------|------------ INSTANTIATE | Represents the \"Instantiate VNF\" LCM operation. SCALE | Represents the \"Scale VNF\" LCM operation. SCALE_TO_LEVEL | Represents the \"Scale VNF to Level\" LCM operation. CHANGE_FLAVOUR | Represents the \"Change VNF Flavour\" LCM operation. TERMINATE | Represents the \"Terminate VNF\" LCM operation. HEAL | Represents the \"Heal VNF\" LCM operation. OPERATE | Represents the \"Operate VNF\" LCM operation. CHANGE_EXT_CONN | Represents the \"Change external VNF connectivity\" LCM operation. MODIFY_INFO | Represents the \"Modify VNF Information\" LCM operation.\n", |
| 6885 | "type": "string", |
| 6886 | "enum": ["INSTANTIATE", "SCALE", "SCALE_TO_LEVEL", "CHANGE_FLAVOUR", "TERMINATE", "HEAL", "OPERATE", "CHANGE_EXT_CONN", "MODIFY_INFO"] |
| 6887 | } |
| 6888 | }, |
| 6889 | "operationStates": { |
| 6890 | "description": "Match particular LCM operation state values as reported in notifications of type VnfLcmOperationOccurrenceNotification. May be present if the \"notificationTypes\" attribute contains the value \"VnfLcmOperationOccurrenceNotification\", and shall be absent otherwise.\n", |
| 6891 | "type": "array", |
| 6892 | "items": { |
| 6893 | "description": "Value | Description ------|------------ STARTING | The LCM operation is starting. PROCESSING | The LCM operation is currently in execution. COMPLETED | he LCM operation has been completed successfully. FAILED_TEMP | The LCM operation has failed and execution has stopped, but the execution of the operation is not considered to be closed. FAILED | The LCM operation has failed and it cannot be retried or rolled back, as it is determined that such action won't succeed. ROLLING_BACK | The LCM operation is currently being rolled back. ROLLED_BACK | The LCM operation has been successfully rolled back, i.e. The state of the VNF prior to the original operation invocation has been restored as closely as possible.\n", |
| 6894 | "type": "string", |
| 6895 | "enum": ["STARTING", "PROCESSING", "COMPLETED", "FAILED_TEMP", "FAILED", "ROLLING_BACK", "ROLLED_BACK"] |
| 6896 | } |
| 6897 | } |
| 6898 | } |
| 6899 | }, |
| 6900 | "callbackUri": { |
| 6901 | "description": "String formatted according to IETF RFC 3986.\n", |
| 6902 | "type": "string" |
| 6903 | }, |
| 6904 | "_links": { |
| 6905 | "description": "Links to resources related to this resource.\n", |
| 6906 | "type": "object", |
| 6907 | "required": ["self"], |
| 6908 | "properties": { |
| 6909 | "self": { |
| 6910 | "description": "This type represents a link to a resource.\n", |
| 6911 | "type": "object", |
| 6912 | "required": ["href"], |
| 6913 | "properties": { |
| 6914 | "href": { |
| 6915 | "description": "URI of the referenced resource.\n", |
| 6916 | "type": "string", |
| 6917 | "format": "url" |
| 6918 | } |
| 6919 | } |
| 6920 | } |
| 6921 | } |
| 6922 | } |
| 6923 | } |
| 6924 | } |
| 6925 | }, |
| 6926 | "400": { |
| 6927 | "description": "Bad Request\nInvalid attribute-based filtering parameters. The response body shall contain a ProblemDetails structure, in which the \"detail\" attribute should convey more information about the error.\n", |
| 6928 | "headers": { |
| 6929 | "Content-Type": { |
| 6930 | "description": "The MIME type of the body of the response.", |
| 6931 | "type": "string", |
| 6932 | "maximum": 1, |
| 6933 | "minimum": 1 |
| 6934 | }, |
| 6935 | "WWW-Authenticate": { |
| 6936 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 6937 | "type": "string", |
| 6938 | "maximum": 1, |
| 6939 | "minimum": 0 |
| 6940 | } |
| 6941 | }, |
| 6942 | "schema": { |
| 6943 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 6944 | "type": "object", |
| 6945 | "required": ["status", "detail"], |
| 6946 | "properties": { |
| 6947 | "type": { |
| 6948 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 6949 | "type": "string", |
| 6950 | "format": "URI" |
| 6951 | }, |
| 6952 | "title": { |
| 6953 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 6954 | "type": "string" |
| 6955 | }, |
| 6956 | "status": { |
| 6957 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 6958 | "type": "integer" |
| 6959 | }, |
| 6960 | "detail": { |
| 6961 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 6962 | "type": "string" |
| 6963 | }, |
| 6964 | "instance": { |
| 6965 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 6966 | "type": "string", |
| 6967 | "format": "URI" |
| 6968 | } |
| 6969 | } |
| 6970 | } |
| 6971 | }, |
| 6972 | "401": { |
| 6973 | "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n", |
| 6974 | "headers": { |
| 6975 | "Content-Type": { |
| 6976 | "description": "The MIME type of the body of the response.", |
| 6977 | "type": "string", |
| 6978 | "maximum": 1, |
| 6979 | "minimum": 1 |
| 6980 | }, |
| 6981 | "WWW-Authenticate": { |
| 6982 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 6983 | "type": "string", |
| 6984 | "maximum": 1, |
| 6985 | "minimum": 0 |
| 6986 | } |
| 6987 | }, |
| 6988 | "schema": { |
| 6989 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 6990 | "type": "object", |
| 6991 | "required": ["status", "detail"], |
| 6992 | "properties": { |
| 6993 | "type": { |
| 6994 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 6995 | "type": "string", |
| 6996 | "format": "URI" |
| 6997 | }, |
| 6998 | "title": { |
| 6999 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7000 | "type": "string" |
| 7001 | }, |
| 7002 | "status": { |
| 7003 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7004 | "type": "integer" |
| 7005 | }, |
| 7006 | "detail": { |
| 7007 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7008 | "type": "string" |
| 7009 | }, |
| 7010 | "instance": { |
| 7011 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7012 | "type": "string", |
| 7013 | "format": "URI" |
| 7014 | } |
| 7015 | } |
| 7016 | } |
| 7017 | }, |
| 7018 | "403": { |
| 7019 | "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided. It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n", |
| 7020 | "headers": { |
| 7021 | "Content-Type": { |
| 7022 | "description": "The MIME type of the body of the response.", |
| 7023 | "type": "string", |
| 7024 | "maximum": 1, |
| 7025 | "minimum": 1 |
| 7026 | } |
| 7027 | }, |
| 7028 | "schema": { |
| 7029 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7030 | "type": "object", |
| 7031 | "required": ["status", "detail"], |
| 7032 | "properties": { |
| 7033 | "type": { |
| 7034 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7035 | "type": "string", |
| 7036 | "format": "URI" |
| 7037 | }, |
| 7038 | "title": { |
| 7039 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7040 | "type": "string" |
| 7041 | }, |
| 7042 | "status": { |
| 7043 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7044 | "type": "integer" |
| 7045 | }, |
| 7046 | "detail": { |
| 7047 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7048 | "type": "string" |
| 7049 | }, |
| 7050 | "instance": { |
| 7051 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7052 | "type": "string", |
| 7053 | "format": "URI" |
| 7054 | } |
| 7055 | } |
| 7056 | } |
| 7057 | }, |
| 7058 | "404": { |
| 7059 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. Specifically in case of this task resource, the reason can also be that the task is not supported for the VNF LCM operation occurrence represented by the parent resource, and that the task resource consequently does not exist. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the sourceof the problem, e.g. a wrong resource URI variable.\n", |
| 7060 | "headers": { |
| 7061 | "Content-Type": { |
| 7062 | "description": "The MIME type of the body of the response.", |
| 7063 | "type": "string", |
| 7064 | "maximum": 1, |
| 7065 | "minimum": 1 |
| 7066 | } |
| 7067 | }, |
| 7068 | "schema": { |
| 7069 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7070 | "type": "object", |
| 7071 | "required": ["status", "detail"], |
| 7072 | "properties": { |
| 7073 | "type": { |
| 7074 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7075 | "type": "string", |
| 7076 | "format": "URI" |
| 7077 | }, |
| 7078 | "title": { |
| 7079 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7080 | "type": "string" |
| 7081 | }, |
| 7082 | "status": { |
| 7083 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7084 | "type": "integer" |
| 7085 | }, |
| 7086 | "detail": { |
| 7087 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7088 | "type": "string" |
| 7089 | }, |
| 7090 | "instance": { |
| 7091 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7092 | "type": "string", |
| 7093 | "format": "URI" |
| 7094 | } |
| 7095 | } |
| 7096 | } |
| 7097 | }, |
| 7098 | "405": { |
| 7099 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n", |
| 7100 | "headers": { |
| 7101 | "Content-Type": { |
| 7102 | "description": "The MIME type of the body of the response.", |
| 7103 | "type": "string", |
| 7104 | "maximum": 1, |
| 7105 | "minimum": 1 |
| 7106 | } |
| 7107 | }, |
| 7108 | "schema": { |
| 7109 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7110 | "type": "object", |
| 7111 | "required": ["status", "detail"], |
| 7112 | "properties": { |
| 7113 | "type": { |
| 7114 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7115 | "type": "string", |
| 7116 | "format": "URI" |
| 7117 | }, |
| 7118 | "title": { |
| 7119 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7120 | "type": "string" |
| 7121 | }, |
| 7122 | "status": { |
| 7123 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7124 | "type": "integer" |
| 7125 | }, |
| 7126 | "detail": { |
| 7127 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7128 | "type": "string" |
| 7129 | }, |
| 7130 | "instance": { |
| 7131 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7132 | "type": "string", |
| 7133 | "format": "URI" |
| 7134 | } |
| 7135 | } |
| 7136 | } |
| 7137 | }, |
| 7138 | "406": { |
| 7139 | "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n", |
| 7140 | "headers": { |
| 7141 | "Content-Type": { |
| 7142 | "description": "The MIME type of the body of the response.", |
| 7143 | "type": "string", |
| 7144 | "maximum": 1, |
| 7145 | "minimum": 1 |
| 7146 | } |
| 7147 | }, |
| 7148 | "schema": { |
| 7149 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7150 | "type": "object", |
| 7151 | "required": ["status", "detail"], |
| 7152 | "properties": { |
| 7153 | "type": { |
| 7154 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7155 | "type": "string", |
| 7156 | "format": "URI" |
| 7157 | }, |
| 7158 | "title": { |
| 7159 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7160 | "type": "string" |
| 7161 | }, |
| 7162 | "status": { |
| 7163 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7164 | "type": "integer" |
| 7165 | }, |
| 7166 | "detail": { |
| 7167 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7168 | "type": "string" |
| 7169 | }, |
| 7170 | "instance": { |
| 7171 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7172 | "type": "string", |
| 7173 | "format": "URI" |
| 7174 | } |
| 7175 | } |
| 7176 | } |
| 7177 | }, |
| 7178 | "500": { |
| 7179 | "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 7180 | "headers": { |
| 7181 | "Content-Type": { |
| 7182 | "description": "The MIME type of the body of the response.", |
| 7183 | "type": "string", |
| 7184 | "maximum": 1, |
| 7185 | "minimum": 1 |
| 7186 | } |
| 7187 | }, |
| 7188 | "schema": { |
| 7189 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7190 | "type": "object", |
| 7191 | "required": ["status", "detail"], |
| 7192 | "properties": { |
| 7193 | "type": { |
| 7194 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7195 | "type": "string", |
| 7196 | "format": "URI" |
| 7197 | }, |
| 7198 | "title": { |
| 7199 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7200 | "type": "string" |
| 7201 | }, |
| 7202 | "status": { |
| 7203 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7204 | "type": "integer" |
| 7205 | }, |
| 7206 | "detail": { |
| 7207 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7208 | "type": "string" |
| 7209 | }, |
| 7210 | "instance": { |
| 7211 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7212 | "type": "string", |
| 7213 | "format": "URI" |
| 7214 | } |
| 7215 | } |
| 7216 | } |
| 7217 | }, |
| 7218 | "503": { |
| 7219 | "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n", |
| 7220 | "headers": { |
| 7221 | "Content-Type": { |
| 7222 | "description": "The MIME type of the body of the response.", |
| 7223 | "type": "string", |
| 7224 | "maximum": 1, |
| 7225 | "minimum": 1 |
| 7226 | } |
| 7227 | }, |
| 7228 | "schema": { |
| 7229 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7230 | "type": "object", |
| 7231 | "required": ["status", "detail"], |
| 7232 | "properties": { |
| 7233 | "type": { |
| 7234 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7235 | "type": "string", |
| 7236 | "format": "URI" |
| 7237 | }, |
| 7238 | "title": { |
| 7239 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7240 | "type": "string" |
| 7241 | }, |
| 7242 | "status": { |
| 7243 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7244 | "type": "integer" |
| 7245 | }, |
| 7246 | "detail": { |
| 7247 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7248 | "type": "string" |
| 7249 | }, |
| 7250 | "instance": { |
| 7251 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7252 | "type": "string", |
| 7253 | "format": "URI" |
| 7254 | } |
| 7255 | } |
| 7256 | } |
| 7257 | } |
| 7258 | } |
| 7259 | } |
| 7260 | }, |
| 7261 | "/subscriptions/{subscriptionId}": { |
| 7262 | "parameters": [{ |
| 7263 | "name": "subscriptionId", |
| 7264 | "description": "Identifier of this subscription. This identifier can be retrieved from the resource referenced by the \"Location\" HTTP header in the response to a POST request creating a new subscription resource. It can also be retrieved from the \"id\" attribute in the payload body of that response.\n", |
| 7265 | "in": "path", |
| 7266 | "type": "string", |
| 7267 | "required": true |
| 7268 | } |
| 7269 | ], |
| 7270 | "get": { |
| 7271 | "description": "Query Subscription Information\n\nThe GET method retrieves information about a subscription by reading an individual subscription resource.\n", |
| 7272 | "tags": ["Sol003VnfLcm"], |
| 7273 | "parameters": [{ |
| 7274 | "name": "Accept", |
| 7275 | "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n", |
| 7276 | "in": "header", |
| 7277 | "required": true, |
| 7278 | "type": "string" |
| 7279 | }, { |
| 7280 | "name": "Authorization", |
| 7281 | "description": "The authorization token for the request. Reference: IETF RFC 7235\n", |
| 7282 | "in": "header", |
| 7283 | "required": false, |
| 7284 | "type": "string" |
| 7285 | } |
| 7286 | ], |
| 7287 | "responses": { |
| 7288 | "200": { |
| 7289 | "description": "OK\nThe operation has completed successfully. The response body shall contain a representation of the subscription resource.\n", |
| 7290 | "headers": { |
| 7291 | "Content-Type": { |
| 7292 | "description": "The MIME type of the body of the response.", |
| 7293 | "type": "string", |
| 7294 | "maximum": 1, |
| 7295 | "minimum": 1 |
| 7296 | }, |
| 7297 | "WWW-Authenticate": { |
| 7298 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 7299 | "type": "string", |
| 7300 | "maximum": 1, |
| 7301 | "minimum": 0 |
| 7302 | } |
| 7303 | }, |
| 7304 | "schema": { |
| 7305 | "description": "This type represents a subscription related to notifications about VNF lifecycle changes.\n", |
| 7306 | "type": "object", |
| 7307 | "required": ["id", "callbackUri", "_links"], |
| 7308 | "properties": { |
| 7309 | "id": { |
| 7310 | "description": "An identifier with the intention of being globally unique.\n", |
| 7311 | "type": "string" |
| 7312 | }, |
| 7313 | "filter": { |
| 7314 | "description": "This type represents a subscription filter related to notifications about VNF lifecycle changes. At a particular nesting level in the filter structure, the following applies: All attributes shall match in order for the filter to match (logical \"and\" between different filter attributes). If an attribute is an array, the attribute shall match if at least one of the values in the array matches (logical \"or\" between the values of one filter attribute).\n", |
| 7315 | "type": "object", |
| 7316 | "properties": { |
| 7317 | "vnfInstanceSubscriptionFilter": { |
| 7318 | "description": "This type represents subscription filter criteria to match VNF instances.\n", |
| 7319 | "type": "object", |
| 7320 | "properties": { |
| 7321 | "vnfdIds": { |
| 7322 | "description": "If present, match VNF instances that were created based on a VNFD identified by one of the vnfdId values listed in this attribute. The attributes \"vnfdIds\" and \"vnfProductsFromProviders\" are alternatives to reference to VNF instances that are based on certain VNFDs in a filter. They should not be used both in the same filter instance, but one alternative should be chosen.\n", |
| 7323 | "type": "array", |
| 7324 | "items": { |
| 7325 | "description": "An identifier with the intention of being globally unique.\n", |
| 7326 | "type": "string" |
| 7327 | } |
| 7328 | }, |
| 7329 | "vnfProductsFromProviders": { |
| 7330 | "description": "If present, match VNF instances that belong to VNF products from certain providers. The attributes \"vnfdIds\" and \"vnfProductsFromProviders\" are alternatives to reference to VNF instances that are based on certain VNFDs in a filter. They should not be used both in the same filter instance, but one alternative should be chosen.\n", |
| 7331 | "type": "array", |
| 7332 | "items": { |
| 7333 | "type": "object", |
| 7334 | "required": ["vnfProvider"], |
| 7335 | "properties": { |
| 7336 | "vnfProvider": { |
| 7337 | "description": "Name of the VNF provider to match.\n", |
| 7338 | "type": "string" |
| 7339 | }, |
| 7340 | "vnfProducts": { |
| 7341 | "description": "If present, match VNF instances that belong to VNF products with certain product names, from one particular provider.\n", |
| 7342 | "type": "array", |
| 7343 | "items": { |
| 7344 | "type": "object", |
| 7345 | "required": ["vnfProductName"], |
| 7346 | "properties": { |
| 7347 | "vnfProductName": { |
| 7348 | "description": "Name of the VNF product to match.\n", |
| 7349 | "type": "string" |
| 7350 | }, |
| 7351 | "versions": { |
| 7352 | "description": "If present, match VNF instances that belong to VNF products with certain versions and a certain product name, from one particular provider.\n", |
| 7353 | "type": "array", |
| 7354 | "items": { |
| 7355 | "type": "object", |
| 7356 | "required": ["vnfSoftwareVersion"], |
| 7357 | "properties": { |
| 7358 | "vnfSoftwareVersion": { |
| 7359 | "description": "A version.\n", |
| 7360 | "type": "string" |
| 7361 | }, |
| 7362 | "vnfdVersions": { |
| 7363 | "description": "If present, match VNF instances that belong to VNF products with certain VNFD versions, a certain software version and a certain product name, from one particular provider.\n", |
| 7364 | "type": "array", |
| 7365 | "items": { |
| 7366 | "description": "A version.\n", |
| 7367 | "type": "string" |
| 7368 | } |
| 7369 | } |
| 7370 | } |
| 7371 | } |
| 7372 | } |
| 7373 | } |
| 7374 | } |
| 7375 | } |
| 7376 | } |
| 7377 | } |
| 7378 | }, |
| 7379 | "vnfInstanceIds": { |
| 7380 | "description": "If present, match VNF instances with an instance identifier listed in this attribute. The attributes \"vnfInstanceIds\" and \"vnfInstanceNames\" are alternatives to reference to particular VNF Instances in a filter. They should not be used both in the same filter instance, but one alternative should be chosen.\n", |
| 7381 | "type": "array", |
| 7382 | "items": { |
| 7383 | "description": "An identifier with the intention of being globally unique.\n", |
| 7384 | "type": "string" |
| 7385 | } |
| 7386 | }, |
| 7387 | "vnfInstanceNames": { |
| 7388 | "description": "If present, match VNF instances with a VNF Instance Name listed in this attribute. The attributes \"vnfInstanceIds\" and \"vnfInstanceNames\" are alternatives to reference to particular VNF Instances in a filter. They should not be used both in the same filter instance, but one alternative should be chosen.\n", |
| 7389 | "type": "array", |
| 7390 | "items": { |
| 7391 | "type": "string" |
| 7392 | } |
| 7393 | } |
| 7394 | } |
| 7395 | }, |
| 7396 | "notificationTypes": { |
| 7397 | "description": "Match particular notification types. Permitted values: * VnfLcmOperationOccurrenceNotification * VnfIdentifierCreationNotification * VnfIdentifierDeletionNotification The permitted values of the \"notificationTypes\" attribute are spelled exactly as the names of the notification types to facilitate automated code generation systems.\n", |
| 7398 | "type": "array", |
| 7399 | "items": { |
| 7400 | "type": "string", |
| 7401 | "enum": ["VnfLcmOperationOccurrenceNotification", "VnfIdentifierCreationNotification", "VnfIdentifierDeletionNotification"] |
| 7402 | } |
| 7403 | }, |
| 7404 | "operationTypes": { |
| 7405 | "description": "Match particular VNF lifecycle operation types for the notification of type VnfLcmOperationOccurrenceNotification. May be present if the \"notificationTypes\" attribute contains the value \"VnfLcmOperationOccurrenceNotification\", and shall be absent otherwise.\n", |
| 7406 | "type": "array", |
| 7407 | "items": { |
| 7408 | "description": "Value | Description ------|------------ INSTANTIATE | Represents the \"Instantiate VNF\" LCM operation. SCALE | Represents the \"Scale VNF\" LCM operation. SCALE_TO_LEVEL | Represents the \"Scale VNF to Level\" LCM operation. CHANGE_FLAVOUR | Represents the \"Change VNF Flavour\" LCM operation. TERMINATE | Represents the \"Terminate VNF\" LCM operation. HEAL | Represents the \"Heal VNF\" LCM operation. OPERATE | Represents the \"Operate VNF\" LCM operation. CHANGE_EXT_CONN | Represents the \"Change external VNF connectivity\" LCM operation. MODIFY_INFO | Represents the \"Modify VNF Information\" LCM operation.\n", |
| 7409 | "type": "string", |
| 7410 | "enum": ["INSTANTIATE", "SCALE", "SCALE_TO_LEVEL", "CHANGE_FLAVOUR", "TERMINATE", "HEAL", "OPERATE", "CHANGE_EXT_CONN", "MODIFY_INFO"] |
| 7411 | } |
| 7412 | }, |
| 7413 | "operationStates": { |
| 7414 | "description": "Match particular LCM operation state values as reported in notifications of type VnfLcmOperationOccurrenceNotification. May be present if the \"notificationTypes\" attribute contains the value \"VnfLcmOperationOccurrenceNotification\", and shall be absent otherwise.\n", |
| 7415 | "type": "array", |
| 7416 | "items": { |
| 7417 | "description": "Value | Description ------|------------ STARTING | The LCM operation is starting. PROCESSING | The LCM operation is currently in execution. COMPLETED | he LCM operation has been completed successfully. FAILED_TEMP | The LCM operation has failed and execution has stopped, but the execution of the operation is not considered to be closed. FAILED | The LCM operation has failed and it cannot be retried or rolled back, as it is determined that such action won't succeed. ROLLING_BACK | The LCM operation is currently being rolled back. ROLLED_BACK | The LCM operation has been successfully rolled back, i.e. The state of the VNF prior to the original operation invocation has been restored as closely as possible.\n", |
| 7418 | "type": "string", |
| 7419 | "enum": ["STARTING", "PROCESSING", "COMPLETED", "FAILED_TEMP", "FAILED", "ROLLING_BACK", "ROLLED_BACK"] |
| 7420 | } |
| 7421 | } |
| 7422 | } |
| 7423 | }, |
| 7424 | "callbackUri": { |
| 7425 | "description": "String formatted according to IETF RFC 3986.\n", |
| 7426 | "type": "string" |
| 7427 | }, |
| 7428 | "_links": { |
| 7429 | "description": "Links to resources related to this resource.\n", |
| 7430 | "type": "object", |
| 7431 | "required": ["self"], |
| 7432 | "properties": { |
| 7433 | "self": { |
| 7434 | "description": "This type represents a link to a resource.\n", |
| 7435 | "type": "object", |
| 7436 | "required": ["href"], |
| 7437 | "properties": { |
| 7438 | "href": { |
| 7439 | "description": "URI of the referenced resource.\n", |
| 7440 | "type": "string", |
| 7441 | "format": "url" |
| 7442 | } |
| 7443 | } |
| 7444 | } |
| 7445 | } |
| 7446 | } |
| 7447 | } |
| 7448 | } |
| 7449 | }, |
| 7450 | "400": { |
| 7451 | "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 7452 | "headers": { |
| 7453 | "Content-Type": { |
| 7454 | "description": "The MIME type of the body of the response.", |
| 7455 | "type": "string", |
| 7456 | "maximum": 1, |
| 7457 | "minimum": 1 |
| 7458 | }, |
| 7459 | "WWW-Authenticate": { |
| 7460 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 7461 | "type": "string", |
| 7462 | "maximum": 1, |
| 7463 | "minimum": 0 |
| 7464 | } |
| 7465 | }, |
| 7466 | "schema": { |
| 7467 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7468 | "type": "object", |
| 7469 | "required": ["status", "detail"], |
| 7470 | "properties": { |
| 7471 | "type": { |
| 7472 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7473 | "type": "string", |
| 7474 | "format": "URI" |
| 7475 | }, |
| 7476 | "title": { |
| 7477 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7478 | "type": "string" |
| 7479 | }, |
| 7480 | "status": { |
| 7481 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7482 | "type": "integer" |
| 7483 | }, |
| 7484 | "detail": { |
| 7485 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7486 | "type": "string" |
| 7487 | }, |
| 7488 | "instance": { |
| 7489 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7490 | "type": "string", |
| 7491 | "format": "URI" |
| 7492 | } |
| 7493 | } |
| 7494 | } |
| 7495 | }, |
| 7496 | "401": { |
| 7497 | "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n", |
| 7498 | "headers": { |
| 7499 | "Content-Type": { |
| 7500 | "description": "The MIME type of the body of the response.", |
| 7501 | "type": "string", |
| 7502 | "maximum": 1, |
| 7503 | "minimum": 1 |
| 7504 | }, |
| 7505 | "WWW-Authenticate": { |
| 7506 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 7507 | "type": "string", |
| 7508 | "maximum": 1, |
| 7509 | "minimum": 0 |
| 7510 | } |
| 7511 | }, |
| 7512 | "schema": { |
| 7513 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7514 | "type": "object", |
| 7515 | "required": ["status", "detail"], |
| 7516 | "properties": { |
| 7517 | "type": { |
| 7518 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7519 | "type": "string", |
| 7520 | "format": "URI" |
| 7521 | }, |
| 7522 | "title": { |
| 7523 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7524 | "type": "string" |
| 7525 | }, |
| 7526 | "status": { |
| 7527 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7528 | "type": "integer" |
| 7529 | }, |
| 7530 | "detail": { |
| 7531 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7532 | "type": "string" |
| 7533 | }, |
| 7534 | "instance": { |
| 7535 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7536 | "type": "string", |
| 7537 | "format": "URI" |
| 7538 | } |
| 7539 | } |
| 7540 | } |
| 7541 | }, |
| 7542 | "403": { |
| 7543 | "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided. It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n", |
| 7544 | "headers": { |
| 7545 | "Content-Type": { |
| 7546 | "description": "The MIME type of the body of the response.", |
| 7547 | "type": "string", |
| 7548 | "maximum": 1, |
| 7549 | "minimum": 1 |
| 7550 | } |
| 7551 | }, |
| 7552 | "schema": { |
| 7553 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7554 | "type": "object", |
| 7555 | "required": ["status", "detail"], |
| 7556 | "properties": { |
| 7557 | "type": { |
| 7558 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7559 | "type": "string", |
| 7560 | "format": "URI" |
| 7561 | }, |
| 7562 | "title": { |
| 7563 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7564 | "type": "string" |
| 7565 | }, |
| 7566 | "status": { |
| 7567 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7568 | "type": "integer" |
| 7569 | }, |
| 7570 | "detail": { |
| 7571 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7572 | "type": "string" |
| 7573 | }, |
| 7574 | "instance": { |
| 7575 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7576 | "type": "string", |
| 7577 | "format": "URI" |
| 7578 | } |
| 7579 | } |
| 7580 | } |
| 7581 | }, |
| 7582 | "404": { |
| 7583 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. Specifically in case of this task resource, the reason can also be that the task is not supported for the VNF LCM operation occurrence represented by the parent resource, and that the task resource consequently does not exist. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the sourceof the problem, e.g. a wrong resource URI variable.\n", |
| 7584 | "headers": { |
| 7585 | "Content-Type": { |
| 7586 | "description": "The MIME type of the body of the response.", |
| 7587 | "type": "string", |
| 7588 | "maximum": 1, |
| 7589 | "minimum": 1 |
| 7590 | } |
| 7591 | }, |
| 7592 | "schema": { |
| 7593 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7594 | "type": "object", |
| 7595 | "required": ["status", "detail"], |
| 7596 | "properties": { |
| 7597 | "type": { |
| 7598 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7599 | "type": "string", |
| 7600 | "format": "URI" |
| 7601 | }, |
| 7602 | "title": { |
| 7603 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7604 | "type": "string" |
| 7605 | }, |
| 7606 | "status": { |
| 7607 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7608 | "type": "integer" |
| 7609 | }, |
| 7610 | "detail": { |
| 7611 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7612 | "type": "string" |
| 7613 | }, |
| 7614 | "instance": { |
| 7615 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7616 | "type": "string", |
| 7617 | "format": "URI" |
| 7618 | } |
| 7619 | } |
| 7620 | } |
| 7621 | }, |
| 7622 | "405": { |
| 7623 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n", |
| 7624 | "headers": { |
| 7625 | "Content-Type": { |
| 7626 | "description": "The MIME type of the body of the response.", |
| 7627 | "type": "string", |
| 7628 | "maximum": 1, |
| 7629 | "minimum": 1 |
| 7630 | } |
| 7631 | }, |
| 7632 | "schema": { |
| 7633 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7634 | "type": "object", |
| 7635 | "required": ["status", "detail"], |
| 7636 | "properties": { |
| 7637 | "type": { |
| 7638 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7639 | "type": "string", |
| 7640 | "format": "URI" |
| 7641 | }, |
| 7642 | "title": { |
| 7643 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7644 | "type": "string" |
| 7645 | }, |
| 7646 | "status": { |
| 7647 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7648 | "type": "integer" |
| 7649 | }, |
| 7650 | "detail": { |
| 7651 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7652 | "type": "string" |
| 7653 | }, |
| 7654 | "instance": { |
| 7655 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7656 | "type": "string", |
| 7657 | "format": "URI" |
| 7658 | } |
| 7659 | } |
| 7660 | } |
| 7661 | }, |
| 7662 | "406": { |
| 7663 | "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n", |
| 7664 | "headers": { |
| 7665 | "Content-Type": { |
| 7666 | "description": "The MIME type of the body of the response.", |
| 7667 | "type": "string", |
| 7668 | "maximum": 1, |
| 7669 | "minimum": 1 |
| 7670 | } |
| 7671 | }, |
| 7672 | "schema": { |
| 7673 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7674 | "type": "object", |
| 7675 | "required": ["status", "detail"], |
| 7676 | "properties": { |
| 7677 | "type": { |
| 7678 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7679 | "type": "string", |
| 7680 | "format": "URI" |
| 7681 | }, |
| 7682 | "title": { |
| 7683 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7684 | "type": "string" |
| 7685 | }, |
| 7686 | "status": { |
| 7687 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7688 | "type": "integer" |
| 7689 | }, |
| 7690 | "detail": { |
| 7691 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7692 | "type": "string" |
| 7693 | }, |
| 7694 | "instance": { |
| 7695 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7696 | "type": "string", |
| 7697 | "format": "URI" |
| 7698 | } |
| 7699 | } |
| 7700 | } |
| 7701 | }, |
| 7702 | "500": { |
| 7703 | "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 7704 | "headers": { |
| 7705 | "Content-Type": { |
| 7706 | "description": "The MIME type of the body of the response.", |
| 7707 | "type": "string", |
| 7708 | "maximum": 1, |
| 7709 | "minimum": 1 |
| 7710 | } |
| 7711 | }, |
| 7712 | "schema": { |
| 7713 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7714 | "type": "object", |
| 7715 | "required": ["status", "detail"], |
| 7716 | "properties": { |
| 7717 | "type": { |
| 7718 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7719 | "type": "string", |
| 7720 | "format": "URI" |
| 7721 | }, |
| 7722 | "title": { |
| 7723 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7724 | "type": "string" |
| 7725 | }, |
| 7726 | "status": { |
| 7727 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7728 | "type": "integer" |
| 7729 | }, |
| 7730 | "detail": { |
| 7731 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7732 | "type": "string" |
| 7733 | }, |
| 7734 | "instance": { |
| 7735 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7736 | "type": "string", |
| 7737 | "format": "URI" |
| 7738 | } |
| 7739 | } |
| 7740 | } |
| 7741 | }, |
| 7742 | "503": { |
| 7743 | "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n", |
| 7744 | "headers": { |
| 7745 | "Content-Type": { |
| 7746 | "description": "The MIME type of the body of the response.", |
| 7747 | "type": "string", |
| 7748 | "maximum": 1, |
| 7749 | "minimum": 1 |
| 7750 | } |
| 7751 | }, |
| 7752 | "schema": { |
| 7753 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7754 | "type": "object", |
| 7755 | "required": ["status", "detail"], |
| 7756 | "properties": { |
| 7757 | "type": { |
| 7758 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7759 | "type": "string", |
| 7760 | "format": "URI" |
| 7761 | }, |
| 7762 | "title": { |
| 7763 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7764 | "type": "string" |
| 7765 | }, |
| 7766 | "status": { |
| 7767 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7768 | "type": "integer" |
| 7769 | }, |
| 7770 | "detail": { |
| 7771 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7772 | "type": "string" |
| 7773 | }, |
| 7774 | "instance": { |
| 7775 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7776 | "type": "string", |
| 7777 | "format": "URI" |
| 7778 | } |
| 7779 | } |
| 7780 | } |
| 7781 | } |
| 7782 | } |
| 7783 | }, |
| 7784 | "delete": { |
| 7785 | "description": "Terminate Subscription\n\nThe DELETE method terminates an individual subscription.\n", |
| 7786 | "tags": ["Sol003VnfLcm"], |
| 7787 | "parameters": [{ |
| 7788 | "name": "Authorization", |
| 7789 | "description": "The authorization token for the request. Reference: IETF RFC 7235\n", |
| 7790 | "in": "header", |
| 7791 | "required": false, |
| 7792 | "type": "string" |
| 7793 | } |
| 7794 | ], |
| 7795 | "responses": { |
| 7796 | "204": { |
| 7797 | "description": "No Content\nThe subscription resource was deleted successfully. The response body shall be empty.\n", |
| 7798 | "headers": { |
| 7799 | "WWW-Authenticate": { |
| 7800 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 7801 | "type": "string", |
| 7802 | "maximum": 1, |
| 7803 | "minimum": 0 |
| 7804 | } |
| 7805 | } |
| 7806 | }, |
| 7807 | "400": { |
| 7808 | "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 7809 | "headers": { |
| 7810 | "Content-Type": { |
| 7811 | "description": "The MIME type of the body of the response.", |
| 7812 | "type": "string", |
| 7813 | "maximum": 1, |
| 7814 | "minimum": 1 |
| 7815 | }, |
| 7816 | "WWW-Authenticate": { |
| 7817 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 7818 | "type": "string", |
| 7819 | "maximum": 1, |
| 7820 | "minimum": 0 |
| 7821 | } |
| 7822 | }, |
| 7823 | "schema": { |
| 7824 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7825 | "type": "object", |
| 7826 | "required": ["status", "detail"], |
| 7827 | "properties": { |
| 7828 | "type": { |
| 7829 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7830 | "type": "string", |
| 7831 | "format": "URI" |
| 7832 | }, |
| 7833 | "title": { |
| 7834 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7835 | "type": "string" |
| 7836 | }, |
| 7837 | "status": { |
| 7838 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7839 | "type": "integer" |
| 7840 | }, |
| 7841 | "detail": { |
| 7842 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7843 | "type": "string" |
| 7844 | }, |
| 7845 | "instance": { |
| 7846 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7847 | "type": "string", |
| 7848 | "format": "URI" |
| 7849 | } |
| 7850 | } |
| 7851 | } |
| 7852 | }, |
| 7853 | "401": { |
| 7854 | "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n", |
| 7855 | "headers": { |
| 7856 | "Content-Type": { |
| 7857 | "description": "The MIME type of the body of the response.", |
| 7858 | "type": "string", |
| 7859 | "maximum": 1, |
| 7860 | "minimum": 1 |
| 7861 | }, |
| 7862 | "WWW-Authenticate": { |
| 7863 | "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n", |
| 7864 | "type": "string", |
| 7865 | "maximum": 1, |
| 7866 | "minimum": 0 |
| 7867 | } |
| 7868 | }, |
| 7869 | "schema": { |
| 7870 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7871 | "type": "object", |
| 7872 | "required": ["status", "detail"], |
| 7873 | "properties": { |
| 7874 | "type": { |
| 7875 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7876 | "type": "string", |
| 7877 | "format": "URI" |
| 7878 | }, |
| 7879 | "title": { |
| 7880 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7881 | "type": "string" |
| 7882 | }, |
| 7883 | "status": { |
| 7884 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7885 | "type": "integer" |
| 7886 | }, |
| 7887 | "detail": { |
| 7888 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7889 | "type": "string" |
| 7890 | }, |
| 7891 | "instance": { |
| 7892 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7893 | "type": "string", |
| 7894 | "format": "URI" |
| 7895 | } |
| 7896 | } |
| 7897 | } |
| 7898 | }, |
| 7899 | "403": { |
| 7900 | "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided. It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n", |
| 7901 | "headers": { |
| 7902 | "Content-Type": { |
| 7903 | "description": "The MIME type of the body of the response.", |
| 7904 | "type": "string", |
| 7905 | "maximum": 1, |
| 7906 | "minimum": 1 |
| 7907 | } |
| 7908 | }, |
| 7909 | "schema": { |
| 7910 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7911 | "type": "object", |
| 7912 | "required": ["status", "detail"], |
| 7913 | "properties": { |
| 7914 | "type": { |
| 7915 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7916 | "type": "string", |
| 7917 | "format": "URI" |
| 7918 | }, |
| 7919 | "title": { |
| 7920 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7921 | "type": "string" |
| 7922 | }, |
| 7923 | "status": { |
| 7924 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7925 | "type": "integer" |
| 7926 | }, |
| 7927 | "detail": { |
| 7928 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7929 | "type": "string" |
| 7930 | }, |
| 7931 | "instance": { |
| 7932 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7933 | "type": "string", |
| 7934 | "format": "URI" |
| 7935 | } |
| 7936 | } |
| 7937 | } |
| 7938 | }, |
| 7939 | "404": { |
| 7940 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. Specifically in case of this task resource, the reason can also be that the task is not supported for the VNF LCM operation occurrence represented by the parent resource, and that the task resource consequently does not exist. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the sourceof the problem, e.g. a wrong resource URI variable.\n", |
| 7941 | "headers": { |
| 7942 | "Content-Type": { |
| 7943 | "description": "The MIME type of the body of the response.", |
| 7944 | "type": "string", |
| 7945 | "maximum": 1, |
| 7946 | "minimum": 1 |
| 7947 | } |
| 7948 | }, |
| 7949 | "schema": { |
| 7950 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7951 | "type": "object", |
| 7952 | "required": ["status", "detail"], |
| 7953 | "properties": { |
| 7954 | "type": { |
| 7955 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7956 | "type": "string", |
| 7957 | "format": "URI" |
| 7958 | }, |
| 7959 | "title": { |
| 7960 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 7961 | "type": "string" |
| 7962 | }, |
| 7963 | "status": { |
| 7964 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 7965 | "type": "integer" |
| 7966 | }, |
| 7967 | "detail": { |
| 7968 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 7969 | "type": "string" |
| 7970 | }, |
| 7971 | "instance": { |
| 7972 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 7973 | "type": "string", |
| 7974 | "format": "URI" |
| 7975 | } |
| 7976 | } |
| 7977 | } |
| 7978 | }, |
| 7979 | "405": { |
| 7980 | "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n", |
| 7981 | "headers": { |
| 7982 | "Content-Type": { |
| 7983 | "description": "The MIME type of the body of the response.", |
| 7984 | "type": "string", |
| 7985 | "maximum": 1, |
| 7986 | "minimum": 1 |
| 7987 | } |
| 7988 | }, |
| 7989 | "schema": { |
| 7990 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 7991 | "type": "object", |
| 7992 | "required": ["status", "detail"], |
| 7993 | "properties": { |
| 7994 | "type": { |
| 7995 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 7996 | "type": "string", |
| 7997 | "format": "URI" |
| 7998 | }, |
| 7999 | "title": { |
| 8000 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 8001 | "type": "string" |
| 8002 | }, |
| 8003 | "status": { |
| 8004 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 8005 | "type": "integer" |
| 8006 | }, |
| 8007 | "detail": { |
| 8008 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 8009 | "type": "string" |
| 8010 | }, |
| 8011 | "instance": { |
| 8012 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 8013 | "type": "string", |
| 8014 | "format": "URI" |
| 8015 | } |
| 8016 | } |
| 8017 | } |
| 8018 | }, |
| 8019 | "406": { |
| 8020 | "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n", |
| 8021 | "headers": { |
| 8022 | "Content-Type": { |
| 8023 | "description": "The MIME type of the body of the response.", |
| 8024 | "type": "string", |
| 8025 | "maximum": 1, |
| 8026 | "minimum": 1 |
| 8027 | } |
| 8028 | }, |
| 8029 | "schema": { |
| 8030 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 8031 | "type": "object", |
| 8032 | "required": ["status", "detail"], |
| 8033 | "properties": { |
| 8034 | "type": { |
| 8035 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 8036 | "type": "string", |
| 8037 | "format": "URI" |
| 8038 | }, |
| 8039 | "title": { |
| 8040 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 8041 | "type": "string" |
| 8042 | }, |
| 8043 | "status": { |
| 8044 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 8045 | "type": "integer" |
| 8046 | }, |
| 8047 | "detail": { |
| 8048 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 8049 | "type": "string" |
| 8050 | }, |
| 8051 | "instance": { |
| 8052 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 8053 | "type": "string", |
| 8054 | "format": "URI" |
| 8055 | } |
| 8056 | } |
| 8057 | } |
| 8058 | }, |
| 8059 | "500": { |
| 8060 | "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n", |
| 8061 | "headers": { |
| 8062 | "Content-Type": { |
| 8063 | "description": "The MIME type of the body of the response.", |
| 8064 | "type": "string", |
| 8065 | "maximum": 1, |
| 8066 | "minimum": 1 |
| 8067 | } |
| 8068 | }, |
| 8069 | "schema": { |
| 8070 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 8071 | "type": "object", |
| 8072 | "required": ["status", "detail"], |
| 8073 | "properties": { |
| 8074 | "type": { |
| 8075 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 8076 | "type": "string", |
| 8077 | "format": "URI" |
| 8078 | }, |
| 8079 | "title": { |
| 8080 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 8081 | "type": "string" |
| 8082 | }, |
| 8083 | "status": { |
| 8084 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 8085 | "type": "integer" |
| 8086 | }, |
| 8087 | "detail": { |
| 8088 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 8089 | "type": "string" |
| 8090 | }, |
| 8091 | "instance": { |
| 8092 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 8093 | "type": "string", |
| 8094 | "format": "URI" |
| 8095 | } |
| 8096 | } |
| 8097 | } |
| 8098 | }, |
| 8099 | "503": { |
| 8100 | "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n", |
| 8101 | "headers": { |
| 8102 | "Content-Type": { |
| 8103 | "description": "The MIME type of the body of the response.", |
| 8104 | "type": "string", |
| 8105 | "maximum": 1, |
| 8106 | "minimum": 1 |
| 8107 | } |
| 8108 | }, |
| 8109 | "schema": { |
| 8110 | "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", |
| 8111 | "type": "object", |
| 8112 | "required": ["status", "detail"], |
| 8113 | "properties": { |
| 8114 | "type": { |
| 8115 | "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", |
| 8116 | "type": "string", |
| 8117 | "format": "URI" |
| 8118 | }, |
| 8119 | "title": { |
| 8120 | "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", |
| 8121 | "type": "string" |
| 8122 | }, |
| 8123 | "status": { |
| 8124 | "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", |
| 8125 | "type": "integer" |
| 8126 | }, |
| 8127 | "detail": { |
| 8128 | "description": "A human-readable explanation specific to this occurrence of the problem.\n", |
| 8129 | "type": "string" |
| 8130 | }, |
| 8131 | "instance": { |
| 8132 | "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", |
| 8133 | "type": "string", |
| 8134 | "format": "URI" |
| 8135 | } |
| 8136 | } |
| 8137 | } |
| 8138 | } |
| 8139 | } |
| 8140 | } |
| 8141 | } |
| 8142 | } |
| 8143 | } |