{ "info": { "_postman_id": "e02cdef8-1b3a-4470-9a0a-a937a4616f61", "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_lcm_op_occs", "description": "Folder for vnf_lcm_op_occs", "item": [ { "name": "fail", "event": [ { "listen": "test", "script": { "id": "f8bf1078-ecd7-45f0-b983-9728a5965d34", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});", "", "var res_schema = {\"description\":\"This type represents a VNF lifecycle management operation occurrence. \",\"type\":\"object\",\"required\":[\"id\",\"operationState\",\"stateEnteredTime\",\"startTime\",\"vnfInstanceId\",\"operation\",\"isAutomaticInvocation\",\"operationParams\",\"isCancelPending\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"operationState\":{\"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. \",\"type\":\"string\",\"enum\":[\"STARTING\",\"PROCESSING\",\"COMPLETED\",\"FAILED_TEMP\",\"FAILED\",\"ROLLING_BACK\",\"ROLLED_BACK\"]},\"stateEnteredTime\":{\"description\":\"Date-time when the current state was entered. \",\"type\":\"string\",\"format\":\"date-time\"},\"startTime\":{\"description\":\"Date-time of the start of the operation. \",\"type\":\"string\",\"format\":\"date-time\"},\"vnfInstanceId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"grantId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"operation\":{\"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. \",\"type\":\"string\",\"enum\":[\"INSTANTIATE\",\"SCALE\",\"SCALE_TO_LEVEL\",\"CHANGE_FLAVOUR\",\"TERMINATE\",\"HEAL\",\"OPERATE\",\"CHANGE_EXT_CONN\",\"MODIFY_INFO\"]},\"isAutomaticInvocation\":{\"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. \",\"type\":\"boolean\"},\"operationParams\":{\"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. \",\"type\":\"object\"},\"isCancelPending\":{\"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. \",\"type\":\"boolean\"},\"cancelMode\":{\"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. \",\"type\":\"string\",\"enum\":[\"GRACEFUL\",\"FORCEFUL\"]},\"error\":{\"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]. \",\"type\":\"object\",\"required\":[\"status\",\"detail\"],\"properties\":{\"type\":{\"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\\\". \",\"type\":\"string\",\"format\":\"URI\"},\"title\":{\"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). \",\"type\":\"string\"},\"status\":{\"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. \",\"type\":\"integer\"},\"detail\":{\"description\":\"A human-readable explanation specific to this occurrence of the problem. \",\"type\":\"string\"},\"instance\":{\"description\":\"A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced. \",\"type\":\"string\",\"format\":\"URI\"}}},\"resourceChanges\":{\"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. \",\"type\":\"object\",\"properties\":{\"affectedVnfcs\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"This type provides information about added, deleted, modified and temporary VNFCs. \",\"type\":\"object\",\"required\":[\"id\",\"vduId\",\"changeType\",\"computeResource\"],\"properties\":{\"id\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"},\"vduId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"changeType\":{\"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. \",\"type\":\"string\",\"enum\":[\"ADDED\",\"REMOVED\",\"MODIFIED\",\"TEMPORARY\"]},\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"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. \",\"type\":\"object\"},\"affectedVnfcCpIds\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}},\"addedStorageResourceIds\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}},\"removedStorageResourceIds\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}}}}},\"affectedVirtualLinks\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"This type provides information about added, deleted, modified and temporary VLs. \",\"type\":\"object\",\"required\":[\"id\",\"virtualLinkDescId\",\"changeType\",\"networkResource\"],\"properties\":{\"id\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"},\"virtualLinkDescId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"changeType\":{\"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. \",\"type\":\"string\",\"enum\":[\"ADDED\",\"REMOVED\",\"MODIFIED\",\"TEMPORARY\",\"LINK_PORT_ADDED\",\"LINK_PORT_REMOVED\"]},\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"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. \",\"type\":\"object\"}}}},\"affectedVirtualStorages\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"This type provides information about added, deleted, modified and temporary virtual storage resources. \",\"type\":\"object\",\"required\":[\"id\",\"virtualStorageDescId\",\"changeType\",\"storageResource\"],\"properties\":{\"id\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"},\"virtualStorageDescId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"changeType\":{\"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. \",\"type\":\"string\",\"enum\":[\"ADDED\",\"REMOVED\",\"MODIFIED\",\"TEMPORARY\"]},\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"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. \",\"type\":\"object\"}}}}}},\"changedInfo\":{\"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. \",\"type\":\"object\",\"properties\":{\"vnfInstanceName\":{\"description\":\"If present, this attribute signals modifications of the \\\"vnfInstanceName\\\" attribute in \\\"VnfInstance\\\". \",\"type\":\"string\"},\"vnfInstanceDescription\":{\"description\":\"If present, this attribute signals modifications of the \\\"vnfInstanceDescription\\\" attribute in \\\"VnfInstance\\\". \",\"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. \",\"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. \",\"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. \",\"type\":\"object\"},\"vimConnectionInfo\":{\"description\":\"If present, this attribute signals modifications of certain entries in the \\\"vimConnectionInfo\\\" attribute array in \\\"VnfInstance\\\". \",\"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. \",\"type\":\"object\",\"required\":[\"id\",\"vimType\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vimId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"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. \",\"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. \",\"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. \",\"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. \",\"type\":\"object\"}}}},\"vnfPkgId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vnfdId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vnfProvider\":{\"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. \",\"type\":\"string\"},\"vnfProductName\":{\"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. \",\"type\":\"string\"},\"vnfSoftwareVersion\":{\"description\":\"A Version. \",\"type\":\"string\"},\"vnfdVersion\":{\"description\":\"A Version. \",\"type\":\"string\"}}},\"changedExtConnectivity\":{\"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. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"id\",\"resourceHandle\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"extLinkPorts\":{\"description\":\"Link ports of this VL. \",\"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. \",\"type\":\"object\",\"required\":[\"id\",\"resourceHandle\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"cpInstanceId\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}}}}}}},\"_links\":{\"description\":\"Links to resources related to this resource. \",\"type\":\"object\",\"required\":[\"self\",\"vnfInstance\"],\"properties\":{\"self\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"vnfInstance\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"grant\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"cancel\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"retry\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"rollback\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"fail\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}}}}}};", "", "pm.test('Schema is valid', function() {", " pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;", "});" ] } } ], "request": { "method": "POST", "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_lcm_op_occs/{{vnfLcmOpOccId}}/fail", "protocol": "{{scheme}}", "host": [ "{{host}}{{port}}" ], "path": [ "{{uri_prefix}}vnflcm", "v1", "vnf_lcm_op_occs", "{{vnfLcmOpOccId}}", "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": [] }, { "name": "Get Operation Status", "event": [ { "listen": "test", "script": { "id": "5b2015de-2de1-41ce-9375-2fc25762568c", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});", "", "var res_schema = {\"description\":\"This type represents a VNF lifecycle management operation occurrence. \",\"type\":\"object\",\"required\":[\"id\",\"operationState\",\"stateEnteredTime\",\"startTime\",\"vnfInstanceId\",\"operation\",\"isAutomaticInvocation\",\"operationParams\",\"isCancelPending\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"operationState\":{\"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. \",\"type\":\"string\",\"enum\":[\"STARTING\",\"PROCESSING\",\"COMPLETED\",\"FAILED_TEMP\",\"FAILED\",\"ROLLING_BACK\",\"ROLLED_BACK\"]},\"stateEnteredTime\":{\"description\":\"Date-time when the current state was entered. \",\"type\":\"string\",\"format\":\"date-time\"},\"startTime\":{\"description\":\"Date-time of the start of the operation. \",\"type\":\"string\",\"format\":\"date-time\"},\"vnfInstanceId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"grantId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"operation\":{\"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. \",\"type\":\"string\",\"enum\":[\"INSTANTIATE\",\"SCALE\",\"SCALE_TO_LEVEL\",\"CHANGE_FLAVOUR\",\"TERMINATE\",\"HEAL\",\"OPERATE\",\"CHANGE_EXT_CONN\",\"MODIFY_INFO\"]},\"isAutomaticInvocation\":{\"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. \",\"type\":\"boolean\"},\"operationParams\":{\"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. \",\"type\":\"object\"},\"isCancelPending\":{\"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. \",\"type\":\"boolean\"},\"cancelMode\":{\"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. \",\"type\":\"string\",\"enum\":[\"GRACEFUL\",\"FORCEFUL\"]},\"error\":{\"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]. \",\"type\":\"object\",\"required\":[\"status\",\"detail\"],\"properties\":{\"type\":{\"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\\\". \",\"type\":\"string\",\"format\":\"URI\"},\"title\":{\"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). \",\"type\":\"string\"},\"status\":{\"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. \",\"type\":\"integer\"},\"detail\":{\"description\":\"A human-readable explanation specific to this occurrence of the problem. \",\"type\":\"string\"},\"instance\":{\"description\":\"A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced. \",\"type\":\"string\",\"format\":\"URI\"}}},\"resourceChanges\":{\"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. \",\"type\":\"object\",\"properties\":{\"affectedVnfcs\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"This type provides information about added, deleted, modified and temporary VNFCs. \",\"type\":\"object\",\"required\":[\"id\",\"vduId\",\"changeType\",\"computeResource\"],\"properties\":{\"id\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"},\"vduId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"changeType\":{\"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. \",\"type\":\"string\",\"enum\":[\"ADDED\",\"REMOVED\",\"MODIFIED\",\"TEMPORARY\"]},\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"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. \",\"type\":\"object\"},\"affectedVnfcCpIds\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}},\"addedStorageResourceIds\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}},\"removedStorageResourceIds\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}}}}},\"affectedVirtualLinks\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"This type provides information about added, deleted, modified and temporary VLs. \",\"type\":\"object\",\"required\":[\"id\",\"virtualLinkDescId\",\"changeType\",\"networkResource\"],\"properties\":{\"id\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"},\"virtualLinkDescId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"changeType\":{\"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. \",\"type\":\"string\",\"enum\":[\"ADDED\",\"REMOVED\",\"MODIFIED\",\"TEMPORARY\",\"LINK_PORT_ADDED\",\"LINK_PORT_REMOVED\"]},\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"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. \",\"type\":\"object\"}}}},\"affectedVirtualStorages\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"This type provides information about added, deleted, modified and temporary virtual storage resources. \",\"type\":\"object\",\"required\":[\"id\",\"virtualStorageDescId\",\"changeType\",\"storageResource\"],\"properties\":{\"id\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"},\"virtualStorageDescId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"changeType\":{\"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. \",\"type\":\"string\",\"enum\":[\"ADDED\",\"REMOVED\",\"MODIFIED\",\"TEMPORARY\"]},\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"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. \",\"type\":\"object\"}}}}}},\"changedInfo\":{\"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. \",\"type\":\"object\",\"properties\":{\"vnfInstanceName\":{\"description\":\"If present, this attribute signals modifications of the \\\"vnfInstanceName\\\" attribute in \\\"VnfInstance\\\". \",\"type\":\"string\"},\"vnfInstanceDescription\":{\"description\":\"If present, this attribute signals modifications of the \\\"vnfInstanceDescription\\\" attribute in \\\"VnfInstance\\\". \",\"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. \",\"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. \",\"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. \",\"type\":\"object\"},\"vimConnectionInfo\":{\"description\":\"If present, this attribute signals modifications of certain entries in the \\\"vimConnectionInfo\\\" attribute array in \\\"VnfInstance\\\". \",\"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. \",\"type\":\"object\",\"required\":[\"id\",\"vimType\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vimId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"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. \",\"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. \",\"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. \",\"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. \",\"type\":\"object\"}}}},\"vnfPkgId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vnfdId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vnfProvider\":{\"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. \",\"type\":\"string\"},\"vnfProductName\":{\"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. \",\"type\":\"string\"},\"vnfSoftwareVersion\":{\"description\":\"A Version. \",\"type\":\"string\"},\"vnfdVersion\":{\"description\":\"A Version. \",\"type\":\"string\"}}},\"changedExtConnectivity\":{\"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. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"id\",\"resourceHandle\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"extLinkPorts\":{\"description\":\"Link ports of this VL. \",\"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. \",\"type\":\"object\",\"required\":[\"id\",\"resourceHandle\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"cpInstanceId\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}}}}}}},\"_links\":{\"description\":\"Links to resources related to this resource. \",\"type\":\"object\",\"required\":[\"self\",\"vnfInstance\"],\"properties\":{\"self\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"vnfInstance\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"grant\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"cancel\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"retry\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"rollback\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"fail\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}}}}}};", "", "pm.test('Schema is valid', function() {", " pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;", "});", "" ] } } ], "request": { "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_lcm_op_occs/{{vnfLcmOpOccId}}", "protocol": "{{scheme}}", "host": [ "{{host}}{{port}}" ], "path": [ "{{uri_prefix}}vnflcm", "v1", "vnf_lcm_op_occs", "{{vnfLcmOpOccId}}" ] }, "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": [] }, { "name": "rollback", "event": [ { "listen": "test", "script": { "id": "967841cb-fa6f-4cbf-a257-b262b8116e46", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});", "" ] } } ], "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}}", "host": [ "{{host}}{{port}}" ], "path": [ "{{uri_prefix}}vnflcm", "v1", "vnf_lcm_op_occs", "{{vnfLcmOpOccId}}", "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": [] }, { "name": "retry", "event": [ { "listen": "test", "script": { "id": "73e3fd85-ea0a-40a1-a9b3-189ce43b6567", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});", "" ] } } ], "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}}", "host": [ "{{host}}{{port}}" ], "path": [ "{{uri_prefix}}vnflcm", "v1", "vnf_lcm_op_occs", "{{vnfLcmOpOccId}}", "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": [] }, { "name": "get", "event": [ { "listen": "test", "script": { "id": "c6dd0faa-9ba4-46af-b658-ba19453d1a1a", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});", "", "", "var res_schema = {\"description\":\"This type represents a VNF lifecycle management operation occurrence. \",\"type\":\"object\",\"required\":[\"id\",\"operationState\",\"stateEnteredTime\",\"startTime\",\"vnfInstanceId\",\"operation\",\"isAutomaticInvocation\",\"operationParams\",\"isCancelPending\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"operationState\":{\"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. \",\"type\":\"string\",\"enum\":[\"STARTING\",\"PROCESSING\",\"COMPLETED\",\"FAILED_TEMP\",\"FAILED\",\"ROLLING_BACK\",\"ROLLED_BACK\"]},\"stateEnteredTime\":{\"description\":\"Date-time when the current state was entered. \",\"type\":\"string\",\"format\":\"date-time\"},\"startTime\":{\"description\":\"Date-time of the start of the operation. \",\"type\":\"string\",\"format\":\"date-time\"},\"vnfInstanceId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"grantId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"operation\":{\"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. \",\"type\":\"string\",\"enum\":[\"INSTANTIATE\",\"SCALE\",\"SCALE_TO_LEVEL\",\"CHANGE_FLAVOUR\",\"TERMINATE\",\"HEAL\",\"OPERATE\",\"CHANGE_EXT_CONN\",\"MODIFY_INFO\"]},\"isAutomaticInvocation\":{\"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. \",\"type\":\"boolean\"},\"operationParams\":{\"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. \",\"type\":\"object\"},\"isCancelPending\":{\"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. \",\"type\":\"boolean\"},\"cancelMode\":{\"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. \",\"type\":\"string\",\"enum\":[\"GRACEFUL\",\"FORCEFUL\"]},\"error\":{\"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]. \",\"type\":\"object\",\"required\":[\"status\",\"detail\"],\"properties\":{\"type\":{\"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\\\". \",\"type\":\"string\",\"format\":\"URI\"},\"title\":{\"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). \",\"type\":\"string\"},\"status\":{\"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. \",\"type\":\"integer\"},\"detail\":{\"description\":\"A human-readable explanation specific to this occurrence of the problem. \",\"type\":\"string\"},\"instance\":{\"description\":\"A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced. \",\"type\":\"string\",\"format\":\"URI\"}}},\"resourceChanges\":{\"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. \",\"type\":\"object\",\"properties\":{\"affectedVnfcs\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"This type provides information about added, deleted, modified and temporary VNFCs. \",\"type\":\"object\",\"required\":[\"id\",\"vduId\",\"changeType\",\"computeResource\"],\"properties\":{\"id\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"},\"vduId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"changeType\":{\"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. \",\"type\":\"string\",\"enum\":[\"ADDED\",\"REMOVED\",\"MODIFIED\",\"TEMPORARY\"]},\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"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. \",\"type\":\"object\"},\"affectedVnfcCpIds\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}},\"addedStorageResourceIds\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}},\"removedStorageResourceIds\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}}}}},\"affectedVirtualLinks\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"This type provides information about added, deleted, modified and temporary VLs. \",\"type\":\"object\",\"required\":[\"id\",\"virtualLinkDescId\",\"changeType\",\"networkResource\"],\"properties\":{\"id\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"},\"virtualLinkDescId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"changeType\":{\"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. \",\"type\":\"string\",\"enum\":[\"ADDED\",\"REMOVED\",\"MODIFIED\",\"TEMPORARY\",\"LINK_PORT_ADDED\",\"LINK_PORT_REMOVED\"]},\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"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. \",\"type\":\"object\"}}}},\"affectedVirtualStorages\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"This type provides information about added, deleted, modified and temporary virtual storage resources. \",\"type\":\"object\",\"required\":[\"id\",\"virtualStorageDescId\",\"changeType\",\"storageResource\"],\"properties\":{\"id\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"},\"virtualStorageDescId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"changeType\":{\"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. \",\"type\":\"string\",\"enum\":[\"ADDED\",\"REMOVED\",\"MODIFIED\",\"TEMPORARY\"]},\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"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. \",\"type\":\"object\"}}}}}},\"changedInfo\":{\"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. \",\"type\":\"object\",\"properties\":{\"vnfInstanceName\":{\"description\":\"If present, this attribute signals modifications of the \\\"vnfInstanceName\\\" attribute in \\\"VnfInstance\\\". \",\"type\":\"string\"},\"vnfInstanceDescription\":{\"description\":\"If present, this attribute signals modifications of the \\\"vnfInstanceDescription\\\" attribute in \\\"VnfInstance\\\". \",\"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. \",\"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. \",\"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. \",\"type\":\"object\"},\"vimConnectionInfo\":{\"description\":\"If present, this attribute signals modifications of certain entries in the \\\"vimConnectionInfo\\\" attribute array in \\\"VnfInstance\\\". \",\"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. \",\"type\":\"object\",\"required\":[\"id\",\"vimType\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vimId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"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. \",\"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. \",\"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. \",\"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. \",\"type\":\"object\"}}}},\"vnfPkgId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vnfdId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vnfProvider\":{\"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. \",\"type\":\"string\"},\"vnfProductName\":{\"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. \",\"type\":\"string\"},\"vnfSoftwareVersion\":{\"description\":\"A Version. \",\"type\":\"string\"},\"vnfdVersion\":{\"description\":\"A Version. \",\"type\":\"string\"}}},\"changedExtConnectivity\":{\"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. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"id\",\"resourceHandle\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"extLinkPorts\":{\"description\":\"Link ports of this VL. \",\"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. \",\"type\":\"object\",\"required\":[\"id\",\"resourceHandle\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"cpInstanceId\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}}}}}}},\"_links\":{\"description\":\"Links to resources related to this resource. \",\"type\":\"object\",\"required\":[\"self\",\"vnfInstance\"],\"properties\":{\"self\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"vnfInstance\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"grant\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"cancel\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"retry\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"rollback\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"fail\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}}}}}};", "", "pm.test('Schema is valid', function() {", " pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;", "});", "" ] } } ], "request": { "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_lcm_op_occs", "protocol": "{{scheme}}", "host": [ "{{host}}{{port}}" ], "path": [ "{{uri_prefix}}vnflcm", "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": [] }, { "name": "cancel", "event": [ { "listen": "test", "script": { "id": "f4f3ea1a-1703-4632-a4ee-fae7e4eeeda3", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});", "" ] } } ], "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}}", "host": [ "{{host}}{{port}}" ], "path": [ "{{uri_prefix}}vnflcm", "v1", "vnf_lcm_op_occs", "{{vnfLcmOpOccId}}", "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": [ { "name": "Create new subscription", "event": [ { "listen": "test", "script": { "id": "e1305c8e-ca4a-4ec6-bee6-42c6adcf132d", "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 subscription related to notifications about VNF lifecycle changes. \",\"type\":\"object\",\"required\":[\"id\",\"callbackUri\",\"_links\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"filter\":{\"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). \",\"type\":\"object\",\"properties\":{\"vnfInstanceSubscriptionFilter\":{\"description\":\"This type represents subscription filter criteria to match VNF instances. \",\"type\":\"object\",\"properties\":{\"vnfdIds\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"}},\"vnfProductsFromProviders\":{\"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. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfProvider\"],\"properties\":{\"vnfProvider\":{\"description\":\"Name of the VNF provider to match. \",\"type\":\"string\"},\"vnfProducts\":{\"description\":\"If present, match VNF instances that belong to VNF products with certain product names, from one particular provider. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfProductName\"],\"properties\":{\"vnfProductName\":{\"description\":\"Name of the VNF product to match. \",\"type\":\"string\"},\"versions\":{\"description\":\"If present, match VNF instances that belong to VNF products with certain versions and a certain product name, from one particular provider. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfSoftwareVersion\"],\"properties\":{\"vnfSoftwareVersion\":{\"description\":\"A version. \",\"type\":\"string\"},\"vnfdVersions\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"A version. \",\"type\":\"string\"}}}}}}}}}}},\"vnfInstanceIds\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"}},\"vnfInstanceNames\":{\"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. \",\"type\":\"array\",\"items\":{\"type\":\"string\"}}}},\"notificationTypes\":{\"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. \",\"type\":\"array\",\"items\":{\"type\":\"string\",\"enum\":[\"VnfLcmOperationOccurrenceNotification\",\"VnfIdentifierCreationNotification\",\"VnfIdentifierDeletionNotification\"]}},\"operationTypes\":{\"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. \",\"type\":\"array\",\"items\":{\"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. \",\"type\":\"string\",\"enum\":[\"INSTANTIATE\",\"SCALE\",\"SCALE_TO_LEVEL\",\"CHANGE_FLAVOUR\",\"TERMINATE\",\"HEAL\",\"OPERATE\",\"CHANGE_EXT_CONN\",\"MODIFY_INFO\"]}},\"operationStates\":{\"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. \",\"type\":\"array\",\"items\":{\"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. \",\"type\":\"string\",\"enum\":[\"STARTING\",\"PROCESSING\",\"COMPLETED\",\"FAILED_TEMP\",\"FAILED\",\"ROLLING_BACK\",\"ROLLED_BACK\"]}}}},\"callbackUri\":{\"description\":\"String formatted according to IETF RFC 3986. \",\"type\":\"string\"},\"_links\":{\"description\":\"Links to resources related to this resource. \",\"type\":\"object\",\"required\":[\"self\"],\"properties\":{\"self\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}}}}}};", "", "pm.test('Schema is valid', function() {", " pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;", "});" ] } } ], "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Authorization", "value": "{{Authorization}}" } ], "body": { "mode": "raw", "raw": "{\n \"callbackUri\" : \"http://10.100.60.82:9988/notify\"\n}" }, "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": [] }, { "name": "Delete Subscription", "event": [ { "listen": "test", "script": { "id": "75facf89-0095-412c-9b4c-0efb2561acec", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 204\", function () {", " pm.response.to.have.status(204);", "});" ] } } ], "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": [] }, { "name": "Read single subscription", "event": [ { "listen": "test", "script": { "id": "de3600d4-7ad8-42a6-857d-d12824a0fe58", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});", "", "var res_schema = {\"description\":\"This type represents a subscription related to notifications about VNF lifecycle changes. \",\"type\":\"object\",\"required\":[\"id\",\"callbackUri\",\"_links\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"filter\":{\"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). \",\"type\":\"object\",\"properties\":{\"vnfInstanceSubscriptionFilter\":{\"description\":\"This type represents subscription filter criteria to match VNF instances. \",\"type\":\"object\",\"properties\":{\"vnfdIds\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"}},\"vnfProductsFromProviders\":{\"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. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfProvider\"],\"properties\":{\"vnfProvider\":{\"description\":\"Name of the VNF provider to match. \",\"type\":\"string\"},\"vnfProducts\":{\"description\":\"If present, match VNF instances that belong to VNF products with certain product names, from one particular provider. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfProductName\"],\"properties\":{\"vnfProductName\":{\"description\":\"Name of the VNF product to match. \",\"type\":\"string\"},\"versions\":{\"description\":\"If present, match VNF instances that belong to VNF products with certain versions and a certain product name, from one particular provider. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfSoftwareVersion\"],\"properties\":{\"vnfSoftwareVersion\":{\"description\":\"A version. \",\"type\":\"string\"},\"vnfdVersions\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"A version. \",\"type\":\"string\"}}}}}}}}}}},\"vnfInstanceIds\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"}},\"vnfInstanceNames\":{\"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. \",\"type\":\"array\",\"items\":{\"type\":\"string\"}}}},\"notificationTypes\":{\"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. \",\"type\":\"array\",\"items\":{\"type\":\"string\",\"enum\":[\"VnfLcmOperationOccurrenceNotification\",\"VnfIdentifierCreationNotification\",\"VnfIdentifierDeletionNotification\"]}},\"operationTypes\":{\"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. \",\"type\":\"array\",\"items\":{\"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. \",\"type\":\"string\",\"enum\":[\"INSTANTIATE\",\"SCALE\",\"SCALE_TO_LEVEL\",\"CHANGE_FLAVOUR\",\"TERMINATE\",\"HEAL\",\"OPERATE\",\"CHANGE_EXT_CONN\",\"MODIFY_INFO\"]}},\"operationStates\":{\"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. \",\"type\":\"array\",\"items\":{\"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. \",\"type\":\"string\",\"enum\":[\"STARTING\",\"PROCESSING\",\"COMPLETED\",\"FAILED_TEMP\",\"FAILED\",\"ROLLING_BACK\",\"ROLLED_BACK\"]}}}},\"callbackUri\":{\"description\":\"String formatted according to IETF RFC 3986. \",\"type\":\"string\"},\"_links\":{\"description\":\"Links to resources related to this resource. \",\"type\":\"object\",\"required\":[\"self\"],\"properties\":{\"self\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}}}}}};", "", "pm.test('Schema is valid', function() {", " pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;", "});" ] } } ], "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": [] }, { "name": "Query all subscriptions", "event": [ { "listen": "test", "script": { "id": "aea93502-491e-4b19-99e3-9fa4d57c8d47", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});", "", "var res_schema = {\"description\":\"This type represents a subscription related to notifications about VNF lifecycle changes. \",\"type\":\"object\",\"required\":[\"id\",\"callbackUri\",\"_links\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"filter\":{\"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). \",\"type\":\"object\",\"properties\":{\"vnfInstanceSubscriptionFilter\":{\"description\":\"This type represents subscription filter criteria to match VNF instances. \",\"type\":\"object\",\"properties\":{\"vnfdIds\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"}},\"vnfProductsFromProviders\":{\"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. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfProvider\"],\"properties\":{\"vnfProvider\":{\"description\":\"Name of the VNF provider to match. \",\"type\":\"string\"},\"vnfProducts\":{\"description\":\"If present, match VNF instances that belong to VNF products with certain product names, from one particular provider. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfProductName\"],\"properties\":{\"vnfProductName\":{\"description\":\"Name of the VNF product to match. \",\"type\":\"string\"},\"versions\":{\"description\":\"If present, match VNF instances that belong to VNF products with certain versions and a certain product name, from one particular provider. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfSoftwareVersion\"],\"properties\":{\"vnfSoftwareVersion\":{\"description\":\"A version. \",\"type\":\"string\"},\"vnfdVersions\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"A version. \",\"type\":\"string\"}}}}}}}}}}},\"vnfInstanceIds\":{\"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. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"}},\"vnfInstanceNames\":{\"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. \",\"type\":\"array\",\"items\":{\"type\":\"string\"}}}},\"notificationTypes\":{\"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. \",\"type\":\"array\",\"items\":{\"type\":\"string\",\"enum\":[\"VnfLcmOperationOccurrenceNotification\",\"VnfIdentifierCreationNotification\",\"VnfIdentifierDeletionNotification\"]}},\"operationTypes\":{\"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. \",\"type\":\"array\",\"items\":{\"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. \",\"type\":\"string\",\"enum\":[\"INSTANTIATE\",\"SCALE\",\"SCALE_TO_LEVEL\",\"CHANGE_FLAVOUR\",\"TERMINATE\",\"HEAL\",\"OPERATE\",\"CHANGE_EXT_CONN\",\"MODIFY_INFO\"]}},\"operationStates\":{\"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. \",\"type\":\"array\",\"items\":{\"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. \",\"type\":\"string\",\"enum\":[\"STARTING\",\"PROCESSING\",\"COMPLETED\",\"FAILED_TEMP\",\"FAILED\",\"ROLLING_BACK\",\"ROLLED_BACK\"]}}}},\"callbackUri\":{\"description\":\"String formatted according to IETF RFC 3986. \",\"type\":\"string\"},\"_links\":{\"description\":\"Links to resources related to this resource. \",\"type\":\"object\",\"required\":[\"self\"],\"properties\":{\"self\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}}}}}};", "", "pm.test('Schema is valid', function() {", " pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;", "});" ] } } ], "request": { "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", "protocol": "{{scheme}}", "host": [ "{{host}}{{port}}" ], "path": [ "{{uri_prefix}}vnflcm", "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": [] } ] }, { "name": "vnf_instances", "description": "Folder for vnf_instances", "item": [ { "name": "Patch VNF Identifier", "event": [ { "listen": "test", "script": { "id": "adf254e6-da5c-4bc0-98ee-62312343cefd", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});", "" ] } } ], "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 \"vnfdId\": \"{{vnfdId}}\",\n \"vnfInstanceName\": \"API track instance - patched\",\n \"vnfInstanceDescription\": \"An instance created by the NFV PLU API Track - patched\"\n}" }, "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": "Scale to level", "event": [ { "listen": "test", "script": { "id": "dc99eaf6-b11a-426f-baca-ac2e58d67d33", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});", "", "" ] } } ], "request": { "auth": { "type": "bearer" }, "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "Parameters for the scale VNF to Level operation." }, "url": { "raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances/{{vnfInstanceIdTask}}/scale_to_level", "protocol": "{{scheme}}", "host": [ "{{host}}{{port}}" ], "path": [ "{{uri_prefix}}vnflcm", "v1", "vnf_instances", "{{vnfInstanceIdTask}}", "scale_to_level" ] }, "description": "The POST method requests to scale a VNF instance resource to a target level.\n" }, "response": [] }, { "name": "Query all VNF reasources", "event": [ { "listen": "test", "script": { "id": "5bc66055-9013-4a6c-9d94-603cd8d86fc2", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});", "", "var res_schema = { \"type\": \"array\", \"items\": { \"description\": \"This type represents a VNF instance. \", \"type\": \"object\", \"required\": [ \"id\", \"vnfdId\", \"vnfProvider\", \"vnfProductName\", \"vnfSoftwareVersion\", \"vnfdVersion\", \"vnfPkgId\", \"instantiationState\" ], \"properties\": { \"id\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"vnfInstanceName\": { \"description\": \"Name of the VNF instance. This attribute can be modified with the PATCH method. \", \"type\": \"string\" }, \"vnfInstanceDescription\": { \"description\": \"Human-readable description of the VNF instance. This attribute can be modified with the PATCH method. \", \"type\": \"string\" }, \"vnfdId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"vnfProvider\": { \"description\": \"Provider of the VNF and the VNFD. The value is copied from the VNFD. \", \"type\": \"string\" }, \"vnfProductName\": { \"description\": \"Name to identify the VNF Product. The value is copied from the VNFD. \", \"type\": \"string\" }, \"vnfSoftwareVersion\": { \"description\": \"A Version. \", \"type\": \"string\" }, \"vnfdVersion\": { \"description\": \"A Version. \", \"type\": \"string\" }, \"vnfPkgId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"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. \", \"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. \", \"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. \", \"type\": \"object\", \"required\": [ \"id\", \"vimType\" ], \"properties\": { \"id\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"vimId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"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. \", \"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. \", \"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. \", \"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. \", \"type\": \"object\" } } } }, \"instantiationState\": { \"description\": \"The instantiation state of the VNF. \", \"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. \", \"type\": \"object\", \"required\": [ \"flavourId\", \"vnfState\" ], \"properties\": { \"flavourId\": { \"description\": \"An identifier that is unique within a VNF descriptor. \", \"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. \", \"type\": \"array\", \"items\": { \"required\": [ \"aspectId\", \"scaleLevel\" ], \"type\": \"object\", \"properties\": { \"aspectId\": { \"description\": \"An identifier that is unique within a VNF descriptor. \", \"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. \", \"type\": \"integer\" } } } }, \"extCpInfo\": { \"description\": \"Information about the external CPs exposed by the VNF instance. \", \"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. \", \"type\": \"string\" }, \"cpdId\": { \"description\": \"An identifier that is unique within a VNF descriptor. \", \"type\": \"string\" }, \"cpProtocolInfo\": { \"description\": \"Network protocol information for this CP. \", \"type\": \"array\", \"items\": { \"description\": \"This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses. \", \"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. \", \"type\": \"string\", \"enum\": [ \"IP_OVER_ETHERNET\" ] }, \"ipOverEthernet\": { \"description\": \"This type represents information about a network address that has been assigned. \", \"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. \", \"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. \", \"type\": \"array\", \"items\": { \"type\": \"object\", \"required\": [ \"type\" ], \"properties\": { \"type\": { \"description\": \"The type of the IP addresses. Permitted values: IPV4, IPV6. \", \"type\": \"string\", \"enum\": [ \"IPV4\", \"IPV6\" ] }, \"addresses\": { \"description\": \"Fixed addresses assigned (from the subnet defined by \\\"subnetId\\\" if provided). \", \"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. \", \"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. \", \"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. \", \"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. \", \"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. \", \"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. \", \"type\": \"string\", \"format\": \"IP\" } } } } } } } } }, \"extLinkPortId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" } } } }, \"extVirtualLinkInfo\": { \"description\": \"Information about the external VLs the VNF instance is connected to. \", \"type\": \"array\", \"items\": { \"type\": \"object\", \"required\": [ \"id\", \"resourceHandle\" ], \"properties\": { \"id\": { \"description\": \"An identifier with the intention of being globally unique. \", \"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. \", \"properties\": { \"vimConnectionId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceProviderId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceId\": { \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \", \"type\": \"string\" }, \"vimLevelResourceType\": { \"description\": \"Type of the resource in the scope of the VIM or the resource provider. \", \"type\": \"string\" } } }, \"extLinkPorts\": { \"description\": \"Link ports of this VL. \", \"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. \", \"type\": \"object\", \"required\": [ \"id\", \"resourceHandle\" ], \"properties\": { \"id\": { \"description\": \"An identifier with the intention of being globally unique. \", \"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. \", \"properties\": { \"vimConnectionId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceProviderId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceId\": { \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \", \"type\": \"string\" }, \"vimLevelResourceType\": { \"description\": \"Type of the resource in the scope of the VIM or the resource provider. \", \"type\": \"string\" } } }, \"cpInstanceId\": { \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \", \"type\": \"string\" } } } } } } }, \"extManagedVirtualLinkInfo\": { \"description\": \"External virtual links the VNF instance is connected to. \", \"type\": \"array\", \"items\": { \"type\": \"object\", \"required\": [ \"id\", \"vnfVirtualLinkDescId\" ], \"properties\": { \"id\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"vnfVirtualLinkDescId\": { \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \", \"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. \", \"properties\": { \"vimConnectionId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceProviderId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceId\": { \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \", \"type\": \"string\" }, \"vimLevelResourceType\": { \"description\": \"Type of the resource in the scope of the VIM or the resource provider. \", \"type\": \"string\" } } }, \"vnfLinkPorts\": { \"description\": \"Link ports of this VL. \", \"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. \", \"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. \", \"properties\": { \"vimConnectionId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceProviderId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceId\": { \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \", \"type\": \"string\" }, \"vimLevelResourceType\": { \"description\": \"Type of the resource in the scope of the VIM or the resource provider. \", \"type\": \"string\" } } }, \"cpInstanceId\": { \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \", \"type\": \"string\" } } } } } } }, \"monitoringParameters\": { \"description\": \"Active monitoring parameters. \", \"type\": \"array\", \"items\": { \"type\": \"object\", \"required\": [ \"id\", \"value\", \"timeStamp\" ], \"properties\": { \"id\": { \"description\": \"An identifier that is unique within a VNF descriptor. \", \"type\": \"string\" }, \"name\": { \"description\": \"Human readable name of the monitoring parameter, as defined in the VNFD. \", \"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. \", \"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. \", \"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. \", \"type\": \"string\" }, \"vnfcResourceInfo\": { \"description\": \"Information about the virtualised compute and storage resources used by the VNFCs of the VNF instance. \", \"type\": \"array\", \"items\": { \"description\": \"This type represents the information on virtualised compute and storage resources used by a VNFC in a VNF instance. \", \"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. \", \"type\": \"string\" }, \"vduId\": { \"description\": \"An identifier that is unique within a VNF descriptor. \", \"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. \", \"properties\": { \"vimConnectionId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceProviderId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceId\": { \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \", \"type\": \"string\" }, \"vimLevelResourceType\": { \"description\": \"Type of the resource in the scope of the VIM or the resource provider. \", \"type\": \"string\" } } }, \"storageResourceIds\": { \"description\": \"References to the VirtualStorage resources. The value refers to a VirtualStorageResourceInfo item in the VnfInstance. \", \"type\": \"array\", \"items\": { \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \", \"type\": \"string\" } }, \"reservationId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"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. \", \"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. \", \"type\": \"string\" }, \"cpdId\": { \"description\": \"An identifier that is unique within a VNF descriptor. \", \"type\": \"string\" }, \"vnfExtCpId\": { \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \", \"type\": \"string\" }, \"cpProtocolInfo\": { \"description\": \"Network protocol information for this CP. \", \"type\": \"array\", \"items\": { \"description\": \"This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses. \", \"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. \", \"type\": \"string\", \"enum\": [ \"IP_OVER_ETHERNET\" ] }, \"ipOverEthernet\": { \"description\": \"This type represents information about a network address that has been assigned. \", \"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. \", \"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. \", \"type\": \"array\", \"items\": { \"type\": \"object\", \"required\": [ \"type\" ], \"properties\": { \"type\": { \"description\": \"The type of the IP addresses. Permitted values: IPV4, IPV6. \", \"type\": \"string\", \"enum\": [ \"IPV4\", \"IPV6\" ] }, \"addresses\": { \"description\": \"Fixed addresses assigned (from the subnet defined by \\\"subnetId\\\" if provided). \", \"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. \", \"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. \", \"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. \", \"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. \", \"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. \", \"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. \", \"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. \", \"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. \", \"type\": \"object\" } } } }, \"virtualLinkResourceInfo\": { \"description\": \"Information about the virtualised network resources used by the VLs of the VNF instance. \", \"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. \", \"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. \", \"type\": \"string\" }, \"vnfVirtualLinkDescId\": { \"description\": \"An identifier that is unique within a VNF descriptor. \", \"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. \", \"properties\": { \"vimConnectionId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceProviderId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceId\": { \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \", \"type\": \"string\" }, \"vimLevelResourceType\": { \"description\": \"Type of the resource in the scope of the VIM or the resource provider. \", \"type\": \"string\" } } }, \"reservationId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"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. \", \"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. \", \"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. \", \"properties\": { \"vimConnectionId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceProviderId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceId\": { \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \", \"type\": \"string\" }, \"vimLevelResourceType\": { \"description\": \"Type of the resource in the scope of the VIM or the resource provider. \", \"type\": \"string\" } } }, \"cpInstanceId\": { \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \", \"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. \", \"type\": \"object\" } } } }, \"virtualStorageResourceInfo\": { \"description\": \"Information on the virtualised storage resource(s) used as storage for the VNF instance. \", \"type\": \"array\", \"items\": { \"description\": \"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. \", \"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. \", \"type\": \"string\" }, \"virtualStorageDescId\": { \"description\": \"An identifier that is unique within a VNF descriptor. \", \"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. \", \"properties\": { \"vimConnectionId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceProviderId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceId\": { \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \", \"type\": \"string\" }, \"vimLevelResourceType\": { \"description\": \"Type of the resource in the scope of the VIM or the resource provider. \", \"type\": \"string\" } } }, \"reservationId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"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. \", \"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. \", \"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. \", \"type\": \"object\" }, \"_links\": { \"description\": \"Links to resources related to this resource. \", \"type\": \"object\", \"required\": [ \"self\" ], \"properties\": { \"self\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"indicators\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"instantiate\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"terminate\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"scale\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"scaleToLevel\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"changeFlavour\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"heal\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"operate\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"changeExtConn\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } } } } } } };", "", "pm.test('Schema is valid', function() {", " pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;", "});", "", "" ] } } ], "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": "Terminate VNF", "event": [ { "listen": "test", "script": { "id": "dcabf0ae-7de6-461d-b42b-b736a14e8863", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});", "" ] } } ], "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Authorization", "value": "{{Authorization}}" } ], "body": { "mode": "raw", "raw": "{\n\t\"terminationType\": \"FORCEFUL\"\n}" }, "url": { "raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances/{{vnfInstanceIdTask}}/terminate", "protocol": "{{scheme}}", "host": [ "{{host}}{{port}}" ], "path": [ "{{uri_prefix}}vnflcm", "v1", "vnf_instances", "{{vnfInstanceIdTask}}", "terminate" ] }, "description": "The POST method terminates a VNF instance.\n" }, "response": [] }, { "name": "operate", "event": [ { "listen": "test", "script": { "id": "30721adf-8700-4d28-8434-5a6bebe7ac3e", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});", "" ] } } ], "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Authorization", "value": "{{Authorization}}" } ], "body": { "mode": "raw", "raw": "{\n\t\"changeStateTo\": \"STARTED\"\n}" }, "url": { "raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances/{{vnfInstanceIdTask}}/operate", "protocol": "{{scheme}}", "host": [ "{{host}}{{port}}" ], "path": [ "{{uri_prefix}}vnflcm", "v1", "vnf_instances", "{{vnfInstanceIdTask}}", "operate" ] }, "description": "The POST method changes the operational state of a VNF instance resource.\n" }, "response": [] }, { "name": "Read VNF resource", "event": [ { "listen": "test", "script": { "id": "d6a7632c-7bf9-488a-9e3a-46475c3e7e2f", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});", "", "var res_schema = {\"description\":\"This type represents a VNF instance. \",\"type\":\"object\",\"required\":[\"id\",\"vnfdId\",\"vnfProvider\",\"vnfProductName\",\"vnfSoftwareVersion\",\"vnfdVersion\",\"onboardedVnfPkgInfoId\",\"instantiationState\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vnfInstanceName\":{\"description\":\"Name of the VNF instance. This attribute can be modified with the PATCH method. \",\"type\":\"string\"},\"vnfInstanceDescription\":{\"description\":\"Human-readable description of the VNF instance. This attribute can be modified with the PATCH method. \",\"type\":\"string\"},\"vnfdId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vnfProvider\":{\"description\":\"Provider of the VNF and the VNFD. The value is copied from the VNFD. \",\"type\":\"string\"},\"vnfProductName\":{\"description\":\"Name to identify the VNF Product. The value is copied from the VNFD. \",\"type\":\"string\"},\"vnfSoftwareVersion\":{\"description\":\"A Version. \",\"type\":\"string\"},\"vnfdVersion\":{\"description\":\"A Version. \",\"type\":\"string\"},\"onboardedVnfPkgInfoId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"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. \",\"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. \",\"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. \",\"type\":\"object\",\"required\":[\"id\",\"vimType\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vimId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"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. \",\"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. \",\"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. \",\"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. \",\"type\":\"object\"}}}},\"instantiationState\":{\"description\":\"The instantiation state of the VNF. \",\"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. \",\"type\":\"object\",\"required\":[\"flavourId\",\"vnfState\"],\"properties\":{\"flavourId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"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. \",\"type\":\"array\",\"items\":{\"required\":[\"aspectId\",\"scaleLevel\"],\"type\":\"object\",\"properties\":{\"aspectId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"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. \",\"type\":\"integer\"}}}},\"extCpInfo\":{\"description\":\"Information about the external CPs exposed by the VNF instance. \",\"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. \",\"type\":\"string\"},\"cpdId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"cpProtocolInfo\":{\"description\":\"Network protocol information for this CP. \",\"type\":\"array\",\"items\":{\"description\":\"This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses. \",\"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. \",\"type\":\"string\",\"enum\":[\"IP_OVER_ETHERNET\"]},\"ipOverEthernet\":{\"description\":\"This type represents information about a network address that has been assigned. \",\"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. \",\"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. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"type\"],\"properties\":{\"type\":{\"description\":\"The type of the IP addresses. Permitted values: IPV4, IPV6. \",\"type\":\"string\",\"enum\":[\"IPV4\",\"IPV6\"]},\"addresses\":{\"description\":\"Fixed addresses assigned (from the subnet defined by \\\"subnetId\\\" if provided). \",\"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. \",\"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. \",\"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. \",\"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. \",\"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. \",\"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. \",\"type\":\"string\",\"format\":\"IP\"}}}}}}}}},\"extLinkPortId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"}}}},\"extVirtualLinkInfo\":{\"description\":\"Information about the external VLs the VNF instance is connected to. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"id\",\"resourceHandle\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"extLinkPorts\":{\"description\":\"Link ports of this VL. \",\"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. \",\"type\":\"object\",\"required\":[\"id\",\"resourceHandle\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"cpInstanceId\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}}}}}}},\"extManagedVirtualLinkInfo\":{\"description\":\"External virtual links the VNF instance is connected to. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"id\",\"vnfVirtualLinkDescId\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vnfVirtualLinkDescId\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"vnfLinkPorts\":{\"description\":\"Link ports of this VL. \",\"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. \",\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"cpInstanceId\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}}}}}}},\"monitoringParameters\":{\"description\":\"Active monitoring parameters. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"id\",\"value\",\"timeStamp\"],\"properties\":{\"id\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"name\":{\"description\":\"Human readable name of the monitoring parameter, as defined in the VNFD. \",\"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. \",\"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. \",\"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. \",\"type\":\"string\"},\"vnfcResourceInfo\":{\"description\":\"Information about the virtualised compute and storage resources used by the VNFCs of the VNF instance. \",\"type\":\"array\",\"items\":{\"description\":\"This type represents the information on virtualised compute and storage resources used by a VNFC in a VNF instance. \",\"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. \",\"type\":\"string\"},\"vduId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"storageResourceIds\":{\"description\":\"References to the VirtualStorage resources. The value refers to a VirtualStorageResourceInfo item in the VnfInstance. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}},\"reservationId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"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. \",\"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. \",\"type\":\"string\"},\"cpdId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"vnfExtCpId\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"},\"cpProtocolInfo\":{\"description\":\"Network protocol information for this CP. \",\"type\":\"array\",\"items\":{\"description\":\"This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses. \",\"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. \",\"type\":\"string\",\"enum\":[\"IP_OVER_ETHERNET\"]},\"ipOverEthernet\":{\"description\":\"This type represents information about a network address that has been assigned. \",\"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. \",\"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. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"type\"],\"properties\":{\"type\":{\"description\":\"The type of the IP addresses. Permitted values: IPV4, IPV6. \",\"type\":\"string\",\"enum\":[\"IPV4\",\"IPV6\"]},\"addresses\":{\"description\":\"Fixed addresses assigned (from the subnet defined by \\\"subnetId\\\" if provided). \",\"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. \",\"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. \",\"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. \",\"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. \",\"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. \",\"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. \",\"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. \",\"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. \",\"type\":\"object\"}}}},\"virtualLinkResourceInfo\":{\"description\":\"Information about the virtualised network resources used by the VLs of the VNF instance. \",\"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. \",\"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. \",\"type\":\"string\"},\"vnfVirtualLinkDescId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"reservationId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"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. \",\"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. \",\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"cpInstanceId\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"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. \",\"type\":\"object\"}}}},\"virtualStorageResourceInfo\":{\"description\":\"Information on the virtualised storage resource(s) used as storage for the VNF instance. \",\"type\":\"array\",\"items\":{\"description\":\"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. \",\"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. \",\"type\":\"string\"},\"virtualStorageDescId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"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. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"reservationId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"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. \",\"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. \",\"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. \",\"type\":\"object\"},\"_links\":{\"description\":\"Links to resources related to this resource. \",\"type\":\"object\",\"required\":[\"self\"],\"properties\":{\"self\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"indicators\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"instantiate\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"terminate\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"scale\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"scaleToLevel\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"changeFlavour\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"heal\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"operate\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"changeExtConn\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}}}}}};", "", "pm.test('Schema is valid', function() {", " pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;", "});", "" ] } } ], "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": "6839ab7c-7b79-40dc-a18f-b87eb613e23a", "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": "" }, "url": { "raw": "https://vnflcm/v1/vnf_instances/abba1970", "protocol": "https", "host": [ "vnflcm" ], "path": [ "v1", "vnf_instances", "abba1970" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Instantiate VNF", "event": [ { "listen": "test", "script": { "id": "30168bd5-596a-44c9-ac08-b95677b144ae", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});", "" ] } } ], "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Authorization", "value": "{{Authorization}}" } ], "body": { "mode": "raw", "raw": "{\n\t\"flavourId\": \"default\"\n}" }, "url": { "raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances/{{vnfInstanceId}}/instantiate", "protocol": "{{scheme}}", "host": [ "{{host}}{{port}}" ], "path": [ "{{uri_prefix}}vnflcm", "v1", "vnf_instances", "{{vnfInstanceId}}", "instantiate" ] }, "description": "The POST method instantiates a VNF instance.\n" }, "response": [] }, { "name": "change flavour", "event": [ { "listen": "test", "script": { "id": "30c93b0e-c079-4512-b2b4-64345b8d7abc", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});", "" ] } } ], "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n\t\"newFlavourId\": \"default_2\"\n}" }, "url": { "raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances/{{vnfInstanceIdTask}}/change_flavour", "protocol": "{{scheme}}", "host": [ "{{host}}{{port}}" ], "path": [ "{{uri_prefix}}vnflcm", "v1", "vnf_instances", "{{vnfInstanceIdTask}}", "change_flavour" ] }, "description": "The POST method changes the deployment flavour of a VNF instance.\n" }, "response": [] }, { "name": "instantiate", "event": [ { "listen": "test", "script": { "id": "5e10165e-29cc-4095-986b-e05131f0c88b", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});", "" ] } } ], "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n\t\"flavourId\": \"default\"\n}" }, "url": { "raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances/{{vnfInstanceIdTask}}/instantiate", "protocol": "{{scheme}}", "host": [ "{{host}}{{port}}" ], "path": [ "{{uri_prefix}}vnflcm", "v1", "vnf_instances", "{{vnfInstanceIdTask}}", "instantiate" ] }, "description": "The POST method requests to scale a VNF instance resource incrementally.\n" }, "response": [] }, { "name": "Delete VNF Identifier", "event": [ { "listen": "test", "script": { "id": "2625b57b-574f-45d0-aa2e-40c02c2ae047", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 204\", function () {", " pm.response.to.have.status(204);", "});", "" ] } } ], "request": { "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/vnf_instances/{{vnfInstanceId}}", "protocol": "{{scheme}}", "host": [ "{{host}}{{port}}" ], "path": [ "{{uri_prefix}}vnflcm", "v1", "vnf_instances", "{{vnfInstanceId}}" ] }, "description": "This method deletes an individual VNF instance resource.\n" }, "response": [] }, { "name": "heal", "event": [ { "listen": "test", "script": { "id": "558e63c2-f231-4276-807e-936e0208a3b1", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});", "" ] } } ], "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n\t\"changeStateTo\": \"STARTED\"\n}" }, "url": { "raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances/{{vnfInstanceIdTask}}/heal", "protocol": "{{scheme}}", "host": [ "{{host}}{{port}}" ], "path": [ "{{uri_prefix}}vnflcm", "v1", "vnf_instances", "{{vnfInstanceIdTask}}", "heal" ] }, "description": "The POST method requests to heal a VNF instance resource.\n" }, "response": [] }, { "name": "change ext conn", "event": [ { "listen": "test", "script": { "id": "4e7bca7f-e0a1-41b3-8432-80326587c218", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});", "" ] } } ], "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n\t\"extVirtualLinks\": [\n\t\t{\n\t\t\t\"id\": \"uuid\",\n\t\t\t\"resourceId\": \"identifierInVim\",\n\t\t\t\"extCps\": [{\n\t\t\t\t\"cpdId\": \"cpdId\",\n\t\t\t\t\"cpConfig\": []\n\t\t\t}]\n\t\t}\t\n\t]\n}" }, "url": { "raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances/{{vnfInstanceIdTask}}/change_ext_conn", "protocol": "{{scheme}}", "host": [ "{{host}}{{port}}" ], "path": [ "{{uri_prefix}}vnflcm", "v1", "vnf_instances", "{{vnfInstanceIdTask}}", "change_ext_conn" ] }, "description": "The POST method changes the external connectivity of a VNF instance.\n" }, "response": [] }, { "name": "Create a VNF Identifier", "event": [ { "listen": "test", "script": { "id": "dade2156-045c-4f16-b31f-0d6c63347a6e", "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. \", \"type\": \"object\", \"required\": [ \"id\", \"vnfdId\", \"vnfProvider\", \"vnfProductName\", \"vnfSoftwareVersion\", \"vnfdVersion\", \"vnfPkgId\", \"instantiationState\" ], \"properties\": { \"id\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"vnfInstanceName\": { \"description\": \"Name of the VNF instance. This attribute can be modified with the PATCH method. \", \"type\": \"string\" }, \"vnfInstanceDescription\": { \"description\": \"Human-readable description of the VNF instance. This attribute can be modified with the PATCH method. \", \"type\": \"string\" }, \"vnfdId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"vnfProvider\": { \"description\": \"Provider of the VNF and the VNFD. The value is copied from the VNFD. \", \"type\": \"string\" }, \"vnfProductName\": { \"description\": \"Name to identify the VNF Product. The value is copied from the VNFD. \", \"type\": \"string\" }, \"vnfSoftwareVersion\": { \"description\": \"A Version. \", \"type\": \"string\" }, \"vnfdVersion\": { \"description\": \"A Version. \", \"type\": \"string\" }, \"vnfPkgId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"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. \", \"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. \", \"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. \", \"type\": \"object\", \"required\": [ \"id\", \"vimType\" ], \"properties\": { \"id\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"vimId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"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. \", \"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. \", \"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. \", \"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. \", \"type\": \"object\" } } } }, \"instantiationState\": { \"description\": \"The instantiation state of the VNF. \", \"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. \", \"type\": \"object\", \"required\": [ \"flavourId\", \"vnfState\" ], \"properties\": { \"flavourId\": { \"description\": \"An identifier that is unique within a VNF descriptor. \", \"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. \", \"type\": \"array\", \"items\": { \"required\": [ \"aspectId\", \"scaleLevel\" ], \"type\": \"object\", \"properties\": { \"aspectId\": { \"description\": \"An identifier that is unique within a VNF descriptor. \", \"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. \", \"type\": \"integer\" } } } }, \"extCpInfo\": { \"description\": \"Information about the external CPs exposed by the VNF instance. \", \"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. \", \"type\": \"string\" }, \"cpdId\": { \"description\": \"An identifier that is unique within a VNF descriptor. \", \"type\": \"string\" }, \"cpProtocolInfo\": { \"description\": \"Network protocol information for this CP. \", \"type\": \"array\", \"items\": { \"description\": \"This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses. \", \"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. \", \"type\": \"string\", \"enum\": [ \"IP_OVER_ETHERNET\" ] }, \"ipOverEthernet\": { \"description\": \"This type represents information about a network address that has been assigned. \", \"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. \", \"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. \", \"type\": \"array\", \"items\": { \"type\": \"object\", \"required\": [ \"type\" ], \"properties\": { \"type\": { \"description\": \"The type of the IP addresses. Permitted values: IPV4, IPV6. \", \"type\": \"string\", \"enum\": [ \"IPV4\", \"IPV6\" ] }, \"addresses\": { \"description\": \"Fixed addresses assigned (from the subnet defined by \\\"subnetId\\\" if provided). \", \"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. \", \"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. \", \"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. \", \"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. \", \"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. \", \"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. \", \"type\": \"string\", \"format\": \"IP\" } } } } } } } } }, \"extLinkPortId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" } } } }, \"extVirtualLinkInfo\": { \"description\": \"Information about the external VLs the VNF instance is connected to. \", \"type\": \"array\", \"items\": { \"type\": \"object\", \"required\": [ \"id\", \"resourceHandle\" ], \"properties\": { \"id\": { \"description\": \"An identifier with the intention of being globally unique. \", \"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. \", \"properties\": { \"vimConnectionId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceProviderId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceId\": { \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \", \"type\": \"string\" }, \"vimLevelResourceType\": { \"description\": \"Type of the resource in the scope of the VIM or the resource provider. \", \"type\": \"string\" } } }, \"extLinkPorts\": { \"description\": \"Link ports of this VL. \", \"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. \", \"type\": \"object\", \"required\": [ \"id\", \"resourceHandle\" ], \"properties\": { \"id\": { \"description\": \"An identifier with the intention of being globally unique. \", \"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. \", \"properties\": { \"vimConnectionId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceProviderId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceId\": { \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \", \"type\": \"string\" }, \"vimLevelResourceType\": { \"description\": \"Type of the resource in the scope of the VIM or the resource provider. \", \"type\": \"string\" } } }, \"cpInstanceId\": { \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \", \"type\": \"string\" } } } } } } }, \"extManagedVirtualLinkInfo\": { \"description\": \"External virtual links the VNF instance is connected to. \", \"type\": \"array\", \"items\": { \"type\": \"object\", \"required\": [ \"id\", \"vnfVirtualLinkDescId\" ], \"properties\": { \"id\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"vnfVirtualLinkDescId\": { \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \", \"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. \", \"properties\": { \"vimConnectionId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceProviderId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceId\": { \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \", \"type\": \"string\" }, \"vimLevelResourceType\": { \"description\": \"Type of the resource in the scope of the VIM or the resource provider. \", \"type\": \"string\" } } }, \"vnfLinkPorts\": { \"description\": \"Link ports of this VL. \", \"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. \", \"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. \", \"properties\": { \"vimConnectionId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceProviderId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceId\": { \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \", \"type\": \"string\" }, \"vimLevelResourceType\": { \"description\": \"Type of the resource in the scope of the VIM or the resource provider. \", \"type\": \"string\" } } }, \"cpInstanceId\": { \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \", \"type\": \"string\" } } } } } } }, \"monitoringParameters\": { \"description\": \"Active monitoring parameters. \", \"type\": \"array\", \"items\": { \"type\": \"object\", \"required\": [ \"id\", \"value\", \"timeStamp\" ], \"properties\": { \"id\": { \"description\": \"An identifier that is unique within a VNF descriptor. \", \"type\": \"string\" }, \"name\": { \"description\": \"Human readable name of the monitoring parameter, as defined in the VNFD. \", \"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. \", \"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. \", \"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. \", \"type\": \"string\" }, \"vnfcResourceInfo\": { \"description\": \"Information about the virtualised compute and storage resources used by the VNFCs of the VNF instance. \", \"type\": \"array\", \"items\": { \"description\": \"This type represents the information on virtualised compute and storage resources used by a VNFC in a VNF instance. \", \"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. \", \"type\": \"string\" }, \"vduId\": { \"description\": \"An identifier that is unique within a VNF descriptor. \", \"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. \", \"properties\": { \"vimConnectionId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceProviderId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceId\": { \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \", \"type\": \"string\" }, \"vimLevelResourceType\": { \"description\": \"Type of the resource in the scope of the VIM or the resource provider. \", \"type\": \"string\" } } }, \"storageResourceIds\": { \"description\": \"References to the VirtualStorage resources. The value refers to a VirtualStorageResourceInfo item in the VnfInstance. \", \"type\": \"array\", \"items\": { \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \", \"type\": \"string\" } }, \"reservationId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"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. \", \"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. \", \"type\": \"string\" }, \"cpdId\": { \"description\": \"An identifier that is unique within a VNF descriptor. \", \"type\": \"string\" }, \"vnfExtCpId\": { \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \", \"type\": \"string\" }, \"cpProtocolInfo\": { \"description\": \"Network protocol information for this CP. \", \"type\": \"array\", \"items\": { \"description\": \"This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses. \", \"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. \", \"type\": \"string\", \"enum\": [ \"IP_OVER_ETHERNET\" ] }, \"ipOverEthernet\": { \"description\": \"This type represents information about a network address that has been assigned. \", \"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. \", \"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. \", \"type\": \"array\", \"items\": { \"type\": \"object\", \"required\": [ \"type\" ], \"properties\": { \"type\": { \"description\": \"The type of the IP addresses. Permitted values: IPV4, IPV6. \", \"type\": \"string\", \"enum\": [ \"IPV4\", \"IPV6\" ] }, \"addresses\": { \"description\": \"Fixed addresses assigned (from the subnet defined by \\\"subnetId\\\" if provided). \", \"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. \", \"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. \", \"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. \", \"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. \", \"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. \", \"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. \", \"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. \", \"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. \", \"type\": \"object\" } } } }, \"virtualLinkResourceInfo\": { \"description\": \"Information about the virtualised network resources used by the VLs of the VNF instance. \", \"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. \", \"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. \", \"type\": \"string\" }, \"vnfVirtualLinkDescId\": { \"description\": \"An identifier that is unique within a VNF descriptor. \", \"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. \", \"properties\": { \"vimConnectionId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceProviderId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceId\": { \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \", \"type\": \"string\" }, \"vimLevelResourceType\": { \"description\": \"Type of the resource in the scope of the VIM or the resource provider. \", \"type\": \"string\" } } }, \"reservationId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"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. \", \"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. \", \"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. \", \"properties\": { \"vimConnectionId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceProviderId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceId\": { \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \", \"type\": \"string\" }, \"vimLevelResourceType\": { \"description\": \"Type of the resource in the scope of the VIM or the resource provider. \", \"type\": \"string\" } } }, \"cpInstanceId\": { \"description\": \"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \", \"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. \", \"type\": \"object\" } } } }, \"virtualStorageResourceInfo\": { \"description\": \"Information on the virtualised storage resource(s) used as storage for the VNF instance. \", \"type\": \"array\", \"items\": { \"description\": \"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. \", \"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. \", \"type\": \"string\" }, \"virtualStorageDescId\": { \"description\": \"An identifier that is unique within a VNF descriptor. \", \"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. \", \"properties\": { \"vimConnectionId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceProviderId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"type\": \"string\" }, \"resourceId\": { \"description\": \"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \", \"type\": \"string\" }, \"vimLevelResourceType\": { \"description\": \"Type of the resource in the scope of the VIM or the resource provider. \", \"type\": \"string\" } } }, \"reservationId\": { \"description\": \"An identifier with the intention of being globally unique. \", \"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. \", \"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. \", \"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. \", \"type\": \"object\" }, \"_links\": { \"description\": \"Links to resources related to this resource. \", \"type\": \"object\", \"required\": [ \"self\" ], \"properties\": { \"self\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"indicators\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"instantiate\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"terminate\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"scale\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"scaleToLevel\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"changeFlavour\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"heal\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"operate\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } }, \"changeExtConn\": { \"description\": \"This type represents a link to a resource. \", \"type\": \"object\", \"required\": [ \"href\" ], \"properties\": { \"href\": { \"description\": \"URI of the referenced resource. \", \"type\": \"string\", \"format\": \"url\" } } } } } } };", "", "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": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"vnfdId\": \"{{vnfdId}}\",\n \"vnfInstanceName\": \"API track instance\",\n \"vnfInstanceDescription\": \"An instance created by the NFV PLU API Track\"\n}" }, "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": "Scale", "event": [ { "listen": "test", "script": { "id": "ec6c7e56-77c8-4d60-a8a0-f0fcd9516bd0", "type": "text/javascript", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});", "", "" ] } } ], "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Authorization", "value": "{{Authorization}}" } ], "body": { "mode": "raw", "raw": "{\n\t\"type\": \"SCALE_OUT\",\n\t\"aspectId\": \"IdentifierInVnfd\"\n}" }, "url": { "raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/vnf_instances/{{vnfInstanceIdTask}}/scale", "protocol": "{{scheme}}", "host": [ "{{host}}{{port}}" ], "path": [ "{{uri_prefix}}vnflcm", "v1", "vnf_instances", "{{vnfInstanceIdTask}}", "scale" ] }, "description": "The POST method changes the deployment flavour of a VNF instance.\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": [ "" ] } } ] }