Newer
Older
Michele Carignani
committed
{
"info": {
"_postman_id": "dedee513-6f65-4be2-9d41-0edf1cd571d9",
Michele Carignani
committed
"name": "SOL003 - VNF Lifecycle Management interface 2.4.1",
"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",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "vnf_instances",
"description": "Folder for vnf_instances",
"item": [
{
Michele Carignani
committed
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
"event": [
{
"listen": "test",
"script": {
"id": "aeb2eea3-dc73-49d5-be84-8d7ea097d873",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"auth": {
"type": "noauth"
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"disabled": true
},
{
"key": "Content-Type",
"value": "application/json",
"disabled": true
},
{
"key": "Accept",
"value": "{{Accept}}"
},
{
"key": "Authorization",
"value": "{{Authorization}}"
}
],
"body": {},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances",
"protocol": "{{scheme}}",
"host": [
"{{host}}{{port}}"
],
"path": [
"{{uri_prefix}}vnflcm",
"v1",
"vnf_instances"
]
},
"description": "The GET method queries information about multiple VNF instances.\n"
},
"response": []
},
{
"name": "Create VNF instance resource",
Michele Carignani
committed
"event": [
{
"listen": "test",
"script": {
"id": "4c4d5d41-f865-42cf-8cfe-c881fba86bff",
Michele Carignani
committed
"type": "text/javascript",
"exec": [
"pm.test(\"Status code is 201\", function () {",
" pm.response.to.have.status(201);",
"});",
"",
"var res_schema = '{\\ \"description\": \"This type represents a VNF instance.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"id\",\\ \"vnfdId\",\\ \"vnfProvider\",\\ \"vnfProductName\",\\ \"vnfSoftwareVersion\",\\ \"vnfdVersion\",\\ \"vnfPkgId\",\\ \"instantiationState\"\\ ],\\ \"properties\": {\\ \"id\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"vnfInstanceName\": {\\ \"description\": \"Name of the VNF instance. This attribute can be modified with the PATCH method.\\n\",\\ \"type\": \"string\"\\ },\\ \"vnfInstanceDescription\": {\\ \"description\": \"Human-readable description of the VNF instance. This attribute can be modified with the PATCH method.\\n\",\\ \"type\": \"string\"\\ },\\ \"vnfdId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"vnfProvider\": {\\ \"description\": \"Provider of the VNF and the VNFD. The value is copied from the VNFD.\\n\",\\ \"type\": \"string\"\\ },\\ \"vnfProductName\": {\\ \"description\": \"Name to identify the VNF Product. The value is copied from the VNFD.\\n\",\\ \"type\": \"string\"\\ },\\ \"vnfSoftwareVersion\": {\\ \"description\": \"A Version.\\n\",\\ \"type\": \"string\"\\ },\\ \"vnfdVersion\": {\\ \"description\": \"A Version.\\n\",\\ \"type\": \"string\"\\ },\\ \"vnfPkgId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"vnfConfigurableProperties\": {\\ \"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\",\\ \"type\": \"object\"\\ },\\ \"vimConnectionInfo\": {\\ \"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\",\\ \"type\": \"array\",\\ \"items\": {\\ \"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\",\\ \"type\": \"object\",\\ \"required\": [\\ \"id\",\\ \"vimType\"\\ ],\\ \"properties\": {\\ \"id\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"vimId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"vimType\": {\\ \"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\",\\ \"type\": \"string\"\\ },\\ \"interfaceInfo\": {\\ \"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\",\\ \"type\": \"object\"\\ },\\ \"accessInfo\": {\\ \"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\",\\ \"type\": \"object\"\\ },\\ \"extra\": {\\ \"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\",\\ \"type\": \"object\"\\ }\\ }\\ }\\ },\\ \"instantiationState\": {\\ \"description\": \"The instantiation state of the VNF.\\n\",\\ \"type\": \"string\",\\ \"enum\": [\\ \"NOT_INSTANTIATED\",\\ \"INSTANTIATED\"\\ ]\\ },\\ \"instantiatedVnfInfo\": {\\ \"description\": \"Information specific to an instantiated VNF instance. This attribute shall be present if the instantiateState attribute value is INSTANTIATED.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"flavourId\",\\ \"vnfState\"\\ ],\\ \"properties\": {\\ \"flavourId\": {\\ \"description\": \"An identifier that is unique within a VNF descriptor.\\n\",\\ \"type\": \"string\"\\ },\\ \"vnfState\": {\\ \"type\": \"string\",\\ \"enum\": [\\ \"STARTED\",\\ \"STOPPED\"\\ ]\\ },\\ \"scaleStatus\": {\\ \"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\",\\ \"type\": \"array\",\\ \"items\": {\\ \"required\": [\\ \"aspectId\",\\ \"scaleLevel\"\\ ],\\ \"type\": \"object\",\\ \"properties\": {\\ \"aspectId\": {\\ \"description\": \"An identifier that is unique within a VNF descriptor.\\n\",\\ \"type\": \"string\"\\ },\\ \"scaleLevel\": {\\ \"description\": \"Indicates the scale level. The minimum value shall be 0 and the maximum value shall be <= maxScaleLevel as described in the VNFD.\\n\",\\ \"type\": \"integer\"\\ }\\ }\\ }\\ },\\ \"extCpInfo\": {\\ \"description\": \"Information about the external CPs exposed by the VNF instance.\\n\",\\ \"type\": \"array\",\\ \"minItems\": 1,\\ \"items\": {\\ \"type\": \"object\",\\ \"required\": [\\ \"id\",\\ \"cpdId\"\\ ],\\ \"properties\": {\\ \"id\": {\\ \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"cpdId\": {\\ \"description\": \"An identifier that is unique within a VNF descriptor.\\n\",\\ \"type\": \"string\"\\ },\\ \"cpProtocolInfo\": {\\ \"description\": \"Network protocol information for this CP.\\n\",\\ \"type\": \"array\",\\ \"items\": {\\ \"description\": \"This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses.\\n\",\\ \"required\": [\\ \"layerProtocol\"\\ ],\\ \"properties\": {\\ \"layerProtocol\": {\\ \"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\",\\ \"type\": \"string\",\\ \"enum\": [\\ \"IP_OVER_ETHERNET\"\\ ]\\ },\\ \"ipOverEthernet\": {\\ \"description\": \"This type represents information about a network address that has been assigned.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"macAddress\"\\ ],\\ \"properties\": {\\ \"macAddress\": {\\ \"description\": \"A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\\n\",\\ \"type\": \"string\",\\ \"format\": \"MAC\"\\ },\\ \"ipAddresses\": {\\ \"description\": \"Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\\n\",\\ \"type\": \"array\",\\ \"items\": {\\ \"type\": \"object\",\\ \"required\": [\\ \"type\"\\ ],\\ \"properties\": {\\ \"type\": {\\ \"description\": \"The type of the IP addresses. Permitted values: IPV4, IPV6.\\n\",\\ \"type\": \"string\",\\ \"enum\": [\\ \"IPV4\",\\ \"IPV6\"\\ ]\\ },\\ \"addresses\": {\\ \"description\": \"Fixed addresses assigned (from the subnet defined by \\\"subnetId\\\" if provided).\\n\",\\ \"type\": \"array\",\\ \"items\": {\\ \"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\",\\ \"type\": \"string\",\\ \"format\": \"IP\"\\ }\\ },\\ \"isDynamic\": {\\ \"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\",\\ \"type\": \"boolean\"\\ },\\ \"addressRange\": {\\ \"description\": \"An IP address range used, e.g., in case of egress connections. Exactly one of \\\"addresses\\\" or \\\"addressRange\\\" shall be present.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"minAddress\",\\ \"maxAddress\"\\ ],\\ \"properties\": {\\ \"minAddress\": {\\ \"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\",\\ \"type\": \"string\",\\ \"format\": \"IP\"\\ },\\ \"maxAddress\": {\\ \"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\",\\ \"type\": \"string\",\\ \"format\": \"IP\"\\ }\\ }\\ },\\ \"subnetId\": {\\ \"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\",\\ \"type\": \"string\",\\ \"format\": \"IP\"\\ }\\ }\\ }\\ }\\ }\\ }\\ }\\ }\\ },\\ \"extLinkPortId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ }\\ }\\ }\\ },\\ \"extVirtualLinkInfo\": {\\ \"description\": \"Information about the external VLs the VNF instance is connected to.\\n\",\\ \"type\": \"array\",\\ \"items\": {\\ \"type\": \"object\",\\ \"required\": [\\ \"id\",\\ \"resourceHandle\"\\ ],\\ \"properties\": {\\ \"id\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceHandle\": {\\ \"required\": [\\ \"vimConnectionId\",\\ \"resourceId\"\\ ],\\ \"type\": \"object\",\\ \"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\",\\ \"properties\": {\\ \"vimConnectionId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceProviderId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceId\": {\\ \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\\n\",\\ \"type\": \"string\"\\ },\\ \"vimLevelResourceType\": {\\ \"description\": \"Type of the resource in the scope of the VIM or the resource provider.\\n\",\\ \"type\": \"string\"\\ }\\ }\\ },\\ \"extLinkPorts\": {\\ \"description\": \"Link ports of this VL.\\n\",\\ \"type\": \"array\",\\ \"items\": {\\ \"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\",\\ \"type\": \"object\",\\ \"required\": [\\ \"id\",\\ \"resourceHandle\"\\ ],\\ \"properties\": {\\ \"id\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceHandle\": {\\ \"required\": [\\ \"vimConnectionId\",\\ \"resourceId\"\\ ],\\ \"type\": \"object\",\\ \"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\",\\ \"properties\": {\\ \"vimConnectionId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceProviderId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceId\": {\\ \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\\n\",\\ \"type\": \"string\"\\ },\\ \"vimLevelResourceType\": {\\ \"description\": \"Type of the resource in the scope of the VIM or the resource provider.\\n\",\\ \"type\": \"string\"\\ }\\ }\\ },\\ \"cpInstanceId\": {\\ \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\\n\",\\ \"type\": \"string\"\\ }\\ }\\ }\\ }\\ }\\ }\\ },\\ \"extManagedVirtualLinkInfo\": {\\ \"description\": \"External virtual links the VNF instance is connected to.\\n\",\\ \"type\": \"array\",\\ \"items\": {\\ \"type\": \"object\",\\ \"required\": [\\ \"id\",\\ \"vnfVirtualLinkDescId\"\\ ],\\ \"properties\": {\\ \"id\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"vnfVirtualLinkDescId\": {\\ \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"networkResource\": {\\ \"required\": [\\ \"vimConnectionId\",\\ \"resourceId\"\\ ],\\ \"type\": \"object\",\\ \"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\",\\ \"properties\": {\\ \"vimConnectionId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceProviderId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceId\": {\\ \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\\n\",\\ \"type\": \"string\"\\ },\\ \"vimLevelResourceType\": {\\ \"description\": \"Type of the resource in the scope of the VIM or the resource provider.\\n\",\\ \"type\": \"string\"\\ }\\ }\\ },\\ \"vnfLinkPorts\": {\\ \"description\": \"Link ports of this VL.\\n\",\\ \"type\": \"array\",\\ \"items\": {\\ \"type\": \"object\",\\ \"required\": [\\ \"id\",\\ \"resourceHandle\"\\ ],\\ \"properties\": {\\ \"id\": {\\ \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceHandle\": {\\ \"required\": [\\ \"vimConnectionId\",\\ \"resourceId\"\\ ],\\ \"type\": \"object\",\\ \"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\",\\ \"properties\": {\\ \"vimConnectionId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceProviderId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceId\": {\\ \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\\n\",\\ \"type\": \"string\"\\ },\\ \"vimLevelResourceType\": {\\ \"description\": \"Type of the resource in the scope of the VIM or the resource provider.\\n\",\\ \"type\": \"string\"\\ }\\ }\\ },\\ \"cpInstanceId\": {\\ \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\\n\",\\ \"type\": \"string\"\\ }\\ }\\ }\\ }\\ }\\ }\\ },\\ \"monitoringParameters\": {\\ \"description\": \"Active monitoring parameters.\\n\",\\ \"type\": \"array\",\\ \"items\": {\\ \"type\": \"object\",\\ \"required\": [\\ \"id\",\\ \"value\",\\ \"timeStamp\"\\ ],\\ \"properties\": {\\ \"id\": {\\ \"description\": \"An identifier that is unique within a VNF descriptor.\\n\",\\ \"type\": \"string\"\\ },\\ \"name\": {\\ \"description\": \"Human readable name of the monitoring parameter, as defined in the VNFD.\\n\",\\ \"type\": \"string\"\\ },\\ \"value\": {\\ \"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\",\\ \"type\": \"object\"\\ },\\ \"timeStamp\": {\\ \"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\",\\ \"type\": \"string\"\\ }\\ }\\ }\\ },\\ \"localizationLanguage\": {\\ \"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\",\\ \"type\": \"string\"\\ },\\ \"vnfcResourceInfo\": {\\ \"description\": \"Information about the virtualised compute and storage resources used by the VNFCs of the VNF instance.\\n\",\\ \"type\": \"array\",\\ \"items\": {\\ \"description\": \"This type represents the information on virtualised compute and storage resources used by a VNFC in a VNF instance.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"id\",\\ \"vduId\",\\ \"computeResource\"\\ ],\\ \"properties\": {\\ \"id\": {\\ \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"vduId\": {\\ \"description\": \"An identifier that is unique within a VNF descriptor.\\n\",\\ \"type\": \"string\"\\ },\\ \"computeResource\": {\\ \"required\": [\\ \"vimConnectionId\",\\ \"resourceId\"\\ ],\\ \"type\": \"object\",\\ \"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\",\\ \"properties\": {\\ \"vimConnectionId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceProviderId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceId\": {\\ \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\\n\",\\ \"type\": \"string\"\\ },\\ \"vimLevelResourceType\": {\\ \"description\": \"Type of the resource in the scope of the VIM or the resource provider.\\n\",\\ \"type\": \"string\"\\ }\\ }\\ },\\ \"storageResourceIds\": {\\ \"description\": \"References to the VirtualStorage resources. The value refers to a VirtualStorageResourceInfo item in the VnfInstance.\\n\",\\ \"type\": \"array\",\\ \"items\": {\\ \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\\n\",\\ \"type\": \"string\"\\ }\\ },\\ \"reservationId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"vnfcCpInfo\": {\\ \"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\",\\ \"type\": \"array\",\\ \"items\": {\\ \"type\": \"object\",\\ \"required\": [\\ \"id\",\\ \"cpdId\"\\ ],\\ \"properties\": {\\ \"id\": {\\ \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"cpdId\": {\\ \"description\": \"An identifier that is unique within a VNF descriptor.\\n\",\\ \"type\": \"string\"\\ },\\ \"vnfExtCpId\": {\\ \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"cpProtocolInfo\": {\\ \"description\": \"Network protocol information for this CP.\\n\",\\ \"type\": \"array\",\\ \"items\": {\\ \"description\": \"This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses.\\n\",\\ \"required\": [\\ \"layerProtocol\"\\ ],\\ \"properties\": {\\ \"layerProtocol\": {\\ \"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\",\\ \"type\": \"string\",\\ \"enum\": [\\ \"IP_OVER_ETHERNET\"\\ ]\\ },\\ \"ipOverEthernet\": {\\ \"description\": \"This type represents information about a network address that has been assigned.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"macAddress\"\\ ],\\ \"properties\": {\\ \"macAddress\": {\\ \"description\": \"A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\\n\",\\ \"type\": \"string\",\\ \"format\": \"MAC\"\\ },\\ \"ipAddresses\": {\\ \"description\": \"Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\\n\",\\ \"type\": \"array\",\\ \"items\": {\\ \"type\": \"object\",\\ \"required\": [\\ \"type\"\\ ],\\ \"properties\": {\\ \"type\": {\\ \"description\": \"The type of the IP addresses. Permitted values: IPV4, IPV6.\\n\",\\ \"type\": \"string\",\\ \"enum\": [\\ \"IPV4\",\\ \"IPV6\"\\ ]\\ },\\ \"addresses\": {\\ \"description\": \"Fixed addresses assigned (from the subnet defined by \\\"subnetId\\\" if provided).\\n\",\\ \"type\": \"array\",\\ \"items\": {\\ \"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\",\\ \"type\": \"string\",\\ \"format\": \"IP\"\\ }\\ },\\ \"isDynamic\": {\\ \"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\",\\ \"type\": \"boolean\"\\ },\\ \"addressRange\": {\\ \"description\": \"An IP address range used, e.g., in case of egress connections. Exactly one of \\\"addresses\\\" or \\\"addressRange\\\" shall be present.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"minAddress\",\\ \"maxAddress\"\\ ],\\ \"properties\": {\\ \"minAddress\": {\\ \"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\",\\ \"type\": \"string\",\\ \"format\": \"IP\"\\ },\\ \"maxAddress\": {\\ \"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\",\\ \"type\": \"string\",\\ \"format\": \"IP\"\\ }\\ }\\ },\\ \"subnetId\": {\\ \"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\",\\ \"type\": \"string\",\\ \"format\": \"IP\"\\ }\\ }\\ }\\ }\\ }\\ }\\ }\\ }\\ },\\ \"vnfLinkPortId\": {\\ \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\\n\",\\ \"type\": \"string\"\\ }\\ }\\ }\\ },\\ \"metadata\": {\\ \"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\",\\ \"type\": \"object\"\\ }\\ }\\ }\\ },\\ \"virtualLinkResourceInfo\": {\\ \"description\": \"Information about the virtualised network resources used by the VLs of the VNF instance.\\n\",\\ \"type\": \"array\",\\ \"items\": {\\ \"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\",\\ \"type\": \"object\",\\ \"required\": [\\ \"id\",\\ \"vnfVirtualLinkDescId\",\\ \"networkResource\"\\ ],\\ \"properties\": {\\ \"id\": {\\ \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"vnfVirtualLinkDescId\": {\\ \"description\": \"An identifier that is unique within a VNF descriptor.\\n\",\\ \"type\": \"string\"\\ },\\ \"networkResource\": {\\ \"required\": [\\ \"vimConnectionId\",\\ \"resourceId\"\\ ],\\ \"type\": \"object\",\\ \"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\",\\ \"properties\": {\\ \"vimConnectionId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceProviderId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceId\": {\\ \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\\n\",\\ \"type\": \"string\"\\ },\\ \"vimLevelResourceType\": {\\ \"description\": \"Type of the resource in the scope of the VIM or the resource provider.\\n\",\\ \"type\": \"string\"\\ }\\ }\\ },\\ \"reservationId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"vnfLinkPorts\": {\\ \"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\",\\ \"type\": \"array\",\\ \"items\": {\\ \"type\": \"object\",\\ \"required\": [\\ \"id\",\\ \"resourceHandle\"\\ ],\\ \"properties\": {\\ \"id\": {\\ \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceHandle\": {\\ \"required\": [\\ \"vimConnectionId\",\\ \"resourceId\"\\ ],\\ \"type\": \"object\",\\ \"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\",\\ \"properties\": {\\ \"vimConnectionId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceProviderId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceId\": {\\ \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\\n\",\\ \"type\": \"string\"\\ },\\ \"vimLevelResourceType\": {\\ \"description\": \"Type of the resource in the scope of the VIM or the resource provider.\\n\",\\ \"type\": \"string\"\\ }\\ }\\ },\\ \"cpInstanceId\": {\\ \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\\n\",\\ \"type\": \"string\"\\ }\\ }\\ }\\ },\\ \"metadata\": {\\ \"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\",\\ \"type\": \"object\"\\ }\\ }\\ }\\ },\\ \"virtualStorageResourceInfo\": {\\ \"description\": \"Information on the virtualised storage resource(s) used as storage for the VNF instance.\\n\",\\ \"type\": \"array\",\\ \"items\": {\\ \"description\": \"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"id\",\\ \"virtualStorageDescId\",\\ \"storageResource\"\\ ],\\ \"properties\": {\\ \"id\": {\\ \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"virtualStorageDescId\": {\\ \"description\": \"An identifier that is unique within a VNF descriptor.\\n\",\\ \"type\": \"string\"\\ },\\ \"storageResource\": {\\ \"required\": [\\ \"vimConnectionId\",\\ \"resourceId\"\\ ],\\ \"type\": \"object\",\\ \"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\",\\ \"properties\": {\\ \"vimConnectionId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceProviderId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"resourceId\": {\\ \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\\n\",\\ \"type\": \"string\"\\ },\\ \"vimLevelResourceType\": {\\ \"description\": \"Type of the resource in the scope of the VIM or the resource provider.\\n\",\\ \"type\": \"string\"\\ }\\ }\\ },\\ \"reservationId\": {\\ \"description\": \"An identifier with the intention of being globally unique.\\n\",\\ \"type\": \"string\"\\ },\\ \"metadata\": {\\ \"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\",\\ \"type\": \"object\"\\ }\\ }\\ }\\ }\\ }\\ },\\ \"metadata\": {\\ \"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\",\\ \"type\": \"object\"\\ },\\ \"extensions\": {\\ \"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\",\\ \"type\": \"object\"\\ },\\ \"_links\": {\\ \"description\": \"Links to resources related to this resource.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"self\"\\ ],\\ \"properties\": {\\ \"self\": {\\ \"description\": \"This type represents a link to a resource.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"href\"\\ ],\\ \"properties\": {\\ \"href\": {\\ \"description\": \"URI of the referenced resource.\\n\",\\ \"type\": \"string\",\\ \"format\": \"url\"\\ }\\ }\\ },\\ \"indicators\": {\\ \"description\": \"This type represents a link to a resource.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"href\"\\ ],\\ \"properties\": {\\ \"href\": {\\ \"description\": \"URI of the referenced resource.\\n\",\\ \"type\": \"string\",\\ \"format\": \"url\"\\ }\\ }\\ },\\ \"instantiate\": {\\ \"description\": \"This type represents a link to a resource.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"href\"\\ ],\\ \"properties\": {\\ \"href\": {\\ \"description\": \"URI of the referenced resource.\\n\",\\ \"type\": \"string\",\\ \"format\": \"url\"\\ }\\ }\\ },\\ \"terminate\": {\\ \"description\": \"This type represents a link to a resource.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"href\"\\ ],\\ \"properties\": {\\ \"href\": {\\ \"description\": \"URI of the referenced resource.\\n\",\\ \"type\": \"string\",\\ \"format\": \"url\"\\ }\\ }\\ },\\ \"scale\": {\\ \"description\": \"This type represents a link to a resource.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"href\"\\ ],\\ \"properties\": {\\ \"href\": {\\ \"description\": \"URI of the referenced resource.\\n\",\\ \"type\": \"string\",\\ \"format\": \"url\"\\ }\\ }\\ },\\ \"scaleToLevel\": {\\ \"description\": \"This type represents a link to a resource.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"href\"\\ ],\\ \"properties\": {\\ \"href\": {\\ \"description\": \"URI of the referenced resource.\\n\",\\ \"type\": \"string\",\\ \"format\": \"url\"\\ }\\ }\\ },\\ \"changeFlavour\": {\\ \"description\": \"This type represents a link to a resource.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"href\"\\ ],\\ \"properties\": {\\ \"href\": {\\ \"description\": \"URI of the referenced resource.\\n\",\\ \"type\": \"string\",\\ \"format\": \"url\"\\ }\\ }\\ },\\ \"heal\": {\\ \"description\": \"This type represents a link to a resource.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"href\"\\ ],\\ \"properties\": {\\ \"href\": {\\ \"description\": \"URI of the referenced resource.\\n\",\\ \"type\": \"string\",\\ \"format\": \"url\"\\ }\\ }\\ },\\ \"operate\": {\\ \"description\": \"This type represents a link to a resource.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"href\"\\ ],\\ \"properties\": {\\ \"href\": {\\ \"description\": \"URI of the referenced resource.\\n\",\\ \"type\": \"string\",\\ \"format\": \"url\"\\ }\\ }\\ },\\ \"changeExtConn\": {\\ \"description\": \"This type represents a link to a resource.\\n\",\\ \"type\": \"object\",\\ \"required\": [\\ \"href\"\\ ],\\ \"properties\": {\\ \"href\": {\\ \"description\": \"URI of the referenced resource.\\n\",\\ \"type\": \"string\",\\ \"format\": \"url\"\\ }\\ }\\ }\\ }\\ }\\ }\\}\\';",
Michele Carignani
committed
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
"",
"pm.test('Schema is valid', function() {",
" pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;",
"});",
"",
""
]
}
}
],
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "{{Accept}}"
},
{
"key": "Authorization",
"value": "{{Authorization}}"
},
{
"key": "Content-Type",
"value": "{{Content-Type}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"vnfdId\": \"{{vnfdId}}\",\n \"vnfInstanceName\": \"API track instance\",\n \"vnfInstanceDescription\": \"An instance created by the NFV PLU API Track\"\n}"
Michele Carignani
committed
},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances",
"protocol": "{{scheme}}",
"host": [
"{{host}}{{port}}"
],
"path": [
"{{uri_prefix}}vnflcm",
"v1",
"vnf_instances"
]
},
"description": "The POST method creates a new VNF instance resource."
},
"response": []
},
{
"name": "Read individual VNF instance resource",
Michele Carignani
committed
"event": [
{
"listen": "test",
"script": {
"id": "e0dbbbea-50d1-4236-b93e-68f6a37c6c2c",
Michele Carignani
committed
"type": "text/javascript",
"exec": [
"/* pm.test(\"Status code is 200\", function () {",
Michele Carignani
committed
" pm.response.to.have.status(200);",
"});",
"",
"var res_schema = require(\"/home/carignani/etsi/forge/NFV-SOL002-SOL003-PLU/src/SOL003/VNFLifecycleManagement/definitions/VNFLifecycleManagement_def.yaml\").definitions.VnfInstance;",
"",
"pm.test('Schema is valid', function() {",
" pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;",
Michele Carignani
committed
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
"",
""
]
}
}
],
"request": {
"auth": {
"type": "noauth"
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "{{Authorization}}"
}
],
"body": {},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances/{{vnfInstanceId}}",
"protocol": "{{scheme}}",
"host": [
"{{host}}{{port}}"
],
"path": [
"{{uri_prefix}}vnflcm",
"v1",
"vnf_instances",
"{{vnfInstanceId}}"
]
},
"description": "The GET method retrieves information about a VNF instance by reading an individual VNF instance resource.\n"
},
"response": [
{
"id": "311341b9-d903-4ab6-bf6c-43cdb72779dd",
Michele Carignani
committed
"name": "https:///vnflcm/v1/vnf_instances/:vnfInstanceId",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
Michele Carignani
committed
"url": {
"raw": "https://vnflcm/v1/vnf_instances/abba1970",
"protocol": "https",
Michele Carignani
committed
"host": [
Michele Carignani
committed
],
"path": [
"v1",
"vnf_instances",
"abba1970"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "Text",
Michele Carignani
committed
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Modify VNF instance resource information",
Michele Carignani
committed
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
"event": [
{
"listen": "test",
"script": {
"id": "1b7e55a1-7a71-4302-81a6-5a58608221ee",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"auth": {
"type": "noauth"
},
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "{{Authorization}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"vnfInstanceName\": \"API track instance - patched\",\n \"vnfInstanceDescription\": \"An instance created by the NFV PLU API Track - patched\"\n}"
Michele Carignani
committed
},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances/{{vnfInstanceId}}",
"protocol": "{{scheme}}",
"host": [
"{{host}}{{port}}"
],
"path": [
"{{uri_prefix}}vnflcm",
"v1",
"vnf_instances",
"{{vnfInstanceId}}"
]
},
"description": "This method modifies an individual VNF instance resource. Changes to the VNF configurable properties are applied to the configuration in the VNF instance, and are reflected in the representation of this resource. Other changes are applied to the VNF instance information managed by the VNFM, and are reflected in the representation of this resource\n"
},
"response": []
},
{
"name": "Delete VNF Instance resource",
Michele Carignani
committed
"request": {
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "{{Authorization}}"
Michele Carignani
committed
}
],
"body": {},
"url": {
"raw": "https://vnflcm/v1/vnf_instances/:vnfInstanceId",
"protocol": "https",
Michele Carignani
committed
"host": [
Michele Carignani
committed
],
"path": [
"v1",
"vnf_instances",
":vnfInstanceId"
],
"variable": [
{
"key": "vnfInstanceId",
"value": ""
}
Michele Carignani
committed
]
},
"description": "This method deletes an individual VNF instance resource.\n"
},
"response": []
},
{
Michele Carignani
committed
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "{{Authorization}}"
Michele Carignani
committed
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"flavourId\" : \"{{flavourId}}\"\n}"
Michele Carignani
committed
},
"url": {
"raw": "http://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances/{{vnfInstanceIdTask}}/instantiate",
Michele Carignani
committed
"protocol": "http",
"host": [
"{{host}}{{port}}"
],
"path": [
Michele Carignani
committed
"v1",
"vnf_instances",
"{{vnfInstanceIdTask}}",
"instantiate"
]
},
"description": "The POST method requests to scale a VNF instance resource incrementally.\n"
},
"response": []
},
{
Michele Carignani
committed
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"instantiationLevelId\": \"string\",\n \"scaleInfo\": [\n {\n \"aspectId\": \"string\",\n \"scaleLevel\": 0\n }\n ],\n \"additionalParams\": {}\n}"
Michele Carignani
committed
},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances/{{vnfInstanceId}}/scale_to_level",
"protocol": "{{scheme}}",
Michele Carignani
committed
"host": [
Michele Carignani
committed
],
"path": [
Michele Carignani
committed
"v1",
"vnf_instances",
Michele Carignani
committed
"scale_to_level"
]
},
"description": "The POST method requests to scale a VNF instance resource to a target level.\n"
},
"response": []
},
{
Michele Carignani
committed
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "Parameters for the Change VNF Flavour operation."
},
"url": {
"raw": "https://vnflcm/v1/vnf_instances/:vnfInstanceId/change_flavour",
"protocol": "https",
Michele Carignani
committed
"host": [
Michele Carignani
committed
],
"path": [
"v1",
"vnf_instances",
":vnfInstanceId",
"change_flavour"
]
},
"description": "The POST method changes the deployment flavour of a VNF instance.\n"
},
"response": []
},
{
Michele Carignani
committed
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "{{Authorization}}"
Michele Carignani
committed
}
],
"body": {
"mode": "raw",
"raw": "{\n \"terminationType\": \"FORCEFUL\"\n}"
Michele Carignani
committed
},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances/{{vnfInstanceId}}/terminate",
Michele Carignani
committed
"protocol": "{{scheme}}",
"host": [
"{{host}}{{port}}"
],
"path": [
"{{uri_prefix}}vnflcm",
"v1",
"vnf_instances",
Michele Carignani
committed
"terminate"
]
},
"description": "The POST method terminates a VNF instance.\n"
},
"response": []
},
{
Michele Carignani
committed
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "Parameters for the Heal VNF operation."
},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances/:vnfInstanceId/heal",
"protocol": "{{scheme}}",
Michele Carignani
committed
"host": [
Michele Carignani
committed
],
"path": [
Michele Carignani
committed
"v1",
"vnf_instances",
":vnfInstanceId",
"heal"
],
"variable": [
{
"key": "vnfInstanceId",
"value": ""
}
Michele Carignani
committed
]
},
"description": "The POST method requests to heal a VNF instance resource.\n"
},
"response": []
},
{
Michele Carignani
committed
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "Parameters for the Operate VNF operation."
},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances/:vnfInstanceId/operate",
"protocol": "{{scheme}}",
Michele Carignani
committed
"host": [
Michele Carignani
committed
],
"path": [
Michele Carignani
committed
"v1",
"vnf_instances",
":vnfInstanceId",
"operate"
],
"variable": [
{
"key": "vnfInstanceId",
"value": ""
}
Michele Carignani
committed
]
},
"description": "The POST method changes the operational state of a VNF instance resource.\n"
},
"response": []
},
{
Michele Carignani
committed
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "Parameters for the Change external VNF connectivity operation.\n"
},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances/:vnfInstanceId/change_ext_conn",
"protocol": "{{scheme}}",
Michele Carignani
committed
"host": [
Michele Carignani
committed
],
"path": [
Michele Carignani
committed
"v1",
"vnf_instances",
":vnfInstanceId",
"change_ext_conn"
],
"variable": [
{
"key": "vnfInstanceId",
"value": ""
}
Michele Carignani
committed
]
},
"description": "The POST method changes the external connectivity of a VNF instance.\n"
},
"response": []
}
]
},
{
"name": "vnf_lcm_op_occs",
"description": "Folder for vnf_lcm_op_occs",
"item": [
{
Michele Carignani
committed
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_lcm_op_occs",
"protocol": "{{scheme}}",
Michele Carignani
committed
"host": [
Michele Carignani
committed
],
"path": [
Michele Carignani
committed
"v1",
"vnf_lcm_op_occs"
]
},
"description": "The client can use this method to query status information about multiple VNF lifecycle management operation occurrences.\n"
},
"response": []
},
{
Michele Carignani
committed
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_lcm_op_occs/:vnfLcmOpOccId",
"protocol": "{{scheme}}",
Michele Carignani
committed
"host": [
Michele Carignani
committed
],
"path": [
Michele Carignani
committed
"v1",
"vnf_lcm_op_occs",
":vnfLcmOpOccId"
],
"variable": [
{
"key": "vnfLcmOpOccId",
"value": ""
}
Michele Carignani
committed
]
},
"description": "The 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"
},
"response": []
},
{
Michele Carignani
committed
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_lcm_op_occs/{{vnfLcmOpOccId}}/retry",
"protocol": "{{scheme}}",
Michele Carignani
committed
"host": [
Michele Carignani
committed
],
"path": [
Michele Carignani
committed
"v1",
"vnf_lcm_op_occs",
Michele Carignani
committed
"retry"
]
},
"description": "The POST method initiates retrying a VNF lifecycle operation if that operation has experienced a temporary failure, i.e. the related \"VNF LCM operation occurrence\" resource is in \"FAILED_TEMP\" state.\n"
},
"response": []
},
{
Michele Carignani
committed
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_lcm_op_occs/{{vnfLcmOpOccId}}/rollback",
"protocol": "{{scheme}}",
Michele Carignani
committed
"host": [
Michele Carignani
committed
],
"path": [
Michele Carignani
committed
"v1",
"vnf_lcm_op_occs",
Michele Carignani
committed
"rollback"
]
},
"description": "The POST method initiates rolling back a VNF lifecycle operation if that operation has experienced a temporary failure, i.e. the related \"VNF LCM operation occurrence\" resource is in \"FAILED_TEMP\" state.\n"
},
"response": []
},
{
Michele Carignani
committed
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_lcm_op_occs/{{vnfLcmOpOccId}}/fail",
"protocol": "{{scheme}}",
Michele Carignani
committed
"host": [
Michele Carignani
committed
],
"path": [
Michele Carignani
committed
"v1",
"vnf_lcm_op_occs",
Michele Carignani
committed
"fail"
]
},
"description": "The POST method marks a VNF lifecycle management operation occurrence as \"finally failed\" if that operation occurrence is in \"FAILED_TEMP\" state.\n"
},
"response": []
},
{
Michele Carignani
committed
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_lcm_op_occs/{{vnfLcmOpOccId}}/cancel",
"protocol": "{{scheme}}",
Michele Carignani
committed
"host": [
Michele Carignani
committed
],
"path": [
Michele Carignani
committed
"v1",
"vnf_lcm_op_occs",
Michele Carignani
committed
"cancel"
]
},
"description": "The POST method initiates cancelling an ongoing VNF lifecycle operation while it is being executed or rolled back, i.e. the related \"VNF LCM operation occurrence\" is either in \"PROCESSING\" or \"ROLLING_BACK\" state.\n"
},
"response": []
}
]
},
{
"name": "subscriptions",
"description": "Folder for subscriptions",
"item": [
{
Michele Carignani
committed
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "{{Authorization}}"
Michele Carignani
committed
}
],
"body": {},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/subscriptions",
"protocol": "{{scheme}}",
Michele Carignani
committed
"host": [
Michele Carignani
committed
],
"path": [
Michele Carignani
committed
"v1",
"subscriptions"
]
},
"description": "The 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"
},
"response": []
},
{
Michele Carignani
committed
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "{{Authorization}}"
Michele Carignani
committed
}
],
"body": {
"mode": "raw",
"raw": "{\n \"callbackUri\" : \"http://10.100.60.82:9988/notify\"\n}"
Michele Carignani
committed
},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/subscriptions",
"protocol": "{{scheme}}",
"host": [
"{{host}}{{port}}"
],
"path": [
"{{uri_prefix}}vnflcm",
"v1",
"subscriptions"
]
},
"description": "The 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"
},
"response": []
},
{
Michele Carignani
committed
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
"request": {
"auth": {
"type": "noauth"
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "{{Authorization}}"
}
],
"body": {},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/subscriptions/{{subscriptionId}}",
"protocol": "{{scheme}}",
"host": [
"{{host}}{{port}}"
],
"path": [
"{{uri_prefix}}vnflcm",
"v1",
"subscriptions",
"{{subscriptionId}}"
]
},
"description": "The GET method retrieves information about a subscription by reading an individual subscription resource.\n"
},
"response": []
},
{
Michele Carignani
committed
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
"request": {
"auth": {
"type": "noauth"
},
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "{{Authorization}}"
}
],
"body": {},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/subscriptions/{{subscriptionId}}",
"protocol": "{{scheme}}",
"host": [
"{{host}}{{port}}"
],
"path": [
"{{uri_prefix}}vnflcm",
"v1",
"subscriptions",
"{{subscriptionId}}"
]
},
"description": "The DELETE method terminates an individual subscription.\n"
},
"response": []
}
]
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "3ff46579-868f-4c6d-8871-29435b6954b3",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "539ad894-0c3f-4149-a802-d10f5cdf36fd",
"type": "text/javascript",
"exec": [
""
]
}
}