Merge "PNF WF post instantiation configuration"
authorSteve Smokowski <ss835w@att.com>
Wed, 10 Apr 2019 10:53:55 +0000 (10:53 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 10 Apr 2019 10:53:55 +0000 (10:53 +0000)
86 files changed:
adapters/mso-vnfm-adapter/mso-vnfm-adapter-ext-clients/pom.xml
adapters/mso-vnfm-adapter/mso-vnfm-adapter-ext-clients/src/main/resources/SOL003-VNFLifecycleOperationGranting-API.json [new file with mode: 0644]
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/pom.xml
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/NvfmAdapterUtils.java [new file with mode: 0644]
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/VnfmAdapterApplication.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/extclients/SdcPackageProvider.java [new file with mode: 0644]
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/extclients/aai/AaiHelper.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/extclients/aai/AaiPropertiesImpl.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/extclients/aai/AaiServiceProvider.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/extclients/aai/AaiServiceProviderImpl.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/extclients/aai/OamIpAddressSource.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/extclients/vnfm/VnfmHelper.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/extclients/vnfm/VnfmServiceProvider.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/extclients/vnfm/VnfmServiceProviderConfiguration.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/extclients/vnfm/VnfmServiceProviderImpl.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/extclients/vnfm/VnfmUrlProvider.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/jobmanagement/JobManager.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/lifecycle/LifecycleManager.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/notificationhandling/NotificationHandler.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/rest/Sol003GrantController.java [new file with mode: 0644]
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/rest/Sol003LcnContoller.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/rest/VnfmAdapterController.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/rest/exceptions/TenantNotFoundException.java [new file with mode: 0644]
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/resources/application.yaml
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/test/java/org/onap/so/adapters/vnfmadapter/rest/HealthCheckTest.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/test/java/org/onap/so/adapters/vnfmadapter/rest/Sol003GrantControllerTest.java [new file with mode: 0644]
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/test/java/org/onap/so/adapters/vnfmadapter/rest/Sol003LcnControllerTest.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/test/java/org/onap/so/adapters/vnfmadapter/rest/VnfmAdapterControllerTest.java
adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/test/resources/application-test.yaml
bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/bbobjects/Customer.java
bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCompareServiceInstanceData.groovy [new file with mode: 0644]
bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/UpdateCustomE2EServiceInstance.groovy
bpmn/so-bpmn-infrastructure-common/src/test/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCompareServiceInstanceDataTest.groovy [new file with mode: 0644]
bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/UpdateCustomE2EServiceInstance.bpmn
bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoCompareServiceInstanceData.bpmn [new file with mode: 0644]
bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoUpdateE2EServiceInstance.bpmn
bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/buildingblock/OofHomingV2.java
bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/oof/beans/LicenseDemand.java [new file with mode: 0644]
bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/oof/beans/LicenseInfo.java [new file with mode: 0644]
bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/oof/beans/OofRequest.java
bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/oof/beans/PlacementDemand.java
bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/oof/beans/PlacementInfo.java
bpmn/so-bpmn-tasks/src/test/java/org/onap/so/BaseIntegrationTest.java
bpmn/so-bpmn-tasks/src/test/java/org/onap/so/bpmn/infrastructure/flowspecific/tasks/OofHomingV2IT.java [new file with mode: 0644]
bpmn/so-bpmn-tasks/src/test/java/org/onap/so/client/oof/OofClientTestIT.java
bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/OofHoming/oofRequest1Vpn.json [new file with mode: 0644]
bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/OofHoming/oofRequest1VpnOpt.json [new file with mode: 0644]
bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/OofHoming/oofRequest3Ar.json [new file with mode: 0644]
bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/OofHoming/oofRequest3Vpn.json [new file with mode: 0644]
packages/docker/pom.xml
packages/docker/src/main/docker/docker-files/scripts/start-app.sh
pom.xml
vnfm-simulator/README.md [new file with mode: 0644]
vnfm-simulator/packages/docker/pom.xml [new file with mode: 0644]
vnfm-simulator/packages/docker/src/main/docker/Dockerfile [new file with mode: 0644]
vnfm-simulator/packages/docker/src/main/docker/start-app.sh [new file with mode: 0644]
vnfm-simulator/packages/pom.xml [new file with mode: 0644]
vnfm-simulator/pom.xml [new file with mode: 0644]
vnfm-simulator/vnf-service/pom.xml [new file with mode: 0644]
vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/controller/SvnfmController.java [new file with mode: 0644]
vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/controller/SvnfmHealthcheck.java [new file with mode: 0644]
vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/exception/GlobalExceptionHandler.java [new file with mode: 0644]
vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/exception/InvalidRestRequestException.java [new file with mode: 0644]
vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/exception/RestProcessingException.java [new file with mode: 0644]
vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/services/SvnfmService.java [new file with mode: 0644]
vnfm-simulator/vnf-service/src/main/resources/json/createVNFResponse.json [new file with mode: 0644]
vnfm-simulator/vnfm-api/pom.xml [new file with mode: 0644]
vnfm-simulator/vnfm-api/src/main/resources/vnfm-sim-swagger.json [new file with mode: 0644]
vnfm-simulator/vnfm-api/src/main/resources/vnfm-sim-swagger.yaml [new file with mode: 0644]
vnfm-simulator/vnfm-service/pom.xml [new file with mode: 0644]
vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/config/SvnfmApplication.java [new file with mode: 0644]
vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/constants/Constant.java [new file with mode: 0644]
vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/controller/SvnfmController.java [new file with mode: 0644]
vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/exception/GlobalExceptionHandler.java [new file with mode: 0644]
vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/model/VnfInstance.java [new file with mode: 0644]
vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/model/VnfJob.java [new file with mode: 0644]
vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/notifications/VnfInstantiationNotification.java [new file with mode: 0644]
vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/notifications/VnfmAdapterCreationNotification.java [new file with mode: 0644]
vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/notifications/VnfmAdapterDeletionNotification.java [new file with mode: 0644]
vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/repository/VnfJobRepository.java [new file with mode: 0644]
vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/repository/VnfmCacheRepository.java [new file with mode: 0644]
vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/repository/VnfmRepository.java [new file with mode: 0644]
vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/services/SvnfmService.java [new file with mode: 0644]
vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/services/VnfmHelper.java [new file with mode: 0644]
vnfm-simulator/vnfm-service/src/main/resources/application.properties [new file with mode: 0644]
vnfm-simulator/vnfm-service/src/test/java/org/onap/svnfm/simulator/controllers/TestSvnfmController.java [new file with mode: 0644]

index 9fa14b1..c161bc2 100644 (file)
@@ -15,6 +15,9 @@
         <okhttp-version>2.7.5</okhttp-version>
         <gson-fire-version>1.8.2</gson-fire-version>
         <threetenbp-version>1.3.5</threetenbp-version>
+        <retrofit2-version>2.4.0</retrofit2-version>
+        <okhttp3-version>3.14.0</okhttp3-version>
+        <oltu-version>1.0.1</oltu-version>
     </properties>
     <name>mso-vnfm-adapter-ext-clients</name>
     <description>Clients for the vnfm adpater to use towards REST endpoints which are external to the VNFM adapter/</description>
                             </configOptions>
                         </configuration>
                     </execution>
+                    <execution>
+                        <id>sol003-vnf-grant-api</id>
+                        <goals>
+                            <goal>generate</goal>
+                        </goals>
+                        <configuration>
+                            <inputSpec>${basedir}/src/main/resources/SOL003-VNFLifecycleOperationGranting-API.json
+                            </inputSpec>
+                            <language>java</language>
+                            <library>retrofit2</library>
+                            <output>${project.build.directory}/generated-sources/sol003-vnf-grant</output>
+                            <generateApis>false</generateApis>
+                            <modelPackage>org.onap.so.adapters.vnfmadapter.extclients.vnfm.grant.model</modelPackage>
+                            <configOptions>
+                                <generateSupportingFiles>false</generateSupportingFiles>
+                                <sourceFolder>src/gen/java/main</sourceFolder>
+                                <withXml>true</withXml>
+                                <useRxJava2>true</useRxJava2>
+                            </configOptions>
+                        </configuration>
+                    </execution>
                 </executions>
             </plugin>
         </plugins>
             <artifactId>threetenbp</artifactId>
             <version>${threetenbp-version}</version>
         </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.12</version>
+            <!-- the test code is generated into the main source code :( -->
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>com.squareup.retrofit2</groupId>
+            <artifactId>converter-gson</artifactId>
+            <version>${retrofit2-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.squareup.retrofit2</groupId>
+            <artifactId>retrofit</artifactId>
+            <version>${retrofit2-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.squareup.retrofit2</groupId>
+            <artifactId>converter-scalars</artifactId>
+            <version>${retrofit2-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.squareup.retrofit2</groupId>
+            <artifactId>adapter-rxjava2</artifactId>
+            <version>${retrofit2-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.squareup.okhttp3</groupId>
+            <artifactId>okhttp</artifactId>
+            <version>${okhttp3-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.squareup.okhttp3</groupId>
+            <artifactId>logging-interceptor</artifactId>
+            <version>${okhttp3-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.squareup.okhttp</groupId>
+            <artifactId>logging-interceptor</artifactId>
+            <version>${okhttp-version}</version>
+        </dependency>
+
+        <!--    Will clean these dependencies before commit    From here-->
+        <dependency>
+            <groupId>org.apache.oltu.oauth2</groupId>
+            <artifactId>org.apache.oltu.oauth2.client</artifactId>
+            <version>${oltu-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.oltu.oauth2</groupId>
+            <artifactId>org.apache.oltu.oauth2.common</artifactId>
+            <version>${oltu-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.oltu.oauth2</groupId>
+            <artifactId>org.apache.oltu.oauth2.client</artifactId>
+            <version>${oltu-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.oltu.oauth2</groupId>
+            <artifactId>org.apache.oltu.oauth2.httpclient4</artifactId>
+            <version>${oltu-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.oltu.oauth2</groupId>
+            <artifactId>org.apache.oltu.oauth2.dynamicreg.client</artifactId>
+            <version>${oltu-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.oltu.oauth2</groupId>
+            <artifactId>org.apache.oltu.oauth2.dynamicreg.common</artifactId>
+            <version>${oltu-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.oltu.oauth2</groupId>
+            <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
+            <version>${oltu-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.oltu.oauth2</groupId>
+            <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
+            <version>${oltu-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.oltu.oauth2</groupId>
+            <artifactId>org.apache.oltu.oauth2.resourceserver-filter</artifactId>
+            <version>${oltu-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.oltu.oauth2</groupId>
+            <artifactId>org.apache.oltu.oauth2.dynamicreg.server</artifactId>
+            <version>${oltu-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.oltu.oauth2</groupId>
+            <artifactId>org.apache.oltu.oauth2.jwt</artifactId>
+            <version>${oltu-version}</version>
+        </dependency>
+        <!--        To here-->
+
+
+
     </dependencies>
 </project>
diff --git a/adapters/mso-vnfm-adapter/mso-vnfm-adapter-ext-clients/src/main/resources/SOL003-VNFLifecycleOperationGranting-API.json b/adapters/mso-vnfm-adapter/mso-vnfm-adapter-ext-clients/src/main/resources/SOL003-VNFLifecycleOperationGranting-API.json
new file mode 100644 (file)
index 0000000..aab56ee
--- /dev/null
@@ -0,0 +1,2774 @@
+{
+  "swagger": "2.0",
+  "info": {
+    "version": "1.1.1",
+    "title": "SOL003 - VNF Lifecycle Operation Granting interface",
+    "description": "SOL003 - VNF Lifecycle Operation Granting interface\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",
+    "license": {
+      "name": "ETSI Forge copyright notice",
+      "url": "https://forge.etsi.org/etsi-forge-copyright-notice.txt"
+    }
+  },
+  "externalDocs": {
+    "description": "ETSI GS NFV-SOL 003 V2.4.1",
+    "url": "http://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/02.04.01_60/gs_NFV-SOL003v020401p.pdf"
+  },
+  "basePath": "/grant/v1",
+  "schemes": [
+    "https"
+  ],
+  "consumes": [
+    "application/json"
+  ],
+  "produces": [
+    "application/json"
+  ],
+  "paths": {
+    "/grants": {
+      "post": {
+        "description": "Grant Lifecycle Operation\n\nThe POST method requests a grant for a particular VNF lifecycle operation.\n",
+        "parameters": [
+          {
+            "name": "GrantRequest",
+            "in": "body",
+            "required": true,
+            "schema": {
+              "description": "This type represents a grant request.\n",
+              "type": "object",
+              "required": [
+                "vnfInstanceId",
+                "vnfLcmOpOccId",
+                "vnfdId",
+                "operation",
+                "isAutomaticInvocation",
+                "_links"
+              ],
+              "properties": {
+                "vnfInstanceId": {
+                  "description": "An identifier with the intention of being globally unique.\n",
+                  "type": "string"
+                },
+                "vnfLcmOpOccId": {
+                  "description": "An identifier with the intention of being globally unique.\n",
+                  "type": "string"
+                },
+                "vnfdId": {
+                  "description": "An identifier with the intention of being globally unique.\n",
+                  "type": "string"
+                },
+                "flavourId": {
+                  "description": "An identifier with the intention of being globally unique.\n",
+                  "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.\n",
+                  "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.\n",
+                  "type": "boolean"
+                },
+                "instantiationLevelId": {
+                  "description": "An identifier with the intention of being globally unique.\n",
+                  "type": "string"
+                },
+                "addResources": {
+                  "description": "List of resource definitions in the VNFD for resources to be added by the LCM operation which is related to this grant request, with one entry per resource. If the granting request is for InstantiateVNF, either instantiationLevel or addResources shall be present.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type provides information of an existing or proposed resource used by the VNF.\n",
+                    "type": "object",
+                    "required": [
+                      "id",
+                      "type"
+                    ],
+                    "properties": {
+                      "id": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "type": {
+                        "description": "Type of the resource definition referenced. Permitted values: * COMPUTE * VL * STORAGE * LINKPORT\n",
+                        "type": "string",
+                        "enum": [
+                          "COMPUTE",
+                          "VL",
+                          "STORAGE",
+                          "LINKPORT"
+                        ]
+                      },
+                      "vduId": {
+                        "description": "An identifier that is unique within a VNF descriptor.\n",
+                        "type": "string"
+                      },
+                      "resourceTemplateId": {
+                        "description": "An identifier that is unique within a VNF descriptor.\n",
+                        "type": "string"
+                      },
+                      "resource": {
+                        "required": [
+                          "vimConnectionId",
+                          "resourceId"
+                        ],
+                        "type": "object",
+                        "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                        "properties": {
+                          "vimConnectionId": {
+                            "description": "An identifier with the intention of being globally unique.\n",
+                            "type": "string"
+                          },
+                          "resourceProviderId": {
+                            "description": "An identifier with the intention of being globally unique.\n",
+                            "type": "string"
+                          },
+                          "resourceId": {
+                            "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                            "type": "string"
+                          },
+                          "vimLevelResourceType": {
+                            "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                            "type": "string"
+                          }
+                        }
+                      }
+                    }
+                  }
+                },
+                "tempResources": {
+                  "description": "List of resource definitions in the VNFD for resources to be temporarily instantiated during the runtime of the LCM operation which is related to this grant request, with one entry per resource. The NFVO will assume that the VNFM will be responsible to both allocate and release the temporary resource during the runtime of the LCM operation. This means, the resource can be allocated and consumed after the \"start\" notification for the LCM operation is sent by the VNFM, and the resource will be released before the \"result\" notification of the VNF LCM operation is sent by the VNFM.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type provides information of an existing or proposed resource used by the VNF.\n",
+                    "type": "object",
+                    "required": [
+                      "id",
+                      "type"
+                    ],
+                    "properties": {
+                      "id": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "type": {
+                        "description": "Type of the resource definition referenced. Permitted values: * COMPUTE * VL * STORAGE * LINKPORT\n",
+                        "type": "string",
+                        "enum": [
+                          "COMPUTE",
+                          "VL",
+                          "STORAGE",
+                          "LINKPORT"
+                        ]
+                      },
+                      "vduId": {
+                        "description": "An identifier that is unique within a VNF descriptor.\n",
+                        "type": "string"
+                      },
+                      "resourceTemplateId": {
+                        "description": "An identifier that is unique within a VNF descriptor.\n",
+                        "type": "string"
+                      },
+                      "resource": {
+                        "required": [
+                          "vimConnectionId",
+                          "resourceId"
+                        ],
+                        "type": "object",
+                        "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                        "properties": {
+                          "vimConnectionId": {
+                            "description": "An identifier with the intention of being globally unique.\n",
+                            "type": "string"
+                          },
+                          "resourceProviderId": {
+                            "description": "An identifier with the intention of being globally unique.\n",
+                            "type": "string"
+                          },
+                          "resourceId": {
+                            "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                            "type": "string"
+                          },
+                          "vimLevelResourceType": {
+                            "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                            "type": "string"
+                          }
+                        }
+                      }
+                    }
+                  }
+                },
+                "removeResources": {
+                  "description": "Provides the definitions of resources to be removed by the LCM operation which is related to this grant request, with one entry per resource.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type provides information of an existing or proposed resource used by the VNF.\n",
+                    "type": "object",
+                    "required": [
+                      "id",
+                      "type"
+                    ],
+                    "properties": {
+                      "id": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "type": {
+                        "description": "Type of the resource definition referenced. Permitted values: * COMPUTE * VL * STORAGE * LINKPORT\n",
+                        "type": "string",
+                        "enum": [
+                          "COMPUTE",
+                          "VL",
+                          "STORAGE",
+                          "LINKPORT"
+                        ]
+                      },
+                      "vduId": {
+                        "description": "An identifier that is unique within a VNF descriptor.\n",
+                        "type": "string"
+                      },
+                      "resourceTemplateId": {
+                        "description": "An identifier that is unique within a VNF descriptor.\n",
+                        "type": "string"
+                      },
+                      "resource": {
+                        "required": [
+                          "vimConnectionId",
+                          "resourceId"
+                        ],
+                        "type": "object",
+                        "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                        "properties": {
+                          "vimConnectionId": {
+                            "description": "An identifier with the intention of being globally unique.\n",
+                            "type": "string"
+                          },
+                          "resourceProviderId": {
+                            "description": "An identifier with the intention of being globally unique.\n",
+                            "type": "string"
+                          },
+                          "resourceId": {
+                            "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                            "type": "string"
+                          },
+                          "vimLevelResourceType": {
+                            "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                            "type": "string"
+                          }
+                        }
+                      }
+                    }
+                  }
+                },
+                "updateResources": {
+                  "description": "Provides the definitions of resources to be modified by the LCM operation which is related to this grant request, with one entry per resource.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type provides information of an existing or proposed resource used by the VNF.\n",
+                    "type": "object",
+                    "required": [
+                      "id",
+                      "type"
+                    ],
+                    "properties": {
+                      "id": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "type": {
+                        "description": "Type of the resource definition referenced. Permitted values: * COMPUTE * VL * STORAGE * LINKPORT\n",
+                        "type": "string",
+                        "enum": [
+                          "COMPUTE",
+                          "VL",
+                          "STORAGE",
+                          "LINKPORT"
+                        ]
+                      },
+                      "vduId": {
+                        "description": "An identifier that is unique within a VNF descriptor.\n",
+                        "type": "string"
+                      },
+                      "resourceTemplateId": {
+                        "description": "An identifier that is unique within a VNF descriptor.\n",
+                        "type": "string"
+                      },
+                      "resource": {
+                        "required": [
+                          "vimConnectionId",
+                          "resourceId"
+                        ],
+                        "type": "object",
+                        "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                        "properties": {
+                          "vimConnectionId": {
+                            "description": "An identifier with the intention of being globally unique.\n",
+                            "type": "string"
+                          },
+                          "resourceProviderId": {
+                            "description": "An identifier with the intention of being globally unique.\n",
+                            "type": "string"
+                          },
+                          "resourceId": {
+                            "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                            "type": "string"
+                          },
+                          "vimLevelResourceType": {
+                            "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                            "type": "string"
+                          }
+                        }
+                      }
+                    }
+                  }
+                },
+                "placementConstraints": {
+                  "description": "Placement constraints that the VNFM may send to the NFVO in order to influence the resource placement decision. If sent, the NFVO shall take the constraints into consideration when making resource placement decisions, and shall reject the grant if they cannot be honoured. The affinity/anti-affinity rules defined in the VNFD , and the placement constraints in the GrantVnfLifecycleOperation as defined in this clause should be conflict-free. In case of conflicts, the placement constraints in the GrantVnfLifecycleOperation shall take precedence. Passing constraints allows the VNFM or the lifecycle management scripts to influence resource placement decisions by the NFVO to ensure VNF properties such as performance or fault tolerance.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type provides information regarding a resource placement constraint. A set of such constraints may be sent by the VNFM to the NFVO to influence the resource placement decisions made by the NFVO as part of the granting process. A placement constraint defines a condition to the placement of new resources, considering other new resources as well as existing resources. EXAMPLE: The following rules influence the placement of a set of resources such that they are placed in the same Network Function Virtualisation Infrastructure Point of Presence (NFVI-PoP) but in different resource zones: {type=\"affinity\"; scope=\"NFVI_POP\"; {resource1,resource2}} {type=\"anti-affinity\"; scope=\"ZONE\"; {resource1,resource2}}\n",
+                    "type": "object",
+                    "required": [
+                      "affinityOrAntiAffinity",
+                      "scope",
+                      "resource"
+                    ],
+                    "properties": {
+                      "affinityOrAntiAffinity": {
+                        "description": "The type of the constraint. Permitted values: * AFFINITY * ANTI_AFFINITY\n",
+                        "type": "string",
+                        "enum": [
+                          "AFFINITY",
+                          "ANTI_AFFINITY"
+                        ]
+                      },
+                      "scope": {
+                        "description": "The scope of the placement constraint indicating the category of the \"place\" where the constraint applies. Permitted values: * NFVI_POP * ZONE * ZONE_GROUP * NFVI_NODE\n",
+                        "type": "string",
+                        "enum": [
+                          "NFVI_POP",
+                          "ZONE",
+                          "ZONE_GROUP",
+                          "NFVI_NODE"
+                        ]
+                      },
+                      "resource": {
+                        "description": "References to resources in the constraint rule.\n",
+                        "type": "array",
+                        "items": {
+                          "description": "This type references a resource either by its VIM-level identifier for existing resources, or by the identifier of a \"ResourceDefinition\" structure in the \"GrantRequest\" structure for new resources.\n",
+                          "type": "object",
+                          "required": [
+                            "idType",
+                            "resourceId"
+                          ],
+                          "properties": {
+                            "idType": {
+                              "description": "The type of the identifier. Permitted values: * RES_MGMT: Resource-management-level identifier; this identifier is  managed by the VIM in the direct mode of VNF-related resource\n  management, and is managed by the NFVO in the indirect mode)\n* GRANT: Reference to the identifier of a \"ResourceDefinition\" structure in the \"GrantRequest\" structure.\n",
+                              "type": "string",
+                              "enum": [
+                                "RES_MGMT",
+                                "GRANT"
+                              ]
+                            },
+                            "resourceId": {
+                              "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                              "type": "string"
+                            },
+                            "vimConnectionId": {
+                              "description": "An identifier with the intention of being globally unique.\n",
+                              "type": "string"
+                            },
+                            "resourceProviderId": {
+                              "description": "An identifier with the intention of being globally unique.\n",
+                              "type": "string"
+                            }
+                          }
+                        }
+                      }
+                    }
+                  }
+                },
+                "vimConstraints": {
+                  "description": "Used by the VNFM to require that multiple resources are managed through the same VIM connection. If sent, the NFVO shall take the constraints into consideration when making VIM selection decisions, and shall reject the grant if they cannot be honoured. This attribute shall be supported if VNF-related Resource Management in direct mode is applicable. The applicability and further details of this attribute for indirect mode are left for future specification.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type provides information regarding a VIM selection constraint. A set of such constraints may be sent by the VNFM to the NFVO to influence the VIM selection decisions made by the NFVO as part of the granting process.\n",
+                    "type": "object",
+                    "required": [
+                      "resource"
+                    ],
+                    "properties": {
+                      "sameResourceGroup": {
+                        "description": "If present and set to true, this signals that the constraint applies not only to the same VIM connection, but also to the same infrastructure resource group.\n",
+                        "type": "boolean"
+                      },
+                      "resource": {
+                        "description": "References to resources in the constraint rule. The NFVO shall ensure that all resources in this list are managed through the same VIM connection. If \"sameResourceGroup\" is set to true, the NFVO shall further ensure that all resources in this list are part of the same infrastructure resource group in that VIM connection.\n",
+                        "type": "array",
+                        "items": {
+                          "description": "This type references a resource either by its VIM-level identifier for existing resources, or by the identifier of a \"ResourceDefinition\" structure in the \"GrantRequest\" structure for new resources.\n",
+                          "type": "object",
+                          "required": [
+                            "idType",
+                            "resourceId"
+                          ],
+                          "properties": {
+                            "idType": {
+                              "description": "The type of the identifier. Permitted values: * RES_MGMT: Resource-management-level identifier; this identifier is  managed by the VIM in the direct mode of VNF-related resource\n  management, and is managed by the NFVO in the indirect mode)\n* GRANT: Reference to the identifier of a \"ResourceDefinition\" structure in the \"GrantRequest\" structure.\n",
+                              "type": "string",
+                              "enum": [
+                                "RES_MGMT",
+                                "GRANT"
+                              ]
+                            },
+                            "resourceId": {
+                              "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                              "type": "string"
+                            },
+                            "vimConnectionId": {
+                              "description": "An identifier with the intention of being globally unique.\n",
+                              "type": "string"
+                            },
+                            "resourceProviderId": {
+                              "description": "An identifier with the intention of being globally unique.\n",
+                              "type": "string"
+                            }
+                          }
+                        }
+                      }
+                    }
+                  }
+                },
+                "additionalParams": {
+                  "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                  "type": "object"
+                },
+                "_links": {
+                  "description": "Links to resources related to this request.\n",
+                  "type": "object",
+                  "required": [
+                    "vnfLcmOpOcc",
+                    "vnfInstance"
+                  ],
+                  "properties": {
+                    "vnfLcmOpOcc": {
+                      "description": "This type represents a link to a resource.\n",
+                      "type": "object",
+                      "required": [
+                        "href"
+                      ],
+                      "properties": {
+                        "href": {
+                          "description": "URI of the referenced resource.\n",
+                          "type": "string",
+                          "format": "url"
+                        }
+                      }
+                    },
+                    "vnfInstance": {
+                      "description": "This type represents a link to a resource.\n",
+                      "type": "object",
+                      "required": [
+                        "href"
+                      ],
+                      "properties": {
+                        "href": {
+                          "description": "URI of the referenced resource.\n",
+                          "type": "string",
+                          "format": "url"
+                        }
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          },
+          {
+            "name": "Accept",
+            "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n",
+            "in": "header",
+            "required": true,
+            "type": "string"
+          },
+          {
+            "name": "Content-Type",
+            "description": "The MIME type of the body of the request. Reference: IETF RFC 7231\n",
+            "in": "header",
+            "required": true,
+            "type": "string"
+          },
+          {
+            "name": "Authorization",
+            "description": "The authorization token for the request. Reference: IETF RFC 7235\n",
+            "in": "header",
+            "required": false,
+            "type": "string"
+          }
+        ],
+        "responses": {
+          "201": {
+            "description": "Created\nThe grant was created successfully (synchronous mode). A representation of the created \"Individual grant\" resource shall be returned in the response body. The HTTP response shall include a \"Location\" HTTP header that indicates the URI of the \"Individual grant\" resource just created.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              },
+              "Location": {
+                "description": "The resource URI of the created VNF instance",
+                "type": "string",
+                "format": "url"
+              },
+              "WWW-Authenticate": {
+                "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 0
+              }
+            },
+            "schema": {
+              "description": "This type represents a grant.\n",
+              "type": "object",
+              "required": [
+                "id",
+                "vnfInstanceId",
+                "vnfLcmOpOccId",
+                "_links"
+              ],
+              "properties": {
+                "id": {
+                  "description": "An identifier with the intention of being globally unique.\n",
+                  "type": "string"
+                },
+                "vnfInstanceId": {
+                  "description": "An identifier with the intention of being globally unique.\n",
+                  "type": "string"
+                },
+                "vnfLcmOpOccId": {
+                  "description": "An identifier with the intention of being globally unique.\n",
+                  "type": "string"
+                },
+                "vimConnections": {
+                  "description": "Provides information regarding VIM connections that are approved to be used by the VNFM to allocate resources, and provides parameters of these VIM connections. The VNFM shall update the \" vimConnectionInfo\" attribute of the \"VnfInstance\" structure by adding unknown entries received in this attribute. This attribute is not intended for the modification of VimConnection entries passed earlier; for that, the VnfInfoModificationRequest structure shall be used. This attribute shall only be supported when VNF-related Resource Management in direct mode is applicable. In direct mode, this parameter shall be absent if the VIM information was configured to the VNFM in another way, present otherwise. This interface allows to signal the use of multiple VIMs per VNF. However, due to the partial support of this feature in the present release, it is recommended in the present document that the number of entries in the \"vims\" attribute in the Grant is not greater than 1.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type represents parameters to connect to a VIM for managing the resources of a VNF instance. This structure is used to convey VIM-related parameters over the Or-Vnfm interface. Additional parameters for a VIM may be configured into the VNFM by means outside the scope of the present document, and bound to the identifier of that VIM.\n",
+                    "type": "object",
+                    "required": [
+                      "id",
+                      "vimType"
+                    ],
+                    "properties": {
+                      "id": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "vimId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "vimType": {
+                        "description": "Discriminator for the different types of the VIM information. The value of this attribute determines the structure of the \"interfaceInfo\" and \"accessInfo\" attributes, based on the type of the VIM. The set of permitted values is expected to change over time as new types or versions of VIMs become available. The ETSI NFV registry of VIM-related information provides access to information about VimConnectionInfo definitions for various VIM types. The structure of the registry is defined in Annex C of SOL003.\n",
+                        "type": "string"
+                      },
+                      "interfaceInfo": {
+                        "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                        "type": "object"
+                      },
+                      "accessInfo": {
+                        "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                        "type": "object"
+                      },
+                      "extra": {
+                        "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                        "type": "object"
+                      }
+                    }
+                  }
+                },
+                "zones": {
+                  "description": "Identifies resource zones where the resources are approved to be allocated by the VNFM.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type provides information regarding a resource zone.\n",
+                    "type": "object",
+                    "required": [
+                      "id",
+                      "zoneId"
+                    ],
+                    "properties": {
+                      "id": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "zoneId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "vimConnectionId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceProviderId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      }
+                    }
+                  }
+                },
+                "zoneGroups": {
+                  "description": "Information about groups of resource zones that are related and that the NFVO has chosen to fulfil a zoneGroup constraint in the GrantVnfLifecycleOperation request. This information confirms that the NFVO has honoured the zoneGroup constraints that were passed as part of \"placementConstraints\" in the GrantRequest.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type provides information regarding a resource zone group. A resource zone group is a group of one or more related resource zones which can be used in resource placement constraints. To fulfil such constraint, the NFVO may decide to place a resource into any zone that belongs to a particular group. NOTE: A resource zone group can be used to support overflow from one resource zone into another, in case a particular deployment supports only non-elastic resource zones.\n",
+                    "type": "object",
+                    "required": [
+                      "zoneId"
+                    ],
+                    "properties": {
+                      "zoneId": {
+                        "description": "References of identifiers of \"ZoneInfo\" structures, each of which provides information about a resource zone that belongs to this group.\n",
+                        "type": "array",
+                        "items": {
+                          "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                          "type": "string"
+                        }
+                      }
+                    }
+                  }
+                },
+                "computeReservationId": {
+                  "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                  "type": "string"
+                },
+                "networkReservationId": {
+                  "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                  "type": "string"
+                },
+                "storageReservationId": {
+                  "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                  "type": "string"
+                },
+                "addResources": {
+                  "description": "List of resources that are approved to be added, with one entry per resource.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type contains information about a Compute, storage or network resource whose addition/update/deletion was granted.\n",
+                    "type": "object",
+                    "required": [
+                      "resourceDefinitionId"
+                    ],
+                    "properties": {
+                      "resourceDefinitionId": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "reservationId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "vimConnectionId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceProviderId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "zoneId": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "resourceGroupId": {
+                        "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                        "type": "string"
+                      }
+                    }
+                  }
+                },
+                "tempResources": {
+                  "description": "List of resources that are approved to be temporarily instantiated during the runtime of the lifecycle operation, with one entry per resource.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type contains information about a Compute, storage or network resource whose addition/update/deletion was granted.\n",
+                    "type": "object",
+                    "required": [
+                      "resourceDefinitionId"
+                    ],
+                    "properties": {
+                      "resourceDefinitionId": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "reservationId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "vimConnectionId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceProviderId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "zoneId": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "resourceGroupId": {
+                        "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                        "type": "string"
+                      }
+                    }
+                  }
+                },
+                "removeResources": {
+                  "description": "List of resources that are approved to be removed, with one entry per resource.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type contains information about a Compute, storage or network resource whose addition/update/deletion was granted.\n",
+                    "type": "object",
+                    "required": [
+                      "resourceDefinitionId"
+                    ],
+                    "properties": {
+                      "resourceDefinitionId": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "reservationId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "vimConnectionId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceProviderId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "zoneId": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "resourceGroupId": {
+                        "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                        "type": "string"
+                      }
+                    }
+                  }
+                },
+                "updateResources": {
+                  "description": "List of resources that are approved to be modified, with one entry per resource.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type contains information about a Compute, storage or network resource whose addition/update/deletion was granted.\n",
+                    "type": "object",
+                    "required": [
+                      "resourceDefinitionId"
+                    ],
+                    "properties": {
+                      "resourceDefinitionId": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "reservationId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "vimConnectionId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceProviderId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "zoneId": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "resourceGroupId": {
+                        "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                        "type": "string"
+                      }
+                    }
+                  }
+                },
+                "vimAssets": {
+                  "description": "Information about assets for the VNF that are managed by the NFVO in the VIM, such as software images and virtualised compute resource flavours. This attribute is not intended for the modification of vimAssets entries passed earlier. Modification of VIM assets during the lifetime of a VNF instance is not necessary, since it is expected that all applicable assets have been on boarded into the VIM before the VNF is instantiated.\n",
+                  "type": "object",
+                  "properties": {
+                    "computeResourceFlavours": {
+                      "description": "Mappings between virtual compute descriptors defined in the VNFD and compute resource flavours managed in the VIM.\n",
+                      "type": "array",
+                      "items": {
+                        "description": "If the VIM requires the use of virtual compute resource flavours during compute resource instantiation, it is assumed that such flavours are selected or created by the NFVO based on the information in the virtual compute descriptor defined in the VNFD. This type defines the mapping between a virtual compute descriptor in the VNFD and the corresponding compute resource flavour managed by the NFVO in the VIM.\n",
+                        "type": "object",
+                        "required": [
+                          "vnfdVirtualComputeDescId",
+                          "vimFlavourId"
+                        ],
+                        "properties": {
+                          "vimConnectionId": {
+                            "description": "An identifier with the intention of being globally unique.\n",
+                            "type": "string"
+                          },
+                          "resourceProviderId": {
+                            "description": "An identifier with the intention of being globally unique.\n",
+                            "type": "string"
+                          },
+                          "vnfdVirtualComputeDescId": {
+                            "description": "An identifier that is unique within a VNF descriptor.\n",
+                            "type": "string"
+                          },
+                          "vimFlavourId": {
+                            "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                            "type": "string"
+                          }
+                        }
+                      }
+                    },
+                    "softwareImages": {
+                      "description": "Mappings between software images defined in the VNFD and software images managed in the VIM.\n",
+                      "type": "array",
+                      "items": {
+                        "description": "This type contains a mapping between a software image definition the VNFD and the corresponding software image managed by the NFVO in the VIM which is needed during compute resource instantiation.\n",
+                        "type": "object",
+                        "required": [
+                          "vnfdSoftwareImageId",
+                          "vimSoftwareImageId"
+                        ],
+                        "properties": {
+                          "vimConnectionId": {
+                            "description": "An identifier with the intention of being globally unique.\n",
+                            "type": "string"
+                          },
+                          "resourceProviderId": {
+                            "description": "An identifier with the intention of being globally unique.\n",
+                            "type": "string"
+                          },
+                          "vnfdSoftwareImageId": {
+                            "description": "An identifier that is unique within a VNF descriptor.\n",
+                            "type": "string"
+                          },
+                          "vimSoftwareImageId": {
+                            "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                            "type": "string"
+                          }
+                        }
+                      }
+                    }
+                  }
+                },
+                "extVirtualLinks": {
+                  "description": "Information about external VLs to connect the VNF to. External and/or externally-managed internal VLs can be passed in VNF lifecycle management operation requests such as InstantiateVnf or ChangeVnfFlavor, and/or in the grant response. The NFVO may choose to override in the grant response external and/or externally-managed VL instances that have been passed previously in the associated VNF lifecycle management request, if the lifecycle management request has originated from the NFVO itself.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type represents an external VL.\n",
+                    "type": "object",
+                    "required": [
+                      "id",
+                      "resourceId",
+                      "extCps"
+                    ],
+                    "properties": {
+                      "id": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "vimConnectionId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceProviderId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceId": {
+                        "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                        "type": "string"
+                      },
+                      "extCps": {
+                        "description": "External CPs of the VNF to be connected to this external VL.\n",
+                        "type": "array",
+                        "items": {
+                          "description": "This type represents configuration information for external CPs created from a CPD.\n",
+                          "type": "object",
+                          "required": [
+                            "cpdId"
+                          ],
+                          "properties": {
+                            "cpdId": {
+                              "description": "An identifier that is unique within a VNF descriptor.\n",
+                              "type": "string"
+                            },
+                            "cpConfig": {
+                              "description": "List of instance data that need to be configured on the CP instances created from the respective CPD.\n",
+                              "type": "array",
+                              "items": {
+                                "description": "This type represents an externally provided link port or network address information per instance of an external connection point. In case a link port is provided, the VNFM shall use that link port when connecting the external CP to the external VL. In a link port is not provided, the VNFM shall create a link port on the external VL, and use that link port to connect the external CP to the external VL.\n",
+                                "type": "object",
+                                "properties": {
+                                  "cpInstanceId": {
+                                    "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                    "type": "string"
+                                  },
+                                  "linkPortId": {
+                                    "description": "An identifier with the intention of being globally unique.\n",
+                                    "type": "string"
+                                  },
+                                  "cpProtocolData": {
+                                    "description": "Parameters for configuring the network protocols on the link port that connects the CP to a VL.  The following conditions apply to the attributes \"linkPortId\" and \"cpProtocolData\":  * The \"linkPortId\" and \"cpProtocolData\" attributes shall both be  absent for the deletion of an existing external CP instance\n  addressed by cpInstanceId. \n* At least one of these attributes shall be present for a  to-be-created external CP instance or an existing external\n  CP instance.\n* If the \"linkPortId\" attribute is absent, the VNFM shall create a  link port.\n* If the \"cpProtocolData\" attribute is absent, the \"linkPortId\"  attribute shall be provided referencing a pre-created link port,\n  and the VNFM can use means outside the scope of the present\n  document to obtain the pre-configured address information for the\n  connection point from the resource representing the link port.\n* If both \"cpProtocolData\" and \"linkportId\" are provided, the API  consumer shall ensure that the cpProtocolData can be used with the\n  pre-created link port referenced by \"linkPortId\".\n",
+                                    "type": "array",
+                                    "items": {
+                                      "description": "This type represents network protocol data.\n",
+                                      "type": "object",
+                                      "required": [
+                                        "layerProtocol"
+                                      ],
+                                      "properties": {
+                                        "layerProtocol": {
+                                          "description": "Identifier of layer(s) and protocol(s). This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n",
+                                          "type": "string",
+                                          "enum": [
+                                            "IP_OVER_ETHERNET"
+                                          ]
+                                        },
+                                        "ipOverEthernet": {
+                                          "description": "This type represents network address data for IP over Ethernet.\n",
+                                          "type": "object",
+                                          "properties": {
+                                            "macAddress": {
+                                              "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
+                                              "type": "string",
+                                              "format": "MAC"
+                                            },
+                                            "ipAddresses": {
+                                              "description": "List of IP addresses to assign to the CP instance. Each entry represents IP address data for fixed or dynamic IP address assignment per subnet. If this attribute is not present, no IP address shall be assigned.\n",
+                                              "type": "array",
+                                              "items": {
+                                                "type": "object",
+                                                "required": [
+                                                  "type"
+                                                ],
+                                                "properties": {
+                                                  "type": {
+                                                    "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n",
+                                                    "type": "string",
+                                                    "enum": [
+                                                      "IPV4",
+                                                      "IPV6"
+                                                    ]
+                                                  },
+                                                  "fixedAddresses": {
+                                                    "description": "Fixed addresses to assign (from the subnet defined by \"subnetId\" if provided). Exactly one of \"fixedAddresses\", \"numDynamicAddresses\" or \"ipAddressRange\" shall be present.\n",
+                                                    "type": "array",
+                                                    "items": {
+                                                      "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                      "type": "string",
+                                                      "format": "IP"
+                                                    }
+                                                  },
+                                                  "numDynamicAddresses": {
+                                                    "description": "Number of dynamic addresses to assign (from the subnet defined by \"subnetId\" if provided). Exactly one of \"fixedAddresses\", \"numDynamicAddresses\" or \"ipAddressRange\" shall be present.\n",
+                                                    "type": "integer"
+                                                  },
+                                                  "addressRange": {
+                                                    "description": "An IP address range to be used, e.g. in case of egress connections. In case this attribute is present, IP addresses from the range will be used.\n",
+                                                    "type": "object",
+                                                    "required": [
+                                                      "minAddress",
+                                                      "maxAddress"
+                                                    ],
+                                                    "properties": {
+                                                      "minAddress": {
+                                                        "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                        "type": "string",
+                                                        "format": "IP"
+                                                      },
+                                                      "maxAddress": {
+                                                        "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                        "type": "string",
+                                                        "format": "IP"
+                                                      }
+                                                    }
+                                                  },
+                                                  "subnetId": {
+                                                    "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                    "type": "string"
+                                                  }
+                                                }
+                                              }
+                                            }
+                                          }
+                                        }
+                                      }
+                                    }
+                                  }
+                                }
+                              }
+                            }
+                          }
+                        }
+                      },
+                      "extLinkPorts": {
+                        "description": "Externally provided link ports to be used to connect external connection points to this external VL. If this attribute is not present, the VNFM shall create the link ports on the external VL.\n",
+                        "type": "array",
+                        "items": {
+                          "description": "This type represents an externally provided link port to be used to connect an external connection point to an external VL.\n",
+                          "type": "object",
+                          "required": [
+                            "id",
+                            "resourceHandle"
+                          ],
+                          "properties": {
+                            "id": {
+                              "description": "An identifier with the intention of being globally unique.\n",
+                              "type": "string"
+                            },
+                            "resourceHandle": {
+                              "required": [
+                                "vimConnectionId",
+                                "resourceId"
+                              ],
+                              "type": "object",
+                              "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                              "properties": {
+                                "vimConnectionId": {
+                                  "description": "An identifier with the intention of being globally unique.\n",
+                                  "type": "string"
+                                },
+                                "resourceProviderId": {
+                                  "description": "An identifier with the intention of being globally unique.\n",
+                                  "type": "string"
+                                },
+                                "resourceId": {
+                                  "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                  "type": "string"
+                                },
+                                "vimLevelResourceType": {
+                                  "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                  "type": "string"
+                                }
+                              }
+                            }
+                          }
+                        }
+                      }
+                    }
+                  }
+                },
+                "extManagedVirtualLinks": {
+                  "description": "Information about internal VLs that are managed by other entities than the VNFM. The indication of externally-managed internal VLs is needed in case networks have been pre-configured for use with certain VNFs, for instance to ensure that these networks have certain properties such as security or acceleration features, or to address particular network topologies. The present document assumes that externally-managed internal VLs are managed by the NFVO and created towards the VIM. External and/or externally-managed internal VLs can be passed in VNF lifecycle management operation requests such as InstantiateVnf or ChangeVnfFlavor, and/or in the grant response. The NFVO may choose to override in the grant response external and/or externally-managed VL instances that have been passed previously in the associated VNF lifecycle management request, if the lifecycle management request has originated from the NFVO itself.\n",
+                  "type": "array",
+                  "items": {
+                    "type": "object",
+                    "required": [
+                      "id",
+                      "virtualLinkDescId",
+                      "resourceId"
+                    ],
+                    "properties": {
+                      "id": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "virtualLinkDescId": {
+                        "description": "An identifier that is unique within a VNF descriptor.\n",
+                        "type": "string"
+                      },
+                      "vimConnectionId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceProviderId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceId": {
+                        "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                        "type": "string"
+                      }
+                    }
+                  }
+                },
+                "additionalParams": {
+                  "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                  "type": "object"
+                },
+                "_links": {
+                  "description": "Links to resources related to this resource.\n",
+                  "type": "object",
+                  "required": [
+                    "self",
+                    "vnfLcmOpOcc",
+                    "vnfInstance"
+                  ],
+                  "properties": {
+                    "self": {
+                      "description": "This type represents a link to a resource.\n",
+                      "type": "object",
+                      "required": [
+                        "href"
+                      ],
+                      "properties": {
+                        "href": {
+                          "description": "URI of the referenced resource.\n",
+                          "type": "string",
+                          "format": "url"
+                        }
+                      }
+                    },
+                    "vnfLcmOpOcc": {
+                      "description": "This type represents a link to a resource.\n",
+                      "type": "object",
+                      "required": [
+                        "href"
+                      ],
+                      "properties": {
+                        "href": {
+                          "description": "URI of the referenced resource.\n",
+                          "type": "string",
+                          "format": "url"
+                        }
+                      }
+                    },
+                    "vnfInstance": {
+                      "description": "This type represents a link to a resource.\n",
+                      "type": "object",
+                      "required": [
+                        "href"
+                      ],
+                      "properties": {
+                        "href": {
+                          "description": "URI of the referenced resource.\n",
+                          "type": "string",
+                          "format": "url"
+                        }
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          },
+          "202": {
+            "description": "Accepted\nThe request was accepted for processing, but the processing has not been completed. It is expected to take some time to create the grant (asynchronous mode). The response body shall be empty. The HTTP response shall include a \"Location\" HTTP header that indicates the URI of the \"Individual grant\" resource that will be created once the granting decision has been made.\n",
+            "headers": {
+              "Location": {
+                "description": "The resource URI of the created VNF instance",
+                "type": "string",
+                "format": "url"
+              },
+              "WWW-Authenticate": {
+                "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 0
+              }
+            }
+          },
+          "400": {
+            "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              },
+              "WWW-Authenticate": {
+                "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 0
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "401": {
+            "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              },
+              "WWW-Authenticate": {
+                "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 0
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "403": {
+            "description": "Forbidden\nThe grant was rejected. A ProblemDetails structure shall be included in the response to provide more details about the rejection in the \"details\" attribute.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              },
+              "WWW-Authenticate": {
+                "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 0
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "404": {
+            "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "405": {
+            "description": "Method Not Allowed\nIf a particular HTTP method is not supported for a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "406": {
+            "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "416": {
+            "description": "Requested Range Not Satisfiable\nThis code is returned if the requested byte range in the Range HTTP header is not present in the requested resource.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "422": {
+            "description": "Unprocessable Entity\nIf the payload body of a request contains syntactically correct data (e.g. well-formed JSON) but the data cannot be processed (e.g. because it fails validation against a schema), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem. NOTE 2: This error response code is only applicable for methods that have a request body.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "500": {
+            "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "503": {
+            "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          }
+        }
+      }
+    },
+    "/grants/{grantId}": {
+      "parameters": [
+        {
+          "name": "grantId",
+          "description": "Identifier of the grant. This identifier can be retrieved from the resource referenced by the \"Location\" HTTP header in the response to a POST request granting a new VNF lifecycle operation. It can also be retrieved from the \"id\" attribute in the payload body of that response.\n",
+          "in": "path",
+          "type": "string",
+          "required": true
+        }
+      ],
+      "get": {
+        "description": "Grant Lifecycle Operation\n\nThe GET method retrieves information about a specific grant by reading an individual grant resource.\n",
+        "parameters": [
+          {
+            "name": "Accept",
+            "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n",
+            "in": "header",
+            "required": true,
+            "type": "string"
+          },
+          {
+            "name": "Authorization",
+            "description": "The authorization token for the request. Reference: IETF RFC 7235\n",
+            "in": "header",
+            "required": false,
+            "type": "string"
+          }
+        ],
+        "responses": {
+          "200": {
+            "description": "OK\nThe grant was read successfully. A representation of the \"individual grant\" resource shall be returned in the response body.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              },
+              "WWW-Authenticate": {
+                "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 0
+              }
+            },
+            "schema": {
+              "description": "This type represents a grant.\n",
+              "type": "object",
+              "required": [
+                "id",
+                "vnfInstanceId",
+                "vnfLcmOpOccId",
+                "_links"
+              ],
+              "properties": {
+                "id": {
+                  "description": "An identifier with the intention of being globally unique.\n",
+                  "type": "string"
+                },
+                "vnfInstanceId": {
+                  "description": "An identifier with the intention of being globally unique.\n",
+                  "type": "string"
+                },
+                "vnfLcmOpOccId": {
+                  "description": "An identifier with the intention of being globally unique.\n",
+                  "type": "string"
+                },
+                "vimConnections": {
+                  "description": "Provides information regarding VIM connections that are approved to be used by the VNFM to allocate resources, and provides parameters of these VIM connections. The VNFM shall update the \" vimConnectionInfo\" attribute of the \"VnfInstance\" structure by adding unknown entries received in this attribute. This attribute is not intended for the modification of VimConnection entries passed earlier; for that, the VnfInfoModificationRequest structure shall be used. This attribute shall only be supported when VNF-related Resource Management in direct mode is applicable. In direct mode, this parameter shall be absent if the VIM information was configured to the VNFM in another way, present otherwise. This interface allows to signal the use of multiple VIMs per VNF. However, due to the partial support of this feature in the present release, it is recommended in the present document that the number of entries in the \"vims\" attribute in the Grant is not greater than 1.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type represents parameters to connect to a VIM for managing the resources of a VNF instance. This structure is used to convey VIM-related parameters over the Or-Vnfm interface. Additional parameters for a VIM may be configured into the VNFM by means outside the scope of the present document, and bound to the identifier of that VIM.\n",
+                    "type": "object",
+                    "required": [
+                      "id",
+                      "vimType"
+                    ],
+                    "properties": {
+                      "id": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "vimId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "vimType": {
+                        "description": "Discriminator for the different types of the VIM information. The value of this attribute determines the structure of the \"interfaceInfo\" and \"accessInfo\" attributes, based on the type of the VIM. The set of permitted values is expected to change over time as new types or versions of VIMs become available. The ETSI NFV registry of VIM-related information provides access to information about VimConnectionInfo definitions for various VIM types. The structure of the registry is defined in Annex C of SOL003.\n",
+                        "type": "string"
+                      },
+                      "interfaceInfo": {
+                        "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                        "type": "object"
+                      },
+                      "accessInfo": {
+                        "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                        "type": "object"
+                      },
+                      "extra": {
+                        "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                        "type": "object"
+                      }
+                    }
+                  }
+                },
+                "zones": {
+                  "description": "Identifies resource zones where the resources are approved to be allocated by the VNFM.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type provides information regarding a resource zone.\n",
+                    "type": "object",
+                    "required": [
+                      "id",
+                      "zoneId"
+                    ],
+                    "properties": {
+                      "id": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "zoneId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "vimConnectionId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceProviderId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      }
+                    }
+                  }
+                },
+                "zoneGroups": {
+                  "description": "Information about groups of resource zones that are related and that the NFVO has chosen to fulfil a zoneGroup constraint in the GrantVnfLifecycleOperation request. This information confirms that the NFVO has honoured the zoneGroup constraints that were passed as part of \"placementConstraints\" in the GrantRequest.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type provides information regarding a resource zone group. A resource zone group is a group of one or more related resource zones which can be used in resource placement constraints. To fulfil such constraint, the NFVO may decide to place a resource into any zone that belongs to a particular group. NOTE: A resource zone group can be used to support overflow from one resource zone into another, in case a particular deployment supports only non-elastic resource zones.\n",
+                    "type": "object",
+                    "required": [
+                      "zoneId"
+                    ],
+                    "properties": {
+                      "zoneId": {
+                        "description": "References of identifiers of \"ZoneInfo\" structures, each of which provides information about a resource zone that belongs to this group.\n",
+                        "type": "array",
+                        "items": {
+                          "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                          "type": "string"
+                        }
+                      }
+                    }
+                  }
+                },
+                "computeReservationId": {
+                  "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                  "type": "string"
+                },
+                "networkReservationId": {
+                  "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                  "type": "string"
+                },
+                "storageReservationId": {
+                  "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                  "type": "string"
+                },
+                "addResources": {
+                  "description": "List of resources that are approved to be added, with one entry per resource.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type contains information about a Compute, storage or network resource whose addition/update/deletion was granted.\n",
+                    "type": "object",
+                    "required": [
+                      "resourceDefinitionId"
+                    ],
+                    "properties": {
+                      "resourceDefinitionId": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "reservationId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "vimConnectionId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceProviderId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "zoneId": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "resourceGroupId": {
+                        "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                        "type": "string"
+                      }
+                    }
+                  }
+                },
+                "tempResources": {
+                  "description": "List of resources that are approved to be temporarily instantiated during the runtime of the lifecycle operation, with one entry per resource.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type contains information about a Compute, storage or network resource whose addition/update/deletion was granted.\n",
+                    "type": "object",
+                    "required": [
+                      "resourceDefinitionId"
+                    ],
+                    "properties": {
+                      "resourceDefinitionId": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "reservationId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "vimConnectionId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceProviderId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "zoneId": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "resourceGroupId": {
+                        "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                        "type": "string"
+                      }
+                    }
+                  }
+                },
+                "removeResources": {
+                  "description": "List of resources that are approved to be removed, with one entry per resource.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type contains information about a Compute, storage or network resource whose addition/update/deletion was granted.\n",
+                    "type": "object",
+                    "required": [
+                      "resourceDefinitionId"
+                    ],
+                    "properties": {
+                      "resourceDefinitionId": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "reservationId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "vimConnectionId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceProviderId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "zoneId": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "resourceGroupId": {
+                        "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                        "type": "string"
+                      }
+                    }
+                  }
+                },
+                "updateResources": {
+                  "description": "List of resources that are approved to be modified, with one entry per resource.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type contains information about a Compute, storage or network resource whose addition/update/deletion was granted.\n",
+                    "type": "object",
+                    "required": [
+                      "resourceDefinitionId"
+                    ],
+                    "properties": {
+                      "resourceDefinitionId": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "reservationId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "vimConnectionId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceProviderId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "zoneId": {
+                        "description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
+                        "type": "string"
+                      },
+                      "resourceGroupId": {
+                        "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                        "type": "string"
+                      }
+                    }
+                  }
+                },
+                "vimAssets": {
+                  "description": "Information about assets for the VNF that are managed by the NFVO in the VIM, such as software images and virtualised compute resource flavours. This attribute is not intended for the modification of vimAssets entries passed earlier. Modification of VIM assets during the lifetime of a VNF instance is not necessary, since it is expected that all applicable assets have been on boarded into the VIM before the VNF is instantiated.\n",
+                  "type": "object",
+                  "properties": {
+                    "computeResourceFlavours": {
+                      "description": "Mappings between virtual compute descriptors defined in the VNFD and compute resource flavours managed in the VIM.\n",
+                      "type": "array",
+                      "items": {
+                        "description": "If the VIM requires the use of virtual compute resource flavours during compute resource instantiation, it is assumed that such flavours are selected or created by the NFVO based on the information in the virtual compute descriptor defined in the VNFD. This type defines the mapping between a virtual compute descriptor in the VNFD and the corresponding compute resource flavour managed by the NFVO in the VIM.\n",
+                        "type": "object",
+                        "required": [
+                          "vnfdVirtualComputeDescId",
+                          "vimFlavourId"
+                        ],
+                        "properties": {
+                          "vimConnectionId": {
+                            "description": "An identifier with the intention of being globally unique.\n",
+                            "type": "string"
+                          },
+                          "resourceProviderId": {
+                            "description": "An identifier with the intention of being globally unique.\n",
+                            "type": "string"
+                          },
+                          "vnfdVirtualComputeDescId": {
+                            "description": "An identifier that is unique within a VNF descriptor.\n",
+                            "type": "string"
+                          },
+                          "vimFlavourId": {
+                            "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                            "type": "string"
+                          }
+                        }
+                      }
+                    },
+                    "softwareImages": {
+                      "description": "Mappings between software images defined in the VNFD and software images managed in the VIM.\n",
+                      "type": "array",
+                      "items": {
+                        "description": "This type contains a mapping between a software image definition the VNFD and the corresponding software image managed by the NFVO in the VIM which is needed during compute resource instantiation.\n",
+                        "type": "object",
+                        "required": [
+                          "vnfdSoftwareImageId",
+                          "vimSoftwareImageId"
+                        ],
+                        "properties": {
+                          "vimConnectionId": {
+                            "description": "An identifier with the intention of being globally unique.\n",
+                            "type": "string"
+                          },
+                          "resourceProviderId": {
+                            "description": "An identifier with the intention of being globally unique.\n",
+                            "type": "string"
+                          },
+                          "vnfdSoftwareImageId": {
+                            "description": "An identifier that is unique within a VNF descriptor.\n",
+                            "type": "string"
+                          },
+                          "vimSoftwareImageId": {
+                            "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                            "type": "string"
+                          }
+                        }
+                      }
+                    }
+                  }
+                },
+                "extVirtualLinks": {
+                  "description": "Information about external VLs to connect the VNF to. External and/or externally-managed internal VLs can be passed in VNF lifecycle management operation requests such as InstantiateVnf or ChangeVnfFlavor, and/or in the grant response. The NFVO may choose to override in the grant response external and/or externally-managed VL instances that have been passed previously in the associated VNF lifecycle management request, if the lifecycle management request has originated from the NFVO itself.\n",
+                  "type": "array",
+                  "items": {
+                    "description": "This type represents an external VL.\n",
+                    "type": "object",
+                    "required": [
+                      "id",
+                      "resourceId",
+                      "extCps"
+                    ],
+                    "properties": {
+                      "id": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "vimConnectionId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceProviderId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceId": {
+                        "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                        "type": "string"
+                      },
+                      "extCps": {
+                        "description": "External CPs of the VNF to be connected to this external VL.\n",
+                        "type": "array",
+                        "items": {
+                          "description": "This type represents configuration information for external CPs created from a CPD.\n",
+                          "type": "object",
+                          "required": [
+                            "cpdId"
+                          ],
+                          "properties": {
+                            "cpdId": {
+                              "description": "An identifier that is unique within a VNF descriptor.\n",
+                              "type": "string"
+                            },
+                            "cpConfig": {
+                              "description": "List of instance data that need to be configured on the CP instances created from the respective CPD.\n",
+                              "type": "array",
+                              "items": {
+                                "description": "This type represents an externally provided link port or network address information per instance of an external connection point. In case a link port is provided, the VNFM shall use that link port when connecting the external CP to the external VL. In a link port is not provided, the VNFM shall create a link port on the external VL, and use that link port to connect the external CP to the external VL.\n",
+                                "type": "object",
+                                "properties": {
+                                  "cpInstanceId": {
+                                    "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                    "type": "string"
+                                  },
+                                  "linkPortId": {
+                                    "description": "An identifier with the intention of being globally unique.\n",
+                                    "type": "string"
+                                  },
+                                  "cpProtocolData": {
+                                    "description": "Parameters for configuring the network protocols on the link port that connects the CP to a VL.  The following conditions apply to the attributes \"linkPortId\" and \"cpProtocolData\":  * The \"linkPortId\" and \"cpProtocolData\" attributes shall both be  absent for the deletion of an existing external CP instance\n  addressed by cpInstanceId. \n* At least one of these attributes shall be present for a  to-be-created external CP instance or an existing external\n  CP instance.\n* If the \"linkPortId\" attribute is absent, the VNFM shall create a  link port.\n* If the \"cpProtocolData\" attribute is absent, the \"linkPortId\"  attribute shall be provided referencing a pre-created link port,\n  and the VNFM can use means outside the scope of the present\n  document to obtain the pre-configured address information for the\n  connection point from the resource representing the link port.\n* If both \"cpProtocolData\" and \"linkportId\" are provided, the API  consumer shall ensure that the cpProtocolData can be used with the\n  pre-created link port referenced by \"linkPortId\".\n",
+                                    "type": "array",
+                                    "items": {
+                                      "description": "This type represents network protocol data.\n",
+                                      "type": "object",
+                                      "required": [
+                                        "layerProtocol"
+                                      ],
+                                      "properties": {
+                                        "layerProtocol": {
+                                          "description": "Identifier of layer(s) and protocol(s). This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n",
+                                          "type": "string",
+                                          "enum": [
+                                            "IP_OVER_ETHERNET"
+                                          ]
+                                        },
+                                        "ipOverEthernet": {
+                                          "description": "This type represents network address data for IP over Ethernet.\n",
+                                          "type": "object",
+                                          "properties": {
+                                            "macAddress": {
+                                              "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
+                                              "type": "string",
+                                              "format": "MAC"
+                                            },
+                                            "ipAddresses": {
+                                              "description": "List of IP addresses to assign to the CP instance. Each entry represents IP address data for fixed or dynamic IP address assignment per subnet. If this attribute is not present, no IP address shall be assigned.\n",
+                                              "type": "array",
+                                              "items": {
+                                                "type": "object",
+                                                "required": [
+                                                  "type"
+                                                ],
+                                                "properties": {
+                                                  "type": {
+                                                    "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n",
+                                                    "type": "string",
+                                                    "enum": [
+                                                      "IPV4",
+                                                      "IPV6"
+                                                    ]
+                                                  },
+                                                  "fixedAddresses": {
+                                                    "description": "Fixed addresses to assign (from the subnet defined by \"subnetId\" if provided). Exactly one of \"fixedAddresses\", \"numDynamicAddresses\" or \"ipAddressRange\" shall be present.\n",
+                                                    "type": "array",
+                                                    "items": {
+                                                      "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                      "type": "string",
+                                                      "format": "IP"
+                                                    }
+                                                  },
+                                                  "numDynamicAddresses": {
+                                                    "description": "Number of dynamic addresses to assign (from the subnet defined by \"subnetId\" if provided). Exactly one of \"fixedAddresses\", \"numDynamicAddresses\" or \"ipAddressRange\" shall be present.\n",
+                                                    "type": "integer"
+                                                  },
+                                                  "addressRange": {
+                                                    "description": "An IP address range to be used, e.g. in case of egress connections. In case this attribute is present, IP addresses from the range will be used.\n",
+                                                    "type": "object",
+                                                    "required": [
+                                                      "minAddress",
+                                                      "maxAddress"
+                                                    ],
+                                                    "properties": {
+                                                      "minAddress": {
+                                                        "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                        "type": "string",
+                                                        "format": "IP"
+                                                      },
+                                                      "maxAddress": {
+                                                        "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                        "type": "string",
+                                                        "format": "IP"
+                                                      }
+                                                    }
+                                                  },
+                                                  "subnetId": {
+                                                    "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                    "type": "string"
+                                                  }
+                                                }
+                                              }
+                                            }
+                                          }
+                                        }
+                                      }
+                                    }
+                                  }
+                                }
+                              }
+                            }
+                          }
+                        }
+                      },
+                      "extLinkPorts": {
+                        "description": "Externally provided link ports to be used to connect external connection points to this external VL. If this attribute is not present, the VNFM shall create the link ports on the external VL.\n",
+                        "type": "array",
+                        "items": {
+                          "description": "This type represents an externally provided link port to be used to connect an external connection point to an external VL.\n",
+                          "type": "object",
+                          "required": [
+                            "id",
+                            "resourceHandle"
+                          ],
+                          "properties": {
+                            "id": {
+                              "description": "An identifier with the intention of being globally unique.\n",
+                              "type": "string"
+                            },
+                            "resourceHandle": {
+                              "required": [
+                                "vimConnectionId",
+                                "resourceId"
+                              ],
+                              "type": "object",
+                              "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                              "properties": {
+                                "vimConnectionId": {
+                                  "description": "An identifier with the intention of being globally unique.\n",
+                                  "type": "string"
+                                },
+                                "resourceProviderId": {
+                                  "description": "An identifier with the intention of being globally unique.\n",
+                                  "type": "string"
+                                },
+                                "resourceId": {
+                                  "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                  "type": "string"
+                                },
+                                "vimLevelResourceType": {
+                                  "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                  "type": "string"
+                                }
+                              }
+                            }
+                          }
+                        }
+                      }
+                    }
+                  }
+                },
+                "extManagedVirtualLinks": {
+                  "description": "Information about internal VLs that are managed by other entities than the VNFM. The indication of externally-managed internal VLs is needed in case networks have been pre-configured for use with certain VNFs, for instance to ensure that these networks have certain properties such as security or acceleration features, or to address particular network topologies. The present document assumes that externally-managed internal VLs are managed by the NFVO and created towards the VIM. External and/or externally-managed internal VLs can be passed in VNF lifecycle management operation requests such as InstantiateVnf or ChangeVnfFlavor, and/or in the grant response. The NFVO may choose to override in the grant response external and/or externally-managed VL instances that have been passed previously in the associated VNF lifecycle management request, if the lifecycle management request has originated from the NFVO itself.\n",
+                  "type": "array",
+                  "items": {
+                    "type": "object",
+                    "required": [
+                      "id",
+                      "virtualLinkDescId",
+                      "resourceId"
+                    ],
+                    "properties": {
+                      "id": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "virtualLinkDescId": {
+                        "description": "An identifier that is unique within a VNF descriptor.\n",
+                        "type": "string"
+                      },
+                      "vimConnectionId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceProviderId": {
+                        "description": "An identifier with the intention of being globally unique.\n",
+                        "type": "string"
+                      },
+                      "resourceId": {
+                        "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                        "type": "string"
+                      }
+                    }
+                  }
+                },
+                "additionalParams": {
+                  "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                  "type": "object"
+                },
+                "_links": {
+                  "description": "Links to resources related to this resource.\n",
+                  "type": "object",
+                  "required": [
+                    "self",
+                    "vnfLcmOpOcc",
+                    "vnfInstance"
+                  ],
+                  "properties": {
+                    "self": {
+                      "description": "This type represents a link to a resource.\n",
+                      "type": "object",
+                      "required": [
+                        "href"
+                      ],
+                      "properties": {
+                        "href": {
+                          "description": "URI of the referenced resource.\n",
+                          "type": "string",
+                          "format": "url"
+                        }
+                      }
+                    },
+                    "vnfLcmOpOcc": {
+                      "description": "This type represents a link to a resource.\n",
+                      "type": "object",
+                      "required": [
+                        "href"
+                      ],
+                      "properties": {
+                        "href": {
+                          "description": "URI of the referenced resource.\n",
+                          "type": "string",
+                          "format": "url"
+                        }
+                      }
+                    },
+                    "vnfInstance": {
+                      "description": "This type represents a link to a resource.\n",
+                      "type": "object",
+                      "required": [
+                        "href"
+                      ],
+                      "properties": {
+                        "href": {
+                          "description": "URI of the referenced resource.\n",
+                          "type": "string",
+                          "format": "url"
+                        }
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          },
+          "202": {
+            "description": "Accepted\nThe process of creating the grant is ongoing, no grant is available yet. The response body shall be empty.\n",
+            "headers": {
+              "WWW-Authenticate": {
+                "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 0
+              }
+            }
+          },
+          "400": {
+            "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              },
+              "WWW-Authenticate": {
+                "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 0
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "401": {
+            "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              },
+              "WWW-Authenticate": {
+                "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 0
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "403": {
+            "description": "Forbidden\nThe grant was rejected. A ProblemDetails structure shall be included in the response to provide more details about the rejection in the \"details\" attribute.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              },
+              "WWW-Authenticate": {
+                "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 0
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "404": {
+            "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "405": {
+            "description": "Method Not Allowed\nIf a particular HTTP method is not supported for a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "406": {
+            "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "416": {
+            "description": "Requested Range Not Satisfiable\nThis code is returned if the requested byte range in the Range HTTP header is not present in the requested resource.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "422": {
+            "description": "Unprocessable Entity\nIf the payload body of a request contains syntactically correct data (e.g. well-formed JSON) but the data cannot be processed (e.g. because it fails validation against a schema), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem. NOTE 2: This error response code is only applicable for methods that have a request body.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "500": {
+            "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          },
+          "503": {
+            "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n",
+            "headers": {
+              "Content-Type": {
+                "description": "The MIME type of the body of the response.",
+                "type": "string",
+                "maximum": 1,
+                "minimum": 1
+              }
+            },
+            "schema": {
+              "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+              "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\".\n",
+                  "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).\n",
+                  "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.\n",
+                  "type": "integer"
+                },
+                "detail": {
+                  "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                  "type": "string"
+                },
+                "instance": {
+                  "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                  "type": "string",
+                  "format": "URI"
+                }
+              }
+            }
+          }
+        }
+      }
+    }
+  }
+}
\ No newline at end of file
index f97c1b8..fdbc76d 100644 (file)
@@ -1,6 +1,6 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.onap.so.adapters</groupId>
             <groupId>org.glassfish.jersey.media</groupId>
             <artifactId>jersey-media-json-jackson</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.yaml</groupId>
+            <artifactId>snakeyaml</artifactId>
+            <version>1.23</version>
+        </dependency>
     </dependencies>
 </project>
diff --git a/adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/NvfmAdapterUtils.java b/adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/NvfmAdapterUtils.java
new file mode 100644 (file)
index 0000000..db34cbf
--- /dev/null
@@ -0,0 +1,64 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.so.adapters.vnfmadapter;
+
+import com.google.gson.JsonElement;
+import com.google.gson.JsonObject;
+import org.slf4j.Logger;
+import java.util.ArrayList;
+import java.util.Collection;
+import static org.slf4j.LoggerFactory.getLogger;
+
+public class NvfmAdapterUtils {
+    private static Logger logger = getLogger(NvfmAdapterUtils.class);
+
+    public static JsonObject child(JsonObject parent, String name) {
+        return childElement(parent, name).getAsJsonObject();
+    }
+
+    public static JsonElement childElement(JsonObject parent, String name) {
+        JsonElement child = parent.get(name);
+        if (child == null) {
+            throw abortOperation("Missing child " + name);
+        }
+        return child;
+    }
+
+    public static Collection<JsonObject> children(JsonObject parent) {
+        ArrayList<JsonObject> childElements = new ArrayList<>();
+        for (String childKey : parent.keySet()) {
+            if (parent.get(childKey).isJsonObject()) {
+                childElements.add(parent.get(childKey).getAsJsonObject());
+            }
+        }
+        return childElements;
+    }
+
+    public static RuntimeException abortOperation(String msg, Exception e) {
+        logger.error(msg, e);
+        return new RuntimeException(msg, e);
+    }
+
+    public static RuntimeException abortOperation(String msg) {
+        logger.error(msg);
+        return new RuntimeException(msg);
+    }
+}
index 2d80d55..30ce0c2 100755 (executable)
 
 package org.onap.so.adapters.vnfmadapter;
 
-import static org.slf4j.LoggerFactory.getLogger;
 import org.onap.so.adapters.vnfmadapter.rest.VnfmAdapterController;
 import org.slf4j.Logger;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
+import static org.slf4j.LoggerFactory.getLogger;
 
 /**
  * The spring boot application for the VNFM (Virtual Network Function Manager) Adapter.
diff --git a/adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/extclients/SdcPackageProvider.java b/adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/extclients/SdcPackageProvider.java
new file mode 100644 (file)
index 0000000..045b980
--- /dev/null
@@ -0,0 +1,189 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.so.adapters.vnfmadapter.extclients;
+
+import com.google.common.io.ByteStreams;
+import com.google.gson.Gson;
+import com.google.gson.JsonObject;
+import org.apache.commons.codec.binary.Base64;
+import org.apache.http.HttpEntity;
+import org.apache.http.client.methods.CloseableHttpResponse;
+import org.apache.http.client.methods.HttpGet;
+import org.apache.http.impl.client.CloseableHttpClient;
+import org.apache.http.impl.client.HttpClients;
+import org.onap.so.utils.CryptoUtils;
+import org.slf4j.Logger;
+import org.springframework.beans.factory.annotation.Value;
+import org.springframework.stereotype.Component;
+import org.yaml.snakeyaml.Yaml;
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.nio.charset.StandardCharsets;
+import java.util.*;
+import java.util.zip.ZipEntry;
+import java.util.zip.ZipInputStream;
+import static com.google.common.base.Splitter.on;
+import static com.google.common.collect.Iterables.filter;
+import static com.google.common.io.ByteStreams.toByteArray;
+import static java.lang.String.format;
+import static org.apache.http.HttpHeaders.ACCEPT;
+import static org.apache.http.HttpHeaders.AUTHORIZATION;
+import static org.onap.so.adapters.vnfmadapter.NvfmAdapterUtils.*;
+import static org.slf4j.LoggerFactory.getLogger;
+import static org.springframework.http.MediaType.APPLICATION_OCTET_STREAM_VALUE;
+
+
+@Component
+public class SdcPackageProvider {
+    private static final String GET_PACKAGE_URL = "%s/catalog/resources/%s/toscaModel";
+    @Value("sdc.toscametapath:TOSCA-Metadata/TOSCA.meta")
+    private List<String> toscaMetaPaths;
+    private final String TOSCA_VNFD_KEY = "Entry-Definitions";
+    private static Logger logger = getLogger(SdcPackageProvider.class);
+
+    @Value("${sdc.username}")
+    private String sdcUsername;
+    @Value("${sdc.password}")
+    private String sdcPassword;
+    @Value("${sdc.key}")
+    private String sdcKey;
+    @Value("${sdc.endpoint}")
+    private String baseUrl;
+
+
+    public String getVnfdId(String csarId) {
+        return getVnfNodeProperty(csarId, "descriptor_id");
+    }
+
+    private String getVnfNodeProperty(final String csarId, final String propertyName) {
+        logger.debug("Getting " + propertyName + " from " + csarId);
+        final byte[] onapPackage = getPackage(csarId);
+
+        try {
+            final String vnfdLocation = getVnfdLocation(new ByteArrayInputStream(onapPackage));
+            final String onapVnfdContent = getFileInZip(new ByteArrayInputStream(onapPackage), vnfdLocation).toString();
+            final JsonObject root = new Gson().toJsonTree(new Yaml().load(onapVnfdContent)).getAsJsonObject();
+
+            final JsonObject topologyTemplates = child(root, "topology_template");
+            final JsonObject nodeTemplates = child(topologyTemplates, "node_templates");
+            for (final JsonObject child : children(nodeTemplates)) {
+                final String type = childElement(child, "type").getAsString();
+                String propertyValue = null;
+                if (type.equals("tosca.nodes.nfv.VNF")) {
+                    final JsonObject properties = child(child, "properties");
+                    logger.debug("properties: " + properties.toString());
+
+                    propertyValue = properties.get(propertyName).getAsJsonPrimitive().getAsString();
+                }
+                if (propertyValue == null) {
+                    propertyValue = getValueFromNodeTypeDefinition(root, type, propertyName);
+                }
+                return propertyValue;
+            }
+
+        } catch (final Exception e) {
+            throw new IllegalArgumentException("Unable to extract " + propertyName + " from ONAP package", e);
+        }
+        throw new IllegalArgumentException("Unable to extract " + propertyName + " from ONAP package");
+    }
+
+    private String getValueFromNodeTypeDefinition(final JsonObject root, final String nodeTypeName,
+            final String propertyName) {
+        final JsonObject nodeTypes = child(root, "node_types");
+        final JsonObject nodeType = child(nodeTypes, nodeTypeName);
+
+        if (childElement(nodeType, "derived_from").getAsString().equals("tosca.nodes.nfv.VNF")) {
+            final JsonObject properties = child(nodeType, "properties");
+            logger.debug("properties: " + properties.toString());
+            final JsonObject property = child(properties, propertyName);
+            logger.debug("property: " + property.toString());
+            logger.debug("property default: " + childElement(property, "default").toString());
+            return childElement(property, "default").getAsJsonPrimitive().getAsString();
+        }
+        return null;
+    }
+
+    private byte[] getPackage(String csarId) {
+        final String SERVICE_NAME = "vnfm-adapter";
+        try {
+            CloseableHttpClient client = HttpClients.createDefault();
+            HttpGet httpget = new HttpGet(format(GET_PACKAGE_URL, baseUrl, csarId));
+            httpget.setHeader(ACCEPT, APPLICATION_OCTET_STREAM_VALUE);
+            httpget.setHeader("X-ECOMP-InstanceID", SERVICE_NAME);
+            httpget.setHeader("X-FromAppId", SERVICE_NAME);
+            String auth = sdcUsername + ":" + CryptoUtils.decrypt(sdcPassword, sdcKey);
+            byte[] encodedAuth = Base64.encodeBase64(auth.getBytes(StandardCharsets.ISO_8859_1));
+            String authHeader = "Basic " + new String(encodedAuth);
+            httpget.setHeader(AUTHORIZATION, authHeader);
+            logger.debug("Fetching from SDC: " + httpget);
+            CloseableHttpResponse response = client.execute(httpget);
+            HttpEntity entity = response.getEntity();
+            InputStream is = entity.getContent();
+            byte[] bytes = toByteArray(is);
+            client.close();
+            return bytes;
+        } catch (Exception e) {
+            throw abortOperation("Unable to download " + csarId + " package from SDC", e);
+        }
+    }
+
+    private String getVnfdLocation(InputStream stream) throws IOException {
+        Iterator pathIterator = toscaMetaPaths.iterator();
+        while (pathIterator.hasNext()) {
+            String toscaMetadata = new String(getFileInZip(stream, pathIterator.next().toString()).toByteArray());
+            if (!toscaMetadata.isEmpty()) {
+                String toscaVnfdLine =
+                        filter(on("\n").split(toscaMetadata), line -> line.contains(TOSCA_VNFD_KEY)).iterator().next();
+                return toscaVnfdLine.replace(TOSCA_VNFD_KEY + ":", "").trim();
+            }
+        }
+        throw abortOperation("Unable to find valid Tosca Path");
+    }
+
+    private static ByteArrayOutputStream getFileInZip(InputStream zip, String path) throws IOException {
+        ZipInputStream zipInputStream = new ZipInputStream(zip);
+        ByteArrayOutputStream fileContent = getFileInZip(zipInputStream, path);
+        zipInputStream.close();
+        return fileContent;
+    }
+
+    private static ByteArrayOutputStream getFileInZip(ZipInputStream zipInputStream, String path) throws IOException {
+        ZipEntry zipEntry;
+        Set<String> items = new HashSet<>();
+        while ((zipEntry = zipInputStream.getNextEntry()) != null) {
+            items.add(zipEntry.getName());
+            if (zipEntry.getName().matches(path)) {
+                ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
+                ByteStreams.copy(zipInputStream, byteArrayOutputStream);
+                return byteArrayOutputStream;
+            }
+        }
+        logger.error("Unable to find the {} in archive found: {}", path, items);
+        throw new NoSuchElementException("Unable to find the " + path + " in archive found: " + items);
+    }
+
+
+    public String getFlavourId(String csarId) {
+        return getVnfNodeProperty(csarId, "flavour_id");
+    }
+}
index ee04819..88b8ba8 100644 (file)
 
 package org.onap.so.adapters.vnfmadapter.extclients.aai;
 
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-import org.onap.aai.domain.yang.EsrSystemInfo;
-import org.onap.aai.domain.yang.EsrSystemInfoList;
-import org.onap.aai.domain.yang.EsrVnfm;
-import org.onap.aai.domain.yang.EsrVnfmList;
-import org.onap.aai.domain.yang.GenericVnf;
-import org.onap.aai.domain.yang.Relationship;
-import org.onap.aai.domain.yang.RelationshipData;
-import org.onap.aai.domain.yang.RelationshipList;
-import org.onap.aai.domain.yang.Tenant;
-import org.onap.aai.domain.yang.Vserver;
+import org.onap.aai.domain.yang.*;
 import org.onap.so.adapters.vnfmadapter.extclients.vnfm.lcn.model.LcnVnfLcmOperationOccurrenceNotificationAffectedVnfcs;
+import org.onap.so.adapters.vnfmadapter.rest.exceptions.TenantNotFoundException;
 import org.onap.so.adapters.vnfmadapter.rest.exceptions.VnfmNotFoundException;
 import org.onap.so.client.aai.AAIObjectType;
 import org.onap.so.client.aai.AAIVersion;
 import org.onap.so.client.aai.entities.uri.AAIUriFactory;
+import org.onap.vnfmadapter.v1.model.Tenant;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Map;
 
 /**
  * Provides helper methods for interactions with AAI.
@@ -71,7 +64,6 @@ public class AaiHelper {
         final RelationshipList vnfmRelationshiplist = vnf.getRelationshipList();
         vnfmRelationshiplist.getRelationship().add(createRelationshipToVnfm(vnfmId));
 
-        aaiServiceProvider.invokePutGenericVnf(vnf);
     }
 
     private Relationship createRelationshipToVnfm(final String vnfmId) {
@@ -124,8 +116,11 @@ public class AaiHelper {
         final String cloudOwner = getRelationshipKey(relationship, "cloud-region.cloud-owner");
         final String cloudRegion = getRelationshipKey(relationship, "cloud-region.cloud-region-id");
         final String tenantId = getRelationshipKey(relationship, "tenant.tenant-id");
-        return cloudOwner == null || cloudRegion == null || tenantId == null ? null
-                : aaiServiceProvider.invokeGetTenant(cloudOwner, cloudRegion, tenantId);
+        if (cloudOwner == null || cloudRegion == null || tenantId == null) {
+            throw new TenantNotFoundException("No matching Tenant found in AAI. VNFID: " + vnf.getVnfId());
+        } else {
+            return new Tenant().cloudOwner(cloudOwner).regionName(cloudRegion).tenantId(tenantId);
+        }
     }
 
     private Relationship getRelationship(final GenericVnf vnf, final String relationshipRelatedToValue) {
@@ -234,4 +229,27 @@ public class AaiHelper {
         return mapOfVnfIdToOamIpAddressHolder.get(vnfId);
     }
 
+    /**
+     * Add a relationship to the given tenant to the given VNF.
+     *
+     * @param vnf the generic vnf
+     * @param tenant the Tenant
+     */
+
+    public void addRelationshipFromGenericVnfToTenant(final GenericVnf vnf, final Tenant tenant) {
+        if (vnf.getRelationshipList() == null) {
+            vnf.setRelationshipList(new RelationshipList());
+        }
+        final RelationshipList vnfmRelationshiplist = vnf.getRelationshipList();
+        vnfmRelationshiplist.getRelationship().add(createRelationshipToTenant(tenant));
+    }
+
+    private Relationship createRelationshipToTenant(final Tenant tenant) {
+        final Relationship relationship = new Relationship();
+        relationship.setRelatedTo("tenant");
+        relationship.setRelatedLink("/aai/" + AAIVersion.LATEST + AAIUriFactory.createResourceUri(AAIObjectType.TENANT,
+                tenant.getCloudOwner(), tenant.getRegionName(), tenant.getTenantId()).build().toString());
+        relationship.getRelationshipData().add(createRelationshipData("tenant.tenant-id", tenant.getTenantId()));
+        return relationship;
+    }
 }
index ea12c5a..cfaad3f 100644 (file)
 
 package org.onap.so.adapters.vnfmadapter.extclients.aai;
 
-import java.net.MalformedURLException;
-import java.net.URL;
 import org.onap.so.client.aai.AAIProperties;
 import org.onap.so.client.aai.AAIVersion;
 import org.onap.so.spring.SpringContextHelper;
 import org.springframework.context.ApplicationContext;
+import java.net.MalformedURLException;
+import java.net.URL;
 
 public class AaiPropertiesImpl implements AAIProperties {
 
index b3767a3..807f3bd 100644 (file)
 
 package org.onap.so.adapters.vnfmadapter.extclients.aai;
 
+import org.onap.aai.domain.yang.*;
+import org.onap.vnfmadapter.v1.model.Tenant;
 import java.util.List;
-import org.onap.aai.domain.yang.EsrSystemInfoList;
-import org.onap.aai.domain.yang.EsrVnfm;
-import org.onap.aai.domain.yang.EsrVnfmList;
-import org.onap.aai.domain.yang.GenericVnf;
-import org.onap.aai.domain.yang.Tenant;
-import org.onap.aai.domain.yang.Vserver;
 
 /**
  * Provides methods for invoking REST calls to AAI.
index 6c3d7c2..4346114 100644 (file)
 
 package org.onap.so.adapters.vnfmadapter.extclients.aai;
 
-import java.util.List;
-import org.onap.aai.domain.yang.EsrSystemInfoList;
-import org.onap.aai.domain.yang.EsrVnfm;
-import org.onap.aai.domain.yang.EsrVnfmList;
-import org.onap.aai.domain.yang.GenericVnf;
-import org.onap.aai.domain.yang.Tenant;
-import org.onap.aai.domain.yang.Vserver;
+import org.onap.aai.domain.yang.*;
 import org.onap.so.client.aai.AAIObjectType;
 import org.onap.so.client.aai.entities.uri.AAIUriFactory;
+import org.onap.vnfmadapter.v1.model.Tenant;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
+import java.util.List;
 
 @Service
 public class AaiServiceProviderImpl implements AaiServiceProvider {
index c0d3cf8..70567d8 100644 (file)
 
 package org.onap.so.adapters.vnfmadapter.extclients.vnfm;
 
-import static org.onap.so.adapters.vnfmadapter.Constants.BASE_URL;
-import static org.onap.so.adapters.vnfmadapter.Constants.OPERATION_NOTIFICATION_ENDPOINT;
 import com.google.common.reflect.TypeToken;
 import com.google.gson.Gson;
 import com.google.gson.JsonElement;
 import com.google.gson.JsonObject;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
 import org.onap.aai.domain.yang.EsrSystemInfo;
 import org.onap.so.adapters.vnfmadapter.extclients.aai.AaiServiceProvider;
 import org.onap.so.adapters.vnfmadapter.extclients.vim.model.AccessInfo;
 import org.onap.so.adapters.vnfmadapter.extclients.vim.model.InterfaceInfo;
 import org.onap.so.adapters.vnfmadapter.extclients.vim.model.VimCredentials;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.InstantiateVnfRequest;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.LccnSubscriptionRequest;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.SubscriptionsAuthentication;
+import org.onap.so.adapters.vnfmadapter.extclients.vnfm.grant.model.InlineResponse201VimConnections;
+import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.*;
 import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.SubscriptionsAuthentication.AuthTypeEnum;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.SubscriptionsAuthenticationParamsBasic;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.SubscriptionsFilter;
 import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.SubscriptionsFilter.NotificationTypesEnum;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.SubscriptionsFilterVnfInstanceSubscriptionFilter;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.VnfInstancesvnfInstanceIdinstantiateExtVirtualLinks;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.VnfInstancesvnfInstanceIdinstantiateVimConnectionInfo;
 import org.onap.so.security.WebSecurityConfig;
 import org.onap.vnfmadapter.v1.model.CreateVnfRequest;
 import org.onap.vnfmadapter.v1.model.ExternalVirtualLink;
@@ -53,6 +42,11 @@ import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Value;
 import org.springframework.stereotype.Service;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import static org.onap.so.adapters.vnfmadapter.Constants.BASE_URL;
+import static org.onap.so.adapters.vnfmadapter.Constants.OPERATION_NOTIFICATION_ENDPOINT;
 
 /**
  * Provides helper methods for interactions with VNFM.
@@ -80,10 +74,10 @@ public class VnfmHelper {
      * @param tenant the tenant the request is to be fulfilled on
      * @param createVnfRequest the request received by the VNFM adapter
      */
-    public InstantiateVnfRequest createInstantiateRequest(final Tenant tenant,
-            final CreateVnfRequest createVnfRequest) {
+    public InstantiateVnfRequest createInstantiateRequest(final Tenant tenant, final CreateVnfRequest createVnfRequest,
+            final String flavourId) {
         final InstantiateVnfRequest instantiateVnfRequest = new InstantiateVnfRequest();
-        instantiateVnfRequest.setFlavourId(getFlavourId());
+        instantiateVnfRequest.setFlavourId(flavourId);
         instantiateVnfRequest.setVimConnectionInfo(getVimConnectionInfos(tenant));
         instantiateVnfRequest
                 .setAdditionalParams(getAdditionalParametersAsJsonObject(createVnfRequest.getAdditionalParams()));
@@ -169,7 +163,6 @@ public class VnfmHelper {
      * Create a {@link LccnSubscriptionRequest} to send in an notification subscription request to a VNFM.
      *
      * @param the ID of the VNF notifications are required for
-     *
      * @return the request
      */
     public LccnSubscriptionRequest createNotificationSubscriptionRequest(final String vnfId) {
@@ -199,4 +192,25 @@ public class VnfmHelper {
         return authentication;
     }
 
+    /**
+     * Get the VIM connections for a tenant
+     *
+     * @param tenant the tenant
+     * @return the VIM connections
+     */
+    public InlineResponse201VimConnections getVimConnections(final Tenant tenant) {
+        final EsrSystemInfo esrSystemInfo =
+                aaiServiceProvider.invokeGetCloudRegionEsrSystemInfoList(tenant.getCloudOwner(), tenant.getRegionName())
+                        .getEsrSystemInfo().iterator().next();
+
+        final InlineResponse201VimConnections vimConnection = new InlineResponse201VimConnections();
+        vimConnection.setId(createVimId(tenant.getCloudOwner(), tenant.getRegionName()));
+        vimConnection.setVimId(vimConnection.getId());
+        vimConnection.setVimType(esrSystemInfo.getType());
+        vimConnection.setInterfaceInfo(getInterfaceInfo(esrSystemInfo.getServiceUrl()));
+        vimConnection.setAccessInfo(getAccessInfo(esrSystemInfo, tenant.getTenantId()));
+        return vimConnection;
+    }
+
+
 }
index 472a8b8..d061dd0 100644 (file)
 package org.onap.so.adapters.vnfmadapter.extclients.vnfm;
 
 import com.google.common.base.Optional;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.InlineResponse200;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.InlineResponse2001;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.InlineResponse201;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.InstantiateVnfRequest;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.LccnSubscriptionRequest;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.TerminateVnfRequest;
+import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.*;
 
 /**
  * Provides methods for invoking REST calls to a VNFM.
@@ -86,4 +81,13 @@ public interface VnfmServiceProvider {
      */
     Optional<InlineResponse200> getOperation(final String vnfmId, final String operationId);
 
+    /**
+     * Invoke a create request to a VNFM
+     *
+     * @param vnfmId the id of the VNFM in AAI
+     * @param createVnfRequest the parameters for creating a VNF
+     * @return the newly created VNF
+     */
+    Optional<InlineResponse201> createVnf(final String vnfmId, final CreateVnfRequest createVnfRequest);
+
 }
index 88008c6..164f12e 100644 (file)
@@ -20,8 +20,6 @@
 
 package org.onap.so.adapters.vnfmadapter.extclients.vnfm;
 
-import static org.onap.so.client.RestTemplateConfig.CONFIGURABLE_REST_TEMPLATE;
-import java.util.Iterator;
 import org.onap.so.configuration.rest.BasicHttpHeadersProvider;
 import org.onap.so.configuration.rest.HttpHeadersProvider;
 import org.onap.so.rest.service.HttpRestServiceProvider;
@@ -34,6 +32,8 @@ import org.springframework.http.converter.HttpMessageConverter;
 import org.springframework.http.converter.json.GsonHttpMessageConverter;
 import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
 import org.springframework.web.client.RestTemplate;
+import java.util.Iterator;
+import static org.onap.so.client.RestTemplateConfig.CONFIGURABLE_REST_TEMPLATE;
 
 /**
  * Configures the HttpRestServiceProvider for REST call to a VNFM.
index 104e2d1..b096f51 100644 (file)
 package org.onap.so.adapters.vnfmadapter.extclients.vnfm;
 
 import com.google.common.base.Optional;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.InlineResponse200;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.InlineResponse2001;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.InlineResponse201;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.InstantiateVnfRequest;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.LccnSubscriptionRequest;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.TerminateVnfRequest;
+import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.*;
 import org.onap.so.adapters.vnfmadapter.rest.exceptions.VnfmRequestFailureException;
 import org.onap.so.rest.service.HttpRestServiceProvider;
 import org.slf4j.Logger;
@@ -142,4 +137,17 @@ public class VnfmServiceProviderImpl implements VnfmServiceProvider {
         return httpServiceProvider.get(url, InlineResponse200.class);
     }
 
+    @Override
+    public Optional<InlineResponse201> createVnf(final String vnfmId, final CreateVnfRequest createVnfRequest) {
+        final String url = urlProvider.getCreationUrl(vnfmId);
+        try {
+            return httpServiceProvider.post(createVnfRequest, url, InlineResponse201.class);
+        } catch (final Exception exception) {
+            final String errorMessage =
+                    "Create request to vnfm:" + vnfmId + " resulted in exception" + createVnfRequest;
+            logger.error(errorMessage, exception);
+            throw new VnfmRequestFailureException(errorMessage, exception);
+        }
+    }
+
 }
index 2eaaa81..d4aa65d 100644 (file)
@@ -20,8 +20,6 @@
 
 package org.onap.so.adapters.vnfmadapter.extclients.vnfm;
 
-import static org.slf4j.LoggerFactory.getLogger;
-import java.net.URI;
 import org.onap.aai.domain.yang.EsrSystemInfo;
 import org.onap.aai.domain.yang.EsrSystemInfoList;
 import org.onap.so.adapters.vnfmadapter.extclients.aai.AaiServiceProvider;
@@ -30,6 +28,8 @@ import org.slf4j.Logger;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import org.springframework.web.util.UriComponentsBuilder;
+import java.net.URI;
+import static org.slf4j.LoggerFactory.getLogger;
 
 /**
  * Provides URLs for REST calls to a VNFM.
@@ -68,7 +68,15 @@ public class VnfmUrlProvider {
     public String getSubscriptionsUrl(final String vnfmId) {
         final String url =
                 UriComponentsBuilder.fromUri(getBaseUri(vnfmId)).pathSegment("/subscriptions").build().toString();
-        logger.debug("getOperationUrl:" + url);
+        logger.debug("getSubscriptionUrl:" + url);
+
+        return url;
+    }
+
+    public String getCreationUrl(final String vnfmId) {
+        final String url =
+                UriComponentsBuilder.fromUri(getBaseUri(vnfmId)).pathSegment("/vnf_instances").build().toString();
+        logger.debug("getCreationUrl:" + url);
 
         return url;
     }
index 7034b7f..e61bf86 100644 (file)
 
 package org.onap.so.adapters.vnfmadapter.jobmanagement;
 
-import static org.slf4j.LoggerFactory.getLogger;
 import com.google.common.base.Optional;
 import com.google.common.collect.Maps;
-import java.util.Map;
-import java.util.UUID;
 import org.onap.so.adapters.vnfmadapter.extclients.vnfm.VnfmServiceProvider;
 import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.InlineResponse200;
 import org.onap.so.adapters.vnfmadapter.rest.exceptions.JobNotFoundException;
@@ -35,6 +32,9 @@ import org.onap.vnfmadapter.v1.model.QueryJobResponse;
 import org.slf4j.Logger;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Component;
+import java.util.Map;
+import java.util.UUID;
+import static org.slf4j.LoggerFactory.getLogger;
 
 /**
  * Manages jobs enabling the status of jobs to be queried. A job is associated with an operation on a VNFM.
index 7085218..e6b787b 100644 (file)
@@ -21,9 +21,9 @@
 package org.onap.so.adapters.vnfmadapter.lifecycle;
 
 import com.google.common.base.Optional;
-import java.util.Map;
 import org.onap.aai.domain.yang.EsrVnfm;
 import org.onap.aai.domain.yang.GenericVnf;
+import org.onap.so.adapters.vnfmadapter.extclients.SdcPackageProvider;
 import org.onap.so.adapters.vnfmadapter.extclients.aai.AaiHelper;
 import org.onap.so.adapters.vnfmadapter.extclients.aai.AaiServiceProvider;
 import org.onap.so.adapters.vnfmadapter.extclients.aai.OamIpAddressSource;
@@ -38,6 +38,7 @@ import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.TerminateVnfReques
 import org.onap.so.adapters.vnfmadapter.jobmanagement.JobManager;
 import org.onap.so.adapters.vnfmadapter.rest.exceptions.VnfNotFoundException;
 import org.onap.so.adapters.vnfmadapter.rest.exceptions.VnfmNotFoundException;
+import org.onap.so.adapters.vnfmadapter.rest.exceptions.VnfmRequestFailureException;
 import org.onap.vnfmadapter.v1.model.CreateVnfRequest;
 import org.onap.vnfmadapter.v1.model.CreateVnfResponse;
 import org.onap.vnfmadapter.v1.model.DeleteVnfResponse;
@@ -45,6 +46,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Component;
+import java.util.Map;
 
 /**
  * Manages lifecycle operations towards the VNFMs.
@@ -57,15 +59,18 @@ public class LifecycleManager {
     private final AaiHelper aaiHelper;
     private final VnfmHelper vnfmHelper;
     private final JobManager jobManager;
+    private final SdcPackageProvider packageProvider;
 
     @Autowired
     LifecycleManager(final AaiServiceProvider aaiServiceProvider, final AaiHelper aaiHelper,
-            final VnfmHelper vnfmHelper, final VnfmServiceProvider vnfmServiceProvider, final JobManager jobManager) {
+            final VnfmHelper vnfmHelper, final VnfmServiceProvider vnfmServiceProvider, final JobManager jobManager,
+            SdcPackageProvider packageProvider) {
         this.aaiServiceProvider = aaiServiceProvider;
         this.vnfmServiceProvider = vnfmServiceProvider;
         this.aaiHelper = aaiHelper;
         this.vnfmHelper = vnfmHelper;
         this.jobManager = jobManager;
+        this.packageProvider = packageProvider;
     }
 
     /**
@@ -84,8 +89,11 @@ public class LifecycleManager {
             vnfm = aaiHelper.selectVnfm(genericVnf);
             aaiHelper.addRelationshipFromGenericVnfToVnfm(genericVnf, vnfm.getVnfmId());
         }
-
-        final String vnfIdInVnfm = sendCreateRequestToVnfm(genericVnf);
+        aaiHelper.addRelationshipFromGenericVnfToTenant(genericVnf, request.getTenant());
+        InlineResponse201 vnfmResponse = sendCreateRequestToVnfm(request, genericVnf, vnfIdInAai, vnfm.getVnfmId());
+        genericVnf.setSelflink(vnfmResponse.getLinks().getSelf().getHref());
+        aaiServiceProvider.invokePutGenericVnf(genericVnf);
+        final String vnfIdInVnfm = vnfmResponse.getId();
 
         final OamIpAddressSource oamIpAddressSource = extractOamIpAddressSource(request);
         aaiHelper.setOamIpAddressSource(vnfIdInVnfm, oamIpAddressSource);
@@ -127,10 +135,26 @@ public class LifecycleManager {
         }
     }
 
-    private String sendCreateRequestToVnfm(final GenericVnf genericVnf) {
-        // TODO call create request
-        genericVnf.setSelflink("http://dummy.value/until/create/implememted/vnfId");
-        return "vnfId";
+    private InlineResponse201 sendCreateRequestToVnfm(CreateVnfRequest aaiRequest, GenericVnf genericVnf,
+            String vnfIdInAai, String vnfmId) {
+        logger.debug("Sending a create request to SVNFM " + aaiRequest);
+        org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.CreateVnfRequest vnfmRequest =
+                new org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.CreateVnfRequest();
+
+        String vnfdId = packageProvider.getVnfdId(genericVnf.getModelVersionId());
+        vnfmRequest.setVnfdId(vnfdId);
+        vnfmRequest.setVnfInstanceName(aaiRequest.getName().replaceAll(" ", "_"));
+        vnfmRequest.setVnfInstanceDescription(vnfIdInAai);
+
+        Optional<InlineResponse201> optionalResponse = vnfmServiceProvider.createVnf(vnfmId, vnfmRequest);
+
+        try {
+            return optionalResponse.get();
+        } catch (final Exception exception) {
+            final String errorMessage = "Unable to return response from VNFM";
+            logger.error(errorMessage, exception);
+            throw new VnfmRequestFailureException(errorMessage, exception);
+        }
     }
 
     private void createNotificationSubscription(final String vnfmId, final String vnfId) {
@@ -148,7 +172,8 @@ public class LifecycleManager {
             final CreateVnfRequest createVnfRequest, final String vnfIdInAai, final String vnfIdInVnfm) {
 
         final InstantiateVnfRequest instantiateVnfRequest =
-                vnfmHelper.createInstantiateRequest(createVnfRequest.getTenant(), createVnfRequest);
+                vnfmHelper.createInstantiateRequest(createVnfRequest.getTenant(), createVnfRequest,
+                        packageProvider.getFlavourId(genericVnf.getModelVersionId()));
         final String jobId = vnfmServiceProvider.instantiateVnf(genericVnf.getSelflink(), instantiateVnfRequest);
 
         logger.info("Instantiate VNF request successfully sent to " + genericVnf.getSelflink());
index 506eb8d..a339b9b 100644 (file)
 
 package org.onap.so.adapters.vnfmadapter.notificationhandling;
 
-import static org.slf4j.LoggerFactory.getLogger;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
 import org.json.JSONException;
 import org.json.JSONObject;
 import org.onap.aai.domain.yang.GenericVnf;
@@ -40,6 +36,10 @@ import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.InlineResponse201;
 import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.InlineResponse201VimConnectionInfo;
 import org.onap.so.adapters.vnfmadapter.jobmanagement.JobManager;
 import org.slf4j.Logger;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import static org.slf4j.LoggerFactory.getLogger;
 
 /**
  * Performs updates to AAI based on a received notification. The updates are executed in a separate thread so as the
diff --git a/adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/rest/Sol003GrantController.java b/adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/rest/Sol003GrantController.java
new file mode 100644 (file)
index 0000000..a16c3fb
--- /dev/null
@@ -0,0 +1,122 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.so.adapters.vnfmadapter.rest;
+
+import org.onap.so.adapters.vnfmadapter.extclients.aai.AaiHelper;
+import org.onap.so.adapters.vnfmadapter.extclients.aai.AaiServiceProvider;
+import org.onap.so.adapters.vnfmadapter.extclients.vnfm.VnfmHelper;
+import org.onap.so.adapters.vnfmadapter.extclients.vnfm.grant.model.*;
+import org.onap.vnfmadapter.v1.model.Tenant;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.ResponseEntity;
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.*;
+import javax.ws.rs.core.MediaType;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.UUID;
+import static org.onap.so.adapters.vnfmadapter.Constants.BASE_URL;
+
+@Controller
+@RequestMapping(value = BASE_URL, produces = MediaType.APPLICATION_JSON, consumes = MediaType.APPLICATION_JSON)
+public class Sol003GrantController {
+
+    private static final String SEPARATOR = "_";
+    private static final String VIM_TYPE = "OPENSTACK";
+    private static final String CLOUD_OWNER = "myTestCloudOwner";
+    private static final String REGION = "myTestRegion";
+    private static final String TENANT_ID = "myTestTenantId";
+    private static final Logger logger = LoggerFactory.getLogger(Sol003GrantController.class);
+    public final AaiServiceProvider aaiServiceProvider;
+    public final AaiHelper aaiHelper;
+    public final VnfmHelper vnfmHelper;
+
+    @Autowired
+    public Sol003GrantController(final AaiServiceProvider aaiServiceProvider, final AaiHelper aaiHelper,
+            final VnfmHelper vnfmHelper) {
+        this.aaiServiceProvider = aaiServiceProvider;
+        this.aaiHelper = aaiHelper;
+        this.vnfmHelper = vnfmHelper;
+    }
+
+    @GetMapping(value = "/grants/{grantId}")
+    public ResponseEntity<InlineResponse201> grantsGrantIdGet(@PathVariable("grantId") final String grantId) {
+        logger.info("Get grant received from VNFM, grant id: " + grantId);
+        return new ResponseEntity<InlineResponse201>(HttpStatus.NOT_IMPLEMENTED);
+    }
+
+    @PostMapping(value = "/grants")
+    public ResponseEntity<InlineResponse201> grantsPost(@RequestBody final GrantRequest grantRequest) {
+        logger.info("Grant request received from VNFM: " + grantRequest);
+
+        final InlineResponse201 grantResponse = createGrantResponse(grantRequest);
+        logger.info("Grant request returning to VNFM: " + grantResponse);
+        return new ResponseEntity<InlineResponse201>(grantResponse, HttpStatus.CREATED);
+    }
+
+    private InlineResponse201 createGrantResponse(final GrantRequest grantRequest) {
+        final InlineResponse201 grantResponse = new InlineResponse201();
+        grantResponse.setId(UUID.randomUUID().toString());
+        grantResponse.setVnfInstanceId(grantRequest.getVnfInstanceId());
+        grantResponse.setVnfLcmOpOccId(grantRequest.getVnfLcmOpOccId());
+        final Tenant tenant =
+                aaiHelper.getAssignedTenant(aaiServiceProvider.invokeGetGenericVnf((grantRequest.getVnfInstanceId())));
+
+        String vimConnectionId = "";
+        final InlineResponse201VimConnections vimConnection = vnfmHelper.getVimConnections(tenant);
+        grantResponse.addVimConnectionsItem(vimConnection);
+        vimConnectionId = vimConnection.getId();
+
+        if (grantRequest.getOperation().equals(GrantRequest.OperationEnum.INSTANTIATE)) {
+            grantResponse.addResources(getResources(grantRequest.getAddResources(), vimConnectionId));
+        } else if (grantRequest.getOperation().equals(GrantRequest.OperationEnum.TERMINATE)) {
+            grantResponse.addResources(getResources(grantRequest.getRemoveResources(), vimConnectionId));
+        }
+        return grantResponse;
+    }
+
+    private InlineResponse201VimConnections getVimConnectionsItem(final Tenant tenant) {
+        final InlineResponse201VimConnections vimConnection = new InlineResponse201VimConnections();
+        vimConnection.setId(createVimConnectionId(tenant.getCloudOwner(), tenant.getRegionName()));
+        vimConnection.setVimId(vimConnection.getId());
+        vimConnection.setVimType(VIM_TYPE);
+        return vimConnection;
+    }
+
+    private List<InlineResponse201AddResources> getResources(final List<GrantsAddResources> requestResources,
+            final String vimId) {
+        final List<InlineResponse201AddResources> resources = new ArrayList<>();
+        for (final GrantsAddResources requestResource : requestResources) {
+            final InlineResponse201AddResources responseResource = new InlineResponse201AddResources();
+            responseResource.setResourceDefinitionId(requestResource.getId());
+            responseResource.setVimConnectionId(vimId);
+            resources.add(responseResource);
+        }
+        return resources;
+    }
+
+    private String createVimConnectionId(String cloudOwner, String cloudRegionId) {
+        return cloudOwner + SEPARATOR + cloudRegionId;
+    }
+}
index 0441342..9cb09e6 100644 (file)
 
 package org.onap.so.adapters.vnfmadapter.rest;
 
-import static org.onap.so.adapters.vnfmadapter.Constants.BASE_URL;
-import static org.onap.so.adapters.vnfmadapter.Constants.OPERATION_NOTIFICATION_ENDPOINT;
-import static org.slf4j.LoggerFactory.getLogger;
-import java.util.concurrent.ExecutorService;
-import java.util.concurrent.Executors;
-import javax.ws.rs.core.MediaType;
 import org.onap.so.adapters.vnfmadapter.extclients.aai.AaiHelper;
 import org.onap.so.adapters.vnfmadapter.extclients.aai.AaiServiceProvider;
 import org.onap.so.adapters.vnfmadapter.extclients.vnfm.VnfmServiceProvider;
@@ -45,6 +39,12 @@ import org.springframework.stereotype.Controller;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
+import javax.ws.rs.core.MediaType;
+import java.util.concurrent.ExecutorService;
+import java.util.concurrent.Executors;
+import static org.onap.so.adapters.vnfmadapter.Constants.BASE_URL;
+import static org.onap.so.adapters.vnfmadapter.Constants.OPERATION_NOTIFICATION_ENDPOINT;
+import static org.slf4j.LoggerFactory.getLogger;
 
 /**
  * Controller for handling notifications from the VNFM (Virtual Network Function Manager).
index 875d335..1cf00da 100644 (file)
@@ -20,9 +20,7 @@
 
 package org.onap.so.adapters.vnfmadapter.rest;
 
-import static org.onap.so.adapters.vnfmadapter.Constants.BASE_URL;
-import javax.validation.Valid;
-import javax.ws.rs.core.MediaType;
+import io.swagger.annotations.ApiParam;
 import org.onap.logging.ref.slf4j.ONAPLogConstants;
 import org.onap.so.adapters.vnfmadapter.jobmanagement.JobManager;
 import org.onap.so.adapters.vnfmadapter.lifecycle.LifecycleManager;
@@ -37,14 +35,10 @@ import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.http.HttpStatus;
 import org.springframework.http.ResponseEntity;
 import org.springframework.stereotype.Controller;
-import org.springframework.web.bind.annotation.DeleteMapping;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestHeader;
-import org.springframework.web.bind.annotation.RequestMapping;
-import io.swagger.annotations.ApiParam;
+import org.springframework.web.bind.annotation.*;
+import javax.validation.Valid;
+import javax.ws.rs.core.MediaType;
+import static org.onap.so.adapters.vnfmadapter.Constants.BASE_URL;
 
 /**
  * Controller for handling requests to the VNFM (Virtual Network Function Manager) adapter REST API.
diff --git a/adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/rest/exceptions/TenantNotFoundException.java b/adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/main/java/org/onap/so/adapters/vnfmadapter/rest/exceptions/TenantNotFoundException.java
new file mode 100644 (file)
index 0000000..215e68a
--- /dev/null
@@ -0,0 +1,35 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.so.adapters.vnfmadapter.rest.exceptions;
+
+/**
+ * Exception for Tenant not found.
+ */
+
+public class TenantNotFoundException extends RuntimeException {
+
+    private static final long serialVersionUID = 6398018034431666933L;
+
+    public TenantNotFoundException(final String message) {
+        super(message);
+    }
+
+}
index bbe1315..4fb1103 100644 (file)
 server:
   port: 9092
   tomcat:
-      max-threads: 50
-      
+    max-threads: 50
+
 mso:
   key: 07a7159d3bf51a0e53be7a8f89699be7
-  
+
 aai:
   auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
   version: v15
   endpoint: https://aai.onap:8443
 
+sdc:
+  username: sdcUser
+  password: sdcPassword
+  key: adadadadad
+  endpoint: http://sdc.onap/1234A
+
 #Actuator
 management:
   endpoints:
index c25d825..07c471e 100644 (file)
@@ -20,8 +20,6 @@
 
 package org.onap.so.adapters.vnfmadapter.rest;
 
-import static org.junit.Assert.assertEquals;
-import java.net.URI;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.onap.so.adapters.vnfmadapter.VnfmAdapterApplication;
@@ -33,6 +31,8 @@ import org.springframework.http.RequestEntity;
 import org.springframework.http.ResponseEntity;
 import org.springframework.test.context.ActiveProfiles;
 import org.springframework.test.context.junit4.SpringRunner;
+import java.net.URI;
+import static org.junit.Assert.assertEquals;
 
 @RunWith(SpringRunner.class)
 @SpringBootTest(classes = VnfmAdapterApplication.class, webEnvironment = WebEnvironment.RANDOM_PORT)
diff --git a/adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/test/java/org/onap/so/adapters/vnfmadapter/rest/Sol003GrantControllerTest.java b/adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/src/test/java/org/onap/so/adapters/vnfmadapter/rest/Sol003GrantControllerTest.java
new file mode 100644 (file)
index 0000000..7e87e66
--- /dev/null
@@ -0,0 +1,235 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.so.adapters.vnfmadapter.rest;
+
+import com.google.gson.Gson;
+import org.hamcrest.BaseMatcher;
+import org.hamcrest.Description;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.mockito.hamcrest.MockitoHamcrest;
+import org.onap.aai.domain.yang.*;
+import org.onap.so.adapters.vnfmadapter.VnfmAdapterApplication;
+import org.onap.so.adapters.vnfmadapter.extclients.vnfm.grant.model.GrantRequest;
+import org.onap.so.adapters.vnfmadapter.extclients.vnfm.grant.model.GrantRequest.OperationEnum;
+import org.onap.so.adapters.vnfmadapter.extclients.vnfm.grant.model.GrantsAddResources;
+import org.onap.so.adapters.vnfmadapter.extclients.vnfm.grant.model.GrantsAddResources.TypeEnum;
+import org.onap.so.adapters.vnfmadapter.extclients.vnfm.grant.model.InlineResponse201;
+import org.onap.so.adapters.vnfmadapter.extclients.vnfm.grant.model.InlineResponse201VimConnections;
+import org.onap.so.client.aai.AAIResourcesClient;
+import org.onap.so.client.aai.entities.uri.AAIResourceUri;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Qualifier;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
+import org.springframework.boot.test.mock.mockito.MockBean;
+import org.springframework.boot.web.server.LocalServerPort;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.ResponseEntity;
+import org.springframework.test.context.ActiveProfiles;
+import org.springframework.test.context.junit4.SpringRunner;
+import org.springframework.test.web.client.MockRestServiceServer;
+import org.springframework.web.client.RestTemplate;
+import java.util.Optional;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+import static org.mockito.ArgumentMatchers.eq;
+import static org.mockito.Mockito.doReturn;
+import static org.onap.so.client.RestTemplateConfig.CONFIGURABLE_REST_TEMPLATE;
+
+@RunWith(SpringRunner.class)
+@SpringBootTest(classes = VnfmAdapterApplication.class, webEnvironment = WebEnvironment.RANDOM_PORT)
+@ActiveProfiles("test")
+public class Sol003GrantControllerTest {
+
+    private static final String CLOUD_OWNER = "myTestCloudOwner";
+    private static final String REGION = "myTestRegion";
+    private static final String TENANT_ID = "myTestTenantId";
+    private static final String SEPARATOR = "_";
+    private static final String vimConnectionId = CLOUD_OWNER + SEPARATOR + REGION;
+
+    @LocalServerPort
+    private int port;
+    @Autowired
+    @Qualifier(CONFIGURABLE_REST_TEMPLATE)
+    private RestTemplate testRestTemplate;
+    private MockRestServiceServer mockRestServer;
+
+    @MockBean
+    private AAIResourcesClient aaiResourcesClient;
+
+    @Autowired
+    private Sol003GrantController controller;
+    private final Gson gson = new Gson();
+
+    @Before
+    public void setUp() throws Exception {
+        mockRestServer = MockRestServiceServer.bindTo(testRestTemplate).build();
+        setUpVimInMockAai();
+    }
+
+    @Test
+    public void grantRequest_ValidRequestInstantiate_GrantApproved() {
+        GrantRequest grantRequest = createGrantRequest("INSTANTIATE");
+        setUpGenericVnfWithVnfmRelationshipInMockAai("vnfmType", "vnfm1");
+        final ResponseEntity<InlineResponse201> response = controller.grantsPost(grantRequest);
+        assertEquals(HttpStatus.CREATED, response.getStatusCode());
+        assertEquals(1, response.getBody().getAddResources().size());
+
+        assertEquals(vimConnectionId, response.getBody().getAddResources().get(0).getVimConnectionId());
+        assertEquals("myTestVnfId", response.getBody().getVnfInstanceId());
+        assertEquals("123456", response.getBody().getVnfLcmOpOccId());
+
+        InlineResponse201VimConnections vimConnections = response.getBody().getVimConnections().get(0);
+        assertEquals(vimConnectionId, vimConnections.getVimId());
+        assertEquals("OPENSTACK", vimConnections.getVimType());
+        assertNotNull(vimConnections.getAccessInfo());
+        assertNotNull(vimConnections.getInterfaceInfo());
+        assertEquals("INSTANTIATE", grantRequest.getOperation().toString());
+    }
+
+    @Test
+    public void getGrant_notSupported_returns501() {
+        final ResponseEntity<InlineResponse201> response2 = controller.grantsGrantIdGet("myTestGrantId");
+        assertEquals(HttpStatus.NOT_IMPLEMENTED, response2.getStatusCode());
+    }
+
+    @Test
+    public void grantRequest_ValidRequestTerminate_GrantApproved() {
+        GrantRequest grantRequest = createGrantRequest("TERMINATE");
+        setUpGenericVnfWithVnfmRelationshipInMockAai("vnfmType", "vnfm1");
+        final ResponseEntity<InlineResponse201> response = controller.grantsPost(grantRequest);
+
+        assertEquals(HttpStatus.CREATED, response.getStatusCode());
+        assertEquals(1, response.getBody().getAddResources().size());
+        assertEquals(vimConnectionId, response.getBody().getAddResources().get(0).getVimConnectionId());
+        assertEquals("myTestVnfId", response.getBody().getVnfInstanceId());
+        assertEquals("123456", response.getBody().getVnfLcmOpOccId());
+
+        InlineResponse201VimConnections vimConnections = response.getBody().getVimConnections().get(0);
+        assertEquals(vimConnectionId, vimConnections.getVimId());
+        assertEquals("OPENSTACK", vimConnections.getVimType());
+        assertNotNull(vimConnections.getAccessInfo());
+        assertNotNull(vimConnections.getInterfaceInfo());
+        assertEquals("TERMINATE", grantRequest.getOperation().toString());
+
+    }
+
+    private GrantRequest createGrantRequest(String operation) {
+        GrantRequest grantRequest = new GrantRequest();
+        grantRequest.setVnfInstanceId("myTestVnfId");
+        grantRequest.setVnfLcmOpOccId("123456");
+        if (operation == "INSTANTIATE") {
+            grantRequest.setOperation(OperationEnum.INSTANTIATE);
+            GrantsAddResources resource = new GrantsAddResources();
+            resource.setId("123");
+            resource.setType(TypeEnum.COMPUTE);
+            grantRequest.addAddResourcesItem(resource);
+        } else if (operation == "TERMINATE") {
+            grantRequest.setOperation(OperationEnum.TERMINATE);
+            GrantsAddResources resource = new GrantsAddResources();
+            resource.setId("123");
+            resource.setType(TypeEnum.COMPUTE);
+            grantRequest.addRemoveResourcesItem(resource);
+        }
+
+        return grantRequest;
+    }
+
+    private void setUpVimInMockAai() {
+        final EsrSystemInfo esrSystemInfo = new EsrSystemInfo();
+        esrSystemInfo.setServiceUrl("http://myVim:8080");
+        esrSystemInfo.setType("OPENSTACK");
+        esrSystemInfo.setSystemType("VIM");
+        esrSystemInfo.setCloudDomain("myDomain");
+        esrSystemInfo.setUserName("myUser");
+        esrSystemInfo.setPassword("myPassword");
+
+        final EsrSystemInfoList esrSystemInfoList = new EsrSystemInfoList();
+        esrSystemInfoList.getEsrSystemInfo().add(esrSystemInfo);
+
+        doReturn(Optional.of(esrSystemInfoList)).when(aaiResourcesClient).get(eq(EsrSystemInfoList.class),
+                MockitoHamcrest.argThat(new AaiResourceUriMatcher("/cloud-infrastructure/cloud-regions/cloud-region/"
+                        + CLOUD_OWNER + "/" + REGION + "/esr-system-info-list")));
+    }
+
+    private GenericVnf createGenericVnf(final String type) {
+        final GenericVnf genericVnf = new GenericVnf();
+        genericVnf.setVnfId("myTestVnfId");
+        genericVnf.setNfType(type);
+        return genericVnf;
+    }
+
+    private void setUpGenericVnfWithVnfmRelationshipInMockAai(final String type, final String vnfmId) {
+        final GenericVnf genericVnf = createGenericVnf(type);
+
+        final Relationship relationshipToVnfm = new Relationship();
+        relationshipToVnfm.setRelatedTo("tenant");
+        final RelationshipData relationshipData1 = new RelationshipData();
+        final RelationshipData relationshipData2 = new RelationshipData();
+        final RelationshipData relationshipData3 = new RelationshipData();
+
+        relationshipData1.setRelationshipKey("cloud-region.cloud-owner");
+        relationshipData1.setRelationshipValue(CLOUD_OWNER);
+        relationshipData2.setRelationshipKey("cloud-region.cloud-region-id");
+        relationshipData2.setRelationshipValue(REGION);
+        relationshipData3.setRelationshipKey("tenant.tenant-id");
+        relationshipData3.setRelationshipValue(TENANT_ID);
+
+        relationshipToVnfm.getRelationshipData().add(relationshipData1);
+        relationshipToVnfm.getRelationshipData().add(relationshipData2);
+        relationshipToVnfm.getRelationshipData().add(relationshipData3);
+
+        final RelationshipList relationshipList = new RelationshipList();
+        relationshipList.getRelationship().add(relationshipToVnfm);
+        genericVnf.setRelationshipList(relationshipList);
+
+        doReturn(Optional.of(genericVnf)).when(aaiResourcesClient).get(eq(GenericVnf.class),
+                MockitoHamcrest.argThat(new AaiResourceUriMatcher("/network/generic-vnfs/generic-vnf/myTestVnfId")));
+    }
+
+    private class AaiResourceUriMatcher extends BaseMatcher<AAIResourceUri> {
+
+        final String uriAsString;
+
+        public AaiResourceUriMatcher(final String uriAsString) {
+            this.uriAsString = uriAsString;
+        }
+
+        @Override
+        public boolean matches(final Object item) {
+            if (item instanceof AAIResourceUri) {
+                if (uriAsString.endsWith("...")) {
+                    return ((AAIResourceUri) item).build().toString()
+                            .startsWith(uriAsString.substring(0, uriAsString.indexOf("...")));
+                }
+                return ((AAIResourceUri) item).build().toString().equals(uriAsString);
+            }
+            return false;
+        }
+
+        @Override
+        public void describeTo(final Description description) {}
+
+    }
+
+}
index aa089e1..363780d 100644 (file)
 
 package org.onap.so.adapters.vnfmadapter.rest;
 
-import static org.junit.Assert.assertEquals;
-import static org.mockito.ArgumentMatchers.eq;
-import static org.mockito.Mockito.doReturn;
-import static org.mockito.Mockito.timeout;
-import static org.mockito.Mockito.verify;
-import static org.mockito.Mockito.verifyZeroInteractions;
-import static org.onap.so.client.RestTemplateConfig.CONFIGURABLE_REST_TEMPLATE;
-import static org.springframework.test.web.client.match.MockRestRequestMatchers.requestTo;
-import static org.springframework.test.web.client.response.MockRestResponseCreators.withStatus;
-import static org.springframework.test.web.client.response.MockRestResponseCreators.withSuccess;
 import com.google.gson.Gson;
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.Optional;
-import javax.inject.Inject;
 import org.hamcrest.BaseMatcher;
 import org.hamcrest.Description;
 import org.junit.Before;
@@ -54,13 +36,8 @@ import org.onap.so.adapters.vnfmadapter.extclients.aai.AaiHelper;
 import org.onap.so.adapters.vnfmadapter.extclients.aai.OamIpAddressSource;
 import org.onap.so.adapters.vnfmadapter.extclients.aai.OamIpAddressSource.OamIpAddressType;
 import org.onap.so.adapters.vnfmadapter.extclients.vim.model.AccessInfo;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.lcn.model.LcnVnfLcmOperationOccurrenceNotificationAffectedVnfcs;
+import org.onap.so.adapters.vnfmadapter.extclients.vnfm.lcn.model.*;
 import org.onap.so.adapters.vnfmadapter.extclients.vnfm.lcn.model.LcnVnfLcmOperationOccurrenceNotificationAffectedVnfcs.ChangeTypeEnum;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.lcn.model.LcnVnfLcmOperationOccurrenceNotificationComputeResource;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.lcn.model.LcnVnfLcmOperationOccurrenceNotificationLinks;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.lcn.model.LcnVnfLcmOperationOccurrenceNotificationLinksVnfInstance;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.lcn.model.VnfIdentifierCreationNotification;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.lcn.model.VnfLcmOperationOccurrenceNotification;
 import org.onap.so.adapters.vnfmadapter.extclients.vnfm.lcn.model.VnfLcmOperationOccurrenceNotification.OperationEnum;
 import org.onap.so.adapters.vnfmadapter.extclients.vnfm.lcn.model.VnfLcmOperationOccurrenceNotification.OperationStateEnum;
 import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.InlineResponse201;
@@ -82,6 +59,17 @@ import org.springframework.test.context.ActiveProfiles;
 import org.springframework.test.context.junit4.SpringRunner;
 import org.springframework.test.web.client.MockRestServiceServer;
 import org.springframework.web.client.RestTemplate;
+import javax.inject.Inject;
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.util.*;
+import static org.junit.Assert.assertEquals;
+import static org.mockito.ArgumentMatchers.eq;
+import static org.mockito.Mockito.*;
+import static org.onap.so.client.RestTemplateConfig.CONFIGURABLE_REST_TEMPLATE;
+import static org.springframework.test.web.client.match.MockRestRequestMatchers.requestTo;
+import static org.springframework.test.web.client.response.MockRestResponseCreators.withStatus;
+import static org.springframework.test.web.client.response.MockRestResponseCreators.withSuccess;
 
 @RunWith(SpringRunner.class)
 @SpringBootTest(classes = VnfmAdapterApplication.class, webEnvironment = WebEnvironment.RANDOM_PORT)
index c69b483..39572c7 100644 (file)
 
 package org.onap.so.adapters.vnfmadapter.rest;
 
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertNull;
-import static org.mockito.ArgumentMatchers.eq;
-import static org.mockito.Mockito.doReturn;
-import static org.mockito.Mockito.verify;
-import static org.onap.so.client.RestTemplateConfig.CONFIGURABLE_REST_TEMPLATE;
-import static org.springframework.test.web.client.match.MockRestRequestMatchers.content;
-import static org.springframework.test.web.client.match.MockRestRequestMatchers.requestTo;
-import static org.springframework.test.web.client.response.MockRestResponseCreators.withBadRequest;
-import static org.springframework.test.web.client.response.MockRestResponseCreators.withStatus;
-import static org.springframework.test.web.client.response.MockRestResponseCreators.withSuccess;
 import com.google.gson.Gson;
-import java.net.URI;
-import java.util.Optional;
 import org.hamcrest.BaseMatcher;
 import org.hamcrest.Description;
 import org.junit.Before;
@@ -42,28 +28,16 @@ import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.mockito.ArgumentCaptor;
 import org.mockito.hamcrest.MockitoHamcrest;
-import org.onap.aai.domain.yang.EsrSystemInfo;
-import org.onap.aai.domain.yang.EsrSystemInfoList;
-import org.onap.aai.domain.yang.EsrVnfm;
-import org.onap.aai.domain.yang.EsrVnfmList;
-import org.onap.aai.domain.yang.GenericVnf;
-import org.onap.aai.domain.yang.Relationship;
-import org.onap.aai.domain.yang.RelationshipData;
-import org.onap.aai.domain.yang.RelationshipList;
+import org.onap.aai.domain.yang.*;
 import org.onap.so.adapters.vnfmadapter.VnfmAdapterApplication;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.InlineResponse200;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.InlineResponse2001;
-import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.InlineResponse201;
+import org.onap.so.adapters.vnfmadapter.extclients.SdcPackageProvider;
+import org.onap.so.adapters.vnfmadapter.extclients.vnfm.model.*;
 import org.onap.so.adapters.vnfmadapter.rest.exceptions.VnfmNotFoundException;
 import org.onap.so.client.aai.AAIResourcesClient;
 import org.onap.so.client.aai.entities.uri.AAIResourceUri;
 import org.onap.vnfmadapter.v1.model.CreateVnfRequest;
-import org.onap.vnfmadapter.v1.model.CreateVnfResponse;
-import org.onap.vnfmadapter.v1.model.DeleteVnfResponse;
-import org.onap.vnfmadapter.v1.model.OperationEnum;
-import org.onap.vnfmadapter.v1.model.OperationStateEnum;
-import org.onap.vnfmadapter.v1.model.QueryJobResponse;
 import org.onap.vnfmadapter.v1.model.Tenant;
+import org.onap.vnfmadapter.v1.model.*;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Qualifier;
 import org.springframework.boot.test.context.SpringBootTest;
@@ -82,6 +56,16 @@ import org.springframework.web.client.RestTemplate;
 import org.threeten.bp.LocalDateTime;
 import org.threeten.bp.OffsetDateTime;
 import org.threeten.bp.ZoneOffset;
+import java.net.URI;
+import java.util.Optional;
+import static org.junit.Assert.*;
+import static org.mockito.ArgumentMatchers.eq;
+import static org.mockito.Mockito.doReturn;
+import static org.mockito.Mockito.verify;
+import static org.onap.so.client.RestTemplateConfig.CONFIGURABLE_REST_TEMPLATE;
+import static org.springframework.test.web.client.match.MockRestRequestMatchers.content;
+import static org.springframework.test.web.client.match.MockRestRequestMatchers.requestTo;
+import static org.springframework.test.web.client.response.MockRestResponseCreators.*;
 
 @RunWith(SpringRunner.class)
 @SpringBootTest(classes = VnfmAdapterApplication.class, webEnvironment = WebEnvironment.RANDOM_PORT)
@@ -107,6 +91,9 @@ public class VnfmAdapterControllerTest {
     @MockBean
     AAIResourcesClient aaiResourcesClient;
 
+    @MockBean
+    SdcPackageProvider sdcPackageProvider;
+
     @Autowired
     VnfmAdapterController controller;
     Gson gson = new Gson();
@@ -128,11 +115,16 @@ public class VnfmAdapterControllerTest {
         final String expectedsubscriptionRequest =
                 "{\"filter\":{\"vnfInstanceSubscriptionFilter\":{\"vnfInstanceIds\":[\"vnfId\"]},\"notificationTypes\":[\"VnfLcmOperationOccurrenceNotification\"]},\"callbackUri\":\"https://so-vnfm-adapter.onap:30406/so/vnfm-adapter/v1/lcn/VnfLcmOperationOccurrenceNotification\",\"authentication\":{\"authType\":[\"BASIC\"],\"paramsBasic\":{\"userName\":\"vnfm\",\"password\":\"$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke\"}}}";
         final InlineResponse2001 subscriptionResponse = new InlineResponse2001();
+
+        final InlineResponse201 createResponse = createCreateResponse();
+        mockRestServer.expect(requestTo("http://vnfm2:8080/vnf_instances"))
+                .andRespond(withSuccess(gson.toJson(createResponse), MediaType.APPLICATION_JSON));
+
         mockRestServer.expect(requestTo("http://vnfm2:8080/subscriptions"))
                 .andExpect(content().json(expectedsubscriptionRequest))
                 .andRespond(withSuccess(gson.toJson(subscriptionResponse), MediaType.APPLICATION_JSON));
 
-        mockRestServer.expect(requestTo("http://dummy.value/until/create/implememted/vnfId/instantiate"))
+        mockRestServer.expect(requestTo("http://vnfm2:8080/vnf_instances/vnfId/instantiate"))
                 .andRespond(withStatus(HttpStatus.ACCEPTED).contentType(MediaType.APPLICATION_JSON)
                         .location(new URI("http://vnfm2:8080/vnf_lcm_op_occs/123456")));
 
@@ -163,12 +155,20 @@ public class VnfmAdapterControllerTest {
         assertEquals("/network/generic-vnfs/generic-vnf/myTestVnfId", uriArgument.getValue().build().toString());
 
         assertEquals("myTestVnfId", genericVnfArgument.getValue().getVnfId());
-        assertEquals(1, genericVnfArgument.getValue().getRelationshipList().getRelationship().size());
-        final Relationship createdRelationship =
+        assertEquals(2, genericVnfArgument.getValue().getRelationshipList().getRelationship().size());
+        final Relationship vnfmRelationship =
                 genericVnfArgument.getValue().getRelationshipList().getRelationship().get(0);
-        assertEquals("esr-vnfm", createdRelationship.getRelatedTo());
-        assertEquals("tosca.relationships.DependsOn", createdRelationship.getRelationshipLabel());
-        assertEquals("/aai/v15/external-system/esr-vnfm-list/esr-vnfm/vnfm2", createdRelationship.getRelatedLink());
+        assertEquals("esr-vnfm", vnfmRelationship.getRelatedTo());
+        assertEquals("tosca.relationships.DependsOn", vnfmRelationship.getRelationshipLabel());
+        assertEquals("/aai/v15/external-system/esr-vnfm-list/esr-vnfm/vnfm2", vnfmRelationship.getRelatedLink());
+
+        final Relationship tenantRelationship =
+                genericVnfArgument.getValue().getRelationshipList().getRelationship().get(1);
+        assertEquals("tenant", tenantRelationship.getRelatedTo());
+        assertEquals(
+                "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/myTestCloudOwner/myTestRegion/tenants/tenant/myTestTenantId",
+                tenantRelationship.getRelatedLink());
+
 
         // check the job status
 
@@ -223,9 +223,13 @@ public class VnfmAdapterControllerTest {
         setUpVnfmsInMockAai();
         setUpVimInMockAai();
 
+        final InlineResponse201 createResponse = createCreateResponse();
+        mockRestServer.expect(requestTo("http://vnfm2:8080/vnf_instances"))
+                .andRespond(withSuccess(gson.toJson(createResponse), MediaType.APPLICATION_JSON));
+
         mockRestServer.expect(requestTo("http://vnfm2:8080/subscriptions")).andRespond(withBadRequest());
 
-        mockRestServer.expect(requestTo("http://dummy.value/until/create/implememted/vnfId/instantiate"))
+        mockRestServer.expect(requestTo("http://vnfm2:8080/vnf_instances/vnfId/instantiate"))
                 .andRespond(withStatus(HttpStatus.ACCEPTED).contentType(MediaType.APPLICATION_JSON)
                         .location(new URI("http://vnfm2:8080/vnf_lcm_op_occs/123456")));
 
@@ -469,6 +473,19 @@ public class VnfmAdapterControllerTest {
                         + CLOUD_OWNER + "/" + REGION + "/esr-system-info-list")));
     }
 
+    private InlineResponse201 createCreateResponse() {
+        final InlineResponse201 createResponse = new InlineResponse201();
+        createResponse.setVnfdId("myTestVnfd");
+        final InlineResponse201Links links = new InlineResponse201Links();
+        final InlineResponse201LinksSelf self = new InlineResponse201LinksSelf();
+        self.setHref("http://vnfm2:8080/vnf_instances/vnfId");
+        links.setSelf(self);
+        createResponse.setLinks(links);
+        createResponse.setId("vnfId");
+        return createResponse;
+    }
+
+
     private class AaiResourceUriMatcher extends BaseMatcher<AAIResourceUri> {
 
         final String uriAsString;
index e69e901..3afc542 100644 (file)
 spring:
   security:
     usercredentials:
-    - username: test
-      password: '$2a$12$Zi3AuYcZoZO/gBQyUtST2.F5N6HqcTtaNci2Et.ufsQhski56srIu'
-      role: BPEL-Client
-    - username: vnfm
-      password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
-      role: BPEL-Client
-      
+      - username: test
+        password: '$2a$12$Zi3AuYcZoZO/gBQyUtST2.F5N6HqcTtaNci2Et.ufsQhski56srIu'
+        role: BPEL-Client
+      - username: vnfm
+        password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
+        role: BPEL-Client
+
 mso:
   key: 07a7159d3bf51a0e53be7a8f89699be7
-  
+
 aai:
   auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
   endpoint: https://aai.onap:8443
   version: v15
-  
+
+sdc:
+  username: sdcUser
+  password: sdcPassword
+  key: adadadadad
+  endpoint: http://sdc.onap/1234A
+
+
 vnfmadapter:
-  endpoint: https://so-vnfm-adapter.onap:30406
\ No newline at end of file
+  endpoint: https://so-vnfm-adapter.onap:30406
index 30492dd..d7b58ba 100644 (file)
@@ -46,6 +46,10 @@ public class Customer implements Serializable, ShallowCopy<Customer> {
     private String subscriberCommonSiteId;
     @JsonProperty("service-subscription")
     private ServiceSubscription serviceSubscription;
+    @JsonProperty("customer-latitude")
+    private String customerLatitude;
+    @JsonProperty("customer-longitude")
+    private String customerLongitude;
     @JsonProperty("vpn-bindings")
     private List<VpnBinding> vpnBindings = new ArrayList<>();
 
@@ -89,6 +93,22 @@ public class Customer implements Serializable, ShallowCopy<Customer> {
         this.serviceSubscription = serviceSubscription;
     }
 
+    public String getCustomerLatitude() {
+        return customerLatitude;
+    }
+
+    public void setCustomerLatitude(String customerLatitude) {
+        this.customerLatitude = customerLatitude;
+    }
+
+    public String getCustomerLongitude() {
+        return customerLongitude;
+    }
+
+    public void setCustomerLongitude(String customerLongitude) {
+        this.customerLongitude = customerLongitude;
+    }
+
     public List<VpnBinding> getVpnBindings() {
         return vpnBindings;
     }
diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCompareServiceInstanceData.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCompareServiceInstanceData.groovy
new file mode 100644 (file)
index 0000000..a1f68f9
--- /dev/null
@@ -0,0 +1,270 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP - SO
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+package org.onap.so.bpmn.infrastructure.scripts
+
+import org.camunda.bpm.engine.delegate.DelegateExecution
+import org.onap.aai.domain.yang.ServiceInstance
+import org.onap.so.bpmn.common.scripts.AbstractServiceTaskProcessor
+import org.onap.so.bpmn.common.scripts.ExceptionUtil
+import org.onap.so.bpmn.core.domain.Resource
+import org.onap.so.bpmn.core.domain.ServiceDecomposition
+import org.onap.so.bpmn.core.json.JsonUtils
+import org.onap.so.bpmn.infrastructure.workflow.service.ServicePluginFactory
+import org.slf4j.Logger
+import org.slf4j.LoggerFactory
+/**
+ * This groovy class supports the <class>DoCompareServiceInstanceData.bpmn</class> process.
+ *
+ * Inputs:
+ * @param - serviceInstanceData-original
+ * @param - serviceInstanceId
+ * @param - uuiRequest
+ * @param - model-invariant-id-original
+ * @param - model-version-id-original
+ * @param - msoRequestId
+ * @param - isDebugLogEnabled
+ *
+ * Outputs:
+ * @param - addResourceList
+ * @param - delResourceList
+ * @param - uuiRequest-add
+ * @param - uuiRequest-del
+ *
+ */
+public class DoCompareServiceInstanceData extends AbstractServiceTaskProcessor {
+
+       ExceptionUtil exceptionUtil = new ExceptionUtil()
+       JsonUtils jsonUtil = new JsonUtils()
+    private static final Logger logger = LoggerFactory.getLogger( DoCompareServiceInstanceData.class);
+
+    public void preProcessRequest (DelegateExecution execution) {
+               def isDebugEnabled = execution.getVariable("isDebugLogEnabled")
+               logger.info("INFO"," ***** preProcessRequest *****",  isDebugEnabled)
+               try {
+            checkInput("serviceInstanceData-original", execution, isDebugEnabled)
+            checkInput("serviceInstanceId", execution, isDebugEnabled)
+            checkInput("uuiRequest", execution, isDebugEnabled)
+            checkInput("model-invariant-id-original", execution, isDebugEnabled)
+            checkInput("model-version-id-original", execution, isDebugEnabled)
+            checkInput("msoRequestId", execution, isDebugEnabled)
+               } catch (Exception ex){
+            String msg = "Exception in preProcessRequest " + ex.getMessage()
+                       logger.info("INFO", msg, isDebugEnabled)
+                       exceptionUtil.buildAndThrowWorkflowException(execution, 7000, msg)
+               }
+               logger.info("INFO"," ***** Exit preProcessRequest *****",  isDebugEnabled)
+       }
+
+    private void checkInput(String inputName, DelegateExecution execution, isDebugEnabled) {
+        String msg
+        Object inputValue = execution.getVariable(inputName)
+        if (inputValue == null) {
+            msg = "Input" + inputName + "is null"
+            logger.info("INFO", msg, isDebugEnabled)
+            exceptionUtil.buildAndThrowWorkflowException(execution, 500, msg)
+        }
+    }
+
+
+    public void prepareDecomposeService_Original(DelegateExecution execution) {
+        def isDebugEnabled=execution.getVariable("isDebugLogEnabled")
+
+        try {
+            logger.debug( " ***** Inside prepareDecomposeService_Original of update generic e2e service ***** ")
+            String modelInvariantUuid = execution.getVariable("model-invariant-id-original")
+            String modelUuid = execution.getVariable("model-version-id-original")
+            //here modelVersion is not set, we use modelUuid to decompose the service.
+            String serviceModelInfo = """{
+            "modelInvariantUuid":"${modelInvariantUuid}",
+            "modelUuid":"${modelUuid}",
+            "modelVersion":""
+             }"""
+
+            execution.setVariable("serviceModelInfo_Original", serviceModelInfo)
+
+            logger.debug( " ***** Completed prepareDecomposeService_Original of update generic e2e service ***** ")
+        } catch (Exception ex) {
+            // try error in method block
+            String exceptionMessage = "Bpmn error encountered in update generic e2e service flow. Unexpected Error from method prepareDecomposeService_Original() - " + ex.getMessage()
+            exceptionUtil.buildAndThrowWorkflowException(execution, 7000, exceptionMessage)
+        }
+    }
+
+    public void processDecomposition_Original(DelegateExecution execution) {
+        def isDebugEnabled=execution.getVariable("isDebugLogEnabled")
+
+        logger.debug( " ***** Inside processDecomposition_Original() of update generic e2e service flow ***** ")
+        try {
+            ServiceDecomposition serviceDecomposition = execution.getVariable("serviceDecomposition")
+            execution.setVariable("serviceDecomposition_Original", serviceDecomposition)
+        } catch (Exception ex) {
+            String exceptionMessage = "Bpmn error encountered in update generic e2e service flow. processDecomposition_Original() - " + ex.getMessage()
+            logger.debug( exceptionMessage)
+            exceptionUtil.buildAndThrowWorkflowException(execution, 7000, exceptionMessage)
+        }
+    }
+
+    public void doCompareUuiRquestInput(DelegateExecution execution) {
+
+        def isDebugEnabled = execution.getVariable("isDebugLogEnabled")
+        logger.info("INFO", "======== Start doCompareUuiRquestInput Process ======== ", isDebugEnabled)
+
+        String uuiRequest_Target = execution.getVariable("uuiRequest")
+        Map<String, Object> serviceParametersObject_Target = getServiceParametersObject(uuiRequest_Target)
+        Map<String, Object> serviceRequestInputs_Target = (Map<String, Object>) serviceParametersObject_Target.get("requestInputs")
+        List<Object> resources_Target = (List<Object>) serviceParametersObject_Target.get("resources")
+
+        String uuiRequest_Original = ((ServiceInstance) execution.getVariable("serviceInstanceData-original")).getInputParameters()
+        Map<String, Object> serviceParametersObject_Original = getServiceParametersObject(uuiRequest_Original)
+        Map<String, Object> serviceRequestInputs_Original = (Map<String, Object>) serviceParametersObject_Original.get("requestInputs")
+        List<Object> resources_Original = (List<Object>) serviceParametersObject_Original.get("resources")
+
+        logger.info("INFO", "uuiRequest is: " + uuiRequest_Target, isDebugEnabled)
+
+        //the resources which are included by resources_Target but resources_Original are the resources going to be added
+        ArrayList<Object> resourceList_Add = findResourceListIncluded(resources_Target, resources_Original)
+        HashMap<String, Object> serviceRequestInputs_Add = getServiceRequestInputsIncluded(resourceList_Add, serviceRequestInputs_Target, serviceParametersObject_Target)
+        String uuiRequest_add = loadUuiRequestJsonString(uuiRequest_Target, resourceList_Add, serviceRequestInputs_Add)
+        execution.setVariable("uuiRequest", uuiRequest_add)
+        logger.info("INFO", "uuiRequest will be changed to: " + uuiRequest_add, isDebugEnabled)
+
+        //the resources which are included by resources_Original but resources_Target are the resources going to be deleted
+        ArrayList<Object> resourceList_Del = findResourceListIncluded(resources_Original, resources_Target)
+        HashMap<String, Object> serviceRequestInputs_Del = getServiceRequestInputsIncluded(resourceList_Del, serviceRequestInputs_Original, serviceParametersObject_Original)
+        String uuiRequest_del = loadUuiRequestJsonString(uuiRequest_Original, resourceList_Del, serviceRequestInputs_Del)
+        execution.setVariable("uuiRequest-del", uuiRequest_del)
+        logger.info("INFO", "uuiRequest-del: " + uuiRequest_del, isDebugEnabled)
+
+        List<Resource> addResourceList = findResourceList(resourceList_Add, execution)
+        execution.setVariable("addResourceList", addResourceList)
+        logger.info("INFO", "addResourceList: " + addResourceList, isDebugEnabled)
+
+        List<Resource> delResourceList = findResourceList(resourceList_Del, execution)
+        execution.setVariable("delResourceList", delResourceList)
+        logger.info("INFO", "delResourceList: " + delResourceList, isDebugEnabled)
+
+        logger.info("INFO", "======== COMPLETED doCompareUuiRquestInput Process ======== ", isDebugEnabled)
+    }
+
+    private List<Resource> findResourceList(ArrayList<Object> uuiResourceList, DelegateExecution execution) {
+        HashSet<String> addResourceCustomizationUuidSet = getCustomizationUuidSet(uuiResourceList)
+        Set<Resource> resourceSet = new HashSet<>()
+        ServiceDecomposition serviceDecomposition_Original = execution.getVariable("serviceDecomposition_Original")
+        List<Resource> allSR_original = serviceDecomposition_Original.getServiceResources()
+        for (Resource resource : allSR_original) {
+            if (addResourceCustomizationUuidSet.contains(resource.getModelInfo().getModelCustomizationUuid())) {
+                resourceSet.add(resource)
+            }
+        }
+        List<Resource> resourceList = new ArrayList<String>(resourceSet)
+        resourceList
+    }
+
+    private HashSet<String> getCustomizationUuidSet(ArrayList<Object> resourceList_Add) {
+        Set<String> addRsourceCustomizationUuidSet = new HashSet<>()
+        for (Map<String, Object> resourceAdded : resourceList_Add) {
+            addRsourceCustomizationUuidSet.add(resourceAdded.get("rsourceCustomizationUuid"))
+        }
+        addRsourceCustomizationUuidSet
+    }
+
+    private String loadUuiRequestJsonString(String uuiRequest_Target, ArrayList<Object> resourceList_Add, HashMap<String, Object> serviceRequestInputs_Add) {
+        Map<String, Object> uuiObject = ServicePluginFactory.getInstance().getJsonObject(uuiRequest_Target, Map.class)
+        Map<String, Object> serviceObject = (Map<String, Object>) uuiObject.get("service")
+        Map<String, Object> serviceParametersObject = (Map<String, Object>) serviceObject.get("parameters")
+        serviceParametersObject.put("resources", resourceList_Add)
+        serviceParametersObject.put("requestInputs", serviceRequestInputs_Add)
+        String uuiRequest_add = ServicePluginFactory.getInstance().getJsonString(serviceObject)
+        uuiRequest_add
+    }
+
+    private HashMap<String, Object> getServiceRequestInputsIncluded(ArrayList<Object> resourceList_Add, Map<String, Object> serviceRequestInputs_Target, Map<String, Object> serviceParametersObject_Target) {
+        ArrayList<String> newResourceNames = getNewResourceNames(resourceList_Add)
+        Map<String, Object> serviceRequestInputs_Add = new HashMap<String, Object>()
+        for (String inputKey : serviceRequestInputs_Target.keySet()) {
+            String resourceName = (inputKey.split("_"))[0]
+            if (newResourceNames.contains(resourceName)) {
+                serviceRequestInputs_Add.put(inputKey, serviceParametersObject_Target.get(inputKey))
+            }
+        }
+        serviceRequestInputs_Add
+    }
+
+    private ArrayList<String> getNewResourceNames(ArrayList<Object> addResourceList) {
+        Set<String> newResourceNames = new ArrayList<String>()
+        for (Object resourceObject : addResourceList) {
+            Map<String, Object> resourceAdded = (Map<String, Object>) resourceObject
+            String resName = new String(resourceAdded.get("resourceName"))
+            normalizeName(resName)
+            newResourceNames.add(resName)
+        }
+        newResourceNames
+    }
+
+    private void normalizeName(String resName) {
+        resName.replaceAll("_", "")
+        resName.replaceAll(" ", "")
+        resName.toLowerCase()
+    }
+
+    private ArrayList<Object> findResourceListIncluded(List<Object> resources_Target, List<Object> resources_Original) {
+        List<Object> addResourceList = new ArrayList<Object>()
+        for (Object resource_Target : resources_Target) {
+            Map<String, Object> resourceObject_Target = (Map<String, Object>) resource_Target
+            boolean isNewResourceInstance = isNewResourceInstance(resourceObject_Target, resources_Original)
+            if (isNewResourceInstance) {
+                addResourceList.add(resource_Target)
+            }
+        }
+        addResourceList
+    }
+
+    private boolean isNewResourceInstance(Map<String, Object> resourceObject_Target, List<Object> resources_Original) {
+        String resourceIndex_Target = null
+        if (resourceObject_Target.keySet().contains("resourceIndex")) {
+            resourceIndex_Target = resourceObject_Target.get("resourceIndex")
+        }
+        String resourceName_Target = resourceObject_Target.get("resourceName")
+        boolean isNewResourceInstance = true
+        for (Object resource_Original : resources_Original) {
+            Map<String, Object> resourceObject_Original = (Map<String, Object>) resource_Original
+            String resourceIndex_Original = null
+            if (resourceObject_Original.keySet().contains("resourceIndex")) {
+                resourceIndex_Original = resourceObject_Original.get("resourceIndex")
+            }
+            String resourceName_Original = resourceObject_Original.get("resourceName")
+            if (resourceName_Target.equals(resourceName_Original)) {
+                if (resourceIndex_Target != null && resourceIndex_Original != null) {
+                    if (resourceIndex_Target.equals(resourceIndex_Original)) {
+                        isNewResourceInstance = false
+                    }
+                } else {
+                    isNewResourceInstance = false
+                }
+            }
+        }
+        isNewResourceInstance
+    }
+
+    private Map<String, Object> getServiceParametersObject(String uuiRequest_Target) {
+        Map<String, Object> uuiObject = ServicePluginFactory.getInstance().getJsonObject(uuiRequest_Target, Map.class)
+        Map<String, Object> serviceObject = (Map<String, Object>) uuiObject.get("service")
+        Map<String, Object> serviceParametersObject = (Map<String, Object>) serviceObject.get("parameters")
+        serviceParametersObject
+    }
+
+}
index 1168b20..8e554e2 100644 (file)
@@ -189,6 +189,7 @@ public class UpdateCustomE2EServiceInstance extends AbstractServiceTaskProcessor
                        JSONObject ob = new JSONObject(wrapper.getJson())
                        JSONArray ar = ob.getJSONObject("relationship-list").getJSONArray("relationship")
 
+                       execution.setVariable("serviceInstanceData-original", si.get())
                        execution.setVariable("serviceRelationShip", ar.toString())
 
 
diff --git a/bpmn/so-bpmn-infrastructure-common/src/test/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCompareServiceInstanceDataTest.groovy b/bpmn/so-bpmn-infrastructure-common/src/test/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCompareServiceInstanceDataTest.groovy
new file mode 100644 (file)
index 0000000..afbace7
--- /dev/null
@@ -0,0 +1,301 @@
+package org.onap.so.bpmn.infrastructure.scripts
+
+import org.camunda.bpm.engine.delegate.BpmnError
+import org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity
+import org.junit.Before
+import org.junit.Test
+import org.mockito.ArgumentCaptor
+import org.mockito.Captor
+import org.mockito.Mockito
+import org.onap.aai.domain.yang.ServiceInstance
+import org.onap.so.bpmn.common.scripts.MsoGroovyTest
+import org.onap.so.bpmn.core.domain.Resource
+import org.onap.so.bpmn.core.domain.ServiceDecomposition
+
+import static com.shazam.shazamcrest.MatcherAssert.assertThat
+import static com.shazam.shazamcrest.matcher.Matchers.sameBeanAs
+import static org.mockito.Mockito.times
+import static org.mockito.Mockito.when
+/**
+ * Copyright 2018 ZTE Corporation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+class DoCompareServiceInstanceDataTest extends MsoGroovyTest {
+
+
+    public static final String uuiSoString = "{\n" +
+            "    \"service\":{\n" +
+            "        \"name\":\"SiteService\",\n" +
+            "        \"description\":\"SiteService\",\n" +
+            "        \"serviceInvariantUuid\":\"5c13f3fb-2744-4635-9f1f-c59c92dc8f70\",\n" +
+            "        \"serviceUuid\":\"3a76b1f5-fb0d-4b6b-82d5-0e8a4ebc3838\",\n" +
+            "        \"globalSubscriberId\":\"test_custormer\",\n" +
+            "        \"serviceType\":\"example-service-type\",\n" +
+            "        \"parameters\":{\n" +
+            "            \"locationConstraints\":[\n" +
+            "\n" +
+            "            ],\n" +
+            "            \"resources\":[\n" +
+            "                {\n" +
+            "                    \"resourceIndex\":\"1\",\n" +
+            "                    \"resourceName\":\"sdwanvpnresource\",\n" +
+            "                    \"resourceInvariantUuid\":\"0c0e1cbe-6e01-4f9e-8c45-a9700ebc14df\",\n" +
+            "                    \"resourceUuid\":\"4ad2d390-5c51-45f5-9710-b467a4ec7a73\",\n" +
+            "                    \"resourceCustomizationUuid\":\"66590e07-0777-415c-af44-36347cf3ddd3\",\n" +
+            "                    \"parameters\":{\n" +
+            "                        \"locationConstraints\":[\n" +
+            "\n" +
+            "                        ],\n" +
+            "                        \"resources\":[\n" +
+            "\n" +
+            "                        ],\n" +
+            "                        \"requestInputs\":{\n" +
+            "\n" +
+            "                        }\n" +
+            "                    }\n" +
+            "                },\n" +
+            "                {\n" +
+            "                    \"resourceIndex\":\"1\",\n" +
+            "                    \"resourceName\":\"sdwansiteresource\",\n" +
+            "                    \"resourceInvariantUuid\":\"97a3e552-08c4-4697-aeeb-d8d3e09ce58e\",\n" +
+            "                    \"resourceUuid\":\"63d8e1af-32dc-4c71-891d-e3f7b6a976d2\",\n" +
+            "                    \"resourceCustomizationUuid\":\"205456e7-3dc0-40c4-8cb0-28e6c1877042\",\n" +
+            "                    \"parameters\":{\n" +
+            "                        \"locationConstraints\":[\n" +
+            "\n" +
+            "                        ],\n" +
+            "                        \"resources\":[\n" +
+            "\n" +
+            "                        ],\n" +
+            "                        \"requestInputs\":{\n" +
+            "\n" +
+            "                        }\n" +
+            "                    }\n" +
+            "                },\n" +
+            "                {\n" +
+            "                    \"resourceIndex\":\"2\",\n" +
+            "                    \"resourceName\":\"sdwansiteresource\",\n" +
+            "                    \"resourceInvariantUuid\":\"97a3e552-08c4-4697-aeeb-d8d3e09ce58e\",\n" +
+            "                    \"resourceUuid\":\"63d8e1af-32dc-4c71-891d-e3f7b6a976d2\",\n" +
+            "                    \"resourceCustomizationUuid\":\"205456e7-3dc0-40c4-8cb0-28e6c1877042\",\n" +
+            "                    \"parameters\":{\n" +
+            "                        \"locationConstraints\":[\n" +
+            "\n" +
+            "                        ],\n" +
+            "                        \"resources\":[\n" +
+            "\n" +
+            "                        ],\n" +
+            "                        \"requestInputs\":{\n" +
+            "\n" +
+            "                        }\n" +
+            "                    }\n" +
+            "                }\n" +
+            "            ],\n" +
+            "            \"requestInputs\":{\n" +
+            "                \"sdwanvpnresource_list\":[\n" +
+            "                    {\n" +
+            "                        \"sdwanvpn_topology\":\"hub_spoke\",\n" +
+            "                        \"sdwanvpn_name\":\"defaultvpn\",\n" +
+            "                        \"sdwansitelan_list\":[\n" +
+            "                            {\n" +
+            "                                \"role\":\"Hub\",\n" +
+            "                                \"portType\":\"GE\",\n" +
+            "                                \"portSwitch\":\"layer3-port\",\n" +
+            "                                \"vlanId\":\"\",\n" +
+            "                                \"ipAddress\":\"192.168.10.1\",\n" +
+            "                                \"deviceName\":\"vCPE\",\n" +
+            "                                \"portNumer\":\"0/0/1\"\n" +
+            "                            },\n" +
+            "                            {\n" +
+            "                                \"role\":\"Hub\",\n" +
+            "                                \"portType\":\"GE\",\n" +
+            "                                \"portSwitch\":\"layer2-port\",\n" +
+            "                                \"vlanId\":\"55\",\n" +
+            "                                \"ipAddress\":\"192.168.11.1\",\n" +
+            "                                \"deviceName\":\"CPE_Beijing\",\n" +
+            "                                \"portNumer\":\"0/0/1\"\n" +
+            "                            }\n" +
+            "                        ]\n" +
+            "                    }\n" +
+            "                ],\n" +
+            "                \"sdwansiteresource_list\":[\n" +
+            "                    {\n" +
+            "                        \"sdwansite_emails\":\"chenchuanyu@huawei.com\",\n" +
+            "                        \"sdwansite_address\":\"Huawei Public Cloud\",\n" +
+            "                        \"sdwansite_description\":\"DC Site\",\n" +
+            "                        \"sdwansite_role\":\"dsvpn_hub\",\n" +
+            "                        \"sdwansite_postcode\":\"20000\",\n" +
+            "                        \"sdwansite_type\":\"single_gateway\",\n" +
+            "                        \"sdwansite_latitude\":\"\",\n" +
+            "                        \"sdwansite_controlPoint\":\"\",\n" +
+            "                        \"sdwansite_longitude\":\"\",\n" +
+            "                        \"sdwansitewan_list\":[\n" +
+            "                            {\n" +
+            "                                \"providerIpAddress\":\"\",\n" +
+            "                                \"portType\":\"GE\",\n" +
+            "                                \"inputBandwidth\":\"1000\",\n" +
+            "                                \"ipAddress\":\"\",\n" +
+            "                                \"name\":\"10000\",\n" +
+            "                                \"transportNetworkName\":\"internet\",\n" +
+            "                                \"outputBandwidth\":\"10000\",\n" +
+            "                                \"deviceName\":\"vCPE\",\n" +
+            "                                \"portNumber\":\"0/0/0\",\n" +
+            "                                \"ipMode\":\"DHCP\",\n" +
+            "                                \"publicIP\":\"119.3.7.113\"\n" +
+            "                            }\n" +
+            "                        ],\n" +
+            "                        \"sdwandevice_list\":[\n" +
+            "                            {\n" +
+            "                                \"esn\":\"XXXXXXX\",\n" +
+            "                                \"vendor\":\"Huawei\",\n" +
+            "                                \"name\":\"vCPE\",\n" +
+            "                                \"type\":\"AR1000V\",\n" +
+            "                                \"version\":\"1.0\",\n" +
+            "                                \"class\":\"VNF\",\n" +
+            "                                \"systemIp\":\"20.20.20.1\"\n" +
+            "                            }\n" +
+            "                        ]\n" +
+            "                    },\n" +
+            "                    {\n" +
+            "                        \"sdwansite_emails\":\"chenchuanyu@huawei.com\",\n" +
+            "                        \"sdwansite_address\":\"Huawei Public Cloud\",\n" +
+            "                        \"sdwansite_description\":\"DC Site\",\n" +
+            "                        \"sdwansite_role\":\"dsvpn_hub\",\n" +
+            "                        \"sdwansite_postcode\":\"20000\",\n" +
+            "                        \"sdwansite_type\":\"single_gateway\",\n" +
+            "                        \"sdwansite_latitude\":\"\",\n" +
+            "                        \"sdwansite_controlPoint\":\"\",\n" +
+            "                        \"sdwansite_longitude\":\"\",\n" +
+            "                        \"sdwansitewan_list\":[\n" +
+            "                            {\n" +
+            "                                \"providerIpAddress\":\"\",\n" +
+            "                                \"portType\":\"GE\",\n" +
+            "                                \"inputBandwidth\":\"1000\",\n" +
+            "                                \"ipAddress\":\"172.18.1.2/24\",\n" +
+            "                                \"name\":\"10000\",\n" +
+            "                                \"transportNetworkName\":\"internet\",\n" +
+            "                                \"outputBandwidth\":\"10000\",\n" +
+            "                                \"deviceName\":\"CPE_Beijing\",\n" +
+            "                                \"portNumber\":\"0/0/0\",\n" +
+            "                                \"ipMode\":\"Static\",\n" +
+            "                                \"publicIP\":\"\"\n" +
+            "                            }\n" +
+            "                        ],\n" +
+            "                        \"sdwandevice_list\":[\n" +
+            "                            {\n" +
+            "                                \"esn\":\"XXXXXXX\",\n" +
+            "                                \"vendor\":\"Huawei\",\n" +
+            "                                \"name\":\"CPE_Beijing\",\n" +
+            "                                \"type\":\"AR161\",\n" +
+            "                                \"version\":\"1.0\",\n" +
+            "                                \"class\":\"PNF\",\n" +
+            "                                \"systemIp\":\"20.20.20.2\"\n" +
+            "                            }\n" +
+            "                        ]\n" +
+            "                    }\n" +
+            "                ]\n" +
+            "            }\n" +
+            "        }\n" +
+            "    }\n" +
+            "}"
+
+    @Before
+    void setUp() {
+        super.init("DoCompareServiceInstanceData")
+    }
+
+    @Captor
+    static ArgumentCaptor<ExecutionEntity> captor = ArgumentCaptor.forClass(ExecutionEntity.class)
+
+    @Test
+    void testPreProcessRequest() {
+        mockData()
+        DoCompareServiceInstanceData csi = new DoCompareServiceInstanceData()
+        csi.preProcessRequest(mockExecution)
+    }
+
+    @Test(expected = BpmnError.class)
+    void testPreProcessRequestException() {
+        DoCompareServiceInstanceData csi = new DoCompareServiceInstanceData()
+        csi.preProcessRequest(mockExecution)
+    }
+
+    @Test
+    void testPrepareDecomposeService_Original() {
+        mockData()
+        DoCompareServiceInstanceData csi = new DoCompareServiceInstanceData()
+        csi.prepareDecomposeService_Original(mockExecution)
+        Mockito.verify(mockExecution, times(1)).setVariable(captor.capture(), captor.capture())
+        String serviceModelInfo = getServiceModelInfo()
+        assertThat(captor.getValue(), sameBeanAs(serviceModelInfo))
+    }
+
+    @Test
+    void testProcessDecomposition_Original() {
+        mockData()
+        DoCompareServiceInstanceData csi = new DoCompareServiceInstanceData()
+        csi.processDecomposition_Original(mockExecution)
+        Mockito.verify(mockExecution, times(1)).setVariable(captor.capture(), captor.capture())
+        ServiceDecomposition serviceDecomposition = getServiceDecomposition()
+        assertThat(captor.getValue(), sameBeanAs(serviceDecomposition))
+    }
+
+    @Test
+    void testDoCompareUuiRquestInput() {
+        mockData()
+        DoCompareServiceInstanceData csi = new DoCompareServiceInstanceData()
+        csi.doCompareUuiRquestInput(mockExecution)
+        Mockito.verify(mockExecution, times(4)).setVariable(captor.capture(), captor.capture())
+    }
+
+    private String getServiceModelInfo() {
+        String modelInvariantUuid = mockExecution.getVariable("model-invariant-id-original")
+        String modelUuid = mockExecution.getVariable("model-version-id-original")
+        String serviceModelInfo = """{
+            "modelInvariantUuid":"${modelInvariantUuid}",
+            "modelUuid":"${modelUuid}",
+            "modelVersion":""
+             }"""
+        serviceModelInfo
+    }
+
+    private void mockData() {
+        when(mockExecution.getVariable("isDebugLogEnabled")).thenReturn("true")
+        when(mockExecution.getVariable("msoRequestId")).thenReturn("12345")
+        when(mockExecution.getVariable("model-version-id-original")).thenReturn("12345")
+        when(mockExecution.getVariable("model-invariant-id-original")).thenReturn("12345")
+        when(mockExecution.getVariable("uuiRequest")).thenReturn(uuiSoString)
+        when(mockExecution.getVariable("serviceInstanceId")).thenReturn("1234")
+        when(mockExecution.getVariable("serviceInstanceData-original")).thenReturn(getExpectedServiceInstance())
+        when(mockExecution.getVariable("serviceDecomposition")).thenReturn(getServiceDecomposition())
+        when(mockExecution.getVariable("serviceDecomposition_Original")).thenReturn(getServiceDecomposition())
+    }
+
+    private ServiceDecomposition getServiceDecomposition() {
+        ServiceDecomposition decomposition = new ServiceDecomposition()
+        List<Resource> allSR_original = new ArrayList<>()
+        decomposition.setAllottedResources(allSR_original)
+        return decomposition
+    }
+
+    private ServiceInstance getExpectedServiceInstance() {
+        ServiceInstance expectedServiceInstanceData = new ServiceInstance()
+        expectedServiceInstanceData.setServiceInstanceId("1234")
+        expectedServiceInstanceData.setServiceInstanceName("volte-service")
+        expectedServiceInstanceData.setServiceType("E2E Service")
+        expectedServiceInstanceData.setServiceRole("E2E Service")
+        expectedServiceInstanceData.setInputParameters(uuiSoString)
+        return expectedServiceInstanceData
+    }
+}
index e2488fd..345e0bb 100644 (file)
@@ -45,6 +45,7 @@ ex.processJavaException(execution)]]></bpmn:script>
         <camunda:in source="addResourceList" target="addResourceList" />
         <camunda:in source="delResourceList" target="delResourceList" />
         <camunda:in source="serviceRelationShip" target="serviceRelationShip" />
+        <camunda:in source="uuiRequest-del" target="uuiRequest-del" />
       </bpmn:extensionElements>
       <bpmn:incoming>SequenceFlow_04qwbbf</bpmn:incoming>
       <bpmn:outgoing>SequenceFlow_0klbpxx</bpmn:outgoing>
@@ -192,7 +193,7 @@ csi.postCompareModelVersions(execution)]]></bpmn:script>
     </bpmn:scriptTask>
     <bpmn:scriptTask id="ScriptTask_0hixtxc" name="Prepare for Compare Model Versions" scriptFormat="groovy">
       <bpmn:incoming>SequenceFlow_03i6zhx</bpmn:incoming>
-      <bpmn:outgoing>SequenceFlow_1pdv4qj</bpmn:outgoing>
+      <bpmn:outgoing>SequenceFlow_16jngfs</bpmn:outgoing>
       <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
 def ddsi = new UpdateCustomE2EServiceInstance()
 ddsi.preCompareModelVersions(execution)]]></bpmn:script>
@@ -210,11 +211,10 @@ ddsi.preCompareModelVersions(execution)]]></bpmn:script>
         <camunda:out source="addResourceList" target="addResourceList" />
         <camunda:out source="delResourceList" target="delResourceList" />
       </bpmn:extensionElements>
-      <bpmn:incoming>SequenceFlow_1pdv4qj</bpmn:incoming>
+      <bpmn:incoming>SequenceFlow_1bvnbfu</bpmn:incoming>
       <bpmn:outgoing>SequenceFlow_0xhbobd</bpmn:outgoing>
     </bpmn:callActivity>
     <bpmn:sequenceFlow id="SequenceFlow_03i6zhx" sourceRef="ScriptTask_0cx1y0g" targetRef="ScriptTask_0hixtxc" />
-    <bpmn:sequenceFlow id="SequenceFlow_1pdv4qj" sourceRef="ScriptTask_0hixtxc" targetRef="CallActivity_1rkoyc5" />
     <bpmn:sequenceFlow id="SequenceFlow_0xhbobd" sourceRef="CallActivity_1rkoyc5" targetRef="ScriptTask_11y3uq6" />
     <bpmn:exclusiveGateway id="ExclusiveGateway_0mc34qe" name="HasResourcetoUpdate?" default="SequenceFlow_1n8h3zt">
       <bpmn:incoming>SequenceFlow_0secadm</bpmn:incoming>
@@ -315,14 +315,54 @@ ddsi.preUpdateServiceOperationStatus(execution)]]></bpmn:script>
       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("hasResourcetoUpdate") == true}]]></bpmn:conditionExpression>
     </bpmn:sequenceFlow>
     <bpmn:sequenceFlow id="SequenceFlow_1n8h3zt" name="No" sourceRef="ExclusiveGateway_0mc34qe" targetRef="ScriptTask_04a0t3p" />
+    <bpmn:exclusiveGateway id="ExclusiveGateway_0o2r7np" name="IsServiceInstanceModification?" default="SequenceFlow_1bvnbfu">
+      <bpmn:incoming>SequenceFlow_16jngfs</bpmn:incoming>
+      <bpmn:outgoing>SequenceFlow_1bvnbfu</bpmn:outgoing>
+      <bpmn:outgoing>SequenceFlow_1po82kn</bpmn:outgoing>
+    </bpmn:exclusiveGateway>
+    <bpmn:sequenceFlow id="SequenceFlow_16jngfs" sourceRef="ScriptTask_0hixtxc" targetRef="ExclusiveGateway_0o2r7np" />
+    <bpmn:sequenceFlow id="SequenceFlow_1bvnbfu" name="No" sourceRef="ExclusiveGateway_0o2r7np" targetRef="CallActivity_1rkoyc5" />
+    <bpmn:sequenceFlow id="SequenceFlow_1po82kn" name="Yes" sourceRef="ExclusiveGateway_0o2r7np" targetRef="Task_1ktxr5y">
+      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("model-version-id-original") == execution.getVariable("model-version-id-target") && execution.getVariable("model-invariant-id-original") == execution.getVariable("model-invariant-id-target")}]]></bpmn:conditionExpression>
+    </bpmn:sequenceFlow>
+    <bpmn:callActivity id="Task_1ktxr5y" name="Call DoCompareServiceInstanceData" calledElement="DoCompareServiceInstanceData">
+      <bpmn:extensionElements>
+        <camunda:in source="serviceInstanceData-original" target="serviceInstanceData-original" />
+        <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
+        <camunda:in source="uuiRequest" target="uuiRequest" />
+        <camunda:out source="addResourceList" target="addResourceList" />
+        <camunda:out source="delResourceList" target="delResourceList" />
+        <camunda:out source="uuiRequest" target="uuiRequest" />
+        <camunda:out source="uuiRequest-del" target="uuiRequest-del" />
+        <camunda:in source="model-invariant-id-original" target="model-invariant-id-original" />
+        <camunda:in source="model-version-id-original" target="model-version-id-original" />
+        <camunda:in source="msoRequestId" target="msoRequestId" />
+        <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
+      </bpmn:extensionElements>
+      <bpmn:incoming>SequenceFlow_1po82kn</bpmn:incoming>
+      <bpmn:outgoing>SequenceFlow_0gqpsvb</bpmn:outgoing>
+    </bpmn:callActivity>
+    <bpmn:sequenceFlow id="SequenceFlow_0gqpsvb" sourceRef="Task_1ktxr5y" targetRef="Task_1xbq4e3" />
+    <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_01jy2z3" name="GoToOperStatusInit">
+      <bpmn:incoming>SequenceFlow_0qe8uv2</bpmn:incoming>
+      <bpmn:linkEventDefinition name="StartOperStatusInit" />
+    </bpmn:intermediateThrowEvent>
+    <bpmn:sequenceFlow id="SequenceFlow_0qe8uv2" sourceRef="Task_1xbq4e3" targetRef="IntermediateThrowEvent_01jy2z3" />
+    <bpmn:scriptTask id="Task_1xbq4e3" name="Post for Compare Service Instance Data" scriptFormat="groovy">
+      <bpmn:incoming>SequenceFlow_0gqpsvb</bpmn:incoming>
+      <bpmn:outgoing>SequenceFlow_0qe8uv2</bpmn:outgoing>
+      <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
+def csi = new UpdateCustomE2EServiceInstance()
+csi.postCompareModelVersions(execution)]]></bpmn:script>
+    </bpmn:scriptTask>
   </bpmn:process>
   <bpmn:error id="Error_0nbdy47" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="UpdateCustomE2EServiceInstance">
       <bpmndi:BPMNShape id="StartEvent_00qj6ro_di" bpmnElement="StartEvent_00qj6ro">
-        <dc:Bounds x="-6" y="180" width="36" height="36" />
+        <dc:Bounds x="-6" y="135" width="36" height="36" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="-24" y="221" width="73" height="24" />
+          <dc:Bounds x="-25" y="176" width="75" height="24" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="SubProcess_0ka59nc_di" bpmnElement="SubProcess_0ka59nc" isExpanded="true">
@@ -338,7 +378,7 @@ ddsi.preUpdateServiceOperationStatus(execution)]]></bpmn:script>
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="ScriptTask_1s09c7d_di" bpmnElement="ScriptTask_1s09c7d">
-        <dc:Bounds x="147" y="158" width="100" height="80" />
+        <dc:Bounds x="107" y="113" width="100" height="80" />
       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="ScriptTask_0ttvn8r_di" bpmnElement="ScriptTask_0ttvn8r">
         <dc:Bounds x="782" y="585" width="100" height="80" />
@@ -350,7 +390,7 @@ ddsi.preUpdateServiceOperationStatus(execution)]]></bpmn:script>
         <dc:Bounds x="-61" y="908" width="1322" height="164" />
       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="ScriptTask_0xupxj9_di" bpmnElement="ScriptTask_0xupxj9">
-        <dc:Bounds x="451" y="337" width="100" height="80" />
+        <dc:Bounds x="451" y="362" width="100" height="80" />
       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="ExclusiveGateway_0aqn64l_di" bpmnElement="ExclusiveGateway_0aqn64l" isMarkerVisible="true">
         <dc:Bounds x="639" y="600" width="50" height="50" />
@@ -365,10 +405,10 @@ ddsi.preUpdateServiceOperationStatus(execution)]]></bpmn:script>
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNShape>
       <bpmndi:BPMNEdge id="SequenceFlow_0s2spoq_di" bpmnElement="SequenceFlow_0s2spoq">
-        <di:waypoint xsi:type="dc:Point" x="30" y="198" />
-        <di:waypoint xsi:type="dc:Point" x="147" y="198" />
+        <di:waypoint xsi:type="dc:Point" x="30" y="153" />
+        <di:waypoint xsi:type="dc:Point" x="107" y="153" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="43.5" y="177" width="90" height="12" />
+          <dc:Bounds x="23.5" y="132" width="90" height="12" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNEdge id="SequenceFlow_0klbpxx_di" bpmnElement="SequenceFlow_0klbpxx">
@@ -485,49 +525,42 @@ ddsi.preUpdateServiceOperationStatus(execution)]]></bpmn:script>
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNShape id="ScriptTask_0cx1y0g_di" bpmnElement="ScriptTask_0cx1y0g">
-        <dc:Bounds x="364" y="158" width="100" height="80" />
+        <dc:Bounds x="251" y="113" width="100" height="80" />
       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="ScriptTask_11y3uq6_di" bpmnElement="ScriptTask_11y3uq6">
-        <dc:Bounds x="959" y="158" width="100" height="80" />
+        <dc:Bounds x="959" y="113" width="100" height="80" />
       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="ScriptTask_0hixtxc_di" bpmnElement="ScriptTask_0hixtxc">
-        <dc:Bounds x="563" y="158" width="100" height="80" />
+        <dc:Bounds x="422" y="113" width="100" height="80" />
       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="CallActivity_1rkoyc5_di" bpmnElement="CallActivity_1rkoyc5">
-        <dc:Bounds x="782" y="158" width="100" height="80" />
+        <dc:Bounds x="782" y="113" width="100" height="80" />
       </bpmndi:BPMNShape>
       <bpmndi:BPMNEdge id="SequenceFlow_03i6zhx_di" bpmnElement="SequenceFlow_03i6zhx">
-        <di:waypoint xsi:type="dc:Point" x="464" y="198" />
-        <di:waypoint xsi:type="dc:Point" x="563" y="198" />
+        <di:waypoint xsi:type="dc:Point" x="351" y="153" />
+        <di:waypoint xsi:type="dc:Point" x="422" y="153" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="468.5" y="177" width="90" height="12" />
-        </bpmndi:BPMNLabel>
-      </bpmndi:BPMNEdge>
-      <bpmndi:BPMNEdge id="SequenceFlow_1pdv4qj_di" bpmnElement="SequenceFlow_1pdv4qj">
-        <di:waypoint xsi:type="dc:Point" x="663" y="198" />
-        <di:waypoint xsi:type="dc:Point" x="782" y="198" />
-        <bpmndi:BPMNLabel>
-          <dc:Bounds x="677.5" y="177" width="90" height="12" />
+          <dc:Bounds x="341.5" y="132" width="90" height="12" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNEdge id="SequenceFlow_0xhbobd_di" bpmnElement="SequenceFlow_0xhbobd">
-        <di:waypoint xsi:type="dc:Point" x="882" y="198" />
-        <di:waypoint xsi:type="dc:Point" x="959" y="198" />
+        <di:waypoint xsi:type="dc:Point" x="882" y="153" />
+        <di:waypoint xsi:type="dc:Point" x="959" y="153" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="875.5" y="177" width="90" height="12" />
+          <dc:Bounds x="876" y="132" width="90" height="12" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNShape id="ExclusiveGateway_0mc34qe_di" bpmnElement="ExclusiveGateway_0mc34qe" isMarkerVisible="true">
-        <dc:Bounds x="639" y="352" width="50" height="50" />
+        <dc:Bounds x="639" y="377" width="50" height="50" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="622" y="324" width="85" height="24" />
+          <dc:Bounds x="622" y="349" width="85" height="24" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNShape>
       <bpmndi:BPMNEdge id="SequenceFlow_0az1n4y_di" bpmnElement="SequenceFlow_0az1n4y">
-        <di:waypoint xsi:type="dc:Point" x="247" y="198" />
-        <di:waypoint xsi:type="dc:Point" x="364" y="198" />
+        <di:waypoint xsi:type="dc:Point" x="207" y="153" />
+        <di:waypoint xsi:type="dc:Point" x="251" y="153" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="260.5" y="177" width="90" height="12" />
+          <dc:Bounds x="184" y="132" width="90" height="12" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNShape id="IntermediateCatchEvent_0m01dm3_di" bpmnElement="IntermediateCatchEvent_0m01dm3">
@@ -537,10 +570,10 @@ ddsi.preUpdateServiceOperationStatus(execution)]]></bpmn:script>
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNShape>
       <bpmndi:BPMNEdge id="SequenceFlow_0secadm_di" bpmnElement="SequenceFlow_0secadm">
-        <di:waypoint xsi:type="dc:Point" x="551" y="377" />
-        <di:waypoint xsi:type="dc:Point" x="639" y="377" />
+        <di:waypoint xsi:type="dc:Point" x="551" y="402" />
+        <di:waypoint xsi:type="dc:Point" x="639" y="402" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="550" y="356" width="90" height="12" />
+          <dc:Bounds x="550" y="381" width="90" height="12" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNEdge id="SequenceFlow_04qwbbf_di" bpmnElement="SequenceFlow_04qwbbf">
@@ -551,58 +584,58 @@ ddsi.preUpdateServiceOperationStatus(execution)]]></bpmn:script>
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNShape id="EndEvent_1jvqhkf_di" bpmnElement="EndEvent_1jvqhkf">
-        <dc:Bounds x="1192" y="359" width="36" height="36" />
+        <dc:Bounds x="1192" y="384" width="36" height="36" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="1200" y="404" width="19" height="12" />
+          <dc:Bounds x="1200" y="429" width="19" height="12" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="ScriptTask_16sgdqw_di" bpmnElement="ScriptTask_16sgdqw">
-        <dc:Bounds x="97" y="337" width="100" height="80" />
+        <dc:Bounds x="97" y="362" width="100" height="80" />
       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="ServiceTask_0qjpd5v_di" bpmnElement="ServiceTask_0qjpd5v">
-        <dc:Bounds x="274" y="337" width="100" height="80" />
+        <dc:Bounds x="274" y="362" width="100" height="80" />
       </bpmndi:BPMNShape>
       <bpmndi:BPMNEdge id="SequenceFlow_1e3vtyq_di" bpmnElement="SequenceFlow_1e3vtyq">
-        <di:waypoint xsi:type="dc:Point" x="197" y="377" />
-        <di:waypoint xsi:type="dc:Point" x="274" y="377" />
+        <di:waypoint xsi:type="dc:Point" x="197" y="402" />
+        <di:waypoint xsi:type="dc:Point" x="274" y="402" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="235.5" y="356" width="0" height="12" />
+          <dc:Bounds x="191" y="381" width="90" height="12" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNEdge id="SequenceFlow_12dou7o_di" bpmnElement="SequenceFlow_12dou7o">
-        <di:waypoint xsi:type="dc:Point" x="374" y="377" />
-        <di:waypoint xsi:type="dc:Point" x="451" y="377" />
+        <di:waypoint xsi:type="dc:Point" x="374" y="402" />
+        <di:waypoint xsi:type="dc:Point" x="451" y="402" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="412.5" y="356" width="0" height="12" />
+          <dc:Bounds x="368" y="381" width="90" height="12" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNShape id="ServiceTask_0mj3kf2_di" bpmnElement="ServiceTask_0mj3kf2">
-        <dc:Bounds x="959" y="337" width="100" height="80" />
+        <dc:Bounds x="959" y="362" width="100" height="80" />
       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="IntermediateThrowEvent_08mk8h9_di" bpmnElement="IntermediateThrowEvent_08mk8h9">
-        <dc:Bounds x="1192" y="180" width="36" height="36" />
+        <dc:Bounds x="1192" y="135" width="36" height="36" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="1175" y="220" width="86" height="24" />
+          <dc:Bounds x="1175" y="175" width="86" height="24" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNShape>
       <bpmndi:BPMNEdge id="SequenceFlow_0t7zinj_di" bpmnElement="SequenceFlow_0t7zinj">
-        <di:waypoint xsi:type="dc:Point" x="1059" y="198" />
-        <di:waypoint xsi:type="dc:Point" x="1192" y="198" />
+        <di:waypoint xsi:type="dc:Point" x="1059" y="153" />
+        <di:waypoint xsi:type="dc:Point" x="1192" y="153" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="1125.5" y="177" width="0" height="12" />
+          <dc:Bounds x="1081" y="132" width="90" height="12" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNShape id="IntermediateCatchEvent_14w7v9s_di" bpmnElement="IntermediateCatchEvent_14w7v9s">
-        <dc:Bounds x="-6" y="359" width="36" height="36" />
+        <dc:Bounds x="-6" y="384" width="36" height="36" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="-29" y="421" width="88" height="24" />
+          <dc:Bounds x="-29" y="446" width="88" height="24" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNShape>
       <bpmndi:BPMNEdge id="SequenceFlow_1bddzne_di" bpmnElement="SequenceFlow_1bddzne">
-        <di:waypoint xsi:type="dc:Point" x="30" y="377" />
-        <di:waypoint xsi:type="dc:Point" x="97" y="377" />
+        <di:waypoint xsi:type="dc:Point" x="30" y="402" />
+        <di:waypoint xsi:type="dc:Point" x="97" y="402" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="63.5" y="356" width="0" height="12" />
+          <dc:Bounds x="19" y="381" width="90" height="12" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNShape id="ScriptTask_14kqo0r_di" bpmnElement="ScriptTask_14kqo0r">
@@ -626,42 +659,96 @@ ddsi.preUpdateServiceOperationStatus(execution)]]></bpmn:script>
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNShape id="ScriptTask_04a0t3p_di" bpmnElement="ScriptTask_04a0t3p">
-        <dc:Bounds x="782" y="337" width="100" height="80" />
+        <dc:Bounds x="782" y="362" width="100" height="80" />
       </bpmndi:BPMNShape>
       <bpmndi:BPMNEdge id="SequenceFlow_1wzk6tu_di" bpmnElement="SequenceFlow_1wzk6tu">
-        <di:waypoint xsi:type="dc:Point" x="882" y="377" />
-        <di:waypoint xsi:type="dc:Point" x="959" y="377" />
+        <di:waypoint xsi:type="dc:Point" x="882" y="402" />
+        <di:waypoint xsi:type="dc:Point" x="959" y="402" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="920.5" y="356" width="0" height="12" />
+          <dc:Bounds x="876" y="381" width="90" height="12" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNShape id="IntermediateThrowEvent_1k72hze_di" bpmnElement="IntermediateThrowEvent_1k72hze">
-        <dc:Bounds x="646" y="447" width="36" height="36" />
+        <dc:Bounds x="646" y="472" width="36" height="36" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="631" y="487" width="76" height="12" />
+          <dc:Bounds x="631" y="512" width="76" height="12" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNShape>
       <bpmndi:BPMNEdge id="SequenceFlow_0kvl23y_di" bpmnElement="SequenceFlow_0kvl23y">
-        <di:waypoint xsi:type="dc:Point" x="1059" y="377" />
-        <di:waypoint xsi:type="dc:Point" x="1192" y="377" />
+        <di:waypoint xsi:type="dc:Point" x="1059" y="402" />
+        <di:waypoint xsi:type="dc:Point" x="1192" y="402" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="1125.5" y="356" width="0" height="12" />
+          <dc:Bounds x="1081" y="381" width="90" height="12" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNEdge id="SequenceFlow_0zmd4rt_di" bpmnElement="SequenceFlow_0zmd4rt">
-        <di:waypoint xsi:type="dc:Point" x="664" y="402" />
-        <di:waypoint xsi:type="dc:Point" x="664" y="447" />
+        <di:waypoint xsi:type="dc:Point" x="664" y="427" />
+        <di:waypoint xsi:type="dc:Point" x="664" y="472" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="670" y="419" width="19" height="12" />
+          <dc:Bounds x="670" y="444" width="19" height="12" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNEdge id="SequenceFlow_1n8h3zt_di" bpmnElement="SequenceFlow_1n8h3zt">
-        <di:waypoint xsi:type="dc:Point" x="689" y="377" />
-        <di:waypoint xsi:type="dc:Point" x="782" y="377" />
+        <di:waypoint xsi:type="dc:Point" x="689" y="402" />
+        <di:waypoint xsi:type="dc:Point" x="782" y="402" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="729" y="356" width="14" height="12" />
+          <dc:Bounds x="729" y="381" width="14" height="12" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
+      <bpmndi:BPMNShape id="ExclusiveGateway_0o2r7np_di" bpmnElement="ExclusiveGateway_0o2r7np" isMarkerVisible="true">
+        <dc:Bounds x="628.6452095808384" y="128.09730538922156" width="50" height="50" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="611" y="182" width="88" height="24" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge id="SequenceFlow_16jngfs_di" bpmnElement="SequenceFlow_16jngfs">
+        <di:waypoint xsi:type="dc:Point" x="522" y="153" />
+        <di:waypoint xsi:type="dc:Point" x="629" y="153" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="575.5" y="132" width="0" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="SequenceFlow_1bvnbfu_di" bpmnElement="SequenceFlow_1bvnbfu">
+        <di:waypoint xsi:type="dc:Point" x="679" y="153" />
+        <di:waypoint xsi:type="dc:Point" x="782" y="153" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="724" y="132" width="14" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="SequenceFlow_1po82kn_di" bpmnElement="SequenceFlow_1po82kn">
+        <di:waypoint xsi:type="dc:Point" x="654" y="178" />
+        <di:waypoint xsi:type="dc:Point" x="654" y="267" />
+        <di:waypoint xsi:type="dc:Point" x="782" y="267" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="660" y="217" width="19" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNShape id="CallActivity_0vnoaee_di" bpmnElement="Task_1ktxr5y">
+        <dc:Bounds x="782" y="227" width="100" height="80" />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge id="SequenceFlow_0gqpsvb_di" bpmnElement="SequenceFlow_0gqpsvb">
+        <di:waypoint xsi:type="dc:Point" x="882" y="267" />
+        <di:waypoint xsi:type="dc:Point" x="959" y="267" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="920.5" y="246" width="0" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNShape id="IntermediateThrowEvent_01jy2z3_di" bpmnElement="IntermediateThrowEvent_01jy2z3">
+        <dc:Bounds x="1192" y="249" width="36" height="36" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="1175" y="289" width="86" height="24" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge id="SequenceFlow_0qe8uv2_di" bpmnElement="SequenceFlow_0qe8uv2">
+        <di:waypoint xsi:type="dc:Point" x="1059" y="267" />
+        <di:waypoint xsi:type="dc:Point" x="1192" y="267" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="1125.5" y="246" width="0" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNShape id="ScriptTask_179xmbe_di" bpmnElement="Task_1xbq4e3">
+        <dc:Bounds x="959" y="227" width="100" height="80" />
+      </bpmndi:BPMNShape>
     </bpmndi:BPMNPlane>
   </bpmndi:BPMNDiagram>
 </bpmn:definitions>
diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoCompareServiceInstanceData.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoCompareServiceInstanceData.bpmn
new file mode 100644 (file)
index 0000000..6e5032a
--- /dev/null
@@ -0,0 +1,241 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="_MagIIMOUEeW8asg-vCEgWQ" targetNamespace="http://camunda.org/schema/1.0/bpmn" exporter="Camunda Modeler" exporterVersion="1.10.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
+  <bpmn2:process id="DoCompareServiceInstanceData" name="DoCompareServiceInstanceData" isExecutable="true">
+    <bpmn2:scriptTask id="ScriptTask_04rn9mp" name="DoCompareServiceInstanceData" scriptFormat="groovy">
+      <bpmn2:incoming>SequenceFlow_1rebkae</bpmn2:incoming>
+      <bpmn2:outgoing>SequenceFlow_1lkpfe2</bpmn2:outgoing>
+      <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
+def csi = new  DoCompareServiceInstanceData()
+csi.doCompareUuiRquestInput(execution)]]></bpmn2:script>
+    </bpmn2:scriptTask>
+    <bpmn2:sequenceFlow id="SequenceFlow_1rebkae" sourceRef="StartEvent_0jhv664" targetRef="ScriptTask_04rn9mp" />
+    <bpmn2:intermediateCatchEvent id="StartEvent_0jhv664" name="StartCompare">
+      <bpmn2:outgoing>SequenceFlow_1rebkae</bpmn2:outgoing>
+      <bpmn2:linkEventDefinition name="StartCompare" />
+    </bpmn2:intermediateCatchEvent>
+    <bpmn2:endEvent id="EndEvent_0x8im5g">
+      <bpmn2:incoming>SequenceFlow_1lkpfe2</bpmn2:incoming>
+    </bpmn2:endEvent>
+    <bpmn2:sequenceFlow id="SequenceFlow_1lkpfe2" sourceRef="ScriptTask_04rn9mp" targetRef="EndEvent_0x8im5g" />
+    <bpmn2:subProcess id="SubProcess_0roysbg" name="Sub-process for UnexpectedErrors" triggeredByEvent="true">
+      <bpmn2:startEvent id="StartEvent_0xtpw6j">
+        <bpmn2:outgoing>SequenceFlow_19sogyb</bpmn2:outgoing>
+        <bpmn2:errorEventDefinition />
+      </bpmn2:startEvent>
+      <bpmn2:endEvent id="EndEvent_05a2pr9">
+        <bpmn2:incoming>SequenceFlow_17mr4jl</bpmn2:incoming>
+      </bpmn2:endEvent>
+      <bpmn2:scriptTask id="ScriptTask_0xk9fk3" name="Log / Print Unexpected Error" scriptFormat="groovy">
+        <bpmn2:incoming>SequenceFlow_19sogyb</bpmn2:incoming>
+        <bpmn2:outgoing>SequenceFlow_17mr4jl</bpmn2:outgoing>
+        <bpmn2:script><![CDATA[import org.onap.so.bpmn.common.scripts.*
+ExceptionUtil ex = new ExceptionUtil()
+ex.processJavaException(execution)]]></bpmn2:script>
+      </bpmn2:scriptTask>
+      <bpmn2:sequenceFlow id="SequenceFlow_19sogyb" name="" sourceRef="StartEvent_0xtpw6j" targetRef="ScriptTask_0xk9fk3" />
+      <bpmn2:sequenceFlow id="SequenceFlow_17mr4jl" name="" sourceRef="ScriptTask_0xk9fk3" targetRef="EndEvent_05a2pr9" />
+    </bpmn2:subProcess>
+    <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_0se5nzs" name="GoTo Decompose_Service_Original">
+      <bpmn2:incoming>SequenceFlow_1o9916j</bpmn2:incoming>
+      <bpmn2:linkEventDefinition name="Decompose_Service_Original" />
+    </bpmn2:intermediateThrowEvent>
+    <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_0b436w1" name="GoTo StartCompare">
+      <bpmn2:incoming>SequenceFlow_08zjjzw</bpmn2:incoming>
+      <bpmn2:linkEventDefinition name="StartCompare" />
+    </bpmn2:intermediateThrowEvent>
+    <bpmn2:scriptTask id="ScriptTask_1d9qb54" name="PostProcess&#10;Decompose&#10;Service&#10;" scriptFormat="groovy">
+      <bpmn2:incoming>SequenceFlow_1wudpuj</bpmn2:incoming>
+      <bpmn2:outgoing>SequenceFlow_08zjjzw</bpmn2:outgoing>
+      <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
+def dcsi= new DoCompareServiceInstanceData()
+dcsi.processDecomposition_Original(execution)]]></bpmn2:script>
+    </bpmn2:scriptTask>
+    <bpmn2:callActivity id="CallActivity_1fc56sd" name="Call Decompose Service" calledElement="DecomposeService">
+      <bpmn2:extensionElements>
+        <camunda:in source="msoRequestId" target="msoRequestId" />
+        <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
+        <camunda:in source="serviceModelInfo_Original" target="serviceModelInfo" />
+        <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
+        <camunda:out source="serviceDecomposition" target="serviceDecomposition" />
+        <camunda:out source="WorkflowException" target="WorkflowException" />
+      </bpmn2:extensionElements>
+      <bpmn2:incoming>SequenceFlow_04ciw70</bpmn2:incoming>
+      <bpmn2:outgoing>SequenceFlow_1wudpuj</bpmn2:outgoing>
+    </bpmn2:callActivity>
+    <bpmn2:scriptTask id="ScriptTask_1i06996" name="Prepare&#10;Decompose&#10;Service&#10;" scriptFormat="groovy">
+      <bpmn2:incoming>SequenceFlow_1fgkvpr</bpmn2:incoming>
+      <bpmn2:outgoing>SequenceFlow_04ciw70</bpmn2:outgoing>
+      <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
+def dcsi= new DoCompareServiceInstanceData()
+dcsi.prepareDecomposeService_Original(execution)]]></bpmn2:script>
+    </bpmn2:scriptTask>
+    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_1m9q0j7" name="Decompose_Service_Original">
+      <bpmn2:outgoing>SequenceFlow_1fgkvpr</bpmn2:outgoing>
+      <bpmn2:linkEventDefinition name="Decompose_Service_Original" />
+    </bpmn2:intermediateCatchEvent>
+    <bpmn2:sequenceFlow id="SequenceFlow_08zjjzw" sourceRef="ScriptTask_1d9qb54" targetRef="IntermediateThrowEvent_0b436w1" />
+    <bpmn2:sequenceFlow id="SequenceFlow_1wudpuj" sourceRef="CallActivity_1fc56sd" targetRef="ScriptTask_1d9qb54" />
+    <bpmn2:sequenceFlow id="SequenceFlow_04ciw70" sourceRef="ScriptTask_1i06996" targetRef="CallActivity_1fc56sd" />
+    <bpmn2:sequenceFlow id="SequenceFlow_1fgkvpr" sourceRef="IntermediateCatchEvent_1m9q0j7" targetRef="ScriptTask_1i06996" />
+    <bpmn2:startEvent id="StartEvent_13da9hl" name="Start Flow">
+      <bpmn2:outgoing>SequenceFlow_1chfao3</bpmn2:outgoing>
+    </bpmn2:startEvent>
+    <bpmn2:scriptTask id="ScriptTask_0nie46r" name="PreProcess Incoming Request" scriptFormat="groovy">
+      <bpmn2:incoming>SequenceFlow_1chfao3</bpmn2:incoming>
+      <bpmn2:outgoing>SequenceFlow_1o9916j</bpmn2:outgoing>
+      <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
+def dcsi = new DoCompareServiceInstanceData()
+dcsi.preProcessRequest(execution)
+]]></bpmn2:script>
+    </bpmn2:scriptTask>
+    <bpmn2:sequenceFlow id="SequenceFlow_1chfao3" name="" sourceRef="StartEvent_13da9hl" targetRef="ScriptTask_0nie46r" />
+    <bpmn2:sequenceFlow id="SequenceFlow_1o9916j" sourceRef="ScriptTask_0nie46r" targetRef="IntermediateThrowEvent_0se5nzs" />
+  </bpmn2:process>
+  <bpmn2:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
+  <bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" />
+  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
+    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCompareServiceInstanceData">
+      <bpmndi:BPMNShape id="ScriptTask_04rn9mp_di" bpmnElement="ScriptTask_04rn9mp">
+        <dc:Bounds x="426" y="426" width="100" height="80" />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge id="SequenceFlow_1rebkae_di" bpmnElement="SequenceFlow_1rebkae">
+        <di:waypoint xsi:type="dc:Point" x="10" y="466" />
+        <di:waypoint xsi:type="dc:Point" x="426" y="466" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="173" y="445" width="90" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNShape id="IntermediateCatchEvent_05z1jyy_di" bpmnElement="StartEvent_0jhv664">
+        <dc:Bounds x="-26" y="448" width="36" height="36" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="-42" y="488" width="68" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="EndEvent_0x8im5g_di" bpmnElement="EndEvent_0x8im5g">
+        <dc:Bounds x="1040" y="448" width="36" height="36" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="1013" y="488" width="90" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge id="SequenceFlow_1lkpfe2_di" bpmnElement="SequenceFlow_1lkpfe2">
+        <di:waypoint xsi:type="dc:Point" x="526" y="466" />
+        <di:waypoint xsi:type="dc:Point" x="1040" y="466" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="738" y="445" width="90" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNShape id="SubProcess_0roysbg_di" bpmnElement="SubProcess_0roysbg" isExpanded="true">
+        <dc:Bounds x="221" y="751" width="467" height="193" />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="StartEvent_0xtpw6j_di" bpmnElement="StartEvent_0xtpw6j">
+        <dc:Bounds x="289" y="818" width="36" height="36" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="172" y="859" width="90" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="EndEvent_05a2pr9_di" bpmnElement="EndEvent_05a2pr9">
+        <dc:Bounds x="582" y="818" width="36" height="36" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="465" y="859" width="90" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="ScriptTask_0xk9fk3_di" bpmnElement="ScriptTask_0xk9fk3">
+        <dc:Bounds x="393" y="796" width="100" height="80" />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge id="SequenceFlow_19sogyb_di" bpmnElement="SequenceFlow_19sogyb">
+        <di:waypoint xsi:type="dc:Point" x="325" y="836" />
+        <di:waypoint xsi:type="dc:Point" x="393" y="836" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="224" y="821" width="90" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="SequenceFlow_17mr4jl_di" bpmnElement="SequenceFlow_17mr4jl">
+        <di:waypoint xsi:type="dc:Point" x="493" y="836" />
+        <di:waypoint xsi:type="dc:Point" x="582" y="836" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="405" y="821" width="90" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNShape id="IntermediateThrowEvent_0se5nzs_di" bpmnElement="IntermediateThrowEvent_0se5nzs">
+        <dc:Bounds x="1047" y="83" width="36" height="36" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="1021" y="124" width="88" height="36" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="IntermediateThrowEvent_0b436w1_di" bpmnElement="IntermediateThrowEvent_0b436w1">
+        <dc:Bounds x="1047" y="311" width="36" height="36" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="1032" y="352" width="68" height="24" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="ScriptTask_1d9qb54_di" bpmnElement="ScriptTask_1d9qb54">
+        <dc:Bounds x="711" y="290" width="100" height="80" />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="CallActivity_1fc56sd_di" bpmnElement="CallActivity_1fc56sd">
+        <dc:Bounds x="426" y="290" width="100" height="80" />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="ScriptTask_1i06996_di" bpmnElement="ScriptTask_1i06996">
+        <dc:Bounds x="144" y="290" width="100" height="80" />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="IntermediateCatchEvent_1m9q0j7_di" bpmnElement="IntermediateCatchEvent_1m9q0j7">
+        <dc:Bounds x="-26" y="312" width="36" height="36" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="-50" y="348" width="88" height="24" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge id="SequenceFlow_08zjjzw_di" bpmnElement="SequenceFlow_08zjjzw">
+        <di:waypoint xsi:type="dc:Point" x="811" y="330" />
+        <di:waypoint xsi:type="dc:Point" x="1047" y="329" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="929" y="308.5" width="0" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="SequenceFlow_1wudpuj_di" bpmnElement="SequenceFlow_1wudpuj">
+        <di:waypoint xsi:type="dc:Point" x="526" y="330" />
+        <di:waypoint xsi:type="dc:Point" x="711" y="330" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="618.5" y="309" width="0" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="SequenceFlow_04ciw70_di" bpmnElement="SequenceFlow_04ciw70">
+        <di:waypoint xsi:type="dc:Point" x="244" y="330" />
+        <di:waypoint xsi:type="dc:Point" x="426" y="330" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="245" y="309" width="0" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="SequenceFlow_1fgkvpr_di" bpmnElement="SequenceFlow_1fgkvpr">
+        <di:waypoint xsi:type="dc:Point" x="10" y="330" />
+        <di:waypoint xsi:type="dc:Point" x="144" y="330" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="-13" y="309" width="0" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNShape id="StartEvent_13da9hl_di" bpmnElement="StartEvent_13da9hl">
+        <dc:Bounds x="-20" y="83" width="36" height="36" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="-26" y="124" width="50" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="ScriptTask_0nie46r_di" bpmnElement="ScriptTask_0nie46r">
+        <dc:Bounds x="340" y="61" width="100" height="80" />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge id="SequenceFlow_1chfao3_di" bpmnElement="SequenceFlow_1chfao3">
+        <di:waypoint xsi:type="dc:Point" x="16" y="101" />
+        <di:waypoint xsi:type="dc:Point" x="181" y="101" />
+        <di:waypoint xsi:type="dc:Point" x="181" y="101" />
+        <di:waypoint xsi:type="dc:Point" x="340" y="101" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="196" y="95" width="0" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="SequenceFlow_1o9916j_di" bpmnElement="SequenceFlow_1o9916j">
+        <di:waypoint xsi:type="dc:Point" x="440" y="101" />
+        <di:waypoint xsi:type="dc:Point" x="1047" y="101" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="743.5" y="80" width="0" height="12" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+    </bpmndi:BPMNPlane>
+  </bpmndi:BPMNDiagram>
+</bpmn2:definitions>
index 785db75..002e382 100644 (file)
@@ -186,6 +186,7 @@ dcsi.preProcessAAIPUT(execution)]]></bpmn2:script>
         <camunda:in source="operationType" target="operationType" />
         <camunda:in source="operationId" target="operationId" />
         <camunda:in source="serviceDecomposition_Original" target="serviceDecomposition" />
+        <camunda:in source="uuiRequest-del" target="uuiRequest-del" />
       </bpmn2:extensionElements>
       <bpmn2:incoming>SequenceFlow_0ur34hv</bpmn2:incoming>
       <bpmn2:outgoing>SequenceFlow_0w4t4ao</bpmn2:outgoing>
index 2524fc7..2696313 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * ONAP - SO
  * ================================================================================
- * Copyright (C) 2017 - 2018 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2019 Intel Corp. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -21,6 +21,7 @@
 package org.onap.so.bpmn.buildingblock;
 
 import org.apache.commons.lang.SerializationUtils;
+import org.apache.commons.lang.exception.ExceptionUtils;
 import org.camunda.bpm.engine.delegate.BpmnError;
 import java.util.ArrayList;
 import org.json.JSONArray;
@@ -38,7 +39,6 @@ import org.onap.so.bpmn.servicedecomposition.bbobjects.VpnBondingLink;
 import org.onap.so.bpmn.servicedecomposition.entities.GeneralBuildingBlock;
 import org.onap.so.bpmn.servicedecomposition.generalobjects.License;
 import org.onap.so.bpmn.servicedecomposition.generalobjects.RequestContext;
-import org.onap.so.bpmn.servicedecomposition.generalobjects.RequestParameters;
 import org.onap.so.bpmn.servicedecomposition.homingobjects.Candidate;
 import org.onap.so.bpmn.servicedecomposition.homingobjects.CandidateType;
 import org.onap.so.bpmn.servicedecomposition.homingobjects.SolutionCandidates;
@@ -49,13 +49,14 @@ import org.onap.so.client.exception.BadResponseException;
 import org.onap.so.client.exception.ExceptionBuilder;
 import org.onap.so.client.oof.OofClient;
 import org.onap.so.client.oof.OofValidator;
+import org.onap.so.client.oof.beans.LicenseDemand;
+import org.onap.so.client.oof.beans.LicenseInfo;
 import org.onap.so.client.oof.beans.ModelInfo;
 import org.onap.so.client.oof.beans.OofRequest;
 import org.onap.so.client.oof.beans.OofRequestParameters;
 import org.onap.so.client.oof.beans.PlacementDemand;
 import org.onap.so.client.oof.beans.PlacementInfo;
 import org.onap.so.client.oof.beans.RequestInfo;
-import org.onap.so.client.oof.beans.ResourceModelInfo;
 import org.onap.so.client.oof.beans.ServiceInfo;
 import org.onap.so.client.oof.beans.SubscriberInfo;
 import org.onap.so.db.catalog.beans.OrchestrationStatus;
@@ -85,7 +86,7 @@ public class OofHomingV2 {
     @Autowired
     private Environment env;
     @Autowired
-    private OofClient client;
+    private OofClient oofClient;
     @Autowired
     private OofValidator oofValidator;
     @Autowired
@@ -98,7 +99,6 @@ public class OofHomingV2 {
     private static final String RESOURCE_MODULE_NAME = "resourceModuleName";
     private static final String RESOURCE_MODEL_INFO = "resourceModelInfo";
     private static final String IDENTIFIER_TYPE = "identifierType";
-    private static final String INVENTORY_TYPE = "inventoryType";
     private static final String SOLUTIONS = "solutions";
     private static final String RESOURCE_MISSING_DATA = "Resource does not contain: ";
     private static final String SERVICE_MISSING_DATA = "Service Instance does not contain: ";
@@ -111,12 +111,11 @@ public class OofHomingV2 {
      * @param execution
      */
     public void callOof(BuildingBlockExecution execution) {
-        logger.trace("Started Sniro Homing Call Sniro");
+        logger.trace("Started Oof Homing Call Oof");
         try {
             GeneralBuildingBlock bb = execution.getGeneralBuildingBlock();
 
             RequestContext requestContext = bb.getRequestContext();
-            RequestParameters requestParams = requestContext.getRequestParameters();
             String requestId = requestContext.getMsoRequestId();
 
             ServiceInstance serviceInstance = bb.getCustomer().getServiceSubscription().getServiceInstances().get(0);
@@ -127,28 +126,24 @@ public class OofHomingV2 {
                 timeout = env.getProperty("oof.timeout", "PT30M");
             }
 
-            OofRequest request = new OofRequest();
+            OofRequest oofRequest = new OofRequest();
 
             RequestInfo requestInfo = (RequestInfo) buildRequestInfo(requestId, timeout);
-            request.setRequestInformation(requestInfo);
+            oofRequest.setRequestInformation(requestInfo);
 
             ServiceInfo serviceInfo = buildServiceInfo(serviceInstance);
-            request.setServiceInformation(serviceInfo);
+            oofRequest.setServiceInformation(serviceInfo);
 
-            PlacementInfo placementInfo = buildPlacementInfo(customer, requestParams);
+            PlacementInfo placementInfo = buildPlacementInfo(customer);
 
-            ArrayList<PlacementDemand> placementDemands = buildPlacementDemands(serviceInstance);
-            placementInfo.setPlacementDemands(placementDemands);
-            request.setPlacementInformation(placementInfo);
+            placementInfo = buildPlacementDemands(serviceInstance, placementInfo);
+            oofRequest.setPlacementInformation(placementInfo);
 
-            JSONObject licenseInfo = new JSONObject();
+            LicenseInfo licenseInfo = buildLicenseInfo(serviceInstance);
+            oofRequest.setLicenseInformation(licenseInfo);
 
-            JSONArray licenseDemands = buildLicenseDemands(serviceInstance);
-            licenseInfo.put("licenseDemands", licenseDemands);
-            request.setLicenseInformation(licenseInfo.toString());
-
-            if (placementDemands.size() > 0 || licenseDemands.length() > 0) {
-                client.postDemands(request);
+            if (!placementInfo.getPlacementDemands().isEmpty() || !licenseInfo.getLicenseDemands().isEmpty()) {
+                oofClient.postDemands(oofRequest);
             } else {
                 logger.debug(SERVICE_MISSING_DATA + " resources eligible for homing or licensing");
                 throw new BpmnError(UNPROCESSABLE,
@@ -162,12 +157,15 @@ public class OofHomingV2 {
 
             logger.trace("Completed Oof Homing Call Oof");
         } catch (BpmnError e) {
+            logger.debug(" Error - while preparing oof request: " + e.getStackTrace());
             exceptionUtil.buildAndThrowWorkflowException(execution, Integer.parseInt(e.getErrorCode()), e.getMessage());
         } catch (BadResponseException e) {
+            logger.debug(" Error - while preparing oof request: " + e.getStackTrace());
             exceptionUtil.buildAndThrowWorkflowException(execution, 400, e.getMessage());
         } catch (Exception e) {
-            exceptionUtil.buildAndThrowWorkflowException(execution, INTERNAL,
-                    "Internal Error - occurred while preparing oof request: " + e.getMessage());
+            logger.debug(" Error - while preparing oof request: " + e.getStackTrace());
+            exceptionUtil.buildAndThrowWorkflowException(execution, INTERNAL, "Internal Error - occurred while "
+                    + "preparing oof request: " + e + "   Stack:" + ExceptionUtils.getFullStackTrace(e));
         }
     }
 
@@ -240,6 +238,10 @@ public class OofHomingV2 {
             requestInfo.setSourceId("mso");
             requestInfo.setRequestType("create");
             requestInfo.setTimeout(timeoutSeconds);
+            requestInfo.setNumSolutions(1);
+            ArrayList optimizers = new ArrayList();
+            optimizers.add("placement");
+            requestInfo.setOptimizers(optimizers);
         } else {
             throw new BpmnError(UNPROCESSABLE, "Request Context does not contain: requestId");
         }
@@ -270,7 +272,7 @@ public class OofHomingV2 {
      * Builds initial section of placement info for the homing/licensing request
      *
      */
-    private PlacementInfo buildPlacementInfo(Customer customer, RequestParameters requestParams) {
+    private PlacementInfo buildPlacementInfo(Customer customer) {
         PlacementInfo placementInfo = new PlacementInfo();
         if (customer != null) {
             logger.debug("Adding subscriber to placement information");
@@ -279,22 +281,11 @@ public class OofHomingV2 {
             subscriberInfo.setSubscriberName(customer.getSubscriberName());
             subscriberInfo.setSubscriberCommonSiteId(customer.getSubscriberCommonSiteId());
             placementInfo.setSubscriberInfo(subscriberInfo);
-            if (requestParams != null) {
-                logger.debug("Adding request parameters to placement information");
-                OofRequestParameters oofRequestParams = new OofRequestParameters();
-                for (Map requestParam : requestParams.getUserParams()) {
-                    if (requestParam.containsKey("customerLatitude")) {
-                        oofRequestParams.setCustomerLatitude(requestParam.get("customerLatitude").toString());
-                    }
-                    if (requestParam.containsKey("customerLongitude")) {
-                        oofRequestParams.setCustomerLongitude(requestParam.get("customerLongitude").toString());
-                    }
-                    if (requestParam.containsKey("customerName")) {
-                        oofRequestParams.setCustomerName(requestParam.get("customerName").toString());
-                    }
-                }
-                placementInfo.setRequestParameters(oofRequestParams);
-            }
+            OofRequestParameters oofRequestParams = new OofRequestParameters();
+            oofRequestParams.setCustomerLatitude(customer.getCustomerLatitude());
+            oofRequestParams.setCustomerLongitude(customer.getCustomerLongitude());
+            oofRequestParams.setCustomerName(customer.getSubscriberName());
+            placementInfo.setRequestParameters(oofRequestParams);
         } else {
             throw new BpmnError(UNPROCESSABLE, SERVICE_MISSING_DATA + "customer");
         }
@@ -306,9 +297,8 @@ public class OofHomingV2 {
      * Builds the placement demand list for the homing/licensing request
      *
      */
-    private ArrayList<PlacementDemand> buildPlacementDemands(ServiceInstance serviceInstance) {
+    private PlacementInfo buildPlacementDemands(ServiceInstance serviceInstance, PlacementInfo placementInfo) {
         logger.trace("Building placement information demands");
-        ArrayList<PlacementDemand> placementDemands = new ArrayList();
 
         List<AllottedResource> allottedResourceList = serviceInstance.getAllottedResources();
         if (!allottedResourceList.isEmpty()) {
@@ -319,7 +309,7 @@ public class OofHomingV2 {
                 }
                 PlacementDemand demand = buildDemand(ar.getId(), ar.getModelInfoAllottedResource());
                 // addCandidates(ar, demand);
-                placementDemands.add(demand);
+                placementInfo.getPlacementDemands().add(demand);
             }
         }
         List<VpnBondingLink> vpnBondingLinkList = serviceInstance.getVpnBondingLinks();
@@ -333,42 +323,43 @@ public class OofHomingV2 {
                     }
                     PlacementDemand demand = buildDemand(sp.getId(), sp.getModelInfoServiceProxy());
                     // addCandidates(sp, demand);
-                    placementDemands.add(demand);
+                    placementInfo.getPlacementDemands().add(demand);
                 }
             }
         }
-        return placementDemands;
+        return placementInfo;
     }
 
     /**
      * Builds the license demand list for the homing/licensing request
      *
      */
-    private JSONArray buildLicenseDemands(ServiceInstance serviceInstance) {
+    private LicenseInfo buildLicenseInfo(ServiceInstance serviceInstance) {
         logger.trace("Building license information");
-        JSONArray licenseDemands = new JSONArray();
+        LicenseInfo licenseInfo = new LicenseInfo();
         List<GenericVnf> vnfList = serviceInstance.getVnfs();
         if (!vnfList.isEmpty()) {
             logger.debug("Adding vnfs to license demands list");
             for (GenericVnf vnf : vnfList) {
-                JSONObject demand = buildLicenseDemand(vnf.getVnfId(), vnf.getModelInfoGenericVnf());
-                licenseDemands.put(demand);
+                LicenseDemand demand = buildLicenseDemand(vnf.getVnfId(), vnf.getModelInfoGenericVnf());
+                licenseInfo.getLicenseDemands().add(demand);
             }
         }
-        return licenseDemands;
+        return licenseInfo;
     }
 
     /**
      * Builds a single license demand object
      *
      */
-    private JSONObject buildLicenseDemand(String id, ModelInfoMetadata metadata) {
+    private LicenseDemand buildLicenseDemand(String id, ModelInfoMetadata metadata) {
         logger.debug("Building demand for service or resource: " + id);
-        JSONObject demand = new JSONObject();
+        LicenseDemand demand = new LicenseDemand();
         if (isNotBlank(id) && isNotBlank(metadata.getModelInstanceName())) {
-            demand.put(SERVICE_RESOURCE_ID, id);
-            demand.put(RESOURCE_MODULE_NAME, metadata.getModelInstanceName());
-            demand.put(RESOURCE_MODEL_INFO, buildModelInfo(metadata));
+
+            demand.setServiceResourceId(id);
+            demand.setResourceModuleName(metadata.getModelInstanceName());
+            demand.setResourceModelInfo(buildModelInfo(metadata));
         } else {
             throw new BpmnError(UNPROCESSABLE, RESOURCE_MISSING_DATA + "modelInstanceName");
         }
@@ -385,7 +376,7 @@ public class OofHomingV2 {
         if (isNotBlank(id) && isNotBlank(metadata.getModelInstanceName())) {
             placementDemand.setServiceResourceId(id);
             placementDemand.setResourceModuleName(metadata.getModelInstanceName());
-            placementDemand.setResourceModelInfo((ResourceModelInfo) buildModelInfo(metadata));
+            placementDemand.setResourceModelInfo(buildModelInfo(metadata));
         } else {
             throw new BpmnError(UNPROCESSABLE, RESOURCE_MISSING_DATA + "modelInstanceName");
         }
@@ -525,11 +516,11 @@ public class OofHomingV2 {
         JSONArray assignments = placement.getJSONArray("assignmentInfo");
         Map<String, String> assignmentsMap = jsonUtils.entryArrayToMap(assignments.toString(), "key", "value");
         solutionInfo.setRehome(Boolean.parseBoolean(assignmentsMap.get("isRehome")));
-        String type = placement.getString(INVENTORY_TYPE);
+        String type = identifierType;
 
         ServiceInstance si = new ServiceInstance();
         CloudRegion cloud = setCloud(assignmentsMap);
-        if (type.equals("service")) {
+        if (type.equals("serviceInstanceId")) {
             if (identifierType.equals(CandidateType.SERVICE_INSTANCE_ID.toString())) {
                 solutionInfo.setHomed(true);
                 si.setServiceInstanceId(identifierValue);
@@ -556,7 +547,7 @@ public class OofHomingV2 {
                 logger.debug(invalidMessage + IDENTIFIER_TYPE);
                 throw new BpmnError(UNPROCESSABLE, invalidMessage + IDENTIFIER_TYPE);
             }
-        } else if (type.equals("cloud")) {
+        } else if (type.equals("cloudRegionId")) {
             if (identifierType.equals(CandidateType.CLOUD_REGION_ID.toString())) {
                 logger.debug("Resources has been homed to a cloud region");
                 cloud.setLcpCloudRegionId(identifierValue);
@@ -567,9 +558,6 @@ public class OofHomingV2 {
                 logger.debug(invalidMessage + IDENTIFIER_TYPE);
                 throw new BpmnError(UNPROCESSABLE, invalidMessage + IDENTIFIER_TYPE);
             }
-        } else {
-            logger.debug(invalidMessage + INVENTORY_TYPE);
-            throw new BpmnError(UNPROCESSABLE, invalidMessage + INVENTORY_TYPE);
         }
         si.setSolutionInfo(solutionInfo);
         return si;
diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/oof/beans/LicenseDemand.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/oof/beans/LicenseDemand.java
new file mode 100644 (file)
index 0000000..e64a545
--- /dev/null
@@ -0,0 +1,97 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP - SO
+ * ================================================================================
+ * Copyright (C) 2019 Intel Corp.  All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.so.client.oof.beans;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.annotation.JsonRootName;
+import java.io.Serializable;
+
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({"resourceModuleName", "serviceResourceId", "tenantId", "resourceModelInfo"})
+@JsonRootName("licenseDemand")
+public class LicenseDemand implements Serializable {
+
+    private static final long serialVersionUID = -759180997599143791L;
+
+    @JsonProperty("resourceModuleName")
+    private String resourceModuleName;
+    @JsonProperty("serviceResourceId")
+    private String serviceResourceId;
+    @JsonProperty("tenantId")
+    private String tenantId;
+    @JsonProperty("resourceModelInfo")
+    private ResourceModelInfo resourceModelInfo;
+
+    @JsonProperty("resourceModuleName")
+    public String getResourceModuleName() {
+        return resourceModuleName;
+    }
+
+    @JsonProperty("resourceModuleName")
+    public void setResourceModuleName(String resourceModuleName) {
+        this.resourceModuleName = resourceModuleName;
+    }
+
+    @JsonProperty("serviceResourceId")
+    public String getServiceResourceId() {
+        return serviceResourceId;
+    }
+
+    @JsonProperty("serviceResourceId")
+    public void setServiceResourceId(String serviceResourceId) {
+        this.serviceResourceId = serviceResourceId;
+    }
+
+    @JsonProperty("tenantId")
+    public String getTenantId() {
+        return tenantId;
+    }
+
+    @JsonProperty("tenantId")
+    public void setTenantId(String tenantId) {
+        this.tenantId = tenantId;
+    }
+
+    @JsonProperty("resourceModelInfo")
+    public ResourceModelInfo getResourceModelInfo() {
+        return resourceModelInfo;
+    }
+
+    @JsonProperty("resourceModelInfo")
+    public void setResourceModelInfo(ResourceModelInfo resourceModelInfo) {
+        this.resourceModelInfo = resourceModelInfo;
+    }
+
+    public void setResourceModelInfo(ModelInfo modelInfo) {
+        ResourceModelInfo localResourceModelInfo = new ResourceModelInfo();
+        localResourceModelInfo.setModelVersionId(modelInfo.getModelVersionId());
+        localResourceModelInfo.setModelVersionId(modelInfo.getModelVersionId());
+        localResourceModelInfo.setModelVersion(modelInfo.getModelVersion());
+        localResourceModelInfo.setModelName(modelInfo.getModelName());
+        localResourceModelInfo.setModelType(modelInfo.getModelType());
+        localResourceModelInfo.setModelInvariantId(modelInfo.getModelInvariantId());
+        localResourceModelInfo.setModelCustomizationName(modelInfo.getModelCustomizationName());
+        this.resourceModelInfo = localResourceModelInfo;
+    }
+
+}
diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/oof/beans/LicenseInfo.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/oof/beans/LicenseInfo.java
new file mode 100644 (file)
index 0000000..74ff933
--- /dev/null
@@ -0,0 +1,49 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP - SO
+ * ================================================================================
+ * Copyright (C) 2019 Intel Corp.  All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.so.client.oof.beans;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonRootName;
+import java.io.Serializable;
+import java.util.ArrayList;
+
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonRootName("licenseInfo")
+public class LicenseInfo implements Serializable {
+
+    private static final long serialVersionUID = -759180997599143791L;
+
+    @JsonProperty("licenseDemands")
+    private ArrayList<LicenseDemand> licenseDemands = new ArrayList<>();
+
+
+    @JsonProperty("licenseDemands")
+    public ArrayList<LicenseDemand> getLicenseDemands() {
+        return licenseDemands;
+    }
+
+    @JsonProperty("licenseDemands")
+    public void setLicenseDemands(ArrayList<LicenseDemand> licenseDemands) {
+        this.licenseDemands = licenseDemands;
+    }
+
+}
index e3c29fe..f889624 100644 (file)
@@ -46,7 +46,7 @@ public class OofRequest implements Serializable {
     private PlacementInfo placementInformation;
 
     @JsonProperty("licenseInfo")
-    private String licenseInformation;
+    private LicenseInfo licenseInformation;
 
 
     public RequestInfo getRequestInformation() {
@@ -73,11 +73,11 @@ public class OofRequest implements Serializable {
         this.placementInformation = placementInformation;
     }
 
-    public String getLicenseInformation() {
+    public LicenseInfo getLicenseInformation() {
         return licenseInformation;
     }
 
-    public void setLicenseInformation(String licenseInformation) {
+    public void setLicenseInformation(LicenseInfo licenseInformation) {
         this.licenseInformation = licenseInformation;
     }
 
index 73c100d..631b370 100644 (file)
@@ -82,4 +82,16 @@ public class PlacementDemand implements Serializable {
         this.resourceModelInfo = resourceModelInfo;
     }
 
+    public void setResourceModelInfo(ModelInfo modelInfo) {
+        ResourceModelInfo localResourceModelInfo = new ResourceModelInfo();
+        localResourceModelInfo.setModelVersionId(modelInfo.getModelVersionId());
+        localResourceModelInfo.setModelVersionId(modelInfo.getModelVersionId());
+        localResourceModelInfo.setModelVersion(modelInfo.getModelVersion());
+        localResourceModelInfo.setModelName(modelInfo.getModelName());
+        localResourceModelInfo.setModelType(modelInfo.getModelType());
+        localResourceModelInfo.setModelInvariantId(modelInfo.getModelInvariantId());
+        localResourceModelInfo.setModelCustomizationName(modelInfo.getModelCustomizationName());
+        this.resourceModelInfo = localResourceModelInfo;
+    }
+
 }
index 0eb14d9..7519e8c 100644 (file)
@@ -39,7 +39,7 @@ public class PlacementInfo implements Serializable {
     @JsonProperty("subscriberInfo")
     private SubscriberInfo subscriberInfo;
     @JsonProperty("placementDemands")
-    private ArrayList<PlacementDemand> placementDemands = null;
+    private ArrayList<PlacementDemand> placementDemands = new ArrayList<>();
 
     @JsonProperty("requestParameters")
     public OofRequestParameters getRequestParameters() {
index 3bb8fb7..43e4ce3 100644 (file)
@@ -23,9 +23,11 @@ import java.io.IOException;
 import java.io.InputStream;
 import org.junit.Before;
 import org.junit.runner.RunWith;
+import org.onap.so.bpmn.buildingblock.OofHomingV2;
 import org.onap.so.bpmn.buildingblock.SniroHomingV2;
 import org.onap.so.bpmn.common.data.TestDataSetup;
 import org.onap.so.client.appc.ApplicationControllerAction;
+import org.onap.so.client.oof.OofClient;
 import org.onap.so.client.orchestration.SDNOHealthCheckResources;
 import org.onap.so.client.sdnc.SDNCClient;
 import org.onap.so.client.sniro.SniroClient;
@@ -63,6 +65,12 @@ public abstract class BaseIntegrationTest extends TestDataSetup {
     @SpyBean
     protected SniroClient sniroClient;
 
+    @SpyBean
+    protected OofHomingV2 oofHoming;
+
+    @SpyBean
+    protected OofClient oofClient;
+
     @MockBean
     protected ApplicationControllerAction appCClient;
 
diff --git a/bpmn/so-bpmn-tasks/src/test/java/org/onap/so/bpmn/infrastructure/flowspecific/tasks/OofHomingV2IT.java b/bpmn/so-bpmn-tasks/src/test/java/org/onap/so/bpmn/infrastructure/flowspecific/tasks/OofHomingV2IT.java
new file mode 100644 (file)
index 0000000..e066058
--- /dev/null
@@ -0,0 +1,594 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP - SO
+ * ================================================================================
+ * Copyright (C) 2019 AT&T Intellectual Property. & Intel Corp. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.so.bpmn.infrastructure.flowspecific.tasks;
+
+import com.fasterxml.jackson.core.JsonProcessingException;
+import org.camunda.bpm.engine.delegate.BpmnError;
+import org.json.JSONArray;
+import org.json.JSONObject;
+import org.junit.Before;
+import org.junit.Test;
+import org.mockito.ArgumentCaptor;
+import org.onap.so.BaseIntegrationTest;
+import org.onap.so.bpmn.servicedecomposition.bbobjects.AllottedResource;
+import org.onap.so.bpmn.servicedecomposition.bbobjects.Customer;
+import org.onap.so.bpmn.servicedecomposition.bbobjects.GenericVnf;
+import org.onap.so.bpmn.servicedecomposition.bbobjects.ServiceInstance;
+import org.onap.so.bpmn.servicedecomposition.bbobjects.ServiceProxy;
+import org.onap.so.bpmn.servicedecomposition.bbobjects.VpnBondingLink;
+import org.onap.so.bpmn.servicedecomposition.generalobjects.RequestContext;
+import org.onap.so.bpmn.servicedecomposition.generalobjects.RequestParameters;
+import org.onap.so.bpmn.servicedecomposition.homingobjects.Candidate;
+import org.onap.so.bpmn.servicedecomposition.homingobjects.CandidateType;
+import org.onap.so.client.exception.BadResponseException;
+import org.onap.so.client.oof.beans.OofRequest;
+import org.skyscreamer.jsonassert.JSONAssert;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
+import static com.github.tomakehurst.wiremock.client.WireMock.post;
+import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNotNull;
+import static org.mockito.ArgumentMatchers.isA;
+import static org.mockito.Mockito.times;
+import static org.mockito.Mockito.verify;
+
+public class OofHomingV2IT extends BaseIntegrationTest {
+
+    private ServiceInstance serviceInstance;
+
+    private RequestContext requestContext;
+
+    private Customer customer;
+
+    private static final String RESOURCE_PATH = "__files/BuildingBlocks/OofHoming/";
+
+
+    String mockResponse =
+            "{\"transactionId\": \"123456789\", \"requestId\": \"1234\", \"statusMessage\": \"homing request accepted\", \"requestStatus\": \"accepted\"}";
+
+    @Before
+    public void before() {
+        serviceInstance = setServiceInstance();
+        customer = setCustomer();
+        customer.setGlobalCustomerId("testCustomerId");
+        customer.setSubscriberName("testCustomerName");
+        customer.getServiceSubscription().getServiceInstances().add(serviceInstance);
+        customer.setCustomerLatitude("customerLatitude");
+        customer.setCustomerLongitude("customerLongitude");
+
+        requestContext = setRequestContext();
+        requestContext.setMsoRequestId("requestId");
+
+        RequestParameters params = new RequestParameters();
+        params.setaLaCarte(false);
+        params.setSubscriptionServiceType("testSubscriptionServiceType");
+        requestContext.setRequestParameters(params);
+    }
+
+    public void beforeVpnBondingLink(String id) {
+        VpnBondingLink bondingLink = new VpnBondingLink();
+        bondingLink.setVpnBondingLinkId("testVpnBondingId" + id);
+        bondingLink.getServiceProxies().add(setServiceProxy("1", "transport"));
+        ServiceProxy sp2 = setServiceProxy("2", "infrastructure");
+        Candidate requiredCandidate = new Candidate();
+        requiredCandidate.setIdentifierType(CandidateType.VNF_ID);
+        List<String> c = new ArrayList<String>();
+        c.add("testVnfId");
+        requiredCandidate.setIdentifiers(c);
+        sp2.addRequiredCandidates(requiredCandidate);
+        bondingLink.getServiceProxies().add(sp2);
+        serviceInstance.getVpnBondingLinks().add(bondingLink);
+
+    }
+
+    public void beforeAllottedResource() {
+        serviceInstance.getAllottedResources().add(setAllottedResource("1"));
+        serviceInstance.getAllottedResources().add(setAllottedResource("2"));
+        serviceInstance.getAllottedResources().add(setAllottedResource("3"));
+    }
+
+    public void beforeVnf() {
+        setGenericVnf();
+    }
+
+    @Test
+    public void testCallOof_success_1VpnLink() throws BadResponseException, IOException {
+        beforeVpnBondingLink("1");
+
+        wireMockServer.stubFor(post(urlEqualTo("/api/oof/v1/placement")).willReturn(
+                aResponse().withStatus(200).withHeader("Content-Type", "application/json").withBody(mockResponse)));
+
+        oofHoming.callOof(execution);
+
+        String request = readResourceFile(RESOURCE_PATH + "oofRequest1Vpn.json");
+        request = request.replace("28080", wireMockPort);
+
+        ArgumentCaptor<OofRequest> argument = ArgumentCaptor.forClass(OofRequest.class);
+        verify(oofClient, times(1)).postDemands(argument.capture());
+        JSONAssert.assertEquals(request, argument.getValue().toJsonString(), false);
+    }
+
+    @Test
+    public void testCallOof_success_3VpnLink() throws JsonProcessingException, BadResponseException {
+        beforeVpnBondingLink("1");
+        beforeVpnBondingLink("2");
+        beforeVpnBondingLink("3");
+
+        wireMockServer.stubFor(post(urlEqualTo("/api/oof/v1/placement")).willReturn(
+                aResponse().withStatus(200).withHeader("Content-Type", "application/json").withBody(mockResponse)));
+
+        oofHoming.callOof(execution);
+
+        String request = readResourceFile(RESOURCE_PATH + "oofRequest3Vpn.json");
+        request = request.replace("28080", wireMockPort);
+
+        ArgumentCaptor<OofRequest> argument = ArgumentCaptor.forClass(OofRequest.class);
+        verify(oofClient, times(1)).postDemands(argument.capture());
+        JSONAssert.assertEquals(request, argument.getValue().toJsonString(), false);
+    }
+
+    @Test
+    public void testCallOof_success_3Allotteds() throws BadResponseException, JsonProcessingException {
+        beforeAllottedResource();
+
+        wireMockServer.stubFor(post(urlEqualTo("/api/oof/v1/placement")).willReturn(
+                aResponse().withStatus(200).withHeader("Content-Type", "application/json").withBody(mockResponse)));
+
+        oofHoming.callOof(execution);
+
+        String request = readResourceFile(RESOURCE_PATH + "oofRequest3Ar.json");
+        request = request.replace("28080", wireMockPort);
+
+        ArgumentCaptor<OofRequest> argument = ArgumentCaptor.forClass(OofRequest.class);
+        verify(oofClient, times(1)).postDemands(argument.capture());
+        JSONAssert.assertEquals(request, argument.getValue().toJsonString(), false);
+    }
+
+    @Test
+    public void testCallOof_success_1Vnf() throws JsonProcessingException, BadResponseException {
+        beforeVnf();
+
+        wireMockServer.stubFor(post(urlEqualTo("/api/oof/v1/placement")).willReturn(
+                aResponse().withStatus(200).withHeader("Content-Type", "application/json").withBody(mockResponse)));
+
+        oofHoming.callOof(execution);
+
+        ArgumentCaptor<OofRequest> argument = ArgumentCaptor.forClass(OofRequest.class);
+        verify(oofClient, times(1)).postDemands(argument.capture());
+        // TODO assertEquals(request, argument.getValue().toJsonString());
+    }
+
+    @Test
+    public void testCallOof_success_3Allotteds1Vnf() throws JsonProcessingException, BadResponseException {
+        beforeAllottedResource();
+        beforeVnf();
+
+        wireMockServer.stubFor(post(urlEqualTo("/api/oof/v1/placement")).willReturn(
+                aResponse().withStatus(200).withHeader("Content-Type", "application/json").withBody(mockResponse)));
+
+        oofHoming.callOof(execution);
+
+        verify(oofClient, times(1)).postDemands(isA(OofRequest.class));
+    }
+
+    @Test
+    public void testProcessSolution_success_1VpnLink_1Solution() {
+        beforeVpnBondingLink("1");
+
+        JSONObject asyncResponse = new JSONObject();
+        asyncResponse.put("transactionId", "transactionId").put("requestId", "testRequestId").put("requestState",
+                "completed");
+        JSONArray solution1 = new JSONArray();
+        solution1.put(new JSONObject().put("serviceResourceId", "testProxyId1")
+                .put("solution",
+                        new JSONObject().put("identifierType", "serviceInstanceId").put("identifiers",
+                                new JSONArray().put("testServiceInstanceId1")))
+                .put("assignmentInfo",
+                        new JSONArray().put(new JSONObject().put("key", "isRehome").put("value", "False"))
+                                .put(new JSONObject().put("key", "cloudOwner").put("value", "aic"))
+                                .put(new JSONObject().put("key", "vnfHostName").put("value", "testVnfHostName1"))
+                                .put(new JSONObject().put("key", "aicClli").put("value", "testAicClli1"))
+                                .put(new JSONObject().put("key", "aicVersion").put("value", "3"))
+                                .put(new JSONObject().put("key", "vnfId").put("value", "testVnfId1"))
+                                .put(new JSONObject().put("key", "cloudRegionId").put("value", "testSloudRegionId1"))));
+        solution1.put(new JSONObject().put("serviceResourceId", "testProxyId2")
+                .put("solution",
+                        new JSONObject().put("identifierType", "serviceInstanceId").put("identifiers",
+                                new JSONArray().put("testServiceInstanceId2")))
+                .put("assignmentInfo",
+                        new JSONArray().put(new JSONObject().put("key", "isRehome").put("value", "False"))
+                                .put(new JSONObject().put("key", "cloudOwner").put("value", "aic"))
+                                .put(new JSONObject().put("key", "primaryPnfName").put("value", "testPrimaryPnfName2"))
+                                .put(new JSONObject().put("key", "aicClli").put("value", "testAicClli2"))
+                                .put(new JSONObject().put("key", "aicVersion").put("value", "3"))
+                                .put(new JSONObject().put("key", "secondaryPnfName").put("value",
+                                        "testSecondaryPnfName2"))
+                                .put(new JSONObject().put("key", "cloudRegionId").put("value", "testSloudRegionId2"))));
+
+        asyncResponse.put("solutions", new JSONObject().put("placementSolutions", new JSONArray().put(solution1))
+                .put("licenseSolutions", new JSONArray()));
+
+        oofHoming.processSolution(execution, asyncResponse.toString());
+
+        ServiceInstance si =
+                execution.getGeneralBuildingBlock().getCustomer().getServiceSubscription().getServiceInstances().get(0);
+
+        assertFalse(si.getVpnBondingLinks().isEmpty());
+        VpnBondingLink link = si.getVpnBondingLinks().get(0);
+        assertNotNull(link);
+        assertFalse(link.getServiceProxies().isEmpty());
+
+        assertEquals("testServiceInstanceId1",
+                link.getServiceProxy("testProxyId1").getServiceInstance().getServiceInstanceId());
+        assertNotNull(link.getServiceProxy("testProxyId1").getServiceInstance().getSolutionInfo());
+        assertEquals("testVnfHostName1",
+                link.getServiceProxy("testProxyId1").getServiceInstance().getVnfs().get(0).getVnfName());
+
+        assertEquals("testServiceInstanceId2",
+                link.getServiceProxy("testProxyId2").getServiceInstance().getServiceInstanceId());
+        assertNotNull(link.getServiceProxy("testProxyId2").getServiceInstance().getSolutionInfo());
+        assertFalse(link.getServiceProxy("testProxyId2").getServiceInstance().getPnfs().isEmpty());
+        assertEquals("testPrimaryPnfName2",
+                link.getServiceProxy("testProxyId2").getServiceInstance().getPnfs().get(0).getPnfName());
+        assertEquals("primary", link.getServiceProxy("testProxyId2").getServiceInstance().getPnfs().get(0).getRole());
+        assertEquals("testSecondaryPnfName2",
+                link.getServiceProxy("testProxyId2").getServiceInstance().getPnfs().get(1).getPnfName());
+        assertEquals("secondary", link.getServiceProxy("testProxyId2").getServiceInstance().getPnfs().get(1).getRole());
+    }
+
+    @Test
+    public void testProcessSolution_success_1VpnLink_2Solutions() {
+        beforeVpnBondingLink("1");
+
+        JSONObject asyncResponse = new JSONObject();
+        asyncResponse.put("transactionId", "transactionId").put("requestId", "testRequestId").put("requestState",
+                "completed");
+        JSONArray solution1 = new JSONArray();
+        solution1.put(new JSONObject().put("serviceResourceId", "testProxyId1")
+                .put("solution",
+                        new JSONObject().put("identifierType", "serviceInstanceId").put("identifiers",
+                                new JSONArray().put("testServiceInstanceId1")))
+                .put("assignmentInfo",
+                        new JSONArray().put(new JSONObject().put("key", "isRehome").put("value", "False"))
+                                .put(new JSONObject().put("key", "cloudOwner").put("value", "aic"))
+                                .put(new JSONObject().put("key", "vnfHostName").put("value", "testVnfHostName1"))
+                                .put(new JSONObject().put("key", "aicClli").put("value", "testAicClli1"))
+                                .put(new JSONObject().put("key", "aicVersion").put("value", "3"))
+                                .put(new JSONObject().put("key", "vnfId").put("value", "testVnfId1"))
+                                .put(new JSONObject().put("key", "cloudRegionId").put("value", "testSloudRegionId1"))));
+        solution1.put(new JSONObject().put("serviceResourceId", "testProxyId2")
+                .put("solution",
+                        new JSONObject().put("identifierType", "serviceInstanceId").put("identifiers",
+                                new JSONArray().put("testServiceInstanceId2")))
+                .put("assignmentInfo",
+                        new JSONArray().put(new JSONObject().put("key", "isRehome").put("value", "False"))
+                                .put(new JSONObject().put("key", "cloudOwner").put("value", "aic"))
+                                .put(new JSONObject().put("key", "primaryPnfName").put("value", "testPrimaryPnfName2"))
+                                .put(new JSONObject().put("key", "aicClli").put("value", "testAicClli2"))
+                                .put(new JSONObject().put("key", "aicVersion").put("value", "3"))
+                                .put(new JSONObject().put("key", "secondaryPnfName").put("value",
+                                        "testSecondaryPnfName2"))
+                                .put(new JSONObject().put("key", "cloudRegionId").put("value", "testSloudRegionId2"))));
+
+        JSONArray solution2 = new JSONArray();
+        solution2.put(new JSONObject().put("serviceResourceId", "testProxyId1")
+                .put("solution",
+                        new JSONObject().put("identifierType", "serviceInstanceId").put("identifiers",
+                                new JSONArray().put("testServiceInstanceId3")))
+                .put("assignmentInfo",
+                        new JSONArray().put(new JSONObject().put("key", "isRehome").put("value", "False"))
+                                .put(new JSONObject().put("key", "cloudOwner").put("value", "aic"))
+                                .put(new JSONObject().put("key", "vnfHostName").put("value", "testVnfHostName3"))
+                                .put(new JSONObject().put("key", "aicClli").put("value", "testAicClli3"))
+                                .put(new JSONObject().put("key", "aicVersion").put("value", "3"))
+                                .put(new JSONObject().put("key", "vnfId").put("value", "testVnfId3"))
+                                .put(new JSONObject().put("key", "cloudRegionId").put("value", "testSloudRegionId3"))));
+        solution2.put(new JSONObject().put("serviceResourceId", "testProxyId2")
+                .put("solution",
+                        new JSONObject().put("identifierType", "serviceInstanceId").put("identifiers",
+                                new JSONArray().put("testServiceInstanceId4")))
+                .put("assignmentInfo",
+                        new JSONArray().put(new JSONObject().put("key", "isRehome").put("value", "False"))
+                                .put(new JSONObject().put("key", "cloudOwner").put("value", "aic"))
+                                .put(new JSONObject().put("key", "primaryPnfName").put("value", "testPrimaryPnfName4"))
+                                .put(new JSONObject().put("key", "aicClli").put("value", "testAicClli4"))
+                                .put(new JSONObject().put("key", "aicVersion").put("value", "3"))
+                                .put(new JSONObject().put("key", "secondaryPnfName").put("value",
+                                        "testSecondaryPnfName4"))
+                                .put(new JSONObject().put("key", "cloudRegionId").put("value", "testSloudRegionId4"))));
+
+        asyncResponse.put("solutions",
+                new JSONObject().put("placementSolutions", new JSONArray().put(solution1).put(solution2))
+                        .put("licenseSolutions", new JSONArray()));
+
+        oofHoming.processSolution(execution, asyncResponse.toString());
+
+        ServiceInstance si =
+                execution.getGeneralBuildingBlock().getCustomer().getServiceSubscription().getServiceInstances().get(0);
+
+        assertFalse(si.getVpnBondingLinks().isEmpty());
+        VpnBondingLink link = si.getVpnBondingLinks().get(0);
+        VpnBondingLink link2 = si.getVpnBondingLinks().get(1);
+        assertNotNull(link);
+        assertFalse(link.getServiceProxies().isEmpty());
+
+        assertEquals("testServiceInstanceId1",
+                link.getServiceProxy("testProxyId1").getServiceInstance().getServiceInstanceId());
+        assertNotNull(link.getServiceProxy("testProxyId1").getServiceInstance().getSolutionInfo());
+        assertEquals("testVnfHostName1",
+                link.getServiceProxy("testProxyId1").getServiceInstance().getVnfs().get(0).getVnfName());
+
+        assertEquals("testServiceInstanceId2",
+                link.getServiceProxy("testProxyId2").getServiceInstance().getServiceInstanceId());
+        assertNotNull(link.getServiceProxy("testProxyId2").getServiceInstance().getSolutionInfo());
+        assertFalse(link.getServiceProxy("testProxyId2").getServiceInstance().getPnfs().isEmpty());
+        assertEquals("testPrimaryPnfName2",
+                link.getServiceProxy("testProxyId2").getServiceInstance().getPnfs().get(0).getPnfName());
+        assertEquals("primary", link.getServiceProxy("testProxyId2").getServiceInstance().getPnfs().get(0).getRole());
+        assertEquals("testSecondaryPnfName2",
+                link.getServiceProxy("testProxyId2").getServiceInstance().getPnfs().get(1).getPnfName());
+        assertEquals("secondary", link.getServiceProxy("testProxyId2").getServiceInstance().getPnfs().get(1).getRole());
+
+        assertNotNull(link2);
+        assertFalse(link2.getServiceProxies().isEmpty());
+
+        assertEquals("testServiceInstanceId3",
+                link2.getServiceProxy("testProxyId1").getServiceInstance().getServiceInstanceId());
+        assertNotNull(link2.getServiceProxy("testProxyId1").getServiceInstance().getSolutionInfo());
+        assertEquals("testVnfHostName3",
+                link2.getServiceProxy("testProxyId1").getServiceInstance().getVnfs().get(0).getVnfName());
+
+        assertEquals("testServiceInstanceId4",
+                link2.getServiceProxy("testProxyId2").getServiceInstance().getServiceInstanceId());
+        assertNotNull(link2.getServiceProxy("testProxyId2").getServiceInstance().getSolutionInfo());
+        assertFalse(link2.getServiceProxy("testProxyId2").getServiceInstance().getPnfs().isEmpty());
+        assertEquals("testPrimaryPnfName4",
+                link2.getServiceProxy("testProxyId2").getServiceInstance().getPnfs().get(0).getPnfName());
+        assertEquals("primary", link2.getServiceProxy("testProxyId2").getServiceInstance().getPnfs().get(0).getRole());
+        assertEquals("testSecondaryPnfName4",
+                link2.getServiceProxy("testProxyId2").getServiceInstance().getPnfs().get(1).getPnfName());
+        assertEquals("secondary",
+                link2.getServiceProxy("testProxyId2").getServiceInstance().getPnfs().get(1).getRole());
+
+    }
+
+    @Test
+    public void testProcessSolution_success_3VpnLink_2Solutions() {
+        // TODO
+    }
+
+    @Test
+    public void testProcessSolution_success_3Allotteds_1Solution() {
+        beforeAllottedResource();
+
+        JSONObject asyncResponse = new JSONObject();
+        asyncResponse.put("transactionId", "transactionId").put("requestId", "testRequestId").put("requestState",
+                "completed");
+        JSONArray solution1 = new JSONArray();
+        solution1.put(new JSONObject().put("serviceResourceId", "testAllottedResourceId1")
+                .put("solution",
+                        new JSONObject().put("identifierType", "serviceInstanceId").put("identifiers",
+                                new JSONArray().put("testServiceInstanceId1")))
+                .put("assignmentInfo",
+                        new JSONArray().put(new JSONObject().put("key", "isRehome").put("value", "True"))
+                                .put(new JSONObject().put("key", "cloudOwner").put("value", "aic"))
+                                .put(new JSONObject().put("key", "vnfHostName").put("value", "testVnfHostName1"))
+                                .put(new JSONObject().put("key", "aicClli").put("value", "testAicClli1"))
+                                .put(new JSONObject().put("key", "aicVersion").put("value", "3"))
+                                .put(new JSONObject().put("key", "vnfId").put("value", "testVnfId1"))
+                                .put(new JSONObject().put("key", "cloudRegionId").put("value", "testCloudRegionId1"))));
+        solution1.put(new JSONObject().put("serviceResourceId", "testAllottedResourceId2")
+                .put("solution",
+                        new JSONObject().put("identifierType", "serviceInstanceId").put("identifiers",
+                                new JSONArray().put("testServiceInstanceId2")))
+                .put("assignmentInfo",
+                        new JSONArray().put(new JSONObject().put("key", "isRehome").put("value", "True"))
+                                .put(new JSONObject().put("key", "cloudOwner").put("value", "aic"))
+                                .put(new JSONObject().put("key", "vnfHostName").put("value", "testVnfHostName2"))
+                                .put(new JSONObject().put("key", "aicClli").put("value", "testAicClli2"))
+                                .put(new JSONObject().put("key", "aicVersion").put("value", "3"))
+                                .put(new JSONObject().put("key", "vnfId").put("value", "testVnfId1"))
+                                .put(new JSONObject().put("key", "cloudRegionId").put("value", "testCloudRegionId2"))));
+        solution1.put(new JSONObject().put("serviceResourceId", "testAllottedResourceId3")
+                .put("solution",
+                        new JSONObject().put("identifierType", "cloudRegionId").put("identifiers",
+                                new JSONArray().put("testCloudRegionId3")))
+                .put("assignmentInfo",
+                        new JSONArray().put(new JSONObject().put("key", "isRehome").put("value", "True"))
+                                .put(new JSONObject().put("key", "cloudOwner").put("value", "aic"))
+                                .put(new JSONObject().put("key", "aicClli").put("value", "testAicClli2"))
+                                .put(new JSONObject().put("key", "aicVersion").put("value", "3"))));
+
+        asyncResponse.put("solutions", new JSONObject().put("placementSolutions", new JSONArray().put(solution1))
+                .put("licenseSolutions", new JSONArray()));
+
+        oofHoming.processSolution(execution, asyncResponse.toString());
+
+        ServiceInstance si =
+                execution.getGeneralBuildingBlock().getCustomer().getServiceSubscription().getServiceInstances().get(0);
+
+        assertFalse(si.getAllottedResources().isEmpty());
+        AllottedResource ar = si.getAllottedResources().get(0);
+        assertNotNull(ar);
+        assertEquals("testServiceInstanceId1", ar.getParentServiceInstance().getServiceInstanceId());
+        assertNotNull(ar.getParentServiceInstance().getSolutionInfo());
+        assertEquals("testVnfHostName1", ar.getParentServiceInstance().getVnfs().get(0).getVnfName());
+
+        AllottedResource ar2 = si.getAllottedResources().get(1);
+        assertNotNull(ar2);
+        assertEquals("testServiceInstanceId2", ar2.getParentServiceInstance().getServiceInstanceId());
+        assertNotNull(ar2.getParentServiceInstance().getSolutionInfo());
+        assertEquals("testVnfHostName2", ar2.getParentServiceInstance().getVnfs().get(0).getVnfName());
+
+        AllottedResource ar3 = si.getAllottedResources().get(2);
+        assertNotNull(ar3);
+        assertNotNull(ar3.getParentServiceInstance().getSolutionInfo());
+        assertEquals("testCloudRegionId3",
+                ar3.getParentServiceInstance().getSolutionInfo().getTargetedCloudRegion().getLcpCloudRegionId());
+    }
+
+    @Test
+    public void testProcessSolution_success_3Allotteds1Vnf_1Solution() {
+        beforeVnf();
+        beforeAllottedResource();
+
+        JSONObject asyncResponse = new JSONObject();
+        asyncResponse.put("transactionId", "transactionId").put("requestId", "testRequestId").put("requestState",
+                "completed");
+        JSONArray solution1 = new JSONArray();
+        JSONArray licenseSolution = new JSONArray();
+        solution1.put(new JSONObject().put("serviceResourceId", "testAllottedResourceId1")
+                .put("solution",
+                        new JSONObject().put("identifierType", "serviceInstanceId").put("identifiers",
+                                new JSONArray().put("testServiceInstanceId1")))
+                .put("assignmentInfo",
+                        new JSONArray().put(new JSONObject().put("key", "isRehome").put("value", "True"))
+                                .put(new JSONObject().put("key", "cloudOwner").put("value", "aic"))
+                                .put(new JSONObject().put("key", "vnfHostName").put("value", "testVnfHostName1"))
+                                .put(new JSONObject().put("key", "aicClli").put("value", "testAicClli1"))
+                                .put(new JSONObject().put("key", "aicVersion").put("value", "3"))
+                                .put(new JSONObject().put("key", "vnfId").put("value", "testVnfId1"))
+                                .put(new JSONObject().put("key", "cloudRegionId").put("value", "testCloudRegionId1"))));
+        solution1.put(new JSONObject().put("serviceResourceId", "testAllottedResourceId2")
+                .put("solution",
+                        new JSONObject().put("identifierType", "serviceInstanceId").put("identifiers",
+                                new JSONArray().put("testServiceInstanceId2")))
+                .put("assignmentInfo",
+                        new JSONArray().put(new JSONObject().put("key", "isRehome").put("value", "True"))
+                                .put(new JSONObject().put("key", "cloudOwner").put("value", "aic"))
+                                .put(new JSONObject().put("key", "vnfHostName").put("value", "testVnfHostName2"))
+                                .put(new JSONObject().put("key", "aicClli").put("value", "testAicClli2"))
+                                .put(new JSONObject().put("key", "aicVersion").put("value", "3"))
+                                .put(new JSONObject().put("key", "vnfId").put("value", "testVnfId1"))
+                                .put(new JSONObject().put("key", "cloudRegionId").put("value", "testCloudRegionId2"))));
+        solution1.put(new JSONObject().put("serviceResourceId", "testAllottedResourceId3")
+                .put("solution",
+                        new JSONObject().put("identifierType", "cloudRegionId").put("identifiers",
+                                new JSONArray().put("testCloudRegionId3")))
+                .put("assignmentInfo",
+                        new JSONArray().put(new JSONObject().put("key", "isRehome").put("value", "True"))
+                                .put(new JSONObject().put("key", "cloudOwner").put("value", "aic"))
+                                .put(new JSONObject().put("key", "aicClli").put("value", "testAicClli2"))
+                                .put(new JSONObject().put("key", "aicVersion").put("value", "3"))));
+
+        licenseSolution.put(new JSONObject().put("serviceResourceId", "testVnfId1")
+                .put("entitlementPoolUUID",
+                        new JSONArray().put("f1d563e8-e714-4393-8f99-cc480144a05e")
+                                .put("j1d563e8-e714-4393-8f99-cc480144a05e"))
+                .put("licenseKeyGroupUUID", new JSONArray().put("s1d563e8-e714-4393-8f99-cc480144a05e")
+                        .put("b1d563e8-e714-4393-8f99-cc480144a05e")));
+
+        asyncResponse.put("solutions", new JSONObject().put("placementSolutions", new JSONArray().put(solution1))
+                .put("licenseSolutions", licenseSolution));
+
+        oofHoming.processSolution(execution, asyncResponse.toString());
+
+        ServiceInstance si =
+                execution.getGeneralBuildingBlock().getCustomer().getServiceSubscription().getServiceInstances().get(0);
+
+        assertFalse(si.getAllottedResources().isEmpty());
+        AllottedResource ar = si.getAllottedResources().get(0);
+        assertNotNull(ar);
+        assertEquals("testServiceInstanceId1", ar.getParentServiceInstance().getServiceInstanceId());
+        assertNotNull(ar.getParentServiceInstance().getSolutionInfo());
+        assertEquals("testVnfHostName1", ar.getParentServiceInstance().getVnfs().get(0).getVnfName());
+
+        AllottedResource ar2 = si.getAllottedResources().get(1);
+        assertNotNull(ar2);
+        assertEquals("testServiceInstanceId2", ar2.getParentServiceInstance().getServiceInstanceId());
+        assertNotNull(ar2.getParentServiceInstance().getSolutionInfo());
+        assertEquals("testVnfHostName2", ar2.getParentServiceInstance().getVnfs().get(0).getVnfName());
+
+        AllottedResource ar3 = si.getAllottedResources().get(2);
+        assertNotNull(ar3);
+        assertNotNull(ar3.getParentServiceInstance().getSolutionInfo());
+        assertEquals("testCloudRegionId3",
+                ar3.getParentServiceInstance().getSolutionInfo().getTargetedCloudRegion().getLcpCloudRegionId());
+
+        GenericVnf vnf = si.getVnfs().get(0);
+        assertNotNull(vnf);
+        assertNotNull(vnf.getLicense());
+        assertEquals(2, vnf.getLicense().getEntitlementPoolUuids().size());
+        assertEquals("s1d563e8-e714-4393-8f99-cc480144a05e", vnf.getLicense().getLicenseKeyGroupUuids().get(0));
+
+    }
+
+    @Test
+    public void testProcessSolution_success_1Vnf_1Solution() {
+        beforeVnf();
+
+        JSONObject asyncResponse = new JSONObject();
+        asyncResponse.put("transactionId", "transactionId").put("requestId", "testRequestId").put("requestState",
+                "completed");
+        JSONArray licenseSolution = new JSONArray();
+
+        licenseSolution.put(new JSONObject().put("serviceResourceId", "testVnfId1")
+                .put("entitlementPoolUUID",
+                        new JSONArray().put("f1d563e8-e714-4393-8f99-cc480144a05e")
+                                .put("j1d563e8-e714-4393-8f99-cc480144a05e"))
+                .put("licenseKeyGroupUUID", new JSONArray().put("s1d563e8-e714-4393-8f99-cc480144a05e")
+                        .put("b1d563e8-e714-4393-8f99-cc480144a05e")));
+
+        asyncResponse.put("solutions", new JSONObject().put("licenseSolutions", licenseSolution));
+
+        oofHoming.processSolution(execution, asyncResponse.toString());
+
+        ServiceInstance si =
+                execution.getGeneralBuildingBlock().getCustomer().getServiceSubscription().getServiceInstances().get(0);
+
+        GenericVnf vnf = si.getVnfs().get(0);
+        assertNotNull(vnf);
+        assertNotNull(vnf.getLicense());
+        assertEquals(2, vnf.getLicense().getEntitlementPoolUuids().size());
+        assertEquals(2, vnf.getLicense().getLicenseKeyGroupUuids().size());
+        assertEquals("f1d563e8-e714-4393-8f99-cc480144a05e", vnf.getLicense().getEntitlementPoolUuids().get(0));
+        assertEquals("s1d563e8-e714-4393-8f99-cc480144a05e", vnf.getLicense().getLicenseKeyGroupUuids().get(0));
+
+
+    }
+
+    @Test(expected = BpmnError.class)
+    public void testCallOof_error_0Resources() throws BadResponseException, JsonProcessingException {
+
+        oofHoming.callOof(execution);
+
+        verify(oofClient, times(0)).postDemands(isA(OofRequest.class));
+    }
+
+    @Test(expected = BpmnError.class)
+    public void testCallOof_error_badResponse() throws BadResponseException, JsonProcessingException {
+        beforeAllottedResource();
+
+        mockResponse =
+                "{\"transactionId\": \"123456789\", \"requestId\": \"1234\", \"statusMessage\": \"\", \"requestStatus\": \"failed\"}";
+        wireMockServer.stubFor(post(urlEqualTo("/api/oof/v1/placement")).willReturn(
+                aResponse().withStatus(200).withHeader("Content-Type", "application/json").withBody(mockResponse)));
+
+        oofHoming.callOof(execution);
+
+        verify(oofClient, times(1)).postDemands(isA(OofRequest.class));
+    }
+
+}
index ce7d557..3ae0db6 100644 (file)
@@ -27,6 +27,7 @@ import static org.junit.Assert.assertEquals;
 import org.junit.Test;
 import org.onap.so.BaseIntegrationTest;
 import org.onap.so.client.exception.BadResponseException;
+import org.onap.so.client.oof.beans.LicenseInfo;
 import org.onap.so.client.oof.beans.ModelInfo;
 import org.onap.so.client.oof.beans.OofRequest;
 import org.onap.so.client.oof.beans.OofRequestParameters;
@@ -36,6 +37,7 @@ import org.onap.so.client.oof.beans.RequestInfo;
 import org.onap.so.client.oof.beans.ResourceModelInfo;
 import org.onap.so.client.oof.beans.ServiceInfo;
 import org.onap.so.client.oof.beans.SubscriberInfo;
+import org.skyscreamer.jsonassert.JSONAssert;
 import org.springframework.beans.factory.annotation.Autowired;
 import com.fasterxml.jackson.core.JsonProcessingException;
 import java.util.ArrayList;
@@ -114,7 +116,7 @@ public class OofClientTestIT extends BaseIntegrationTest {
         oofRequest.setRequestInformation(requestInfo);
         oofRequest.setPlacementInformation(placementInfo);
         oofRequest.setServiceInformation(serviceInfo);
-        oofRequest.setLicenseInformation("");
+        oofRequest.setLicenseInformation(new LicenseInfo());
 
         wireMockServer.stubFor(post(urlEqualTo("/api/oof/v1/placement")).willReturn(
                 aResponse().withStatus(200).withHeader("Content-Type", "application/json").withBody(mockResponse)));
@@ -122,7 +124,7 @@ public class OofClientTestIT extends BaseIntegrationTest {
         client.postDemands(oofRequest);
 
         String oofRequestOutput = oofRequest.toJsonString();
-        assertEquals("{\n" + "  \"requestInfo\" : {\n" + "    \"transactionId\" : \"transactionId\",\n"
+        JSONAssert.assertEquals("{\n" + "  \"requestInfo\" : {\n" + "    \"transactionId\" : \"transactionId\",\n"
                 + "    \"requestId\" : \"requestId\",\n" + "    \"callbackUrl\" : \"callBackUrl\",\n"
                 + "    \"sourceId\" : \"sourceId\",\n" + "    \"requestType\" : \"requestType\",\n"
                 + "    \"numSolutions\" : 1,\n" + "    \"optimizers\" : [ \"optimizer1\", \"optimizer2\" ],\n"
@@ -147,7 +149,8 @@ public class OofClientTestIT extends BaseIntegrationTest {
                 + "        \"modelInvariantId\" : \"invarianteId\",\n" + "        \"modelVersionId\" : \"versionId\",\n"
                 + "        \"modelName\" : \"modelName\",\n" + "        \"modelVersion\" : \"version\",\n"
                 + "        \"modelCustomizationName\" : \"modelCustomizationName\"\n" + "      }\n" + "    } ]\n"
-                + "  },\n" + "  \"licenseInfo\" : \"\"\n" + "}", oofRequestOutput);
+                + "  },\n" + "  \"licenseInfo\" : { \n" + "    \"licenseDemands\" : [ ]\n" + "}\n" + "}",
+                oofRequestOutput, false);
     }
 
     @Test
diff --git a/bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/OofHoming/oofRequest1Vpn.json b/bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/OofHoming/oofRequest1Vpn.json
new file mode 100644 (file)
index 0000000..99ce7fb
--- /dev/null
@@ -0,0 +1,58 @@
+{
+  "requestInfo":{
+    "transactionId":"requestId",
+    "requestId":"requestId",
+    "callbackUrl":"http://localhost:28080/mso/WorkflowMesssage/OofResponse/requestId",
+    "sourceId":"mso",
+    "requestType":"create",
+    "numSolutions":1,
+    "optimizers":[ "placement" ],
+    "timeout":1800
+  },
+  "serviceInfo":{
+    "serviceInstanceId":"testServiceInstanceId1",
+    "serviceName":"testServiceType1",
+    "modelInfo":{
+      "modelInvariantId":"testModelInvariantUUID1",
+      "modelVersionId":"testModelUUID1",
+      "modelName":"testModelName1",
+      "modelVersion":"testModelVersion1"
+    }
+  },
+  "placementInfo":{
+    "requestParameters":{
+      "customerLatitude":"customerLatitude",
+      "customerLongitude":"customerLongitude",
+      "customerName":"testCustomerName"
+    },
+    "subscriberInfo":{
+      "globalSubscriberId":"testCustomerId",
+      "subscriberName":"testCustomerName"
+    },
+    "placementDemands":[
+      {
+        "resourceModuleName":"testProxyInstanceName1",
+        "serviceResourceId":"testProxyId1",
+        "resourceModelInfo":{
+          "modelInvariantId":"testProxyModelInvariantUuid1",
+          "modelVersionId":"testProxyModelUuid1",
+          "modelName":"testProxyModelName1",
+          "modelVersion":"testProxyModelVersion1"
+        }
+      },
+      {
+        "resourceModuleName":"testProxyInstanceName2",
+        "serviceResourceId":"testProxyId2",
+        "resourceModelInfo":{
+          "modelInvariantId":"testProxyModelInvariantUuid2",
+          "modelVersionId":"testProxyModelUuid2",
+          "modelName":"testProxyModelName2",
+          "modelVersion":"testProxyModelVersion2"
+        }
+      }
+    ]
+  },
+  "licenseInfo":{
+    "licenseDemands" : [ ]
+  }
+}
diff --git a/bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/OofHoming/oofRequest1VpnOpt.json b/bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/OofHoming/oofRequest1VpnOpt.json
new file mode 100644 (file)
index 0000000..d149b32
--- /dev/null
@@ -0,0 +1,61 @@
+{
+  "requestInfo" : {
+    "transactionId" : "requestId",
+    "requestId" : "requestId",
+    "callbackUrl" : "http://localhost:28080/mso/WorkflowMesssage/OofResponse/requestId",
+    "sourceId" : "mso",
+    "requestType" : "create",
+    "numSolutions" : 1,
+    "optimizers" : [ "placement" ],
+    "timeout" : 1800
+  },
+  "serviceInfo" : {
+    "serviceInstanceId" : "serviceInstanceId",
+    "serviceName" : "serviceName",
+    "modelInfo" : {
+      "modelType" : "modelType-Service",
+      "modelInvariantId" : "modelInvariantId-Service",
+      "modelVersionId" : "modelVersionId-Service",
+      "modelName" : "modelName-Service",
+      "modelVersion" : "modelVersion-Service",
+      "modelCustomizationName" : "modelCustomizationName-Service"
+    }
+  },
+  "placementInfo" : {
+    "requestParameters" : {
+      "customerLatitude" : "customerLatitude",
+      "customerLongitude" : "customerLongitude",
+      "customerName" : "customerName"
+    },
+    "subscriberInfo" : {
+      "globalSubscriberId" : "globalSubscriberId",
+      "subscriberName" : "subscriberName"
+    },
+    "placementDemands" : [ {
+      "serviceResourceId" : "testProxyId1",
+      "resourceModuleName" : "testProxyInstanceName1",
+      "resourceModelInfo" : {
+        "modelName" : "testProxyModelName1",
+        "modelVersionId" : "testProxyModelUuid1",
+        "modelVersion" : "testProxyModelVersion1",
+        "modelInvariantId" : "testProxyModelInvariantUuid1"
+      }
+    }, {
+      "serviceResourceId" : "testProxyId2",
+      "resourceModuleName" : "testProxyInstanceName2",
+      "resourceModelInfo" : {
+        "modelName" : "testProxyModelName2",
+        "modelVersionId" : "testProxyModelUuid2",
+        "modelVersion" : "testProxyModelVersion2",
+        "modelInvariantId" : "testProxyModelInvariantUuid2"
+      },
+      "requiredCandidates" : [ {
+        "identifierType" : "vnfId",
+        "identifiers" : [ "testVnfId" ]
+      } ]
+    } ]
+  },
+  "licenseInfo" : {
+    "licenseDemands" : [ ]
+  }
+}
diff --git a/bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/OofHoming/oofRequest3Ar.json b/bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/OofHoming/oofRequest3Ar.json
new file mode 100644 (file)
index 0000000..9b251aa
--- /dev/null
@@ -0,0 +1,67 @@
+{
+  "requestInfo" : {
+    "transactionId" : "requestId",
+    "requestId" : "requestId",
+    "callbackUrl" : "http://localhost:28080/mso/WorkflowMesssage/OofResponse/requestId",
+    "sourceId" : "mso",
+    "requestType" : "create",
+    "numSolutions" : 1,
+    "optimizers" : [ "placement" ],
+    "timeout" : 1800
+  },
+  "serviceInfo" : {
+    "serviceInstanceId" : "testServiceInstanceId1",
+    "serviceName" : "testServiceType1",
+    "modelInfo" : {
+      "modelInvariantId" : "testModelInvariantUUID1",
+      "modelVersionId" : "testModelUUID1",
+      "modelName" : "testModelName1",
+      "modelVersion" : "testModelVersion1"
+    }
+  },
+  "placementInfo" : {
+    "requestParameters": {
+      "customerLatitude": "customerLatitude",
+      "customerLongitude": "customerLongitude",
+      "customerName": "testCustomerName"
+    },
+    "subscriberInfo": {
+      "globalSubscriberId" : "testCustomerId",
+      "subscriberName" : "testCustomerName"
+    },
+    "placementDemands": [
+      {
+        "serviceResourceId": "testAllottedResourceId1",
+        "resourceModuleName": "testAllottedModelInstanceName1",
+        "resourceModelInfo": {
+          "modelName": "testAllottedModelName1",
+          "modelVersionId": "testAllottedModelUuid1",
+          "modelVersion": "testAllottedModelVersion1",
+          "modelInvariantId": "testAllottedModelInvariantUuid1"
+        }
+      },
+      {
+        "serviceResourceId": "testAllottedResourceId2",
+        "resourceModuleName": "testAllottedModelInstanceName2",
+        "resourceModelInfo": {
+          "modelName": "testAllottedModelName2",
+          "modelVersionId": "testAllottedModelUuid2",
+          "modelVersion": "testAllottedModelVersion2",
+          "modelInvariantId": "testAllottedModelInvariantUuid2"
+        }
+      },
+      {
+        "serviceResourceId": "testAllottedResourceId3",
+        "resourceModuleName": "testAllottedModelInstanceName3",
+        "resourceModelInfo": {
+          "modelName": "testAllottedModelName3",
+          "modelVersionId": "testAllottedModelUuid3",
+          "modelVersion": "testAllottedModelVersion3",
+          "modelInvariantId": "testAllottedModelInvariantUuid3"
+        }
+      } ]
+  },
+  "licenseInfo" : {
+    "licenseDemands" : [ ]
+  }
+}
diff --git a/bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/OofHoming/oofRequest3Vpn.json b/bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/OofHoming/oofRequest3Vpn.json
new file mode 100644 (file)
index 0000000..e3a735d
--- /dev/null
@@ -0,0 +1,91 @@
+{
+  "requestInfo" : {
+    "transactionId" : "requestId",
+    "requestId" : "requestId",
+    "callbackUrl" : "http://localhost:28080/mso/WorkflowMesssage/OofResponse/requestId",
+    "sourceId" : "mso",
+    "requestType" : "create",
+    "numSolutions" : 1,
+    "optimizers" : [ "placement" ],
+    "timeout" : 1800
+  },
+  "serviceInfo" : {
+    "serviceInstanceId" : "testServiceInstanceId1",
+    "serviceName" : "testServiceType1",
+    "modelInfo":{
+      "modelInvariantId":"testModelInvariantUUID1",
+      "modelVersionId":"testModelUUID1",
+      "modelName":"testModelName1",
+      "modelVersion":"testModelVersion1"
+    }
+  },
+  "placementInfo" : {
+    "requestParameters" : {
+      "customerLatitude" : "customerLatitude",
+      "customerLongitude" : "customerLongitude",
+      "customerName" : "testCustomerName"
+    },
+    "subscriberInfo" : {
+      "globalSubscriberId" : "testCustomerId",
+      "subscriberName" : "testCustomerName"
+    },
+    "placementDemands" : [ {
+      "resourceModuleName" : "testProxyInstanceName1",
+      "serviceResourceId" : "testProxyId1",
+      "resourceModelInfo" : {
+        "modelInvariantId" : "testProxyModelInvariantUuid1",
+        "modelVersionId" : "testProxyModelUuid1",
+        "modelName" : "testProxyModelName1",
+        "modelVersion" : "testProxyModelVersion1"
+      }
+    }, {
+      "resourceModuleName" : "testProxyInstanceName2",
+      "serviceResourceId" : "testProxyId2",
+      "resourceModelInfo" : {
+        "modelInvariantId" : "testProxyModelInvariantUuid2",
+        "modelVersionId" : "testProxyModelUuid2",
+        "modelName" : "testProxyModelName2",
+        "modelVersion" : "testProxyModelVersion2"
+      }
+    }, {
+      "resourceModuleName" : "testProxyInstanceName1",
+      "serviceResourceId" : "testProxyId1",
+      "resourceModelInfo" : {
+        "modelInvariantId" : "testProxyModelInvariantUuid1",
+        "modelVersionId" : "testProxyModelUuid1",
+        "modelName" : "testProxyModelName1",
+        "modelVersion" : "testProxyModelVersion1"
+      }
+    }, {
+      "resourceModuleName" : "testProxyInstanceName2",
+      "serviceResourceId" : "testProxyId2",
+      "resourceModelInfo" : {
+        "modelInvariantId" : "testProxyModelInvariantUuid2",
+        "modelVersionId" : "testProxyModelUuid2",
+        "modelName" : "testProxyModelName2",
+        "modelVersion" : "testProxyModelVersion2"
+      }
+    }, {
+      "resourceModuleName" : "testProxyInstanceName1",
+      "serviceResourceId" : "testProxyId1",
+      "resourceModelInfo" : {
+        "modelInvariantId" : "testProxyModelInvariantUuid1",
+        "modelVersionId" : "testProxyModelUuid1",
+        "modelName" : "testProxyModelName1",
+        "modelVersion" : "testProxyModelVersion1"
+      }
+    }, {
+      "resourceModuleName" : "testProxyInstanceName2",
+      "serviceResourceId" : "testProxyId2",
+      "resourceModelInfo" : {
+        "modelInvariantId" : "testProxyModelInvariantUuid2",
+        "modelVersionId" : "testProxyModelUuid2",
+        "modelName" : "testProxyModelName2",
+        "modelVersion" : "testProxyModelVersion2"
+      }
+    } ]
+  },
+  "licenseInfo" : {
+    "licenseDemands" : [ ]
+  }
+}
index 6cef920..88a5001 100644 (file)
                                                                </assembly>
                                                        </build>
                                                </image>
+                                               <image>
+                                                       <name>${docker.image.prefix}/vnfm-simulator</name>
+                                                       <build>
+                                                               <cleanup>try</cleanup>
+                                                               <dockerFileDir>docker-files</dockerFileDir>
+                                                               <dockerFile>Dockerfile.so-app</dockerFile>
+                                                               <tags>
+                                                                       <tag>${project.version}</tag>
+                                                                       <tag>${project.version}-${maven.build.timestamp}</tag>
+                                                                       <tag>${project.docker.latesttag.version}</tag>
+                                                               </tags>
+                                                               <assembly>
+                                                                       <inline>
+                                                                               <dependencySets>
+                                                                                       <dependencySet>
+                                                                                               <includes>
+                                                                                                       <include>org.onap.so.vnfm:vnfm-service</include>
+                                                                                               </includes>
+                                                                                               <outputFileNameMapping>app.jar</outputFileNameMapping>
+                                                                                       </dependencySet>
+                                                                               </dependencySets>
+                                                                       </inline>
+                                                               </assembly>
+                                                       </build>
+                                               </image>
                                        </images>
                                </configuration>
 
                                                        <goal>push</goal>
                                                </goals>
                                                <configuration>
-                                                       <image>${docker.image.prefix}/catalog-db-adapter,${docker.image.prefix}/request-db-adapter,${docker.image.prefix}/sdnc-adapter,${docker.image.prefix}/openstack-adapter,${docker.image.prefix}/vfc-adapter,${docker.image.prefix}/sdc-controller,${docker.image.prefix}/bpmn-infra,${docker.image.prefix}/api-handler-infra,${docker.image.prefix}/so-monitoring</image>
+                                                       <image>${docker.image.prefix}/catalog-db-adapter,${docker.image.prefix}/request-db-adapter,${docker.image.prefix}/sdnc-adapter,${docker.image.prefix}/openstack-adapter,${docker.image.prefix}/vfc-adapter,${docker.image.prefix}/sdc-controller,${docker.image.prefix}/bpmn-infra,${docker.image.prefix}/api-handler-infra,${docker.image.prefix}/so-monitoring,${docker.image.prefix}/vnfm-simulator</image>
                                                </configuration>
                                        </execution>
                                </executions>
                        <artifactId>so-monitoring-service</artifactId>
                        <version>${project.version}</version>
                </dependency>
+               <dependency>
+                       <groupId>org.onap.so.vnfm</groupId>
+                       <artifactId>vnfm-service</artifactId>
+                       <version>${project.version}</version>
+               </dependency>
        </dependencies>
 </project>
index cb5586d..cb2f35b 100644 (file)
@@ -52,6 +52,10 @@ if [ ${APP} = "so-monitoring" ]; then
        ln -s ${LOG_PATH} MONITORING
 fi
 
+if [ ${APP} = "vnfm-simulator" ]; then
+       ln -s ${LOG_PATH} SIMULATOR
+fi
+
 if [ ${APP} = "openstack-adapter" ]; then
        export DISABLE_SNI="-Djsse.enableSNIExtension=false"
 fi
diff --git a/pom.xml b/pom.xml
index 88b3b8d..8a954e1 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -32,6 +32,7 @@
     <module>cloudify-client</module>
     <module>cxf-logging</module>
     <module>so-monitoring</module>
+    <module>vnfm-simulator</module>
     <module>packages</module>
   </modules>
   <properties>
           <skip />
         </configuration>
       </plugin>
-
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
diff --git a/vnfm-simulator/README.md b/vnfm-simulator/README.md
new file mode 100644 (file)
index 0000000..f03fc12
--- /dev/null
@@ -0,0 +1 @@
+check
diff --git a/vnfm-simulator/packages/docker/pom.xml b/vnfm-simulator/packages/docker/pom.xml
new file mode 100644 (file)
index 0000000..5d67d57
--- /dev/null
@@ -0,0 +1,168 @@
+<!-- ============LICENSE_START======================================================= 
+       Copyright (C) 2019 Nordix Foundation. ================================================================================ 
+       Licensed under the Apache License, Version 2.0 (the "License"); you may not 
+       use this file except in compliance with the License. You may obtain a copy 
+       of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
+       by applicable law or agreed to in writing, software distributed under the 
+       License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
+       OF ANY KIND, either express or implied. See the License for the specific 
+       language governing permissions and limitations under the License. SPDX-License-Identifier: 
+       Apache-2.0 ============LICENSE_END========================================================= -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+       <modelVersion>4.0.0</modelVersion>
+
+       <parent>
+               <groupId>org.onap.svnfm</groupId>
+               <artifactId>packages</artifactId>
+               <version>1.0.0-SNAPSHOT</version>
+       </parent>
+
+       <packaging>pom</packaging>
+       <artifactId>docker</artifactId>
+       <name>Docker Images</name>
+       <description>Docker Images</description>
+
+       <properties>
+               <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+               <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+               <svnfm.project.version>${project.version}</svnfm.project.version>
+               <docker.skip>false</docker.skip>
+               <docker.skip.build>false</docker.skip.build>
+               <docker.skip.push>false</docker.skip.push>
+               <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
+               <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
+               <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
+       </properties>
+
+       <build>
+               <finalName>${project.artifactId}-${project.version}</finalName>
+               <plugins>
+                       <plugin>
+                               <groupId>org.codehaus.groovy.maven</groupId>
+                               <artifactId>gmaven-plugin</artifactId>
+                               <version>1.0</version>
+                               <executions>
+                                       <execution>
+                                               <phase>validate</phase>
+                                               <goals>
+                                                       <goal>execute</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <source>
+                                                               println 'Project version: ' +
+                                                               project.properties['svnfm.project.version'];
+                                                               def versionArray;
+                                                               if
+                                                               (
+                                                               project.properties['svnfm.project.version'] != null ) {
+                                                               versionArray =
+                                                               project.properties['svnfm.project.version'].split('-');
+                                                               }
+
+                                                               if (
+                                                               project.properties['svnfm.project.version'].endsWith("-SNAPSHOT")
+                                                               )
+                                                               {
+                                                               project.properties['project.docker.latesttag.version']=versionArray[0]
+                                                               + "-SNAPSHOT-latest";
+                                                               } else {
+                                                               project.properties['project.docker.latesttag.version']=versionArray[0]
+                                                               + "-STAGING-latest";
+                                                               }
+
+                                                               println 'New tag for docker: ' +
+                                                               project.properties['project.docker.latesttag.version'];
+                                                       </source>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+
+                       <plugin>
+                               <groupId>io.fabric8</groupId>
+                               <artifactId>docker-maven-plugin</artifactId>
+                               <version>0.19.1</version>
+
+                               <configuration>
+                                       <verbose>true</verbose>
+                                       <apiVersion>1.23</apiVersion>
+                                       <pullRegistry>${docker.pull.registry}</pullRegistry>
+                                       <pushRegistry>${docker.push.registry}</pushRegistry>
+
+                                       <images>
+                                               <image>
+                                                       <name>onap/svnfm/simulator</name>
+                                                       <build>
+                                                               <cleanup>try</cleanup>
+                                                               <dockerFile>Dockerfile</dockerFile>
+                                                               <tags>
+                                                                       <tag>${project.version}</tag>
+                                                                       <tag>${project.version}-${maven.build.timestamp}</tag>
+                                                                       <tag>${project.docker.latesttag.version}</tag>
+                                                               </tags>
+                                                               <assembly>
+                                                                       <inline>
+                                                                               <dependencySets>
+                                                                                       <dependencySet>
+                                                                                               <includes>
+                                                                                                       <include>org.onap.svnfm:simulator</include>
+                                                                                               </includes>
+                                                                                               <outputFileNameMapping>app.jar</outputFileNameMapping>
+                                                                                       </dependencySet>
+                                                                               </dependencySets>
+                                                                       </inline>
+                                                               </assembly>
+                                                       </build>
+                                               </image>
+                                       </images>
+                               </configuration>
+
+                               <executions>
+                                       <execution>
+                                               <id>clean-images</id>
+                                               <phase>pre-clean</phase>
+                                               <goals>
+                                                       <goal>remove</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <removeAll>true</removeAll>
+                                               </configuration>
+                                       </execution>
+
+                                       <execution>
+                                               <id>generate-images</id>
+                                               <phase>generate-sources</phase>
+                                               <goals>
+                                                       <goal>build</goal>
+                                               </goals>
+                                       </execution>
+
+                                       <execution>
+                                               <id>push-images</id>
+                                               <phase>deploy</phase>
+                                               <goals>
+                                                       <goal>build</goal>
+                                                       <goal>push</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <image>onap/svnfm/simulator</image>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-deploy-plugin</artifactId>
+                               <version>2.8</version>
+                               <configuration>
+                                       <skip>true</skip>
+                               </configuration>
+                       </plugin>
+               </plugins>
+       </build>
+</project>
diff --git a/vnfm-simulator/packages/docker/src/main/docker/Dockerfile b/vnfm-simulator/packages/docker/src/main/docker/Dockerfile
new file mode 100644 (file)
index 0000000..2ccc803
--- /dev/null
@@ -0,0 +1,28 @@
+FROM openjdk:8-jdk-alpine
+
+ARG http_proxy
+ENV HTTP_PROXY=$http_proxy
+ENV http_proxy=$HTTP_PROXY
+ARG https_proxy
+ENV HTTPS_PROXY=$https_proxy
+ENV https_proxy=$HTTPS_PROXY
+
+RUN apk add --no-cache --update busybox-extras bash zip unzip curl wget openssh maven openjdk8 jq httpie py-pip
+
+RUN mkdir /app && mkdir /app/config && mkdir /app/certificates && mkdir /app/logs  && mkdir /app/ca-certificates
+
+COPY maven/app.jar /app
+#COPY configs/logging/logback-spring.xml /app
+COPY start-app.sh /app
+#COPY ca-certificates/onap-ca.crt /app/ca-certificates/onap-ca.crt
+
+RUN chown -R svnfm:svnfm /app && chmod 700 /app/*.sh
+
+# Springboot configuration (required)
+VOLUME /app/config
+
+#  Root certificates (optional)
+VOLUME /app/ca-certificates
+
+WORKDIR /app
+CMD ["/app/start-app.sh"]
\ No newline at end of file
diff --git a/vnfm-simulator/packages/docker/src/main/docker/start-app.sh b/vnfm-simulator/packages/docker/src/main/docker/start-app.sh
new file mode 100644 (file)
index 0000000..36657f2
--- /dev/null
@@ -0,0 +1,38 @@
+#!/bin/bash
+#
+# ============LICENSE_START=======================================================
+#  Copyright (C) 2019 Nordix Foundation.
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# SPDX-License-Identifier: Apache-2.0
+# ============LICENSE_END=========================================================
+
+JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk/
+SVNFM_HOME=/opt/app/svnfm
+
+if [ "$#" -eq 1 ]; then
+    CONFIG_FILE=$1
+else
+    CONFIG_FILE=${CONFIG_FILE}
+fi
+
+if [ -z "$CONFIG_FILE" ]
+  then
+    CONFIG_FILE="/etc/defaultConfig.json"
+fi
+
+echo "SVNFM Config File path: $CONFIG_FILE"
+
+$JAVA_HOME/bin/java -cp "$SVNFM_HOME/etc:$SVNFM_HOME/lib/*" 
+#-Djavax.net.ssl.keyStore="$KEYSTORE" -Djavax.net.ssl.keyStorePassword="$KEYSTORE_PASSWD" -Djavax.net.ssl.trustStore="$TRUSTSTORE" 
diff --git a/vnfm-simulator/packages/pom.xml b/vnfm-simulator/packages/pom.xml
new file mode 100644 (file)
index 0000000..a5ca8b2
--- /dev/null
@@ -0,0 +1,50 @@
+<!-- ============LICENSE_START======================================================= 
+       Copyright (C) 2019 Nordix Foundation. ================================================================================ 
+       Licensed under the Apache License, Version 2.0 (the "License"); you may not 
+       use this file except in compliance with the License. You may obtain a copy 
+       of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
+       by applicable law or agreed to in writing, software distributed under the 
+       License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
+       OF ANY KIND, either express or implied. See the License for the specific 
+       language governing permissions and limitations under the License. SPDX-License-Identifier: 
+       Apache-2.0 ============LICENSE_END========================================================= -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.onap.svnfm</groupId>
+               <artifactId>simulator</artifactId>
+               <version>1.0.0-SNAPSHOT</version>
+       </parent>
+
+       <artifactId>packages</artifactId>
+       <packaging>pom</packaging>
+       <name>SVNFM Simulator Packages</name>
+
+
+       <profiles>
+               <!-- DO NOT CHANGE THE *ORDER* IN WHICH THESE PROFILES ARE DEFINED! -->
+
+               <profile>
+                       <id>default</id>
+                       <activation>
+                               <activeByDefault>true</activeByDefault>
+                       </activation>
+               </profile>
+
+               <!-- Those profile are exclusive, choose docker or with-integration-tests -->
+               <profile>
+                       <id>docker</id>
+                       <modules>
+                               <module>docker</module>
+                       </modules>
+                       <properties>
+                               <!-- For this profile we probably don't want to skip the docker push 
+                                       (if deploy goal is specified) -->
+                               <docker.skip.push>false</docker.skip.push>
+                       </properties>
+               </profile>
+       </profiles>
+</project>
\ No newline at end of file
diff --git a/vnfm-simulator/pom.xml b/vnfm-simulator/pom.xml
new file mode 100644 (file)
index 0000000..3923a3e
--- /dev/null
@@ -0,0 +1,43 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.onap.so</groupId>
+               <artifactId>so</artifactId>
+               <version>1.4.0-SNAPSHOT</version>
+       </parent>
+
+       <groupId>org.onap.so.vnfm</groupId>
+       <artifactId>vnfm-simulator</artifactId>
+       <version>1.4.0-SNAPSHOT</version>
+       <packaging>pom</packaging>
+       <name>${project.artifactId}</name>
+
+       <properties>
+               <springboot.version>2.0.5.RELEASE</springboot.version>
+               <version.java.compiler>1.8</version.java.compiler>
+       </properties>
+
+       <build>
+               <plugins>
+                       <plugin>
+                               <groupId>org.springframework.boot</groupId>
+                               <artifactId>spring-boot-maven-plugin</artifactId>
+                       </plugin>
+
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                               <configuration>
+                                       <source>${version.java.compiler}</source>
+                                       <target>${version.java.compiler}</target>
+                               </configuration>
+                       </plugin>
+               </plugins>
+       </build>
+
+       <modules>
+               <module>vnfm-api</module>
+               <module>vnfm-service</module>
+       </modules>
+</project>
\ No newline at end of file
diff --git a/vnfm-simulator/vnf-service/pom.xml b/vnfm-simulator/vnf-service/pom.xml
new file mode 100644 (file)
index 0000000..9a6825c
--- /dev/null
@@ -0,0 +1,78 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.onap.vnfm</groupId>
+               <artifactId>vnfm-simulator</artifactId>
+               <version>0.0.1-SNAPSHOT</version>
+       </parent>
+       <artifactId>vnf-service</artifactId>
+
+
+       <properties>
+               <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+               <java.version>1.8</java.version>
+       </properties>
+
+       <dependencies>
+
+               <dependency>
+                       <groupId>org.onap.vnfm</groupId>
+                       <artifactId>vnfm-api</artifactId>
+                       <version>${project.version}</version>
+
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.boot</groupId>
+                       <artifactId>spring-boot-starter-web</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.boot</groupId>
+                       <artifactId>spring-boot-starter-actuator</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.boot</groupId>
+                       <artifactId>spring-boot-starter-test</artifactId>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>junit</groupId>
+                       <artifactId>junit</artifactId>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>io.swagger</groupId>
+                       <artifactId>swagger-jaxrs</artifactId>
+                       <version>1.5.0</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.directory.studio</groupId>
+                       <artifactId>org.apache.commons.io</artifactId>
+                       <version>2.4</version>
+               </dependency>
+               <dependency>
+                       <groupId>com.googlecode.json-simple</groupId>
+                       <artifactId>json-simple</artifactId>
+                       <version>1.1.1</version>
+               </dependency>
+
+               <dependency>
+                       <groupId>io.springfox</groupId>
+                       <artifactId>springfox-swagger-ui</artifactId>
+                       <version>2.6.1</version>
+                       <scope>compile</scope>
+               </dependency>
+               <dependency>
+                       <groupId>io.springfox</groupId>
+                       <artifactId>springfox-swagger2</artifactId>
+                       <version>2.6.1</version>
+                       <scope>compile</scope>
+               </dependency>
+               <dependency>
+                       <groupId>com.fasterxml.jackson.core</groupId>
+                       <artifactId>jackson-databind</artifactId>
+                       <version>2.9.8</version>
+               </dependency>
+
+       </dependencies>
+</project>
\ No newline at end of file
diff --git a/vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/controller/SvnfmController.java b/vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/controller/SvnfmController.java
new file mode 100644 (file)
index 0000000..b9703b3
--- /dev/null
@@ -0,0 +1,69 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.svnfm.simulator.controller;
+
+import javax.ws.rs.core.MediaType;
+
+import org.onap.svnfm.simulator.services.SvnfmService;
+import org.onap.vnfm.v1.model.CreateVnfRequest;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.http.HttpHeaders;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * This class contains the VNF life cycle management operations
+ * 
+ * @author ronan.kenny@est.tech
+ *
+ */
+
+/**
+ * TO DO
+ *
+ * Implement Exception handling Implement VNFM adaptor call Identify the Create
+ * VNF response Test itwith the VNFM Adaptor
+ */
+
+@RestController
+@RequestMapping("/svnfm")
+
+public class SvnfmController {
+
+       @Autowired
+       private SvnfmService svnfmService;
+
+       private static final Logger LOGGER = LoggerFactory.getLogger(SvnfmController.class);
+
+       @RequestMapping(method = RequestMethod.POST, value = "/vnf_instances")
+       public ResponseEntity<Object> createVNFInstance(@RequestBody final CreateVnfRequest createVNFRequest) {
+               LOGGER.info("Start createVNFInstance");
+               HttpHeaders headers = new HttpHeaders();
+               headers.add("Content-Type", MediaType.APPLICATION_JSON);
+               return new ResponseEntity<>(svnfmService.createVNF(), headers, HttpStatus.CREATED);
+       }
+}
diff --git a/vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/controller/SvnfmHealthcheck.java b/vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/controller/SvnfmHealthcheck.java
new file mode 100644 (file)
index 0000000..e6f55f6
--- /dev/null
@@ -0,0 +1,58 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.svnfm.simulator.controller;
+
+import org.onap.svnfm.simulator.exception.InvalidRestRequestException;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RestController;
+
+
+/**
+ * TO DO
+ *
+ * Implement Exception handling 
+ * Implement VNFM adaptor call 
+ * Identify the Create VNF response 
+ * Test it with the VNFM Adaptor
+ */
+
+@RestController
+@RequestMapping("/svnfm")
+public class SvnfmHealthcheck {
+    
+    private static final Logger LOGGER = LoggerFactory.getLogger(SvnfmHealthcheck.class);
+
+    @RequestMapping(method = RequestMethod.GET, value = "/healthcheck")
+    public ResponseEntity<String> healthCheck() {
+        try {
+            return new ResponseEntity<>(HttpStatus.OK);
+        } catch (final InvalidRestRequestException extensions) {
+            final String message = "Not Found";
+            LOGGER.error(message);
+            return new ResponseEntity<>(message, HttpStatus.NOT_FOUND);
+        }
+    }
+}
diff --git a/vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/exception/GlobalExceptionHandler.java b/vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/exception/GlobalExceptionHandler.java
new file mode 100644 (file)
index 0000000..a06f2d2
--- /dev/null
@@ -0,0 +1,27 @@
+package org.onap.svnfm.simulator.exception;
+
+import org.springframework.http.HttpHeaders;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.ResponseEntity;
+import org.springframework.http.converter.HttpMessageNotReadableException;
+import org.springframework.web.HttpMediaTypeNotSupportedException;
+import org.springframework.web.bind.annotation.ControllerAdvice;
+import org.springframework.web.context.request.WebRequest;
+import org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler;
+
+@ControllerAdvice
+public class GlobalExceptionHandler extends ResponseEntityExceptionHandler {
+       @Override
+       protected ResponseEntity<Object> handleHttpMessageNotReadable(HttpMessageNotReadableException ex,
+                       HttpHeaders headers, HttpStatus status, WebRequest request) {
+               String error = "Malformed JSON request";
+               return new ResponseEntity<>(error, HttpStatus.BAD_REQUEST);
+       }
+
+       @Override
+       protected ResponseEntity<Object> handleHttpMediaTypeNotSupported(HttpMediaTypeNotSupportedException ex,
+                       HttpHeaders headers, HttpStatus status, WebRequest request) {
+               String error = "Media type Not Supported";
+               return new ResponseEntity<>(error, HttpStatus.UNSUPPORTED_MEDIA_TYPE);
+       }
+}
diff --git a/vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/exception/InvalidRestRequestException.java b/vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/exception/InvalidRestRequestException.java
new file mode 100644 (file)
index 0000000..eabd4ec
--- /dev/null
@@ -0,0 +1,37 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+package org.onap.svnfm.simulator.exception;
+
+/**
+ * @author ronan.kenny@est.tech
+ *
+ */
+public class InvalidRestRequestException extends RuntimeException {
+
+    private static final long serialVersionUID = 3977807111893986938L;
+
+    public InvalidRestRequestException(final String message) {
+        super(message);
+    }
+
+    public InvalidRestRequestException(final String message, final Throwable cause) {
+        super(message, cause);
+    }
+}
diff --git a/vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/exception/RestProcessingException.java b/vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/exception/RestProcessingException.java
new file mode 100644 (file)
index 0000000..c84416e
--- /dev/null
@@ -0,0 +1,37 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+package org.onap.svnfm.simulator.exception;
+
+/**
+ * @author ronan.kenny@est.tech
+ *
+ */
+public class RestProcessingException extends RuntimeException {
+
+    private static final long serialVersionUID = 16862313537198441L;
+
+    public RestProcessingException(final String message) {
+        super(message);
+    }
+
+    public RestProcessingException(final String message, final Throwable cause) {
+        super(message, cause);
+    }
+}
diff --git a/vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/services/SvnfmService.java b/vnfm-simulator/vnf-service/src/main/java/org/onap/svnfm/simulator/services/SvnfmService.java
new file mode 100644 (file)
index 0000000..e2dc43a
--- /dev/null
@@ -0,0 +1,60 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Ericsson. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * 
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+package org.onap.svnfm.simulator.services;
+
+import java.io.IOException;
+
+import org.apache.commons.io.IOUtils;
+import org.onap.svnfm.simulator.notifications.VnfmAdapterCreationNotification;
+import org.onap.vnfm.v1.model.InlineResponse201;
+import org.springframework.stereotype.Service;
+
+import com.fasterxml.jackson.databind.ObjectMapper;
+
+/**
+ * This class handles the logic of VNF lifecycle
+ * 
+ * @author Lathishbabu Ganesan (lathishbabu.ganesan@est.tech)
+ *
+ */
+@Service
+public class SvnfmService {
+
+       /**
+        * This method read the create VNF response from the json file and return it
+        * to the VNFM Adaptor
+        * 
+        * @return
+        */
+       public InlineResponse201 createVNF() {
+               Thread creationNodtification = new Thread(new VnfmAdapterCreationNotification());
+               creationNodtification.start();
+               ObjectMapper mapper = new ObjectMapper();
+               InlineResponse201 inlineResponse201 = null;
+               try {
+                       inlineResponse201 = mapper.readValue(
+                                       IOUtils.toString(getClass().getClassLoader().getResource("json/createVNFResponse.json")),
+                                       InlineResponse201.class);
+               } catch (IOException e) {
+                       e.printStackTrace();
+               }
+               return inlineResponse201;
+       }
+}
diff --git a/vnfm-simulator/vnf-service/src/main/resources/json/createVNFResponse.json b/vnfm-simulator/vnf-service/src/main/resources/json/createVNFResponse.json
new file mode 100644 (file)
index 0000000..a66bcc1
--- /dev/null
@@ -0,0 +1,19 @@
+{
+     "id": "147d9468-4646-11e9-80af-fa163e169afd",
+     "vnfInstanceName": "MME85_8.EricssonMMEVSPV2_0",
+     "vnfInstanceDescription": "2f3e21dd-99ba-45b1-b4da-1f71283c46f6",
+     "vnfdId": "sgsn-mme_onapmme01_cxp9025898_4r85d01",
+     "vnfProvider": "Ericsson",
+     "vnfProductName": "SGSN-MME",
+     "vnfSoftwareVersion": "1.24 (CXS101289_R85D01)",
+     "vnfdVersion": "onapmme01_cxp9025898_4r85d01",
+     "vnfPkgId": null,
+     "vnfConfigurableProperties": null,
+     "vimConnectionInfo": null,
+     "instantiationState": "NOT_INSTANTIATED",
+     "instantiatedVnfInfo": null,
+     "metadata": null,
+     "extensions": null,
+     "links": null
+
+}
diff --git a/vnfm-simulator/vnfm-api/pom.xml b/vnfm-simulator/vnfm-api/pom.xml
new file mode 100644 (file)
index 0000000..3bb6f4f
--- /dev/null
@@ -0,0 +1,110 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.onap.so.vnfm</groupId>
+        <artifactId>vnfm-simulator</artifactId>
+       <version>1.4.0-SNAPSHOT</version>
+    </parent>
+    <artifactId>vnfm-api</artifactId>
+    <name>${project.artifactId}</name>
+    <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+        <maven.compiler.source>1.8</maven.compiler.source>
+        <maven.compiler.target>1.8</maven.compiler.target>
+        <gson-fire-version>1.8.2</gson-fire-version>
+        <retrofit-version>2.3.0</retrofit-version>
+        <threetenbp-version>1.3.5</threetenbp-version>
+        <rxjava-version>2.0.0-RC1</rxjava-version>
+        <oltu-version>1.0.1</oltu-version>
+        <swagger-core-version>1.5.15</swagger-core-version>
+        <gson-version>2.8.5</gson-version>
+    </properties>
+    <description>VNFM Simulator adapter API</description>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>io.swagger</groupId>
+                <artifactId>swagger-codegen-maven-plugin</artifactId>
+                <version>2.3.1</version>
+                <executions>
+                    <execution>
+                        <id>vnfmsimulator</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>generate</goal>
+                        </goals>
+                        <configuration>
+                            <inputSpec>${basedir}/src/main/resources/vnfm-sim-swagger.yaml</inputSpec>
+                            <language>java</language>
+                            <library>retrofit2</library>
+                            <output>${project.build.directory}/generated-sources/vnfmsimulator</output>
+                            <apiPackage>org.onap.vnfm.v1.api</apiPackage>
+                            <modelPackage>org.onap.vnfm.v1.model</modelPackage>
+                            <configOptions>
+                                <jackson>true</jackson>
+                                <sourceFolder>src/gen/java/main</sourceFolder>
+                                <withXml>true</withXml>
+                                <useRxJava2>true</useRxJava2>
+                            </configOptions>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+    <dependencies>
+        <dependency>
+            <groupId>io.swagger</groupId>
+            <artifactId>swagger-annotations</artifactId>
+            <version>${swagger-core-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.squareup.retrofit2</groupId>
+            <artifactId>converter-gson</artifactId>
+            <version>${retrofit-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.squareup.retrofit2</groupId>
+            <artifactId>retrofit</artifactId>
+            <version>${retrofit-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.squareup.retrofit2</groupId>
+            <artifactId>converter-scalars</artifactId>
+            <version>${retrofit-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.oltu.oauth2</groupId>
+            <artifactId>org.apache.oltu.oauth2.client</artifactId>
+            <version>${oltu-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>io.gsonfire</groupId>
+            <artifactId>gson-fire</artifactId>
+            <version>${gson-fire-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.threeten</groupId>
+            <artifactId>threetenbp</artifactId>
+            <version>${threetenbp-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>io.reactivex.rxjava2</groupId>
+            <artifactId>rxjava</artifactId>
+            <version>${rxjava-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.squareup.retrofit2</groupId>
+            <artifactId>adapter-rxjava2</artifactId>
+            <version>${retrofit-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.google.code.gson</groupId>
+            <artifactId>gson</artifactId>
+            <version>${gson-version}</version>
+        </dependency>
+    </dependencies>
+</project>
\ No newline at end of file
diff --git a/vnfm-simulator/vnfm-api/src/main/resources/vnfm-sim-swagger.json b/vnfm-simulator/vnfm-api/src/main/resources/vnfm-sim-swagger.json
new file mode 100644 (file)
index 0000000..2bc25a2
--- /dev/null
@@ -0,0 +1,8143 @@
+{
+       "swagger": "2.0",
+       "info": {
+               "version": "1.1.1",
+               "title": "SOL003 - VNF Lifecycle Management interface",
+               "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",
+               "license": {
+                       "name": "ETSI Forge copyright notice",
+                       "url": "https://forge.etsi.org/etsi-forge-copyright-notice.txt"
+               }
+       },
+       "externalDocs": {
+               "description": "ETSI GS NFV-SOL 003 V2.4.1",
+               "url": "http://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/02.04.01_60/gs_NFV-SOL003v020401p.pdf"
+       },
+       "basePath": "/vnflcm/v1",
+       "schemes": ["https"],
+       "consumes": ["application/json"],
+       "produces": ["application/json"],
+       "paths": {
+               "/vnf_instances": {
+                       "post": {
+                               "description": "Create VNF Identifier\n\nThe POST method creates a new VNF instance resource.\n",
+                               "tags": ["Sol003VnfLcm"],
+                               "parameters": [{
+                                               "name": "createVnfRequest",
+                                               "description": "The VNF creation parameters",
+                                               "in": "body",
+                                               "required": true,
+                                               "schema": {
+                                                       "type": "object",
+                                                       "required": ["vnfdId"],
+                                                       "properties": {
+                                                               "vnfdId": {
+                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfInstanceName": {
+                                                                       "description": "Human-readable name of the VNF instance to be created.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfInstanceDescription": {
+                                                                       "description": "Human-readable description of the VNF instance to be created.\n",
+                                                                       "type": "string"
+                                                               }
+                                                       }
+                                               }
+                                       }, {
+                                               "name": "Accept",
+                                               "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n",
+                                               "in": "header",
+                                               "required": true,
+                                               "type": "string"
+                                       }, {
+                                               "name": "Authorization",
+                                               "description": "The authorization token for the request. Reference: IETF RFC 7235\n",
+                                               "in": "header",
+                                               "required": false,
+                                               "type": "string"
+                                       }, {
+                                               "name": "Content-Type",
+                                               "description": "The MIME type of the body of the request. Reference: IETF RFC 7231\n",
+                                               "in": "header",
+                                               "required": true,
+                                               "type": "string"
+                                       }
+                               ],
+                               "responses": {
+                                       "201": {
+                                               "description": "A VNF Instance identifier was created successfully",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "Location": {
+                                                               "description": "The resource URI of the created VNF instance",
+                                                               "type": "string",
+                                                               "format": "url"
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "This type represents a VNF instance.\n",
+                                                       "type": "object",
+                                                       "required": ["id", "vnfdId", "vnfProvider", "vnfProductName", "vnfSoftwareVersion", "vnfdVersion", "vnfPkgId", "instantiationState"],
+                                                       "properties": {
+                                                               "id": {
+                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfInstanceName": {
+                                                                       "description": "Name of the VNF instance. This attribute can be modified with the PATCH method.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfInstanceDescription": {
+                                                                       "description": "Human-readable description of the VNF instance. This attribute can be modified with the PATCH method.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfdId": {
+                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfProvider": {
+                                                                       "description": "Provider of the VNF and the VNFD. The value is copied from the VNFD.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfProductName": {
+                                                                       "description": "Name to identify the VNF Product. The value is copied from the VNFD.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfSoftwareVersion": {
+                                                                       "description": "A Version.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfdVersion": {
+                                                                       "description": "A Version.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfPkgId": {
+                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfConfigurableProperties": {
+                                                                       "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                       "type": "object"
+                                                               },
+                                                               "vimConnectionInfo": {
+                                                                       "description": "Information about VIM connections to be used for managing the resources for the VNF instance. This attribute shall only be supported and present if VNF-related resource management in direct mode is applicable. This attribute can be modified with the PATCH method.\n",
+                                                                       "type": "array",
+                                                                       "items": {
+                                                                               "description": "This type represents parameters to connect to a VIM for managing the resources of a VNF instance. This structure is used to convey VIM-related parameters over the Or-Vnfm interface. Additional parameters for a VIM may be configured into the VNFM by means outside the scope of the present document, and bound to the identifier of that VIM.\n",
+                                                                               "type": "object",
+                                                                               "required": ["id", "vimType"],
+                                                                               "properties": {
+                                                                                       "id": {
+                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                               "type": "string"
+                                                                                       },
+                                                                                       "vimId": {
+                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                               "type": "string"
+                                                                                       },
+                                                                                       "vimType": {
+                                                                                               "description": "Discriminator for the different types of the VIM information. The value of this attribute determines the structure of the \"interfaceInfo\" and \"accessInfo\" attributes, based on the type of the VIM. The set of permitted values is expected to change over time as new types or versions of VIMs become available. The ETSI NFV registry of VIM-related information provides access to information about VimConnectionInfo definitions for various VIM types. The structure of the registry is defined in Annex C of SOL003.\n",
+                                                                                               "type": "string"
+                                                                                       },
+                                                                                       "interfaceInfo": {
+                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                               "type": "object"
+                                                                                       },
+                                                                                       "accessInfo": {
+                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                               "type": "object"
+                                                                                       },
+                                                                                       "extra": {
+                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                               "type": "object"
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               },
+                                                               "instantiationState": {
+                                                                       "description": "The instantiation state of the VNF.\n",
+                                                                       "type": "string",
+                                                                       "enum": ["NOT_INSTANTIATED", "INSTANTIATED"]
+                                                               },
+                                                               "instantiatedVnfInfo": {
+                                                                       "description": "Information specific to an instantiated VNF instance. This attribute shall be present if the instantiateState attribute value is INSTANTIATED.\n",
+                                                                       "type": "object",
+                                                                       "required": ["flavourId", "vnfState"],
+                                                                       "properties": {
+                                                                               "flavourId": {
+                                                                                       "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                       "type": "string"
+                                                                               },
+                                                                               "vnfState": {
+                                                                                       "type": "string",
+                                                                                       "enum": ["STARTED", "STOPPED"]
+                                                                               },
+                                                                               "scaleStatus": {
+                                                                                       "description": "Scale status of the VNF, one entry per aspect. Represents for every scaling aspect how \"big\" the VNF has been scaled w.r.t. that aspect.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "required": ["aspectId", "scaleLevel"],
+                                                                                               "type": "object",
+                                                                                               "properties": {
+                                                                                                       "aspectId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "scaleLevel": {
+                                                                                                               "description": "Indicates the scale level. The minimum value shall be 0 and the maximum value shall be <= maxScaleLevel as described in the VNFD.\n",
+                                                                                                               "type": "integer"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "extCpInfo": {
+                                                                                       "description": "Information about the external CPs exposed by the VNF instance.\n",
+                                                                                       "type": "array",
+                                                                                       "minItems": 1,
+                                                                                       "items": {
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "cpdId"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "cpdId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "cpProtocolInfo": {
+                                                                                                               "description": "Network protocol information for this CP.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "description": "This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses.\n",
+                                                                                                                       "required": ["layerProtocol"],
+                                                                                                                       "properties": {
+                                                                                                                               "layerProtocol": {
+                                                                                                                                       "description": "The identifier of layer(s) and protocol(s) associated to the network address information.  Permitted values: IP_OVER_ETHERNET This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n",
+                                                                                                                                       "type": "string",
+                                                                                                                                       "enum": ["IP_OVER_ETHERNET"]
+                                                                                                                               },
+                                                                                                                               "ipOverEthernet": {
+                                                                                                                                       "description": "This type represents information about a network address that has been assigned.\n",
+                                                                                                                                       "type": "object",
+                                                                                                                                       "required": ["macAddress"],
+                                                                                                                                       "properties": {
+                                                                                                                                               "macAddress": {
+                                                                                                                                                       "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
+                                                                                                                                                       "type": "string",
+                                                                                                                                                       "format": "MAC"
+                                                                                                                                               },
+                                                                                                                                               "ipAddresses": {
+                                                                                                                                                       "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n",
+                                                                                                                                                       "type": "array",
+                                                                                                                                                       "items": {
+                                                                                                                                                               "type": "object",
+                                                                                                                                                               "required": ["type"],
+                                                                                                                                                               "properties": {
+                                                                                                                                                                       "type": {
+                                                                                                                                                                               "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n",
+                                                                                                                                                                               "type": "string",
+                                                                                                                                                                               "enum": ["IPV4", "IPV6"]
+                                                                                                                                                                       },
+                                                                                                                                                                       "addresses": {
+                                                                                                                                                                               "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n",
+                                                                                                                                                                               "type": "array",
+                                                                                                                                                                               "items": {
+                                                                                                                                                                                       "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                       "type": "string",
+                                                                                                                                                                                       "format": "IP"
+                                                                                                                                                                               }
+                                                                                                                                                                       },
+                                                                                                                                                                       "isDynamic": {
+                                                                                                                                                                               "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n",
+                                                                                                                                                                               "type": "boolean"
+                                                                                                                                                                       },
+                                                                                                                                                                       "addressRange": {
+                                                                                                                                                                               "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n",
+                                                                                                                                                                               "type": "object",
+                                                                                                                                                                               "required": ["minAddress", "maxAddress"],
+                                                                                                                                                                               "properties": {
+                                                                                                                                                                                       "minAddress": {
+                                                                                                                                                                                               "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                               "type": "string",
+                                                                                                                                                                                               "format": "IP"
+                                                                                                                                                                                       },
+                                                                                                                                                                                       "maxAddress": {
+                                                                                                                                                                                               "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                               "type": "string",
+                                                                                                                                                                                               "format": "IP"
+                                                                                                                                                                                       }
+                                                                                                                                                                               }
+                                                                                                                                                                       },
+                                                                                                                                                                       "subnetId": {
+                                                                                                                                                                               "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                               "type": "string",
+                                                                                                                                                                               "format": "IP"
+                                                                                                                                                                       }
+                                                                                                                                                               }
+                                                                                                                                                       }
+                                                                                                                                               }
+                                                                                                                                       }
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "extLinkPortId": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "extVirtualLinkInfo": {
+                                                                                       "description": "Information about the external VLs the VNF instance is connected to.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "resourceHandle"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "resourceHandle": {
+                                                                                                               "required": ["vimConnectionId", "resourceId"],
+                                                                                                               "type": "object",
+                                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "extLinkPorts": {
+                                                                                                               "description": "Link ports of this VL.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "description": "This type represents information about a link port of an external VL, i.e. a port providing connectivity for the VNF to an NS VL.\n",
+                                                                                                                       "type": "object",
+                                                                                                                       "required": ["id", "resourceHandle"],
+                                                                                                                       "properties": {
+                                                                                                                               "id": {
+                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "resourceHandle": {
+                                                                                                                                       "required": ["vimConnectionId", "resourceId"],
+                                                                                                                                       "type": "object",
+                                                                                                                                       "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                                                       "properties": {
+                                                                                                                                               "vimConnectionId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceProviderId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceId": {
+                                                                                                                                                       "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "vimLevelResourceType": {
+                                                                                                                                                       "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               }
+                                                                                                                                       }
+                                                                                                                               },
+                                                                                                                               "cpInstanceId": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "extManagedVirtualLinkInfo": {
+                                                                                       "description": "External virtual links the VNF instance is connected to.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "vnfVirtualLinkDescId"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vnfVirtualLinkDescId": {
+                                                                                                               "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "networkResource": {
+                                                                                                               "required": ["vimConnectionId", "resourceId"],
+                                                                                                               "type": "object",
+                                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "vnfLinkPorts": {
+                                                                                                               "description": "Link ports of this VL.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "type": "object",
+                                                                                                                       "required": ["id", "resourceHandle"],
+                                                                                                                       "properties": {
+                                                                                                                               "id": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "resourceHandle": {
+                                                                                                                                       "required": ["vimConnectionId", "resourceId"],
+                                                                                                                                       "type": "object",
+                                                                                                                                       "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                                                       "properties": {
+                                                                                                                                               "vimConnectionId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceProviderId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceId": {
+                                                                                                                                                       "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "vimLevelResourceType": {
+                                                                                                                                                       "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               }
+                                                                                                                                       }
+                                                                                                                               },
+                                                                                                                               "cpInstanceId": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "monitoringParameters": {
+                                                                                       "description": "Active monitoring parameters.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "value", "timeStamp"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "name": {
+                                                                                                               "description": "Human readable name of the monitoring parameter, as defined in the VNFD.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "value": {
+                                                                                                               "description": "Value of the monitoring parameter known to the VNFM (e.g. obtained for autoscaling purposes). The type of the \"value\" attribute (i.e. scalar, structure (Object in JSON), or array (of scalars, arrays or structures/Objects)) is assumed to be defined in an external measurement specification.\n",
+                                                                                                               "type": "object"
+                                                                                                       },
+                                                                                                       "timeStamp": {
+                                                                                                               "description": "Represents the point in time when the measurement has been performed, as known to the VNFM. Should be formatted according to ETF RFC 3339.\n",
+                                                                                                               "type": "string"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "localizationLanguage": {
+                                                                                       "description": "Information about localization language of the VNF (includes e.g. strings in the VNFD). The localization languages supported by a VNF can be declared in the VNFD, and localization language selection can take place at instantiation time. The value shall comply with the format defined in IETF RFC 5646.\n",
+                                                                                       "type": "string"
+                                                                               },
+                                                                               "vnfcResourceInfo": {
+                                                                                       "description": "Information about the virtualised compute and storage resources used by the VNFCs of the VNF instance.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "description": "This type represents the information on virtualised compute and storage resources used by a VNFC in a VNF instance.\n",
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "vduId", "computeResource"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vduId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "computeResource": {
+                                                                                                               "required": ["vimConnectionId", "resourceId"],
+                                                                                                               "type": "object",
+                                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "storageResourceIds": {
+                                                                                                               "description": "References to the VirtualStorage resources. The value refers to a VirtualStorageResourceInfo item in the VnfInstance.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                       "type": "string"
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "reservationId": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vnfcCpInfo": {
+                                                                                                               "description": "CPs of the VNFC instance. Shall be present when that particular CP of the VNFC instance is associated to an external CP of the VNF instance. May be present otherwise.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "type": "object",
+                                                                                                                       "required": ["id", "cpdId"],
+                                                                                                                       "properties": {
+                                                                                                                               "id": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "cpdId": {
+                                                                                                                                       "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "vnfExtCpId": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "cpProtocolInfo": {
+                                                                                                                                       "description": "Network protocol information for this CP.\n",
+                                                                                                                                       "type": "array",
+                                                                                                                                       "items": {
+                                                                                                                                               "description": "This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses.\n",
+                                                                                                                                               "required": ["layerProtocol"],
+                                                                                                                                               "properties": {
+                                                                                                                                                       "layerProtocol": {
+                                                                                                                                                               "description": "The identifier of layer(s) and protocol(s) associated to the network address information.  Permitted values: IP_OVER_ETHERNET This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n",
+                                                                                                                                                               "type": "string",
+                                                                                                                                                               "enum": ["IP_OVER_ETHERNET"]
+                                                                                                                                                       },
+                                                                                                                                                       "ipOverEthernet": {
+                                                                                                                                                               "description": "This type represents information about a network address that has been assigned.\n",
+                                                                                                                                                               "type": "object",
+                                                                                                                                                               "required": ["macAddress"],
+                                                                                                                                                               "properties": {
+                                                                                                                                                                       "macAddress": {
+                                                                                                                                                                               "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
+                                                                                                                                                                               "type": "string",
+                                                                                                                                                                               "format": "MAC"
+                                                                                                                                                                       },
+                                                                                                                                                                       "ipAddresses": {
+                                                                                                                                                                               "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n",
+                                                                                                                                                                               "type": "array",
+                                                                                                                                                                               "items": {
+                                                                                                                                                                                       "type": "object",
+                                                                                                                                                                                       "required": ["type"],
+                                                                                                                                                                                       "properties": {
+                                                                                                                                                                                               "type": {
+                                                                                                                                                                                                       "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n",
+                                                                                                                                                                                                       "type": "string",
+                                                                                                                                                                                                       "enum": ["IPV4", "IPV6"]
+                                                                                                                                                                                               },
+                                                                                                                                                                                               "addresses": {
+                                                                                                                                                                                                       "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n",
+                                                                                                                                                                                                       "type": "array",
+                                                                                                                                                                                                       "items": {
+                                                                                                                                                                                                               "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                                               "type": "string",
+                                                                                                                                                                                                               "format": "IP"
+                                                                                                                                                                                                       }
+                                                                                                                                                                                               },
+                                                                                                                                                                                               "isDynamic": {
+                                                                                                                                                                                                       "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n",
+                                                                                                                                                                                                       "type": "boolean"
+                                                                                                                                                                                               },
+                                                                                                                                                                                               "addressRange": {
+                                                                                                                                                                                                       "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n",
+                                                                                                                                                                                                       "type": "object",
+                                                                                                                                                                                                       "required": ["minAddress", "maxAddress"],
+                                                                                                                                                                                                       "properties": {
+                                                                                                                                                                                                               "minAddress": {
+                                                                                                                                                                                                                       "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                                                       "type": "string",
+                                                                                                                                                                                                                       "format": "IP"
+                                                                                                                                                                                                               },
+                                                                                                                                                                                                               "maxAddress": {
+                                                                                                                                                                                                                       "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                                                       "type": "string",
+                                                                                                                                                                                                                       "format": "IP"
+                                                                                                                                                                                                               }
+                                                                                                                                                                                                       }
+                                                                                                                                                                                               },
+                                                                                                                                                                                               "subnetId": {
+                                                                                                                                                                                                       "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                                       "type": "string",
+                                                                                                                                                                                                       "format": "IP"
+                                                                                                                                                                                               }
+                                                                                                                                                                                       }
+                                                                                                                                                                               }
+                                                                                                                                                                       }
+                                                                                                                                                               }
+                                                                                                                                                       }
+                                                                                                                                               }
+                                                                                                                                       }
+                                                                                                                               },
+                                                                                                                               "vnfLinkPortId": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "metadata": {
+                                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                                               "type": "object"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "virtualLinkResourceInfo": {
+                                                                                       "description": "Information about the virtualised network resources used by the VLs of the VNF instance.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by an internal VL instance in a VNF instance.\n",
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "vnfVirtualLinkDescId", "networkResource"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vnfVirtualLinkDescId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "networkResource": {
+                                                                                                               "required": ["vimConnectionId", "resourceId"],
+                                                                                                               "type": "object",
+                                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "reservationId": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vnfLinkPorts": {
+                                                                                                               "description": "Links ports of this VL. Shall be present when the linkPort is used for external connectivity by the VNF (refer to VnfLinkPortInfo). May be present otherwise.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "type": "object",
+                                                                                                                       "required": ["id", "resourceHandle"],
+                                                                                                                       "properties": {
+                                                                                                                               "id": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "resourceHandle": {
+                                                                                                                                       "required": ["vimConnectionId", "resourceId"],
+                                                                                                                                       "type": "object",
+                                                                                                                                       "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                                                       "properties": {
+                                                                                                                                               "vimConnectionId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceProviderId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceId": {
+                                                                                                                                                       "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "vimLevelResourceType": {
+                                                                                                                                                       "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               }
+                                                                                                                                       }
+                                                                                                                               },
+                                                                                                                               "cpInstanceId": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "metadata": {
+                                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                                               "type": "object"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "virtualStorageResourceInfo": {
+                                                                                       "description": "Information on the virtualised storage resource(s) used as storage for the VNF instance.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance.\n",
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "virtualStorageDescId", "storageResource"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "virtualStorageDescId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "storageResource": {
+                                                                                                               "required": ["vimConnectionId", "resourceId"],
+                                                                                                               "type": "object",
+                                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "reservationId": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "metadata": {
+                                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                                               "type": "object"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               },
+                                                               "metadata": {
+                                                                       "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                       "type": "object"
+                                                               },
+                                                               "extensions": {
+                                                                       "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                       "type": "object"
+                                                               },
+                                                               "_links": {
+                                                                       "description": "Links to resources related to this resource.\n",
+                                                                       "type": "object",
+                                                                       "required": ["self"],
+                                                                       "properties": {
+                                                                               "self": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "indicators": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "instantiate": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "terminate": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "scale": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "scaleToLevel": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "changeFlavour": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "heal": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "operate": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "changeExtConn": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "400": {
+                                               "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "401": {
+                                               "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "403": {
+                                               "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided.  It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "404": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "405": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "406": {
+                                               "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "409": {
+                                               "description": "Conflict\nAnother request is in progress that prohibits the fulfilment of the current request, or the current resource state is inconsistent with the request.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "416": {
+                                               "description": "Requested Range Not Satisfiable\nThis code is returned if the requested byte range in the Range HTTP header is not present in the requested resource.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "422": {
+                                               "description": "Unprocessable Entity\nIf the payload body of a request contains syntactically correct data (e.g. well-formed JSON) but the data cannot be processed (e.g. because it fails validation against a schema), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem. NOTE 2: This error response code is only applicable for methods that have a request body.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "500": {
+                                               "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "503": {
+                                               "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                       }
+               },
+               "/vnf_instances/{vnfInstanceId}": {
+                       "parameters": [{
+                                       "name": "vnfInstanceId",
+                                       "description": "Identifier of the VNF instance. This identifier can be retrieved from the resource referenced by the \"Location\" HTTP header in the response to a POST request creating a new VNF instance resource. It can also be retrieved from the \"id\" attribute in the payload body of that response.\n",
+                                       "in": "path",
+                                       "type": "string",
+                                       "required": true
+                               }
+                       ],
+                       "get": {
+                               "description": "Query VNF\n\nThe GET method retrieves information about a VNF instance by reading an individual VNF instance resource.\n",
+                               "tags": ["Sol003VnfLcm"],
+                               "parameters": [{
+                                               "name": "Accept",
+                                               "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n",
+                                               "in": "header",
+                                               "required": true,
+                                               "type": "string"
+                                       }, {
+                                               "name": "Authorization",
+                                               "description": "The authorization token for the request. Reference: IETF RFC 7235\n",
+                                               "in": "header",
+                                               "required": false,
+                                               "type": "string"
+                                       }, {
+                                               "name": "Content-Type",
+                                               "description": "The MIME type of the body of the request. Reference: IETF RFC 7231\n",
+                                               "in": "header",
+                                               "required": true,
+                                               "type": "string"
+                                       }
+                               ],
+                               "responses": {
+                                       "200": {
+                                               "description": "OK\nInformation about zero or more VNF instances was queried successfully. The response body shall contain representations of zero or more VNF instances.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "This type represents a VNF instance.\n",
+                                                       "type": "object",
+                                                       "required": ["id", "vnfdId", "vnfProvider", "vnfProductName", "vnfSoftwareVersion", "vnfdVersion", "vnfPkgId", "instantiationState"],
+                                                       "properties": {
+                                                               "id": {
+                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfInstanceName": {
+                                                                       "description": "Name of the VNF instance. This attribute can be modified with the PATCH method.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfInstanceDescription": {
+                                                                       "description": "Human-readable description of the VNF instance. This attribute can be modified with the PATCH method.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfdId": {
+                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfProvider": {
+                                                                       "description": "Provider of the VNF and the VNFD. The value is copied from the VNFD.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfProductName": {
+                                                                       "description": "Name to identify the VNF Product. The value is copied from the VNFD.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfSoftwareVersion": {
+                                                                       "description": "A Version.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfdVersion": {
+                                                                       "description": "A Version.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfPkgId": {
+                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfConfigurableProperties": {
+                                                                       "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                       "type": "object"
+                                                               },
+                                                               "vimConnectionInfo": {
+                                                                       "description": "Information about VIM connections to be used for managing the resources for the VNF instance. This attribute shall only be supported and present if VNF-related resource management in direct mode is applicable. This attribute can be modified with the PATCH method.\n",
+                                                                       "type": "array",
+                                                                       "items": {
+                                                                               "description": "This type represents parameters to connect to a VIM for managing the resources of a VNF instance. This structure is used to convey VIM-related parameters over the Or-Vnfm interface. Additional parameters for a VIM may be configured into the VNFM by means outside the scope of the present document, and bound to the identifier of that VIM.\n",
+                                                                               "type": "object",
+                                                                               "required": ["id", "vimType"],
+                                                                               "properties": {
+                                                                                       "id": {
+                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                               "type": "string"
+                                                                                       },
+                                                                                       "vimId": {
+                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                               "type": "string"
+                                                                                       },
+                                                                                       "vimType": {
+                                                                                               "description": "Discriminator for the different types of the VIM information. The value of this attribute determines the structure of the \"interfaceInfo\" and \"accessInfo\" attributes, based on the type of the VIM. The set of permitted values is expected to change over time as new types or versions of VIMs become available. The ETSI NFV registry of VIM-related information provides access to information about VimConnectionInfo definitions for various VIM types. The structure of the registry is defined in Annex C of SOL003.\n",
+                                                                                               "type": "string"
+                                                                                       },
+                                                                                       "interfaceInfo": {
+                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                               "type": "object"
+                                                                                       },
+                                                                                       "accessInfo": {
+                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                               "type": "object"
+                                                                                       },
+                                                                                       "extra": {
+                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                               "type": "object"
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               },
+                                                               "instantiationState": {
+                                                                       "description": "The instantiation state of the VNF.\n",
+                                                                       "type": "string",
+                                                                       "enum": ["NOT_INSTANTIATED", "INSTANTIATED"]
+                                                               },
+                                                               "instantiatedVnfInfo": {
+                                                                       "description": "Information specific to an instantiated VNF instance. This attribute shall be present if the instantiateState attribute value is INSTANTIATED.\n",
+                                                                       "type": "object",
+                                                                       "required": ["flavourId", "vnfState"],
+                                                                       "properties": {
+                                                                               "flavourId": {
+                                                                                       "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                       "type": "string"
+                                                                               },
+                                                                               "vnfState": {
+                                                                                       "type": "string",
+                                                                                       "enum": ["STARTED", "STOPPED"]
+                                                                               },
+                                                                               "scaleStatus": {
+                                                                                       "description": "Scale status of the VNF, one entry per aspect. Represents for every scaling aspect how \"big\" the VNF has been scaled w.r.t. that aspect.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "required": ["aspectId", "scaleLevel"],
+                                                                                               "type": "object",
+                                                                                               "properties": {
+                                                                                                       "aspectId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "scaleLevel": {
+                                                                                                               "description": "Indicates the scale level. The minimum value shall be 0 and the maximum value shall be <= maxScaleLevel as described in the VNFD.\n",
+                                                                                                               "type": "integer"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "extCpInfo": {
+                                                                                       "description": "Information about the external CPs exposed by the VNF instance.\n",
+                                                                                       "type": "array",
+                                                                                       "minItems": 1,
+                                                                                       "items": {
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "cpdId"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "cpdId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "cpProtocolInfo": {
+                                                                                                               "description": "Network protocol information for this CP.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "description": "This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses.\n",
+                                                                                                                       "required": ["layerProtocol"],
+                                                                                                                       "properties": {
+                                                                                                                               "layerProtocol": {
+                                                                                                                                       "description": "The identifier of layer(s) and protocol(s) associated to the network address information.  Permitted values: IP_OVER_ETHERNET This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n",
+                                                                                                                                       "type": "string",
+                                                                                                                                       "enum": ["IP_OVER_ETHERNET"]
+                                                                                                                               },
+                                                                                                                               "ipOverEthernet": {
+                                                                                                                                       "description": "This type represents information about a network address that has been assigned.\n",
+                                                                                                                                       "type": "object",
+                                                                                                                                       "required": ["macAddress"],
+                                                                                                                                       "properties": {
+                                                                                                                                               "macAddress": {
+                                                                                                                                                       "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
+                                                                                                                                                       "type": "string",
+                                                                                                                                                       "format": "MAC"
+                                                                                                                                               },
+                                                                                                                                               "ipAddresses": {
+                                                                                                                                                       "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n",
+                                                                                                                                                       "type": "array",
+                                                                                                                                                       "items": {
+                                                                                                                                                               "type": "object",
+                                                                                                                                                               "required": ["type"],
+                                                                                                                                                               "properties": {
+                                                                                                                                                                       "type": {
+                                                                                                                                                                               "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n",
+                                                                                                                                                                               "type": "string",
+                                                                                                                                                                               "enum": ["IPV4", "IPV6"]
+                                                                                                                                                                       },
+                                                                                                                                                                       "addresses": {
+                                                                                                                                                                               "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n",
+                                                                                                                                                                               "type": "array",
+                                                                                                                                                                               "items": {
+                                                                                                                                                                                       "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                       "type": "string",
+                                                                                                                                                                                       "format": "IP"
+                                                                                                                                                                               }
+                                                                                                                                                                       },
+                                                                                                                                                                       "isDynamic": {
+                                                                                                                                                                               "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n",
+                                                                                                                                                                               "type": "boolean"
+                                                                                                                                                                       },
+                                                                                                                                                                       "addressRange": {
+                                                                                                                                                                               "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n",
+                                                                                                                                                                               "type": "object",
+                                                                                                                                                                               "required": ["minAddress", "maxAddress"],
+                                                                                                                                                                               "properties": {
+                                                                                                                                                                                       "minAddress": {
+                                                                                                                                                                                               "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                               "type": "string",
+                                                                                                                                                                                               "format": "IP"
+                                                                                                                                                                                       },
+                                                                                                                                                                                       "maxAddress": {
+                                                                                                                                                                                               "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                               "type": "string",
+                                                                                                                                                                                               "format": "IP"
+                                                                                                                                                                                       }
+                                                                                                                                                                               }
+                                                                                                                                                                       },
+                                                                                                                                                                       "subnetId": {
+                                                                                                                                                                               "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                               "type": "string",
+                                                                                                                                                                               "format": "IP"
+                                                                                                                                                                       }
+                                                                                                                                                               }
+                                                                                                                                                       }
+                                                                                                                                               }
+                                                                                                                                       }
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "extLinkPortId": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "extVirtualLinkInfo": {
+                                                                                       "description": "Information about the external VLs the VNF instance is connected to.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "resourceHandle"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "resourceHandle": {
+                                                                                                               "required": ["vimConnectionId", "resourceId"],
+                                                                                                               "type": "object",
+                                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "extLinkPorts": {
+                                                                                                               "description": "Link ports of this VL.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "description": "This type represents information about a link port of an external VL, i.e. a port providing connectivity for the VNF to an NS VL.\n",
+                                                                                                                       "type": "object",
+                                                                                                                       "required": ["id", "resourceHandle"],
+                                                                                                                       "properties": {
+                                                                                                                               "id": {
+                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "resourceHandle": {
+                                                                                                                                       "required": ["vimConnectionId", "resourceId"],
+                                                                                                                                       "type": "object",
+                                                                                                                                       "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                                                       "properties": {
+                                                                                                                                               "vimConnectionId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceProviderId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceId": {
+                                                                                                                                                       "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "vimLevelResourceType": {
+                                                                                                                                                       "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               }
+                                                                                                                                       }
+                                                                                                                               },
+                                                                                                                               "cpInstanceId": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "extManagedVirtualLinkInfo": {
+                                                                                       "description": "External virtual links the VNF instance is connected to.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "vnfVirtualLinkDescId"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vnfVirtualLinkDescId": {
+                                                                                                               "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "networkResource": {
+                                                                                                               "required": ["vimConnectionId", "resourceId"],
+                                                                                                               "type": "object",
+                                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "vnfLinkPorts": {
+                                                                                                               "description": "Link ports of this VL.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "type": "object",
+                                                                                                                       "required": ["id", "resourceHandle"],
+                                                                                                                       "properties": {
+                                                                                                                               "id": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "resourceHandle": {
+                                                                                                                                       "required": ["vimConnectionId", "resourceId"],
+                                                                                                                                       "type": "object",
+                                                                                                                                       "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                                                       "properties": {
+                                                                                                                                               "vimConnectionId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceProviderId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceId": {
+                                                                                                                                                       "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "vimLevelResourceType": {
+                                                                                                                                                       "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               }
+                                                                                                                                       }
+                                                                                                                               },
+                                                                                                                               "cpInstanceId": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "monitoringParameters": {
+                                                                                       "description": "Active monitoring parameters.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "value", "timeStamp"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "name": {
+                                                                                                               "description": "Human readable name of the monitoring parameter, as defined in the VNFD.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "value": {
+                                                                                                               "description": "Value of the monitoring parameter known to the VNFM (e.g. obtained for autoscaling purposes). The type of the \"value\" attribute (i.e. scalar, structure (Object in JSON), or array (of scalars, arrays or structures/Objects)) is assumed to be defined in an external measurement specification.\n",
+                                                                                                               "type": "object"
+                                                                                                       },
+                                                                                                       "timeStamp": {
+                                                                                                               "description": "Represents the point in time when the measurement has been performed, as known to the VNFM. Should be formatted according to ETF RFC 3339.\n",
+                                                                                                               "type": "string"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "localizationLanguage": {
+                                                                                       "description": "Information about localization language of the VNF (includes e.g. strings in the VNFD). The localization languages supported by a VNF can be declared in the VNFD, and localization language selection can take place at instantiation time. The value shall comply with the format defined in IETF RFC 5646.\n",
+                                                                                       "type": "string"
+                                                                               },
+                                                                               "vnfcResourceInfo": {
+                                                                                       "description": "Information about the virtualised compute and storage resources used by the VNFCs of the VNF instance.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "description": "This type represents the information on virtualised compute and storage resources used by a VNFC in a VNF instance.\n",
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "vduId", "computeResource"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vduId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "computeResource": {
+                                                                                                               "required": ["vimConnectionId", "resourceId"],
+                                                                                                               "type": "object",
+                                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "storageResourceIds": {
+                                                                                                               "description": "References to the VirtualStorage resources. The value refers to a VirtualStorageResourceInfo item in the VnfInstance.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                       "type": "string"
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "reservationId": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vnfcCpInfo": {
+                                                                                                               "description": "CPs of the VNFC instance. Shall be present when that particular CP of the VNFC instance is associated to an external CP of the VNF instance. May be present otherwise.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "type": "object",
+                                                                                                                       "required": ["id", "cpdId"],
+                                                                                                                       "properties": {
+                                                                                                                               "id": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "cpdId": {
+                                                                                                                                       "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "vnfExtCpId": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "cpProtocolInfo": {
+                                                                                                                                       "description": "Network protocol information for this CP.\n",
+                                                                                                                                       "type": "array",
+                                                                                                                                       "items": {
+                                                                                                                                               "description": "This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses.\n",
+                                                                                                                                               "required": ["layerProtocol"],
+                                                                                                                                               "properties": {
+                                                                                                                                                       "layerProtocol": {
+                                                                                                                                                               "description": "The identifier of layer(s) and protocol(s) associated to the network address information.  Permitted values: IP_OVER_ETHERNET This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n",
+                                                                                                                                                               "type": "string",
+                                                                                                                                                               "enum": ["IP_OVER_ETHERNET"]
+                                                                                                                                                       },
+                                                                                                                                                       "ipOverEthernet": {
+                                                                                                                                                               "description": "This type represents information about a network address that has been assigned.\n",
+                                                                                                                                                               "type": "object",
+                                                                                                                                                               "required": ["macAddress"],
+                                                                                                                                                               "properties": {
+                                                                                                                                                                       "macAddress": {
+                                                                                                                                                                               "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
+                                                                                                                                                                               "type": "string",
+                                                                                                                                                                               "format": "MAC"
+                                                                                                                                                                       },
+                                                                                                                                                                       "ipAddresses": {
+                                                                                                                                                                               "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n",
+                                                                                                                                                                               "type": "array",
+                                                                                                                                                                               "items": {
+                                                                                                                                                                                       "type": "object",
+                                                                                                                                                                                       "required": ["type"],
+                                                                                                                                                                                       "properties": {
+                                                                                                                                                                                               "type": {
+                                                                                                                                                                                                       "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n",
+                                                                                                                                                                                                       "type": "string",
+                                                                                                                                                                                                       "enum": ["IPV4", "IPV6"]
+                                                                                                                                                                                               },
+                                                                                                                                                                                               "addresses": {
+                                                                                                                                                                                                       "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n",
+                                                                                                                                                                                                       "type": "array",
+                                                                                                                                                                                                       "items": {
+                                                                                                                                                                                                               "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                                               "type": "string",
+                                                                                                                                                                                                               "format": "IP"
+                                                                                                                                                                                                       }
+                                                                                                                                                                                               },
+                                                                                                                                                                                               "isDynamic": {
+                                                                                                                                                                                                       "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n",
+                                                                                                                                                                                                       "type": "boolean"
+                                                                                                                                                                                               },
+                                                                                                                                                                                               "addressRange": {
+                                                                                                                                                                                                       "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n",
+                                                                                                                                                                                                       "type": "object",
+                                                                                                                                                                                                       "required": ["minAddress", "maxAddress"],
+                                                                                                                                                                                                       "properties": {
+                                                                                                                                                                                                               "minAddress": {
+                                                                                                                                                                                                                       "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                                                       "type": "string",
+                                                                                                                                                                                                                       "format": "IP"
+                                                                                                                                                                                                               },
+                                                                                                                                                                                                               "maxAddress": {
+                                                                                                                                                                                                                       "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                                                       "type": "string",
+                                                                                                                                                                                                                       "format": "IP"
+                                                                                                                                                                                                               }
+                                                                                                                                                                                                       }
+                                                                                                                                                                                               },
+                                                                                                                                                                                               "subnetId": {
+                                                                                                                                                                                                       "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                                       "type": "string",
+                                                                                                                                                                                                       "format": "IP"
+                                                                                                                                                                                               }
+                                                                                                                                                                                       }
+                                                                                                                                                                               }
+                                                                                                                                                                       }
+                                                                                                                                                               }
+                                                                                                                                                       }
+                                                                                                                                               }
+                                                                                                                                       }
+                                                                                                                               },
+                                                                                                                               "vnfLinkPortId": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "metadata": {
+                                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                                               "type": "object"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "virtualLinkResourceInfo": {
+                                                                                       "description": "Information about the virtualised network resources used by the VLs of the VNF instance.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by an internal VL instance in a VNF instance.\n",
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "vnfVirtualLinkDescId", "networkResource"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vnfVirtualLinkDescId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "networkResource": {
+                                                                                                               "required": ["vimConnectionId", "resourceId"],
+                                                                                                               "type": "object",
+                                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "reservationId": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vnfLinkPorts": {
+                                                                                                               "description": "Links ports of this VL. Shall be present when the linkPort is used for external connectivity by the VNF (refer to VnfLinkPortInfo). May be present otherwise.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "type": "object",
+                                                                                                                       "required": ["id", "resourceHandle"],
+                                                                                                                       "properties": {
+                                                                                                                               "id": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "resourceHandle": {
+                                                                                                                                       "required": ["vimConnectionId", "resourceId"],
+                                                                                                                                       "type": "object",
+                                                                                                                                       "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                                                       "properties": {
+                                                                                                                                               "vimConnectionId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceProviderId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceId": {
+                                                                                                                                                       "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "vimLevelResourceType": {
+                                                                                                                                                       "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               }
+                                                                                                                                       }
+                                                                                                                               },
+                                                                                                                               "cpInstanceId": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "metadata": {
+                                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                                               "type": "object"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "virtualStorageResourceInfo": {
+                                                                                       "description": "Information on the virtualised storage resource(s) used as storage for the VNF instance.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance.\n",
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "virtualStorageDescId", "storageResource"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "virtualStorageDescId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "storageResource": {
+                                                                                                               "required": ["vimConnectionId", "resourceId"],
+                                                                                                               "type": "object",
+                                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "reservationId": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "metadata": {
+                                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                                               "type": "object"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               },
+                                                               "metadata": {
+                                                                       "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                       "type": "object"
+                                                               },
+                                                               "extensions": {
+                                                                       "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                       "type": "object"
+                                                               },
+                                                               "_links": {
+                                                                       "description": "Links to resources related to this resource.\n",
+                                                                       "type": "object",
+                                                                       "required": ["self"],
+                                                                       "properties": {
+                                                                               "self": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "indicators": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "instantiate": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "terminate": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "scale": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "scaleToLevel": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "changeFlavour": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "heal": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "operate": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "changeExtConn": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "400": {
+                                               "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "401": {
+                                               "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "403": {
+                                               "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided.  It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "404": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "405": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "406": {
+                                               "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "409": {
+                                               "description": "Conflict\nAnother request is in progress that prohibits the fulfilment of the current request, or the current resource state is inconsistent with the request.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "416": {
+                                               "description": "Requested Range Not Satisfiable\nThis code is returned if the requested byte range in the Range HTTP header is not present in the requested resource.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "500": {
+                                               "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "503": {
+                                               "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                       },
+                       "delete": {
+                               "description": "Delete VNF Identifier\n\nThis method deletes an individual VNF instance resource.\n",
+                               "tags": ["Sol003VnfLcm"],
+                               "parameters": [{
+                                               "name": "Authorization",
+                                               "description": "The authorization token for the request. Reference: IETF RFC 7235\n",
+                                               "in": "header",
+                                               "required": false,
+                                               "type": "string"
+                                       }
+                               ],
+                               "responses": {
+                                       "204": {
+                                               "description": "No Content\nThe VNF instance resource and the associated VNF identifier were deleted successfully. The response body shall be empty.\n",
+                                               "headers": {
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               }
+                                       },
+                                       "400": {
+                                               "description": "Bad Request\nIt fhe request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem. If the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided. If there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "401": {
+                                               "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "403": {
+                                               "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided.  It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "404": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "405": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "406": {
+                                               "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "409": {
+                                               "description": "Conflict\nThe operation cannot be executed currently, due to a conflict with the state of the VNF instance resource. Typically, this is due to the fact that the VNF instance resource is in INSTANTIATED state. The response body shall contain a ProblemDetails structure, in which the \"detail\" attribute should convey more information about the error.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "412": {
+                                               "description": "Precondition Failed\nA precondition given in an HTTP request header is not fulfilled. Typically, this is due to an ETag mismatch, indicating that the resource was modified by another entity. The response body should contain a ProblemDetails structure, in which the \"detail\" attribute should convey more information about the error.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "500": {
+                                               "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "503": {
+                                               "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                       }
+               },
+               "/vnf_instances/{vnfInstanceId}/instantiate": {
+                       "parameters": [{
+                                       "name": "vnfInstanceId",
+                                       "description": "Identifier of the VNF instance. This identifier can be retrieved from the resource referenced by the \"Location\" HTTP header in the response to a POST request creating a new VNF instance resource. It can also be retrieved from the \"id\" attribute in the payload body of that response.\n",
+                                       "in": "path",
+                                       "type": "string",
+                                       "required": true
+                               }
+                       ],
+                       "post": {
+                               "description": "Instantiate VNF\n\nThe POST method instantiates a VNF instance.\n",
+                               "tags": ["Sol003VnfLcm"],
+                               "parameters": [{
+                                               "name": "InstantiateVnfRequest",
+                                               "description": "Parameters for the VNF instantiation.",
+                                               "in": "body",
+                                               "required": true,
+                                               "schema": {
+                                                       "type": "object",
+                                                       "required": ["flavourId"],
+                                                       "properties": {
+                                                               "flavourId": {
+                                                                       "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "extVirtualLinks": {
+                                                                       "description": "Information about external VLs to connect the VNF to.\n",
+                                                                       "type": "array",
+                                                                       "items": {
+                                                                               "description": "This type represents an external VL.\n",
+                                                                               "type": "object",
+                                                                               "required": ["id", "resourceId", "extCps"],
+                                                                               "properties": {
+                                                                                       "id": {
+                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                               "type": "string"
+                                                                                       },
+                                                                                       "vimConnectionId": {
+                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                               "type": "string"
+                                                                                       },
+                                                                                       "resourceId": {
+                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                               "type": "string"
+                                                                                       },
+                                                                                       "extCps": {
+                                                                                               "description": "External CPs of the VNF to be connected to this external VL.\n",
+                                                                                               "type": "array",
+                                                                                               "items": {
+                                                                                                       "description": "This type represents configuration information for external CPs created from a CPD.\n",
+                                                                                                       "type": "object",
+                                                                                                       "required": ["cpdId"],
+                                                                                                       "properties": {
+                                                                                                               "cpdId": {
+                                                                                                                       "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                                       "type": "string"
+                                                                                                               },
+                                                                                                               "cpConfig": {
+                                                                                                                       "description": "List of instance data that need to be configured on the CP instances created from the respective CPD.\n",
+                                                                                                                       "type": "array",
+                                                                                                                       "items": {
+                                                                                                                               "description": "This type represents an externally provided link port or network address information per instance of an external connection point. In case a link port is provided, the VNFM shall use that link port when connecting the external CP to the external VL. In a link port is not provided, the VNFM shall create a link port on the external VL, and use that link port to connect the external CP to the external VL.\n",
+                                                                                                                               "type": "object",
+                                                                                                                               "properties": {
+                                                                                                                                       "cpInstanceId": {
+                                                                                                                                               "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                               "type": "string"
+                                                                                                                                       },
+                                                                                                                                       "linkPortId": {
+                                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                               "type": "string"
+                                                                                                                                       },
+                                                                                                                                       "cpProtocolData": {
+                                                                                                                                               "description": "Parameters for configuring the network protocols on the link port that connects the CP to a VL.  The following conditions apply to the attributes \"linkPortId\" and \"cpProtocolData\":  * The \"linkPortId\" and \"cpProtocolData\" attributes shall both be  absent for the deletion of an existing external CP instance\n  addressed by cpInstanceId. \n* At least one of these attributes shall be present for a  to-be-created external CP instance or an existing external\n  CP instance.\n* If the \"linkPortId\" attribute is absent, the VNFM shall create a  link port.\n* If the \"cpProtocolData\" attribute is absent, the \"linkPortId\"  attribute shall be provided referencing a pre-created link port,\n  and the VNFM can use means outside the scope of the present\n  document to obtain the pre-configured address information for the\n  connection point from the resource representing the link port.\n* If both \"cpProtocolData\" and \"linkportId\" are provided, the API  consumer shall ensure that the cpProtocolData can be used with the\n  pre-created link port referenced by \"linkPortId\".\n",
+                                                                                                                                               "type": "array",
+                                                                                                                                               "items": {
+                                                                                                                                                       "description": "This type represents network protocol data.\n",
+                                                                                                                                                       "type": "object",
+                                                                                                                                                       "required": ["layerProtocol"],
+                                                                                                                                                       "properties": {
+                                                                                                                                                               "layerProtocol": {
+                                                                                                                                                                       "description": "Identifier of layer(s) and protocol(s). This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n",
+                                                                                                                                                                       "type": "string",
+                                                                                                                                                                       "enum": ["IP_OVER_ETHERNET"]
+                                                                                                                                                               },
+                                                                                                                                                               "ipOverEthernet": {
+                                                                                                                                                                       "description": "This type represents network address data for IP over Ethernet.\n",
+                                                                                                                                                                       "type": "object",
+                                                                                                                                                                       "properties": {
+                                                                                                                                                                               "macAddress": {
+                                                                                                                                                                                       "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
+                                                                                                                                                                                       "type": "string",
+                                                                                                                                                                                       "format": "MAC"
+                                                                                                                                                                               },
+                                                                                                                                                                               "ipAddresses": {
+                                                                                                                                                                                       "description": "List of IP addresses to assign to the CP instance. Each entry represents IP address data for fixed or dynamic IP address assignment per subnet. If this attribute is not present, no IP address shall be assigned.\n",
+                                                                                                                                                                                       "type": "array",
+                                                                                                                                                                                       "items": {
+                                                                                                                                                                                               "type": "object",
+                                                                                                                                                                                               "required": ["type"],
+                                                                                                                                                                                               "properties": {
+                                                                                                                                                                                                       "type": {
+                                                                                                                                                                                                               "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n",
+                                                                                                                                                                                                               "type": "string",
+                                                                                                                                                                                                               "enum": ["IPV4", "IPV6"]
+                                                                                                                                                                                                       },
+                                                                                                                                                                                                       "fixedAddresses": {
+                                                                                                                                                                                                               "description": "Fixed addresses to assign (from the subnet defined by \"subnetId\" if provided). Exactly one of \"fixedAddresses\", \"numDynamicAddresses\" or \"ipAddressRange\" shall be present.\n",
+                                                                                                                                                                                                               "type": "array",
+                                                                                                                                                                                                               "items": {
+                                                                                                                                                                                                                       "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                                                       "type": "string",
+                                                                                                                                                                                                                       "format": "IP"
+                                                                                                                                                                                                               }
+                                                                                                                                                                                                       },
+                                                                                                                                                                                                       "numDynamicAddresses": {
+                                                                                                                                                                                                               "description": "Number of dynamic addresses to assign (from the subnet defined by \"subnetId\" if provided). Exactly one of \"fixedAddresses\", \"numDynamicAddresses\" or \"ipAddressRange\" shall be present.\n",
+                                                                                                                                                                                                               "type": "integer"
+                                                                                                                                                                                                       },
+                                                                                                                                                                                                       "addressRange": {
+                                                                                                                                                                                                               "description": "An IP address range to be used, e.g. in case of egress connections. In case this attribute is present, IP addresses from the range will be used.\n",
+                                                                                                                                                                                                               "type": "object",
+                                                                                                                                                                                                               "required": ["minAddress", "maxAddress"],
+                                                                                                                                                                                                               "properties": {
+                                                                                                                                                                                                                       "minAddress": {
+                                                                                                                                                                                                                               "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                                                               "type": "string",
+                                                                                                                                                                                                                               "format": "IP"
+                                                                                                                                                                                                                       },
+                                                                                                                                                                                                                       "maxAddress": {
+                                                                                                                                                                                                                               "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                                                               "type": "string",
+                                                                                                                                                                                                                               "format": "IP"
+                                                                                                                                                                                                                       }
+                                                                                                                                                                                                               }
+                                                                                                                                                                                                       },
+                                                                                                                                                                                                       "subnetId": {
+                                                                                                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                                                                                                               "type": "string"
+                                                                                                                                                                                                       }
+                                                                                                                                                                                               }
+                                                                                                                                                                                       }
+                                                                                                                                                                               }
+                                                                                                                                                                       }
+                                                                                                                                                               }
+                                                                                                                                                       }
+                                                                                                                                               }
+                                                                                                                                       }
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       }
+                                                                                               }
+                                                                                       },
+                                                                                       "extLinkPorts": {
+                                                                                               "description": "Externally provided link ports to be used to connect external connection points to this external VL. If this attribute is not present, the VNFM shall create the link ports on the external VL.\n",
+                                                                                               "type": "array",
+                                                                                               "items": {
+                                                                                                       "description": "This type represents an externally provided link port to be used to connect an external connection point to an external VL.\n",
+                                                                                                       "type": "object",
+                                                                                                       "required": ["id", "resourceHandle"],
+                                                                                                       "properties": {
+                                                                                                               "id": {
+                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                       "type": "string"
+                                                                                                               },
+                                                                                                               "resourceHandle": {
+                                                                                                                       "required": ["vimConnectionId", "resourceId"],
+                                                                                                                       "type": "object",
+                                                                                                                       "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                                       "properties": {
+                                                                                                                               "vimConnectionId": {
+                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "resourceId": {
+                                                                                                                                       "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "vimLevelResourceType": {
+                                                                                                                                       "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               },
+                                                               "vimConnectionInfo": {
+                                                                       "description": "Information about VIM connections to be used for managing the resources for the VNF instance, or refer to external / externally-managed virtual links. This attribute shall only be supported and may be present if VNF-related resource management in direct mode is applicable.\n",
+                                                                       "type": "array",
+                                                                       "items": {
+                                                                               "description": "This type represents parameters to connect to a VIM for managing the resources of a VNF instance. This structure is used to convey VIM-related parameters over the Or-Vnfm interface. Additional parameters for a VIM may be configured into the VNFM by means outside the scope of the present document, and bound to the identifier of that VIM.\n",
+                                                                               "type": "object",
+                                                                               "required": ["id", "vimType"],
+                                                                               "properties": {
+                                                                                       "id": {
+                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                               "type": "string"
+                                                                                       },
+                                                                                       "vimId": {
+                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                               "type": "string"
+                                                                                       },
+                                                                                       "vimType": {
+                                                                                               "description": "Discriminator for the different types of the VIM information. The value of this attribute determines the structure of the \"interfaceInfo\" and \"accessInfo\" attributes, based on the type of the VIM. The set of permitted values is expected to change over time as new types or versions of VIMs become available. The ETSI NFV registry of VIM-related information provides access to information about VimConnectionInfo definitions for various VIM types. The structure of the registry is defined in Annex C of SOL003.\n",
+                                                                                               "type": "string"
+                                                                                       },
+                                                                                       "interfaceInfo": {
+                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                               "type": "object"
+                                                                                       },
+                                                                                       "accessInfo": {
+                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                               "type": "object"
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               },
+                                                               "additionalParams": {
+                                                                       "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                       "type": "object"
+                                                               }
+                                                       }
+                                               }
+                                       }, {
+                                               "name": "Accept",
+                                               "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n",
+                                               "in": "header",
+                                               "required": true,
+                                               "type": "string"
+                                       }, {
+                                               "name": "Authorization",
+                                               "description": "The authorization token for the request. Reference: IETF RFC 7235\n",
+                                               "in": "header",
+                                               "required": false,
+                                               "type": "string"
+                                       }, {
+                                               "name": "Content-Type",
+                                               "description": "The MIME type of the body of the request. Reference: IETF RFC 7231\n",
+                                               "in": "header",
+                                               "required": true,
+                                               "type": "string"
+                                       }
+                               ],
+                               "responses": {
+                                       "202": {
+                                               "description": "Accepted\nThe request was accepted for processing, but the  processing has not been completed. The response body shall be empty. The HTTP response shall include a \"Location\" HTTP header that contains the URI of the newly-created \"VNF LCM operation occurrence\" resource corresponding to the operation.\n",
+                                               "headers": {
+                                                       "Location": {
+                                                               "description": "The resource URI of the created VNF instance",
+                                                               "type": "string",
+                                                               "format": "url"
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               }
+                                       },
+                                       "400": {
+                                               "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "401": {
+                                               "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "403": {
+                                               "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided.  It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "404": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "405": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "406": {
+                                               "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "409": {
+                                               "description": "Conflict\nThe operation cannot be executed currently, due to a conflict with the state of the VNF instance resource. Typically, this is due to the fact that the VNF instance resource is in INSTANTIATED state. The response body shall contain a ProblemDetails structure, in which the \"detail\" attribute should convey more information about the error.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "416": {
+                                               "description": "Requested Range Not Satisfiable\nThis code is returned if the requested byte range in the Range HTTP header is not present in the requested resource.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "500": {
+                                               "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "503": {
+                                               "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                       }
+               },
+               "/vnf_instances/{vnfInstanceId}/terminate": {
+                       "parameters": [{
+                                       "name": "vnfInstanceId",
+                                       "description": "The identifier of the VNF instance to be terminated. This identifier can be retrieved from the resource referenced by the \"Location\" HTTP header in the response to a POST request creating a new VNF instance resource. It can also be retrieved from the \"id\" attribute in the payload body of that response.\n",
+                                       "in": "path",
+                                       "type": "string",
+                                       "required": true
+                               }
+                       ],
+                       "post": {
+                               "description": "Terminate VNF\n\nThe POST method terminates a VNF instance.\n",
+                               "tags": ["Sol003VnfLcm"],
+                               "parameters": [{
+                                               "name": "TerminateVnfRequest",
+                                               "description": "Parameters for the VNF termination.",
+                                               "in": "body",
+                                               "required": true,
+                                               "schema": {
+                                                       "type": "object",
+                                                       "required": ["terminationType"],
+                                                       "properties": {
+                                                               "terminationType": {
+                                                                       "description": "Indicates whether forceful or graceful termination is requested. VNFM Adapter will only support FORCEFUL in Dublin.\n",
+                                                                       "type": "string",
+                                                                       "enum": ["FORCEFUL", "GRACEFUL"]
+                                                               }
+                                                       }
+                                               }
+                                       }, {
+                                               "name": "Accept",
+                                               "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n",
+                                               "in": "header",
+                                               "required": true,
+                                               "type": "string"
+                                       }, {
+                                               "name": "Authorization",
+                                               "description": "The authorization token for the request. Reference: IETF RFC 7235\n",
+                                               "in": "header",
+                                               "required": false,
+                                               "type": "string"
+                                       }, {
+                                               "name": "Content-Type",
+                                               "description": "The MIME type of the body of the request. Reference: IETF RFC 7231\n",
+                                               "in": "header",
+                                               "required": true,
+                                               "type": "string"
+                                       }
+                               ],
+                               "responses": {
+                                       "202": {
+                                               "description": "Accepted\nThe request was accepted for processing, but the processing has not been completed. On success, the HTTP response shall include a \"Location\" HTTP header that contains the URI of the newly-created \"VNF LCM operation occurrence\" resource corresponding to the operation.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "Location": {
+                                                               "description": "The resource URI of the created VNF instance",
+                                                               "type": "string",
+                                                               "format": "url"
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "This type represents a VNF instance.\n",
+                                                       "type": "object",
+                                                       "required": ["id", "vnfdId", "vnfProvider", "vnfProductName", "vnfSoftwareVersion", "vnfdVersion", "vnfPkgId", "instantiationState"],
+                                                       "properties": {
+                                                               "id": {
+                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfInstanceName": {
+                                                                       "description": "Name of the VNF instance. This attribute can be modified with the PATCH method.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfInstanceDescription": {
+                                                                       "description": "Human-readable description of the VNF instance. This attribute can be modified with the PATCH method.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfdId": {
+                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfProvider": {
+                                                                       "description": "Provider of the VNF and the VNFD. The value is copied from the VNFD.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfProductName": {
+                                                                       "description": "Name to identify the VNF Product. The value is copied from the VNFD.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfSoftwareVersion": {
+                                                                       "description": "A Version.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfdVersion": {
+                                                                       "description": "A Version.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfPkgId": {
+                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "vnfConfigurableProperties": {
+                                                                       "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                       "type": "object"
+                                                               },
+                                                               "vimConnectionInfo": {
+                                                                       "description": "Information about VIM connections to be used for managing the resources for the VNF instance. This attribute shall only be supported and present if VNF-related resource management in direct mode is applicable. This attribute can be modified with the PATCH method.\n",
+                                                                       "type": "array",
+                                                                       "items": {
+                                                                               "description": "This type represents parameters to connect to a VIM for managing the resources of a VNF instance. This structure is used to convey VIM-related parameters over the Or-Vnfm interface. Additional parameters for a VIM may be configured into the VNFM by means outside the scope of the present document, and bound to the identifier of that VIM.\n",
+                                                                               "type": "object",
+                                                                               "required": ["id", "vimType"],
+                                                                               "properties": {
+                                                                                       "id": {
+                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                               "type": "string"
+                                                                                       },
+                                                                                       "vimId": {
+                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                               "type": "string"
+                                                                                       },
+                                                                                       "vimType": {
+                                                                                               "description": "Discriminator for the different types of the VIM information. The value of this attribute determines the structure of the \"interfaceInfo\" and \"accessInfo\" attributes, based on the type of the VIM. The set of permitted values is expected to change over time as new types or versions of VIMs become available. The ETSI NFV registry of VIM-related information provides access to information about VimConnectionInfo definitions for various VIM types. The structure of the registry is defined in Annex C of SOL003.\n",
+                                                                                               "type": "string"
+                                                                                       },
+                                                                                       "interfaceInfo": {
+                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                               "type": "object"
+                                                                                       },
+                                                                                       "accessInfo": {
+                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                               "type": "object"
+                                                                                       },
+                                                                                       "extra": {
+                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                               "type": "object"
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               },
+                                                               "instantiationState": {
+                                                                       "description": "The instantiation state of the VNF.\n",
+                                                                       "type": "string",
+                                                                       "enum": ["NOT_INSTANTIATED", "INSTANTIATED"]
+                                                               },
+                                                               "instantiatedVnfInfo": {
+                                                                       "description": "Information specific to an instantiated VNF instance. This attribute shall be present if the instantiateState attribute value is INSTANTIATED.\n",
+                                                                       "type": "object",
+                                                                       "required": ["flavourId", "vnfState"],
+                                                                       "properties": {
+                                                                               "flavourId": {
+                                                                                       "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                       "type": "string"
+                                                                               },
+                                                                               "vnfState": {
+                                                                                       "type": "string",
+                                                                                       "enum": ["STARTED", "STOPPED"]
+                                                                               },
+                                                                               "scaleStatus": {
+                                                                                       "description": "Scale status of the VNF, one entry per aspect. Represents for every scaling aspect how \"big\" the VNF has been scaled w.r.t. that aspect.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "required": ["aspectId", "scaleLevel"],
+                                                                                               "type": "object",
+                                                                                               "properties": {
+                                                                                                       "aspectId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "scaleLevel": {
+                                                                                                               "description": "Indicates the scale level. The minimum value shall be 0 and the maximum value shall be <= maxScaleLevel as described in the VNFD.\n",
+                                                                                                               "type": "integer"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "extCpInfo": {
+                                                                                       "description": "Information about the external CPs exposed by the VNF instance.\n",
+                                                                                       "type": "array",
+                                                                                       "minItems": 1,
+                                                                                       "items": {
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "cpdId"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "cpdId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "cpProtocolInfo": {
+                                                                                                               "description": "Network protocol information for this CP.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "description": "This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses.\n",
+                                                                                                                       "required": ["layerProtocol"],
+                                                                                                                       "properties": {
+                                                                                                                               "layerProtocol": {
+                                                                                                                                       "description": "The identifier of layer(s) and protocol(s) associated to the network address information.  Permitted values: IP_OVER_ETHERNET This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n",
+                                                                                                                                       "type": "string",
+                                                                                                                                       "enum": ["IP_OVER_ETHERNET"]
+                                                                                                                               },
+                                                                                                                               "ipOverEthernet": {
+                                                                                                                                       "description": "This type represents information about a network address that has been assigned.\n",
+                                                                                                                                       "type": "object",
+                                                                                                                                       "required": ["macAddress"],
+                                                                                                                                       "properties": {
+                                                                                                                                               "macAddress": {
+                                                                                                                                                       "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
+                                                                                                                                                       "type": "string",
+                                                                                                                                                       "format": "MAC"
+                                                                                                                                               },
+                                                                                                                                               "ipAddresses": {
+                                                                                                                                                       "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n",
+                                                                                                                                                       "type": "array",
+                                                                                                                                                       "items": {
+                                                                                                                                                               "type": "object",
+                                                                                                                                                               "required": ["type"],
+                                                                                                                                                               "properties": {
+                                                                                                                                                                       "type": {
+                                                                                                                                                                               "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n",
+                                                                                                                                                                               "type": "string",
+                                                                                                                                                                               "enum": ["IPV4", "IPV6"]
+                                                                                                                                                                       },
+                                                                                                                                                                       "addresses": {
+                                                                                                                                                                               "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n",
+                                                                                                                                                                               "type": "array",
+                                                                                                                                                                               "items": {
+                                                                                                                                                                                       "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                       "type": "string",
+                                                                                                                                                                                       "format": "IP"
+                                                                                                                                                                               }
+                                                                                                                                                                       },
+                                                                                                                                                                       "isDynamic": {
+                                                                                                                                                                               "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n",
+                                                                                                                                                                               "type": "boolean"
+                                                                                                                                                                       },
+                                                                                                                                                                       "addressRange": {
+                                                                                                                                                                               "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n",
+                                                                                                                                                                               "type": "object",
+                                                                                                                                                                               "required": ["minAddress", "maxAddress"],
+                                                                                                                                                                               "properties": {
+                                                                                                                                                                                       "minAddress": {
+                                                                                                                                                                                               "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                               "type": "string",
+                                                                                                                                                                                               "format": "IP"
+                                                                                                                                                                                       },
+                                                                                                                                                                                       "maxAddress": {
+                                                                                                                                                                                               "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                               "type": "string",
+                                                                                                                                                                                               "format": "IP"
+                                                                                                                                                                                       }
+                                                                                                                                                                               }
+                                                                                                                                                                       },
+                                                                                                                                                                       "subnetId": {
+                                                                                                                                                                               "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                               "type": "string",
+                                                                                                                                                                               "format": "IP"
+                                                                                                                                                                       }
+                                                                                                                                                               }
+                                                                                                                                                       }
+                                                                                                                                               }
+                                                                                                                                       }
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "extLinkPortId": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "extVirtualLinkInfo": {
+                                                                                       "description": "Information about the external VLs the VNF instance is connected to.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "resourceHandle"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "resourceHandle": {
+                                                                                                               "required": ["vimConnectionId", "resourceId"],
+                                                                                                               "type": "object",
+                                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "extLinkPorts": {
+                                                                                                               "description": "Link ports of this VL.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "description": "This type represents information about a link port of an external VL, i.e. a port providing connectivity for the VNF to an NS VL.\n",
+                                                                                                                       "type": "object",
+                                                                                                                       "required": ["id", "resourceHandle"],
+                                                                                                                       "properties": {
+                                                                                                                               "id": {
+                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "resourceHandle": {
+                                                                                                                                       "required": ["vimConnectionId", "resourceId"],
+                                                                                                                                       "type": "object",
+                                                                                                                                       "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                                                       "properties": {
+                                                                                                                                               "vimConnectionId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceProviderId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceId": {
+                                                                                                                                                       "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "vimLevelResourceType": {
+                                                                                                                                                       "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               }
+                                                                                                                                       }
+                                                                                                                               },
+                                                                                                                               "cpInstanceId": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "extManagedVirtualLinkInfo": {
+                                                                                       "description": "External virtual links the VNF instance is connected to.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "vnfVirtualLinkDescId"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vnfVirtualLinkDescId": {
+                                                                                                               "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "networkResource": {
+                                                                                                               "required": ["vimConnectionId", "resourceId"],
+                                                                                                               "type": "object",
+                                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "vnfLinkPorts": {
+                                                                                                               "description": "Link ports of this VL.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "type": "object",
+                                                                                                                       "required": ["id", "resourceHandle"],
+                                                                                                                       "properties": {
+                                                                                                                               "id": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "resourceHandle": {
+                                                                                                                                       "required": ["vimConnectionId", "resourceId"],
+                                                                                                                                       "type": "object",
+                                                                                                                                       "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                                                       "properties": {
+                                                                                                                                               "vimConnectionId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceProviderId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceId": {
+                                                                                                                                                       "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "vimLevelResourceType": {
+                                                                                                                                                       "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               }
+                                                                                                                                       }
+                                                                                                                               },
+                                                                                                                               "cpInstanceId": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "monitoringParameters": {
+                                                                                       "description": "Active monitoring parameters.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "value", "timeStamp"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "name": {
+                                                                                                               "description": "Human readable name of the monitoring parameter, as defined in the VNFD.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "value": {
+                                                                                                               "description": "Value of the monitoring parameter known to the VNFM (e.g. obtained for autoscaling purposes). The type of the \"value\" attribute (i.e. scalar, structure (Object in JSON), or array (of scalars, arrays or structures/Objects)) is assumed to be defined in an external measurement specification.\n",
+                                                                                                               "type": "object"
+                                                                                                       },
+                                                                                                       "timeStamp": {
+                                                                                                               "description": "Represents the point in time when the measurement has been performed, as known to the VNFM. Should be formatted according to ETF RFC 3339.\n",
+                                                                                                               "type": "string"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "localizationLanguage": {
+                                                                                       "description": "Information about localization language of the VNF (includes e.g. strings in the VNFD). The localization languages supported by a VNF can be declared in the VNFD, and localization language selection can take place at instantiation time. The value shall comply with the format defined in IETF RFC 5646.\n",
+                                                                                       "type": "string"
+                                                                               },
+                                                                               "vnfcResourceInfo": {
+                                                                                       "description": "Information about the virtualised compute and storage resources used by the VNFCs of the VNF instance.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "description": "This type represents the information on virtualised compute and storage resources used by a VNFC in a VNF instance.\n",
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "vduId", "computeResource"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vduId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "computeResource": {
+                                                                                                               "required": ["vimConnectionId", "resourceId"],
+                                                                                                               "type": "object",
+                                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "storageResourceIds": {
+                                                                                                               "description": "References to the VirtualStorage resources. The value refers to a VirtualStorageResourceInfo item in the VnfInstance.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                       "type": "string"
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "reservationId": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vnfcCpInfo": {
+                                                                                                               "description": "CPs of the VNFC instance. Shall be present when that particular CP of the VNFC instance is associated to an external CP of the VNF instance. May be present otherwise.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "type": "object",
+                                                                                                                       "required": ["id", "cpdId"],
+                                                                                                                       "properties": {
+                                                                                                                               "id": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "cpdId": {
+                                                                                                                                       "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "vnfExtCpId": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "cpProtocolInfo": {
+                                                                                                                                       "description": "Network protocol information for this CP.\n",
+                                                                                                                                       "type": "array",
+                                                                                                                                       "items": {
+                                                                                                                                               "description": "This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses.\n",
+                                                                                                                                               "required": ["layerProtocol"],
+                                                                                                                                               "properties": {
+                                                                                                                                                       "layerProtocol": {
+                                                                                                                                                               "description": "The identifier of layer(s) and protocol(s) associated to the network address information.  Permitted values: IP_OVER_ETHERNET This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n",
+                                                                                                                                                               "type": "string",
+                                                                                                                                                               "enum": ["IP_OVER_ETHERNET"]
+                                                                                                                                                       },
+                                                                                                                                                       "ipOverEthernet": {
+                                                                                                                                                               "description": "This type represents information about a network address that has been assigned.\n",
+                                                                                                                                                               "type": "object",
+                                                                                                                                                               "required": ["macAddress"],
+                                                                                                                                                               "properties": {
+                                                                                                                                                                       "macAddress": {
+                                                                                                                                                                               "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
+                                                                                                                                                                               "type": "string",
+                                                                                                                                                                               "format": "MAC"
+                                                                                                                                                                       },
+                                                                                                                                                                       "ipAddresses": {
+                                                                                                                                                                               "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n",
+                                                                                                                                                                               "type": "array",
+                                                                                                                                                                               "items": {
+                                                                                                                                                                                       "type": "object",
+                                                                                                                                                                                       "required": ["type"],
+                                                                                                                                                                                       "properties": {
+                                                                                                                                                                                               "type": {
+                                                                                                                                                                                                       "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n",
+                                                                                                                                                                                                       "type": "string",
+                                                                                                                                                                                                       "enum": ["IPV4", "IPV6"]
+                                                                                                                                                                                               },
+                                                                                                                                                                                               "addresses": {
+                                                                                                                                                                                                       "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n",
+                                                                                                                                                                                                       "type": "array",
+                                                                                                                                                                                                       "items": {
+                                                                                                                                                                                                               "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                                               "type": "string",
+                                                                                                                                                                                                               "format": "IP"
+                                                                                                                                                                                                       }
+                                                                                                                                                                                               },
+                                                                                                                                                                                               "isDynamic": {
+                                                                                                                                                                                                       "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n",
+                                                                                                                                                                                                       "type": "boolean"
+                                                                                                                                                                                               },
+                                                                                                                                                                                               "addressRange": {
+                                                                                                                                                                                                       "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n",
+                                                                                                                                                                                                       "type": "object",
+                                                                                                                                                                                                       "required": ["minAddress", "maxAddress"],
+                                                                                                                                                                                                       "properties": {
+                                                                                                                                                                                                               "minAddress": {
+                                                                                                                                                                                                                       "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                                                       "type": "string",
+                                                                                                                                                                                                                       "format": "IP"
+                                                                                                                                                                                                               },
+                                                                                                                                                                                                               "maxAddress": {
+                                                                                                                                                                                                                       "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                                                       "type": "string",
+                                                                                                                                                                                                                       "format": "IP"
+                                                                                                                                                                                                               }
+                                                                                                                                                                                                       }
+                                                                                                                                                                                               },
+                                                                                                                                                                                               "subnetId": {
+                                                                                                                                                                                                       "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that  consists of groups of zero to four hexadecimal digits, separated by colons.\n",
+                                                                                                                                                                                                       "type": "string",
+                                                                                                                                                                                                       "format": "IP"
+                                                                                                                                                                                               }
+                                                                                                                                                                                       }
+                                                                                                                                                                               }
+                                                                                                                                                                       }
+                                                                                                                                                               }
+                                                                                                                                                       }
+                                                                                                                                               }
+                                                                                                                                       }
+                                                                                                                               },
+                                                                                                                               "vnfLinkPortId": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "metadata": {
+                                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                                               "type": "object"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "virtualLinkResourceInfo": {
+                                                                                       "description": "Information about the virtualised network resources used by the VLs of the VNF instance.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by an internal VL instance in a VNF instance.\n",
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "vnfVirtualLinkDescId", "networkResource"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vnfVirtualLinkDescId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "networkResource": {
+                                                                                                               "required": ["vimConnectionId", "resourceId"],
+                                                                                                               "type": "object",
+                                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "reservationId": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vnfLinkPorts": {
+                                                                                                               "description": "Links ports of this VL. Shall be present when the linkPort is used for external connectivity by the VNF (refer to VnfLinkPortInfo). May be present otherwise.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "type": "object",
+                                                                                                                       "required": ["id", "resourceHandle"],
+                                                                                                                       "properties": {
+                                                                                                                               "id": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "resourceHandle": {
+                                                                                                                                       "required": ["vimConnectionId", "resourceId"],
+                                                                                                                                       "type": "object",
+                                                                                                                                       "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                                                       "properties": {
+                                                                                                                                               "vimConnectionId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceProviderId": {
+                                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "resourceId": {
+                                                                                                                                                       "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               },
+                                                                                                                                               "vimLevelResourceType": {
+                                                                                                                                                       "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                                                       "type": "string"
+                                                                                                                                               }
+                                                                                                                                       }
+                                                                                                                               },
+                                                                                                                               "cpInstanceId": {
+                                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "metadata": {
+                                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                                               "type": "object"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "virtualStorageResourceInfo": {
+                                                                                       "description": "Information on the virtualised storage resource(s) used as storage for the VNF instance.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance.\n",
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "virtualStorageDescId", "storageResource"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "virtualStorageDescId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "storageResource": {
+                                                                                                               "required": ["vimConnectionId", "resourceId"],
+                                                                                                               "type": "object",
+                                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "reservationId": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "metadata": {
+                                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                                               "type": "object"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               },
+                                                               "metadata": {
+                                                                       "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                       "type": "object"
+                                                               },
+                                                               "extensions": {
+                                                                       "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                       "type": "object"
+                                                               },
+                                                               "_links": {
+                                                                       "description": "Links to resources related to this resource.\n",
+                                                                       "type": "object",
+                                                                       "required": ["self"],
+                                                                       "properties": {
+                                                                               "self": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "indicators": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "instantiate": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "terminate": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "scale": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "scaleToLevel": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "changeFlavour": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "heal": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "operate": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "changeExtConn": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "400": {
+                                               "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "401": {
+                                               "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "403": {
+                                               "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided.  It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "404": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "405": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "406": {
+                                               "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "409": {
+                                               "description": "Conflict\nThe operation cannot be executed currently, due to a conflict with the state of the VNF instance resource. Typically, this is due to the fact that the VNF instance resource is in NOT-INSTANTIATED state, or that another lifecycle management operation is ongoing. The response body shall contain a ProblemDetails structure, in which the \"detail\" attribute should convey more information about the error.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "500": {
+                                               "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "503": {
+                                               "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                       }
+               },
+               "/vnf_lcm_op_occs/{vnfLcmOpOccId}": {
+                       "parameters": [{
+                                       "name": "vnfLcmOpOccId",
+                                       "description": "Identifier of a VNF lifecycle management operation occurrence. This identifier can be retrieved from the resource referenced by the \"Location\" HTTP header in the response to a PATCH or POST request triggering a VNF LCM operation. It can also be retrieved from the \"vnfLcmOpOccId\" attribute in the VnfLcmOperationOccurrenceNotification.\n",
+                                       "in": "path",
+                                       "required": true,
+                                       "type": "string"
+                               }
+                       ],
+                       "get": {
+                               "description": "Get Operation Status\n\nThe client can use this method to retrieve status information about a VNF lifecycle management operation occurrence by reading an individual \"VNF LCM operation occurrence\" resource.\n",
+                               "tags": ["Sol003VnfLcm"],
+                               "parameters": [{
+                                               "name": "Accept",
+                                               "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n",
+                                               "in": "header",
+                                               "required": true,
+                                               "type": "string"
+                                       }, {
+                                               "name": "Authorization",
+                                               "description": "The authorization token for the request. Reference: IETF RFC 7235\n",
+                                               "in": "header",
+                                               "required": false,
+                                               "type": "string"
+                                       }
+                               ],
+                               "responses": {
+                                       "200": {
+                                               "description": "OK\nInformation about an individual VNF instance was queried successfully. The response body shall contain status information about a VNF lifecycle management operation occurrence.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "This type represents a VNF lifecycle management operation occurrence.\n",
+                                                       "type": "object",
+                                                       "required": ["id", "operationState", "stateEnteredTime", "startTime", "vnfInstanceId", "operation", "isAutomaticInvocation", "operationParams", "isCancelPending"],
+                                                       "properties": {
+                                                               "id": {
+                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                       "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.\n",
+                                                                       "type": "string",
+                                                                       "enum": ["STARTING", "PROCESSING", "COMPLETED", "FAILED_TEMP", "FAILED", "ROLLING_BACK", "ROLLED_BACK"]
+                                                               },
+                                                               "stateEnteredTime": {
+                                                                       "description": "Date-time when the current state was entered.\n",
+                                                                       "type": "string",
+                                                                       "format": "date-time"
+                                                               },
+                                                               "startTime": {
+                                                                       "description": "Date-time of the start of the operation.\n",
+                                                                       "type": "string",
+                                                                       "format": "date-time"
+                                                               },
+                                                               "vnfInstanceId": {
+                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "grantId": {
+                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                       "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.\n",
+                                                                       "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.\n",
+                                                                       "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.\n",
+                                                                       "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.\n",
+                                                                       "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.\n",
+                                                                       "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].\n",
+                                                                       "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\".\n",
+                                                                                       "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).\n",
+                                                                                       "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.\n",
+                                                                                       "type": "integer"
+                                                                               },
+                                                                               "detail": {
+                                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                                       "type": "string"
+                                                                               },
+                                                                               "instance": {
+                                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                                       "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.\n",
+                                                                       "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.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "description": "This type provides information about added, deleted, modified and temporary VNFCs.\n",
+                                                                                               "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.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vduId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "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.\n",
+                                                                                                               "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.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "metadata": {
+                                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                                               "type": "object"
+                                                                                                       },
+                                                                                                       "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.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                       "type": "string"
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "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.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                       "type": "string"
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "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.\n",
+                                                                                                               "type": "array",
+                                                                                                               "items": {
+                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                       "type": "string"
+                                                                                                               }
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "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.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "description": "This type provides information about added, deleted, modified and temporary VLs.\n",
+                                                                                               "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.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "virtualLinkDescId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "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.\n",
+                                                                                                               "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.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "metadata": {
+                                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                                               "type": "object"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "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.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "description": "This type provides information about added, deleted, modified and temporary virtual storage resources.\n",
+                                                                                               "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.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "virtualStorageDescId": {
+                                                                                                               "description": "An identifier that is unique within a VNF descriptor.\n",
+                                                                                                               "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.\n",
+                                                                                                               "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.\n",
+                                                                                                               "properties": {
+                                                                                                                       "vimConnectionId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceProviderId": {
+                                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "resourceId": {
+                                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vimLevelResourceType": {
+                                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       }
+                                                                                                               }
+                                                                                                       },
+                                                                                                       "metadata": {
+                                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                                               "type": "object"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               },
+                                                               "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.\n",
+                                                                       "type": "object",
+                                                                       "properties": {
+                                                                               "vnfInstanceName": {
+                                                                                       "description": "If present, this attribute signals modifications of the \"vnfInstanceName\" attribute in \"VnfInstance\".\n",
+                                                                                       "type": "string"
+                                                                               },
+                                                                               "vnfInstanceDescription": {
+                                                                                       "description": "If present, this attribute signals modifications of the \"vnfInstanceDescription\" attribute in \"VnfInstance\".\n",
+                                                                                       "type": "string"
+                                                                               },
+                                                                               "vnfConfigurableProperties": {
+                                                                                       "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                       "type": "object"
+                                                                               },
+                                                                               "metadata": {
+                                                                                       "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                       "type": "object"
+                                                                               },
+                                                                               "extensions": {
+                                                                                       "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                       "type": "object"
+                                                                               },
+                                                                               "vimConnectionInfo": {
+                                                                                       "description": "If present, this attribute signals modifications of certain entries in the \"vimConnectionInfo\" attribute array in \"VnfInstance\".\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "description": "This type represents parameters to connect to a VIM for managing the resources of a VNF instance. This structure is used to convey VIM-related parameters over the Or-Vnfm interface. Additional parameters for a VIM may be configured into the VNFM by means outside the scope of the present document, and bound to the identifier of that VIM.\n",
+                                                                                               "type": "object",
+                                                                                               "required": ["id", "vimType"],
+                                                                                               "properties": {
+                                                                                                       "id": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vimId": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vimType": {
+                                                                                                               "description": "Discriminator for the different types of the VIM information. The value of this attribute determines the structure of the \"interfaceInfo\" and \"accessInfo\" attributes, based on the type of the VIM. The set of permitted values is expected to change over time as new types or versions of VIMs become available. The ETSI NFV registry of VIM-related information provides access to information about VimConnectionInfo definitions for various VIM types. The structure of the registry is defined in Annex C of SOL003.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "interfaceInfo": {
+                                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                                               "type": "object"
+                                                                                                       },
+                                                                                                       "accessInfo": {
+                                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                                               "type": "object"
+                                                                                                       },
+                                                                                                       "extra": {
+                                                                                                               "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions  defined in clause 4 of IETF RFC 7159.\n",
+                                                                                                               "type": "object"
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "vnfPkgId": {
+                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                       "type": "string"
+                                                                               },
+                                                                               "vnfdId": {
+                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                       "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.\n",
+                                                                                       "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.\n",
+                                                                                       "type": "string"
+                                                                               },
+                                                                               "vnfSoftwareVersion": {
+                                                                                       "description": "A Version.\n",
+                                                                                       "type": "string"
+                                                                               },
+                                                                               "vnfdVersion": {
+                                                                                       "description": "A Version.\n",
+                                                                                       "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.\n",
+                                                                       "type": "array",
+                                                                       "items": {
+                                                                               "type": "object",
+                                                                               "required": ["id", "resourceHandle"],
+                                                                               "properties": {
+                                                                                       "id": {
+                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                               "type": "string"
+                                                                                       },
+                                                                                       "resourceHandle": {
+                                                                                               "required": ["vimConnectionId", "resourceId"],
+                                                                                               "type": "object",
+                                                                                               "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                               "properties": {
+                                                                                                       "vimConnectionId": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "resourceProviderId": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "resourceId": {
+                                                                                                               "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                               "type": "string"
+                                                                                                       },
+                                                                                                       "vimLevelResourceType": {
+                                                                                                               "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                               "type": "string"
+                                                                                                       }
+                                                                                               }
+                                                                                       },
+                                                                                       "extLinkPorts": {
+                                                                                               "description": "Link ports of this VL.\n",
+                                                                                               "type": "array",
+                                                                                               "items": {
+                                                                                                       "description": "This type represents information about a link port of an external VL, i.e. a port providing connectivity for the VNF to an NS VL.\n",
+                                                                                                       "type": "object",
+                                                                                                       "required": ["id", "resourceHandle"],
+                                                                                                       "properties": {
+                                                                                                               "id": {
+                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                       "type": "string"
+                                                                                                               },
+                                                                                                               "resourceHandle": {
+                                                                                                                       "required": ["vimConnectionId", "resourceId"],
+                                                                                                                       "type": "object",
+                                                                                                                       "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
+                                                                                                                       "properties": {
+                                                                                                                               "vimConnectionId": {
+                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "resourceProviderId": {
+                                                                                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "resourceId": {
+                                                                                                                                       "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               },
+                                                                                                                               "vimLevelResourceType": {
+                                                                                                                                       "description": "Type of the resource in the scope of the VIM or the resource provider.\n",
+                                                                                                                                       "type": "string"
+                                                                                                                               }
+                                                                                                                       }
+                                                                                                               },
+                                                                                                               "cpInstanceId": {
+                                                                                                                       "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
+                                                                                                                       "type": "string"
+                                                                                                               }
+                                                                                                       }
+                                                                                               }
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               },
+                                                               "_links": {
+                                                                       "description": "Links to resources related to this resource.\n",
+                                                                       "type": "object",
+                                                                       "required": ["self", "vnfInstance"],
+                                                                       "properties": {
+                                                                               "self": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "vnfInstance": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "grant": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "cancel": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "retry": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "rollback": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "fail": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "400": {
+                                               "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "401": {
+                                               "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "403": {
+                                               "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided.  It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "404": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "405": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "406": {
+                                               "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "409": {
+                                               "description": "Conflict\nAnother request is in progress that prohibits the fulfilment of the current request, or the current resource state is inconsistent with the request.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "500": {
+                                               "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "503": {
+                                               "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                       }
+               },
+               "/subscriptions": {
+                       "post": {
+                               "description": "Subscribe\n\nThe POST method creates a new subscription. Creation of two subscription resources with the same callbackURI and the same filter can result in performance degradation and will provide duplicates of notifications to the NFVO, and might make sense only in very rare use cases. Consequently, the VNFM may either allow creating a subscription resource if another subscription resource with the same filter and callbackUri already exists (in which case it shall return the “201 Created” response code), or may decide to not create a duplicate subscription resource (in which case it shall return a “303 See Other” response code referencing the existing subscription resource with the same filter and callbackUri).\n",
+                               "tags": ["Sol003VnfLcm"],
+                               "parameters": [{
+                                               "name": "LccnSubscriptionRequest",
+                                               "description": "Details of the subscription to be created.\n",
+                                               "in": "body",
+                                               "required": true,
+                                               "schema": {
+                                                       "description": "This type represents a subscription request related to notifications about VNF lifecycle changes.\n",
+                                                       "type": "object",
+                                                       "required": ["callbackUri"],
+                                                       "properties": {
+                                                               "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).\n",
+                                                                       "type": "object",
+                                                                       "properties": {
+                                                                               "vnfInstanceSubscriptionFilter": {
+                                                                                       "description": "This type represents subscription filter criteria to match VNF instances.\n",
+                                                                                       "type": "object",
+                                                                                       "properties": {
+                                                                                               "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.\n",
+                                                                                                       "type": "array",
+                                                                                                       "items": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "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.\n",
+                                                                                       "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.\n",
+                                                                                       "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.\n",
+                                                                                               "type": "string",
+                                                                                               "enum": ["INSTANTIATE", "TERMINATE"]
+                                                                                       }
+                                                                               },
+                                                                               "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.\n",
+                                                                                       "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.\n",
+                                                                                               "type": "string",
+                                                                                               "enum": ["STARTING", "PROCESSING", "COMPLETED", "FAILED_TEMP", "FAILED", "ROLLING_BACK", "ROLLED_BACK"]
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               },
+                                                               "callbackUri": {
+                                                                       "description": "String formatted according to IETF RFC 3986.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "authentication": {
+                                                                       "type": "object",
+                                                                       "required": ["authType"],
+                                                                       "properties": {
+                                                                               "authType": {
+                                                                                       "description": "Defines the types of Authentication / Authorization which the API consumer is willing to accept when receiving a notification. Permitted values: * BASIC: In every HTTP request to the notification endpoint, use  HTTP Basic authentication with the client credentials. \n* OAUTH2_CLIENT_CREDENTIALS: In every HTTP request to the  notification endpoint, use an OAuth 2.0 Bearer token, obtained\n  using the client credentials grant type.\n* TLS_CERT: Every HTTP request to the notification endpoint is sent  over a mutually authenticated TLS session, i.e. not only the\n  server is authenticated, but also the client is authenticated\n  during the TLS tunnel setup.\n",
+                                                                                       "type": "array",
+                                                                                       "items": {
+                                                                                               "type": "string",
+                                                                                               "enum": ["BASIC", "OAUTH2_CLIENT_CREDENTIALS", "TLS_CERT"]
+                                                                                       }
+                                                                               },
+                                                                               "paramsBasic": {
+                                                                                       "description": "Parameters for authentication/authorization using BASIC. Shall be present if authType is \"BASIC\" and the contained information has not been provisioned out of band. Shall be absent otherwise.\n",
+                                                                                       "type": "object",
+                                                                                       "properties": {
+                                                                                               "userName": {
+                                                                                                       "description": "Username to be used in HTTP Basic authentication. Shall be present if it has not been provisioned out of band.\n",
+                                                                                                       "type": "string"
+                                                                                               },
+                                                                                               "password": {
+                                                                                                       "description": "Password to be used in HTTP Basic authentication. Shall be present if it has not been provisioned out of band.\n",
+                                                                                                       "type": "string"
+                                                                                               }
+                                                                                       }
+                                                                               },
+                                                                               "paramsOauth2ClientCredentials": {
+                                                                                       "description": "Parameters for authentication/authorization using OAUTH2_CLIENT_CREDENTIALS. Shall be present if authType is \"OAUTH2_CLIENT_CREDENTIALS\" and the contained information has not been provisioned out of band. Shall be absent otherwise.\n",
+                                                                                       "type": "object",
+                                                                                       "properties": {
+                                                                                               "clientId": {
+                                                                                                       "description": "Client identifier to be used in the access token request of the OAuth 2.0 client credentials grant type.  Shall be present if it has not been provisioned out of band. The clientId and clientPassword passed in a subscription shall not be the same as the clientId and clientPassword that are used to obtain authorization for API requests. Client credentials may differ between subscriptions. The value of clientPassword should be generated by a random process.\n",
+                                                                                                       "type": "string"
+                                                                                               },
+                                                                                               "clientPassword": {
+                                                                                                       "description": "Client password to be used in the access token request of the OAuth 2.0 client credentials grant type.  Shall be present if it has not been provisioned out of band. The clientId and clientPassword passed in a subscription shall not be the same as the clientId and clientPassword that are used to obtain authorization for API requests. Client credentials may differ between subscriptions. The value of clientPassword should be generated by a random process.\n",
+                                                                                                       "type": "string"
+                                                                                               },
+                                                                                               "tokenEndpoint": {
+                                                                                                       "description": "String formatted according to IETF RFC 3986.\n",
+                                                                                                       "type": "string"
+                                                                                               }
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               }
+                                                       }
+                                               }
+                                       }, {
+                                               "name": "Accept",
+                                               "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n",
+                                               "in": "header",
+                                               "required": true,
+                                               "type": "string"
+                                       }, {
+                                               "name": "Authorization",
+                                               "description": "The authorization token for the request. Reference: IETF RFC 7235\n",
+                                               "in": "header",
+                                               "required": false,
+                                               "type": "string"
+                                       }, {
+                                               "name": "Content-Type",
+                                               "description": "The MIME type of the body of the request. Reference: IETF RFC 7231\n",
+                                               "in": "header",
+                                               "required": true,
+                                               "type": "string"
+                                       }
+                               ],
+                               "responses": {
+                                       "201": {
+                                               "description": "Created\nThe subscription was created successfully. The response body shall contain a representation of the created subscription resource. The HTTP response shall include a \"Location\" HTTP header that points to the created subscription resource.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "Location": {
+                                                               "description": "The resource URI of the created VNF instance",
+                                                               "type": "string",
+                                                               "format": "url"
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "This type represents a subscription related to notifications about VNF lifecycle changes.\n",
+                                                       "type": "object",
+                                                       "required": ["id", "callbackUri", "_links"],
+                                                       "properties": {
+                                                               "id": {
+                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                       "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).\n",
+                                                                       "type": "object",
+                                                                       "properties": {
+                                                                               "vnfInstanceSubscriptionFilter": {
+                                                                                       "description": "This type represents subscription filter criteria to match VNF instances.\n",
+                                                                                       "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.\n",
+                                                                                                       "type": "array",
+                                                                                                       "items": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "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.\n",
+                                                                                                       "type": "array",
+                                                                                                       "items": {
+                                                                                                               "type": "object",
+                                                                                                               "required": ["vnfProvider"],
+                                                                                                               "properties": {
+                                                                                                                       "vnfProvider": {
+                                                                                                                               "description": "Name of the VNF provider to match.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vnfProducts": {
+                                                                                                                               "description": "If present, match VNF instances that belong to VNF products with certain product names, from one particular provider.\n",
+                                                                                                                               "type": "array",
+                                                                                                                               "items": {
+                                                                                                                                       "type": "object",
+                                                                                                                                       "required": ["vnfProductName"],
+                                                                                                                                       "properties": {
+                                                                                                                                               "vnfProductName": {
+                                                                                                                                                       "description": "Name of the VNF product to match.\n",
+                                                                                                                                                       "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.\n",
+                                                                                                                                                       "type": "array",
+                                                                                                                                                       "items": {
+                                                                                                                                                               "type": "object",
+                                                                                                                                                               "required": ["vnfSoftwareVersion"],
+                                                                                                                                                               "properties": {
+                                                                                                                                                                       "vnfSoftwareVersion": {
+                                                                                                                                                                               "description": "A version.\n",
+                                                                                                                                                                               "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.\n",
+                                                                                                                                                                               "type": "array",
+                                                                                                                                                                               "items": {
+                                                                                                                                                                                       "description": "A version.\n",
+                                                                                                                                                                                       "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.\n",
+                                                                                                       "type": "array",
+                                                                                                       "items": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "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.\n",
+                                                                                                       "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.\n",
+                                                                                       "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.\n",
+                                                                                       "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.\n",
+                                                                                               "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.\n",
+                                                                                       "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.\n",
+                                                                                               "type": "string",
+                                                                                               "enum": ["STARTING", "PROCESSING", "COMPLETED", "FAILED_TEMP", "FAILED", "ROLLING_BACK", "ROLLED_BACK"]
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               },
+                                                               "callbackUri": {
+                                                                       "description": "String formatted according to IETF RFC 3986.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "_links": {
+                                                                       "description": "Links to resources related to this resource.\n",
+                                                                       "type": "object",
+                                                                       "required": ["self"],
+                                                                       "properties": {
+                                                                               "self": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "303": {
+                                               "description": "See Other\nA subscription with the same callbackURI and the same filter already exists and the policy of the VNFM is to not create redundant subscriptions. The HTTP response shall include a \"Location\" HTTP header that contains the resource URI of the existing subscription resource. The response body shall be empty.\n",
+                                               "headers": {
+                                                       "Location": {
+                                                               "description": "The resource URI of the created VNF instance",
+                                                               "type": "string",
+                                                               "format": "url"
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               }
+                                       },
+                                       "400": {
+                                               "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "401": {
+                                               "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "403": {
+                                               "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided.  It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "404": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  Specifically in case of this task resource, the reason can also be that the task is not supported for the VNF LCM operation occurrence represented by the parent resource, and that the task resource consequently does not exist. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the sourceof the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "405": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "406": {
+                                               "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "500": {
+                                               "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "503": {
+                                               "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                       },
+                       "get": {
+                               "description": "Query Subscription Information\n\nThe GET method queries the list of active subscriptions of the functional block that invokes the method. It can be used e.g. for resynchronization after error situations.\n",
+                               "tags": ["Sol003VnfLcm"],
+                               "parameters": [{
+                                               "name": "Accept",
+                                               "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n",
+                                               "in": "header",
+                                               "required": true,
+                                               "type": "string"
+                                       }, {
+                                               "name": "Authorization",
+                                               "description": "The authorization token for the request. Reference: IETF RFC 7235\n",
+                                               "in": "header",
+                                               "required": false,
+                                               "type": "string"
+                                       }
+                               ],
+                               "responses": {
+                                       "200": {
+                                               "description": "OK\nThe list of subscriptions was queried successfully. The response body shall contain the representations of all active subscriptions of the functional block that invokes the method.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "This type represents a subscription related to notifications about VNF lifecycle changes.\n",
+                                                       "type": "object",
+                                                       "required": ["id", "callbackUri", "_links"],
+                                                       "properties": {
+                                                               "id": {
+                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                       "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).\n",
+                                                                       "type": "object",
+                                                                       "properties": {
+                                                                               "vnfInstanceSubscriptionFilter": {
+                                                                                       "description": "This type represents subscription filter criteria to match VNF instances.\n",
+                                                                                       "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.\n",
+                                                                                                       "type": "array",
+                                                                                                       "items": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "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.\n",
+                                                                                                       "type": "array",
+                                                                                                       "items": {
+                                                                                                               "type": "object",
+                                                                                                               "required": ["vnfProvider"],
+                                                                                                               "properties": {
+                                                                                                                       "vnfProvider": {
+                                                                                                                               "description": "Name of the VNF provider to match.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vnfProducts": {
+                                                                                                                               "description": "If present, match VNF instances that belong to VNF products with certain product names, from one particular provider.\n",
+                                                                                                                               "type": "array",
+                                                                                                                               "items": {
+                                                                                                                                       "type": "object",
+                                                                                                                                       "required": ["vnfProductName"],
+                                                                                                                                       "properties": {
+                                                                                                                                               "vnfProductName": {
+                                                                                                                                                       "description": "Name of the VNF product to match.\n",
+                                                                                                                                                       "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.\n",
+                                                                                                                                                       "type": "array",
+                                                                                                                                                       "items": {
+                                                                                                                                                               "type": "object",
+                                                                                                                                                               "required": ["vnfSoftwareVersion"],
+                                                                                                                                                               "properties": {
+                                                                                                                                                                       "vnfSoftwareVersion": {
+                                                                                                                                                                               "description": "A version.\n",
+                                                                                                                                                                               "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.\n",
+                                                                                                                                                                               "type": "array",
+                                                                                                                                                                               "items": {
+                                                                                                                                                                                       "description": "A version.\n",
+                                                                                                                                                                                       "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.\n",
+                                                                                                       "type": "array",
+                                                                                                       "items": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "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.\n",
+                                                                                                       "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.\n",
+                                                                                       "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.\n",
+                                                                                       "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.\n",
+                                                                                               "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.\n",
+                                                                                       "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.\n",
+                                                                                               "type": "string",
+                                                                                               "enum": ["STARTING", "PROCESSING", "COMPLETED", "FAILED_TEMP", "FAILED", "ROLLING_BACK", "ROLLED_BACK"]
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               },
+                                                               "callbackUri": {
+                                                                       "description": "String formatted according to IETF RFC 3986.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "_links": {
+                                                                       "description": "Links to resources related to this resource.\n",
+                                                                       "type": "object",
+                                                                       "required": ["self"],
+                                                                       "properties": {
+                                                                               "self": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "400": {
+                                               "description": "Bad Request\nInvalid attribute-based filtering parameters. The response body shall contain a ProblemDetails structure, in which the \"detail\" attribute should convey more information about the error.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "401": {
+                                               "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "403": {
+                                               "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided.  It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "404": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  Specifically in case of this task resource, the reason can also be that the task is not supported for the VNF LCM operation occurrence represented by the parent resource, and that the task resource consequently does not exist. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the sourceof the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "405": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "406": {
+                                               "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "500": {
+                                               "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "503": {
+                                               "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                       }
+               },
+               "/subscriptions/{subscriptionId}": {
+                       "parameters": [{
+                                       "name": "subscriptionId",
+                                       "description": "Identifier of this subscription. This identifier can be retrieved from the resource referenced by the \"Location\" HTTP header in the response to a POST request creating a new subscription resource. It can also be retrieved from the \"id\" attribute in the payload body of that response.\n",
+                                       "in": "path",
+                                       "type": "string",
+                                       "required": true
+                               }
+                       ],
+                       "get": {
+                               "description": "Query Subscription Information\n\nThe GET method retrieves information about a subscription by reading an individual subscription resource.\n",
+                               "tags": ["Sol003VnfLcm"],
+                               "parameters": [{
+                                               "name": "Accept",
+                                               "description": "Content-Types that are acceptable for the response. Reference: IETF RFC 7231\n",
+                                               "in": "header",
+                                               "required": true,
+                                               "type": "string"
+                                       }, {
+                                               "name": "Authorization",
+                                               "description": "The authorization token for the request. Reference: IETF RFC 7235\n",
+                                               "in": "header",
+                                               "required": false,
+                                               "type": "string"
+                                       }
+                               ],
+                               "responses": {
+                                       "200": {
+                                               "description": "OK\nThe operation has completed successfully. The response body shall contain a representation of the subscription resource.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "This type represents a subscription related to notifications about VNF lifecycle changes.\n",
+                                                       "type": "object",
+                                                       "required": ["id", "callbackUri", "_links"],
+                                                       "properties": {
+                                                               "id": {
+                                                                       "description": "An identifier with the intention of being globally unique.\n",
+                                                                       "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).\n",
+                                                                       "type": "object",
+                                                                       "properties": {
+                                                                               "vnfInstanceSubscriptionFilter": {
+                                                                                       "description": "This type represents subscription filter criteria to match VNF instances.\n",
+                                                                                       "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.\n",
+                                                                                                       "type": "array",
+                                                                                                       "items": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "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.\n",
+                                                                                                       "type": "array",
+                                                                                                       "items": {
+                                                                                                               "type": "object",
+                                                                                                               "required": ["vnfProvider"],
+                                                                                                               "properties": {
+                                                                                                                       "vnfProvider": {
+                                                                                                                               "description": "Name of the VNF provider to match.\n",
+                                                                                                                               "type": "string"
+                                                                                                                       },
+                                                                                                                       "vnfProducts": {
+                                                                                                                               "description": "If present, match VNF instances that belong to VNF products with certain product names, from one particular provider.\n",
+                                                                                                                               "type": "array",
+                                                                                                                               "items": {
+                                                                                                                                       "type": "object",
+                                                                                                                                       "required": ["vnfProductName"],
+                                                                                                                                       "properties": {
+                                                                                                                                               "vnfProductName": {
+                                                                                                                                                       "description": "Name of the VNF product to match.\n",
+                                                                                                                                                       "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.\n",
+                                                                                                                                                       "type": "array",
+                                                                                                                                                       "items": {
+                                                                                                                                                               "type": "object",
+                                                                                                                                                               "required": ["vnfSoftwareVersion"],
+                                                                                                                                                               "properties": {
+                                                                                                                                                                       "vnfSoftwareVersion": {
+                                                                                                                                                                               "description": "A version.\n",
+                                                                                                                                                                               "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.\n",
+                                                                                                                                                                               "type": "array",
+                                                                                                                                                                               "items": {
+                                                                                                                                                                                       "description": "A version.\n",
+                                                                                                                                                                                       "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.\n",
+                                                                                                       "type": "array",
+                                                                                                       "items": {
+                                                                                                               "description": "An identifier with the intention of being globally unique.\n",
+                                                                                                               "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.\n",
+                                                                                                       "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.\n",
+                                                                                       "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.\n",
+                                                                                       "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.\n",
+                                                                                               "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.\n",
+                                                                                       "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.\n",
+                                                                                               "type": "string",
+                                                                                               "enum": ["STARTING", "PROCESSING", "COMPLETED", "FAILED_TEMP", "FAILED", "ROLLING_BACK", "ROLLED_BACK"]
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               },
+                                                               "callbackUri": {
+                                                                       "description": "String formatted according to IETF RFC 3986.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "_links": {
+                                                                       "description": "Links to resources related to this resource.\n",
+                                                                       "type": "object",
+                                                                       "required": ["self"],
+                                                                       "properties": {
+                                                                               "self": {
+                                                                                       "description": "This type represents a link to a resource.\n",
+                                                                                       "type": "object",
+                                                                                       "required": ["href"],
+                                                                                       "properties": {
+                                                                                               "href": {
+                                                                                                       "description": "URI of the referenced resource.\n",
+                                                                                                       "type": "string",
+                                                                                                       "format": "url"
+                                                                                               }
+                                                                                       }
+                                                                               }
+                                                                       }
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "400": {
+                                               "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "401": {
+                                               "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "403": {
+                                               "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided.  It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "404": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  Specifically in case of this task resource, the reason can also be that the task is not supported for the VNF LCM operation occurrence represented by the parent resource, and that the task resource consequently does not exist. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the sourceof the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "405": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "406": {
+                                               "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "500": {
+                                               "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "503": {
+                                               "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                       },
+                       "delete": {
+                               "description": "Terminate Subscription\n\nThe DELETE method terminates an individual subscription.\n",
+                               "tags": ["Sol003VnfLcm"],
+                               "parameters": [{
+                                               "name": "Authorization",
+                                               "description": "The authorization token for the request. Reference: IETF RFC 7235\n",
+                                               "in": "header",
+                                               "required": false,
+                                               "type": "string"
+                                       }
+                               ],
+                               "responses": {
+                                       "204": {
+                                               "description": "No Content\nThe subscription resource was deleted successfully. The response body shall be empty.\n",
+                                               "headers": {
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               }
+                                       },
+                                       "400": {
+                                               "description": "Bad Request\nIf the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided, and should include in the \"detail\" attribute more information about the source of the problem.\n ---\n\nIf the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n ---\n\nIf there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond with this response code.The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "401": {
+                                               "description": "Unauthorized\nIf the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       },
+                                                       "WWW-Authenticate": {
+                                                               "description": "Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.\n",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 0
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "403": {
+                                               "description": "Forbidden\nIf the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The \"ProblemDetails\" structure shall be provided.  It should include in the \"detail\" attribute information about the source of the problem, and may indicate how to solve it.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "404": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  Specifically in case of this task resource, the reason can also be that the task is not supported for the VNF LCM operation occurrence represented by the parent resource, and that the task resource consequently does not exist. The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the sourceof the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "405": {
+                                               "description": "Not Found\nIf the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The \"ProblemDetails\" structure may be provided, including in the \"detail\" attribute information about the source of the problem, e.g. a wrong resource URI variable.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "406": {
+                                               "description": "Not Acceptable\nIf the \"Accept\" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The \"ProblemDetails\" structure may be omitted in that case.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "500": {
+                                               "description": "Internal Server Error\nIf there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code (\"catch all error\"), the API producer shall respond withthis response code. The \"ProblemDetails\" structure shall be provided, and shall include in the \"detail\" attribute more information about the source of the problem.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       },
+                                       "503": {
+                                               "description": "Service Unavailable\nIf the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the \"Retry-After\" HTTP header and for the alternative to refuse the connection. The \"ProblemDetails\" structure may be omitted.\n",
+                                               "headers": {
+                                                       "Content-Type": {
+                                                               "description": "The MIME type of the body of the response.",
+                                                               "type": "string",
+                                                               "maximum": 1,
+                                                               "minimum": 1
+                                                       }
+                                               },
+                                               "schema": {
+                                                       "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
+                                                       "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\".\n",
+                                                                       "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).\n",
+                                                                       "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.\n",
+                                                                       "type": "integer"
+                                                               },
+                                                               "detail": {
+                                                                       "description": "A human-readable explanation specific to this occurrence of the problem.\n",
+                                                                       "type": "string"
+                                                               },
+                                                               "instance": {
+                                                                       "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
+                                                                       "type": "string",
+                                                                       "format": "URI"
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                       }
+               }
+       }
+}
diff --git a/vnfm-simulator/vnfm-api/src/main/resources/vnfm-sim-swagger.yaml b/vnfm-simulator/vnfm-api/src/main/resources/vnfm-sim-swagger.yaml
new file mode 100644 (file)
index 0000000..71b7163
--- /dev/null
@@ -0,0 +1,8404 @@
+swagger: '2.0'
+info:
+  version: 1.1.1
+  title: SOL003 - VNF Lifecycle Management interface
+  description: |
+    SOL003 - VNF Lifecycle Management interface definition
+
+    IMPORTANT: 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.
+
+    In 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.
+    Please report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis&list_id=61&product=NFV&resolution=
+  license:
+    name: ETSI Forge copyright notice
+    url: 'https://forge.etsi.org/etsi-forge-copyright-notice.txt'
+externalDocs:
+  description: ETSI GS NFV-SOL 003 V2.4.1
+  url: 'http://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/02.04.01_60/gs_NFV-SOL003v020401p.pdf'
+basePath: /vnflcm/v1
+schemes:
+  - https
+consumes:
+  - application/json
+produces:
+  - application/json
+paths:
+  /vnf_instances:
+    post:
+      description: |
+        Create VNF Identifier
+
+        The POST method creates a new VNF instance resource.
+      tags:
+        - Sol003VnfLcm
+      parameters:
+        - name: createVnfRequest
+          description: The VNF creation parameters
+          in: body
+          required: true
+          schema:
+            type: object
+            required:
+              - vnfdId
+            properties:
+              vnfdId:
+                description: |
+                  An identifier with the intention of being globally unique.
+                type: string
+              vnfInstanceName:
+                description: |
+                  Human-readable name of the VNF instance to be created.
+                type: string
+              vnfInstanceDescription:
+                description: |
+                  Human-readable description of the VNF instance to be created.
+                type: string
+        - name: Accept
+          description: |
+            Content-Types that are acceptable for the response. Reference: IETF RFC 7231
+          in: header
+          required: true
+          type: string
+        - name: Authorization
+          description: |
+            The authorization token for the request. Reference: IETF RFC 7235
+          in: header
+          required: false
+          type: string
+        - name: Content-Type
+          description: |
+            The MIME type of the body of the request. Reference: IETF RFC 7231
+          in: header
+          required: true
+          type: string
+      responses:
+        '201':
+          description: A VNF Instance identifier was created successfully
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            Location:
+              description: The resource URI of the created VNF instance
+              type: string
+              format: url
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          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
+        '400':
+          description: |
+            Bad Request
+            If the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided, and should include in the "detail" attribute more information about the source of the problem.
+             ---
+
+            If the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+             ---
+
+            If there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond with this response code.The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '401':
+          description: |
+            Unauthorized
+            If the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '403':
+          description: |
+            Forbidden
+            If the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided.  It should include in the "detail" attribute information about the source of the problem, and may indicate how to solve it.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '404':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the source of the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '405':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the source of the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '406':
+          description: |
+            Not Acceptable
+            If the "Accept" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The "ProblemDetails" structure may be omitted in that case.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '409':
+          description: |
+            Conflict
+            Another request is in progress that prohibits the fulfilment of the current request, or the current resource state is inconsistent with the request.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '416':
+          description: |
+            Requested Range Not Satisfiable
+            This code is returned if the requested byte range in the Range HTTP header is not present in the requested resource.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '422':
+          description: |
+            Unprocessable Entity
+            If the payload body of a request contains syntactically correct data (e.g. well-formed JSON) but the data cannot be processed (e.g. because it fails validation against a schema), the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided, and should include in the "detail" attribute more information about the source of the problem. NOTE 2: This error response code is only applicable for methods that have a request body.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '500':
+          description: |
+            Internal Server Error
+            If there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond withthis response code. The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '503':
+          description: |
+            Service Unavailable
+            If the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the "Retry-After" HTTP header and for the alternative to refuse the connection. The "ProblemDetails" structure may be omitted.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+  '/vnf_instances/{vnfInstanceId}':
+    parameters:
+      - name: vnfInstanceId
+        description: |
+          Identifier of the VNF instance. This identifier can be retrieved from the resource referenced by the "Location" HTTP header in the response to a POST request creating a new VNF instance resource. It can also be retrieved from the "id" attribute in the payload body of that response.
+        in: path
+        type: string
+        required: true
+    get:
+      description: |
+        Query VNF
+
+        The GET method retrieves information about a VNF instance by reading an individual VNF instance resource.
+      tags:
+        - Sol003VnfLcm
+      parameters:
+        - name: Accept
+          description: |
+            Content-Types that are acceptable for the response. Reference: IETF RFC 7231
+          in: header
+          required: true
+          type: string
+        - name: Authorization
+          description: |
+            The authorization token for the request. Reference: IETF RFC 7235
+          in: header
+          required: false
+          type: string
+        - name: Content-Type
+          description: |
+            The MIME type of the body of the request. Reference: IETF RFC 7231
+          in: header
+          required: true
+          type: string
+      responses:
+        '200':
+          description: |
+            OK
+            Information about zero or more VNF instances was queried successfully. The response body shall contain representations of zero or more VNF instances.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          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
+        '400':
+          description: |
+            Bad Request
+            If the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided, and should include in the "detail" attribute more information about the source of the problem.
+             ---
+
+            If the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+             ---
+
+            If there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond with this response code.The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '401':
+          description: |
+            Unauthorized
+            If the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '403':
+          description: |
+            Forbidden
+            If the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided.  It should include in the "detail" attribute information about the source of the problem, and may indicate how to solve it.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '404':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the source of the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '405':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the source of the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '406':
+          description: |
+            Not Acceptable
+            If the "Accept" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The "ProblemDetails" structure may be omitted in that case.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '409':
+          description: |
+            Conflict
+            Another request is in progress that prohibits the fulfilment of the current request, or the current resource state is inconsistent with the request.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '416':
+          description: |
+            Requested Range Not Satisfiable
+            This code is returned if the requested byte range in the Range HTTP header is not present in the requested resource.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '500':
+          description: |
+            Internal Server Error
+            If there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond withthis response code. The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '503':
+          description: |
+            Service Unavailable
+            If the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the "Retry-After" HTTP header and for the alternative to refuse the connection. The "ProblemDetails" structure may be omitted.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+    delete:
+      description: |
+        Delete VNF Identifier
+
+        This method deletes an individual VNF instance resource.
+      tags:
+        - Sol003VnfLcm
+      parameters:
+        - name: Authorization
+          description: |
+            The authorization token for the request. Reference: IETF RFC 7235
+          in: header
+          required: false
+          type: string
+      responses:
+        '204':
+          description: |
+            No Content
+            The VNF instance resource and the associated VNF identifier were deleted successfully. The response body shall be empty.
+          headers:
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+        '400':
+          description: |
+            Bad Request
+            It fhe request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided, and should include in the "detail" attribute more information about the source of the problem. If the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided. If there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond with this response code.The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '401':
+          description: |
+            Unauthorized
+            If the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '403':
+          description: |
+            Forbidden
+            If the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided.  It should include in the "detail" attribute information about the source of the problem, and may indicate how to solve it.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '404':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the source of the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '405':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the source of the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '406':
+          description: |
+            Not Acceptable
+            If the "Accept" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The "ProblemDetails" structure may be omitted in that case.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '409':
+          description: |
+            Conflict
+            The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource. Typically, this is due to the fact that the VNF instance resource is in INSTANTIATED state. The response body shall contain a ProblemDetails structure, in which the "detail" attribute should convey more information about the error.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '412':
+          description: |
+            Precondition Failed
+            A precondition given in an HTTP request header is not fulfilled. Typically, this is due to an ETag mismatch, indicating that the resource was modified by another entity. The response body should contain a ProblemDetails structure, in which the "detail" attribute should convey more information about the error.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '500':
+          description: |
+            Internal Server Error
+            If there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond withthis response code. The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '503':
+          description: |
+            Service Unavailable
+            If the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the "Retry-After" HTTP header and for the alternative to refuse the connection. The "ProblemDetails" structure may be omitted.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+  '/vnf_instances/{vnfInstanceId}/instantiate':
+    parameters:
+      - name: vnfInstanceId
+        description: |
+          Identifier of the VNF instance. This identifier can be retrieved from the resource referenced by the "Location" HTTP header in the response to a POST request creating a new VNF instance resource. It can also be retrieved from the "id" attribute in the payload body of that response.
+        in: path
+        type: string
+        required: true
+    post:
+      description: |
+        Instantiate VNF
+
+        The POST method instantiates a VNF instance.
+      tags:
+        - Sol003VnfLcm
+      parameters:
+        - name: InstantiateVnfRequest
+          description: Parameters for the VNF instantiation.
+          in: body
+          required: true
+          schema:
+            type: object
+            required:
+              - flavourId
+            properties:
+              flavourId:
+                description: |
+                  An identifier that is unique within a VNF descriptor.
+                type: string
+              extVirtualLinks:
+                description: |
+                  Information about external VLs to connect the VNF to.
+                type: array
+                items:
+                  description: |
+                    This type represents an external VL.
+                  type: object
+                  required:
+                    - id
+                    - resourceId
+                    - extCps
+                  properties:
+                    id:
+                      description: |
+                        An identifier with the intention of being globally unique.
+                      type: string
+                    vimConnectionId:
+                      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
+                    extCps:
+                      description: |
+                        External CPs of the VNF to be connected to this external VL.
+                      type: array
+                      items:
+                        description: |
+                          This type represents configuration information for external CPs created from a CPD.
+                        type: object
+                        required:
+                          - cpdId
+                        properties:
+                          cpdId:
+                            description: |
+                              An identifier that is unique within a VNF descriptor.
+                            type: string
+                          cpConfig:
+                            description: |
+                              List of instance data that need to be configured on the CP instances created from the respective CPD.
+                            type: array
+                            items:
+                              description: |
+                                This type represents an externally provided link port or network address information per instance of an external connection point. In case a link port is provided, the VNFM shall use that link port when connecting the external CP to the external VL. In a link port is not provided, the VNFM shall create a link port on the external VL, and use that link port to connect the external CP to the external VL.
+                              type: object
+                              properties:
+                                cpInstanceId:
+                                  description: |
+                                    An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.
+                                  type: string
+                                linkPortId:
+                                  description: |
+                                    An identifier with the intention of being globally unique.
+                                  type: string
+                                cpProtocolData:
+                                  description: |
+                                    Parameters for configuring the network protocols on the link port that connects the CP to a VL.  The following conditions apply to the attributes "linkPortId" and "cpProtocolData":  * The "linkPortId" and "cpProtocolData" attributes shall both be  absent for the deletion of an existing external CP instance
+                                      addressed by cpInstanceId. 
+                                    * At least one of these attributes shall be present for a  to-be-created external CP instance or an existing external
+                                      CP instance.
+                                    * If the "linkPortId" attribute is absent, the VNFM shall create a  link port.
+                                    * If the "cpProtocolData" attribute is absent, the "linkPortId"  attribute shall be provided referencing a pre-created link port,
+                                      and the VNFM can use means outside the scope of the present
+                                      document to obtain the pre-configured address information for the
+                                      connection point from the resource representing the link port.
+                                    * If both "cpProtocolData" and "linkportId" are provided, the API  consumer shall ensure that the cpProtocolData can be used with the
+                                      pre-created link port referenced by "linkPortId".
+                                  type: array
+                                  items:
+                                    description: |
+                                      This type represents network protocol data.
+                                    type: object
+                                    required:
+                                      - layerProtocol
+                                    properties:
+                                      layerProtocol:
+                                        description: |
+                                          Identifier of layer(s) and protocol(s). This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.
+                                        type: string
+                                        enum:
+                                          - IP_OVER_ETHERNET
+                                      ipOverEthernet:
+                                        description: |
+                                          This type represents network address data for IP over Ethernet.
+                                        type: object
+                                        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: |
+                                              List of IP addresses to assign to the CP instance. Each entry represents IP address data for fixed or dynamic IP address assignment per subnet. If this attribute is not present, no IP address shall be assigned.
+                                            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
+                                                fixedAddresses:
+                                                  description: |
+                                                    Fixed addresses to assign (from the subnet defined by "subnetId" if provided). Exactly one of "fixedAddresses", "numDynamicAddresses" or "ipAddressRange" shall be present.
+                                                  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
+                                                numDynamicAddresses:
+                                                  description: |
+                                                    Number of dynamic addresses to assign (from the subnet defined by "subnetId" if provided). Exactly one of "fixedAddresses", "numDynamicAddresses" or "ipAddressRange" shall be present.
+                                                  type: integer
+                                                addressRange:
+                                                  description: |
+                                                    An IP address range to be used, e.g. in case of egress connections. In case this attribute is present, IP addresses from the range will be used.
+                                                  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 identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.
+                                                  type: string
+                    extLinkPorts:
+                      description: |
+                        Externally provided link ports to be used to connect external connection points to this external VL. If this attribute is not present, the VNFM shall create the link ports on the external VL.
+                      type: array
+                      items:
+                        description: |
+                          This type represents an externally provided link port to be used to connect an external connection point to an external 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
+                              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
+              vimConnectionInfo:
+                description: |
+                  Information about VIM connections to be used for managing the resources for the VNF instance, or refer to external / externally-managed virtual links. This attribute shall only be supported and may be present if VNF-related resource management in direct mode is applicable.
+                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
+              additionalParams:
+                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
+        - name: Accept
+          description: |
+            Content-Types that are acceptable for the response. Reference: IETF RFC 7231
+          in: header
+          required: true
+          type: string
+        - name: Authorization
+          description: |
+            The authorization token for the request. Reference: IETF RFC 7235
+          in: header
+          required: false
+          type: string
+        - name: Content-Type
+          description: |
+            The MIME type of the body of the request. Reference: IETF RFC 7231
+          in: header
+          required: true
+          type: string
+      responses:
+        '202':
+          description: |
+            Accepted
+            The request was accepted for processing, but the  processing has not been completed. The response body shall be empty. The HTTP response shall include a "Location" HTTP header that contains the URI of the newly-created "VNF LCM operation occurrence" resource corresponding to the operation.
+          headers:
+            Location:
+              description: The resource URI of the created VNF instance
+              type: string
+              format: url
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+        '400':
+          description: |
+            Bad Request
+            If the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided, and should include in the "detail" attribute more information about the source of the problem.
+             ---
+
+            If the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+             ---
+
+            If there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond with this response code.The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '401':
+          description: |
+            Unauthorized
+            If the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '403':
+          description: |
+            Forbidden
+            If the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided.  It should include in the "detail" attribute information about the source of the problem, and may indicate how to solve it.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '404':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the source of the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '405':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the source of the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '406':
+          description: |
+            Not Acceptable
+            If the "Accept" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The "ProblemDetails" structure may be omitted in that case.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '409':
+          description: |
+            Conflict
+            The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource. Typically, this is due to the fact that the VNF instance resource is in INSTANTIATED state. The response body shall contain a ProblemDetails structure, in which the "detail" attribute should convey more information about the error.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '416':
+          description: |
+            Requested Range Not Satisfiable
+            This code is returned if the requested byte range in the Range HTTP header is not present in the requested resource.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '500':
+          description: |
+            Internal Server Error
+            If there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond withthis response code. The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '503':
+          description: |
+            Service Unavailable
+            If the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the "Retry-After" HTTP header and for the alternative to refuse the connection. The "ProblemDetails" structure may be omitted.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+  '/vnf_instances/{vnfInstanceId}/terminate':
+    parameters:
+      - name: vnfInstanceId
+        description: |
+          The identifier of the VNF instance to be terminated. This identifier can be retrieved from the resource referenced by the "Location" HTTP header in the response to a POST request creating a new VNF instance resource. It can also be retrieved from the "id" attribute in the payload body of that response.
+        in: path
+        type: string
+        required: true
+    post:
+      description: |
+        Terminate VNF
+
+        The POST method terminates a VNF instance.
+      tags:
+        - Sol003VnfLcm
+      parameters:
+        - name: TerminateVnfRequest
+          description: Parameters for the VNF termination.
+          in: body
+          required: true
+          schema:
+            type: object
+            required:
+              - terminationType
+            properties:
+              terminationType:
+                description: |
+                  Indicates whether forceful or graceful termination is requested. VNFM Adapter will only support FORCEFUL in Dublin.
+                type: string
+                enum:
+                  - FORCEFUL
+                  - GRACEFUL
+        - name: Accept
+          description: |
+            Content-Types that are acceptable for the response. Reference: IETF RFC 7231
+          in: header
+          required: true
+          type: string
+        - name: Authorization
+          description: |
+            The authorization token for the request. Reference: IETF RFC 7235
+          in: header
+          required: false
+          type: string
+        - name: Content-Type
+          description: |
+            The MIME type of the body of the request. Reference: IETF RFC 7231
+          in: header
+          required: true
+          type: string
+      responses:
+        '202':
+          description: |
+            Accepted
+            The request was accepted for processing, but the processing has not been completed. On success, the HTTP response shall include a "Location" HTTP header that contains the URI of the newly-created "VNF LCM operation occurrence" resource corresponding to the operation.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            Location:
+              description: The resource URI of the created VNF instance
+              type: string
+              format: url
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          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
+        '400':
+          description: |
+            Bad Request
+            If the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided, and should include in the "detail" attribute more information about the source of the problem.
+             ---
+
+            If the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+             ---
+
+            If there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond with this response code.The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '401':
+          description: |
+            Unauthorized
+            If the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '403':
+          description: |
+            Forbidden
+            If the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided.  It should include in the "detail" attribute information about the source of the problem, and may indicate how to solve it.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '404':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the source of the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '405':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the source of the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '406':
+          description: |
+            Not Acceptable
+            If the "Accept" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The "ProblemDetails" structure may be omitted in that case.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '409':
+          description: |
+            Conflict
+            The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource. Typically, this is due to the fact that the VNF instance resource is in NOT-INSTANTIATED state, or that another lifecycle management operation is ongoing. The response body shall contain a ProblemDetails structure, in which the "detail" attribute should convey more information about the error.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '500':
+          description: |
+            Internal Server Error
+            If there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond withthis response code. The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '503':
+          description: |
+            Service Unavailable
+            If the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the "Retry-After" HTTP header and for the alternative to refuse the connection. The "ProblemDetails" structure may be omitted.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+  '/vnf_lcm_op_occs/{vnfLcmOpOccId}':
+    parameters:
+      - name: vnfLcmOpOccId
+        description: |
+          Identifier of a VNF lifecycle management operation occurrence. This identifier can be retrieved from the resource referenced by the "Location" HTTP header in the response to a PATCH or POST request triggering a VNF LCM operation. It can also be retrieved from the "vnfLcmOpOccId" attribute in the VnfLcmOperationOccurrenceNotification.
+        in: path
+        required: true
+        type: string
+    get:
+      description: |
+        Get Operation Status
+
+        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.
+      tags:
+        - Sol003VnfLcm
+      parameters:
+        - name: Accept
+          description: |
+            Content-Types that are acceptable for the response. Reference: IETF RFC 7231
+          in: header
+          required: true
+          type: string
+        - name: Authorization
+          description: |
+            The authorization token for the request. Reference: IETF RFC 7235
+          in: header
+          required: false
+          type: string
+      responses:
+        '200':
+          description: |
+            OK
+            Information about an individual VNF instance was queried successfully. The response body shall contain status information about a VNF lifecycle management operation occurrence.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          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
+        '400':
+          description: |
+            Bad Request
+            If the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided, and should include in the "detail" attribute more information about the source of the problem.
+             ---
+
+            If the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+             ---
+
+            If there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond with this response code.The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '401':
+          description: |
+            Unauthorized
+            If the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '403':
+          description: |
+            Forbidden
+            If the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided.  It should include in the "detail" attribute information about the source of the problem, and may indicate how to solve it.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '404':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the source of the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '405':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the source of the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '406':
+          description: |
+            Not Acceptable
+            If the "Accept" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The "ProblemDetails" structure may be omitted in that case.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '409':
+          description: |
+            Conflict
+            Another request is in progress that prohibits the fulfilment of the current request, or the current resource state is inconsistent with the request.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '500':
+          description: |
+            Internal Server Error
+            If there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond withthis response code. The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '503':
+          description: |
+            Service Unavailable
+            If the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the "Retry-After" HTTP header and for the alternative to refuse the connection. The "ProblemDetails" structure may be omitted.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+  /subscriptions:
+    post:
+      description: |
+        Subscribe
+
+        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).
+      tags:
+        - Sol003VnfLcm
+      parameters:
+        - name: LccnSubscriptionRequest
+          description: |
+            Details of the subscription to be created.
+          in: body
+          required: true
+          schema:
+            description: |
+              This type represents a subscription request related to notifications about VNF lifecycle changes.
+            type: object
+            required:
+              - callbackUri
+            properties:
+              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:
+                      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
+                  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
+                        - TERMINATE
+                  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
+              authentication:
+                type: object
+                required:
+                  - authType
+                properties:
+                  authType:
+                    description: |
+                      Defines the types of Authentication / Authorization which the API consumer is willing to accept when receiving a notification. Permitted values: * BASIC: In every HTTP request to the notification endpoint, use  HTTP Basic authentication with the client credentials. 
+                      * OAUTH2_CLIENT_CREDENTIALS: In every HTTP request to the  notification endpoint, use an OAuth 2.0 Bearer token, obtained
+                        using the client credentials grant type.
+                      * TLS_CERT: Every HTTP request to the notification endpoint is sent  over a mutually authenticated TLS session, i.e. not only the
+                        server is authenticated, but also the client is authenticated
+                        during the TLS tunnel setup.
+                    type: array
+                    items:
+                      type: string
+                      enum:
+                        - BASIC
+                        - OAUTH2_CLIENT_CREDENTIALS
+                        - TLS_CERT
+                  paramsBasic:
+                    description: |
+                      Parameters for authentication/authorization using BASIC. Shall be present if authType is "BASIC" and the contained information has not been provisioned out of band. Shall be absent otherwise.
+                    type: object
+                    properties:
+                      userName:
+                        description: |
+                          Username to be used in HTTP Basic authentication. Shall be present if it has not been provisioned out of band.
+                        type: string
+                      password:
+                        description: |
+                          Password to be used in HTTP Basic authentication. Shall be present if it has not been provisioned out of band.
+                        type: string
+                  paramsOauth2ClientCredentials:
+                    description: |
+                      Parameters for authentication/authorization using OAUTH2_CLIENT_CREDENTIALS. Shall be present if authType is "OAUTH2_CLIENT_CREDENTIALS" and the contained information has not been provisioned out of band. Shall be absent otherwise.
+                    type: object
+                    properties:
+                      clientId:
+                        description: |
+                          Client identifier to be used in the access token request of the OAuth 2.0 client credentials grant type.  Shall be present if it has not been provisioned out of band. The clientId and clientPassword passed in a subscription shall not be the same as the clientId and clientPassword that are used to obtain authorization for API requests. Client credentials may differ between subscriptions. The value of clientPassword should be generated by a random process.
+                        type: string
+                      clientPassword:
+                        description: |
+                          Client password to be used in the access token request of the OAuth 2.0 client credentials grant type.  Shall be present if it has not been provisioned out of band. The clientId and clientPassword passed in a subscription shall not be the same as the clientId and clientPassword that are used to obtain authorization for API requests. Client credentials may differ between subscriptions. The value of clientPassword should be generated by a random process.
+                        type: string
+                      tokenEndpoint:
+                        description: |
+                          String formatted according to IETF RFC 3986.
+                        type: string
+        - name: Accept
+          description: |
+            Content-Types that are acceptable for the response. Reference: IETF RFC 7231
+          in: header
+          required: true
+          type: string
+        - name: Authorization
+          description: |
+            The authorization token for the request. Reference: IETF RFC 7235
+          in: header
+          required: false
+          type: string
+        - name: Content-Type
+          description: |
+            The MIME type of the body of the request. Reference: IETF RFC 7231
+          in: header
+          required: true
+          type: string
+      responses:
+        '201':
+          description: |
+            Created
+            The subscription was created successfully. The response body shall contain a representation of the created subscription resource. The HTTP response shall include a "Location" HTTP header that points to the created subscription resource.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            Location:
+              description: The resource URI of the created VNF instance
+              type: string
+              format: url
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          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
+        '303':
+          description: |
+            See Other
+            A subscription with the same callbackURI and the same filter already exists and the policy of the VNFM is to not create redundant subscriptions. The HTTP response shall include a "Location" HTTP header that contains the resource URI of the existing subscription resource. The response body shall be empty.
+          headers:
+            Location:
+              description: The resource URI of the created VNF instance
+              type: string
+              format: url
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+        '400':
+          description: |
+            Bad Request
+            If the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided, and should include in the "detail" attribute more information about the source of the problem.
+             ---
+
+            If the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+             ---
+
+            If there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond with this response code.The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '401':
+          description: |
+            Unauthorized
+            If the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '403':
+          description: |
+            Forbidden
+            If the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided.  It should include in the "detail" attribute information about the source of the problem, and may indicate how to solve it.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '404':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  Specifically in case of this task resource, the reason can also be that the task is not supported for the VNF LCM operation occurrence represented by the parent resource, and that the task resource consequently does not exist. The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the sourceof the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '405':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the source of the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '406':
+          description: |
+            Not Acceptable
+            If the "Accept" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The "ProblemDetails" structure may be omitted in that case.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '500':
+          description: |
+            Internal Server Error
+            If there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond withthis response code. The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '503':
+          description: |
+            Service Unavailable
+            If the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the "Retry-After" HTTP header and for the alternative to refuse the connection. The "ProblemDetails" structure may be omitted.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+    get:
+      description: |
+        Query Subscription Information
+
+        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.
+      tags:
+        - Sol003VnfLcm
+      parameters:
+        - name: Accept
+          description: |
+            Content-Types that are acceptable for the response. Reference: IETF RFC 7231
+          in: header
+          required: true
+          type: string
+        - name: Authorization
+          description: |
+            The authorization token for the request. Reference: IETF RFC 7235
+          in: header
+          required: false
+          type: string
+      responses:
+        '200':
+          description: |
+            OK
+            The list of subscriptions was queried successfully. The response body shall contain the representations of all active subscriptions of the functional block that invokes the method.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          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
+        '400':
+          description: |
+            Bad Request
+            Invalid attribute-based filtering parameters. The response body shall contain a ProblemDetails structure, in which the "detail" attribute should convey more information about the error.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '401':
+          description: |
+            Unauthorized
+            If the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '403':
+          description: |
+            Forbidden
+            If the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided.  It should include in the "detail" attribute information about the source of the problem, and may indicate how to solve it.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '404':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  Specifically in case of this task resource, the reason can also be that the task is not supported for the VNF LCM operation occurrence represented by the parent resource, and that the task resource consequently does not exist. The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the sourceof the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '405':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the source of the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '406':
+          description: |
+            Not Acceptable
+            If the "Accept" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The "ProblemDetails" structure may be omitted in that case.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '500':
+          description: |
+            Internal Server Error
+            If there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond withthis response code. The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '503':
+          description: |
+            Service Unavailable
+            If the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the "Retry-After" HTTP header and for the alternative to refuse the connection. The "ProblemDetails" structure may be omitted.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+  '/subscriptions/{subscriptionId}':
+    parameters:
+      - name: subscriptionId
+        description: |
+          Identifier of this subscription. This identifier can be retrieved from the resource referenced by the "Location" HTTP header in the response to a POST request creating a new subscription resource. It can also be retrieved from the "id" attribute in the payload body of that response.
+        in: path
+        type: string
+        required: true
+    get:
+      description: |
+        Query Subscription Information
+
+        The GET method retrieves information about a subscription by reading an individual subscription resource.
+      tags:
+        - Sol003VnfLcm
+      parameters:
+        - name: Accept
+          description: |
+            Content-Types that are acceptable for the response. Reference: IETF RFC 7231
+          in: header
+          required: true
+          type: string
+        - name: Authorization
+          description: |
+            The authorization token for the request. Reference: IETF RFC 7235
+          in: header
+          required: false
+          type: string
+      responses:
+        '200':
+          description: |
+            OK
+            The operation has completed successfully. The response body shall contain a representation of the subscription resource.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          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
+        '400':
+          description: |
+            Bad Request
+            If the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided, and should include in the "detail" attribute more information about the source of the problem.
+             ---
+
+            If the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+             ---
+
+            If there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond with this response code.The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '401':
+          description: |
+            Unauthorized
+            If the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '403':
+          description: |
+            Forbidden
+            If the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided.  It should include in the "detail" attribute information about the source of the problem, and may indicate how to solve it.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '404':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  Specifically in case of this task resource, the reason can also be that the task is not supported for the VNF LCM operation occurrence represented by the parent resource, and that the task resource consequently does not exist. The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the sourceof the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '405':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the source of the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '406':
+          description: |
+            Not Acceptable
+            If the "Accept" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The "ProblemDetails" structure may be omitted in that case.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '500':
+          description: |
+            Internal Server Error
+            If there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond withthis response code. The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '503':
+          description: |
+            Service Unavailable
+            If the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the "Retry-After" HTTP header and for the alternative to refuse the connection. The "ProblemDetails" structure may be omitted.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+    delete:
+      description: |
+        Terminate Subscription
+
+        The DELETE method terminates an individual subscription.
+      tags:
+        - Sol003VnfLcm
+      parameters:
+        - name: Authorization
+          description: |
+            The authorization token for the request. Reference: IETF RFC 7235
+          in: header
+          required: false
+          type: string
+      responses:
+        '204':
+          description: |
+            No Content
+            The subscription resource was deleted successfully. The response body shall be empty.
+          headers:
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+        '400':
+          description: |
+            Bad Request
+            If the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect query parameters or a syntactically incorrect payload body), the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided, and should include in the "detail" attribute more information about the source of the problem.
+             ---
+
+            If the request contains a malformed access token, the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+             ---
+
+            If there is an application error related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond with this response code.The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '401':
+          description: |
+            Unauthorized
+            If the request contains no access token even though one is required, or if the request contains an authorization token that is invalid (e.g. expired or revoked), the API producer should respond with this response. The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 and IETF RFC 7235. The ProblemDetails structure may be provided.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+            WWW-Authenticate:
+              description: |
+                Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token.
+              type: string
+              maximum: 1
+              minimum: 0
+          schema:
+            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
+        '403':
+          description: |
+            Forbidden
+            If the API consumer is not allowed to perform a particular request to a particular resource, the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided.  It should include in the "detail" attribute information about the source of the problem, and may indicate how to solve it.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '404':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  Specifically in case of this task resource, the reason can also be that the task is not supported for the VNF LCM operation occurrence represented by the parent resource, and that the task resource consequently does not exist. The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the sourceof the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '405':
+          description: |
+            Not Found
+            If the API producer did not find a current representation for the resource addressed by the URI passed in the request, or is not willing to disclose that one exists, it shall respond with this response code.  The "ProblemDetails" structure may be provided, including in the "detail" attribute information about the source of the problem, e.g. a wrong resource URI variable.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '406':
+          description: |
+            Not Acceptable
+            If the "Accept" HTTP header does not contain at least one name of a content type that is acceptable to the API producer, the API producer shall respond with this response code. The "ProblemDetails" structure may be omitted in that case.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '500':
+          description: |
+            Internal Server Error
+            If there is an application error not related to the client's input that cannot be easily mapped to any other HTTP response code ("catch all error"), the API producer shall respond withthis response code. The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information about the source of the problem.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+        '503':
+          description: |
+            Service Unavailable
+            If the API producer encounters an internal overload situation of itself or of a system it relies on, it should respond with this response code, following the provisions in IETF RFC 7231 [13] for the use of the "Retry-After" HTTP header and for the alternative to refuse the connection. The "ProblemDetails" structure may be omitted.
+          headers:
+            Content-Type:
+              description: The MIME type of the body of the response.
+              type: string
+              maximum: 1
+              minimum: 1
+          schema:
+            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
+
diff --git a/vnfm-simulator/vnfm-service/pom.xml b/vnfm-simulator/vnfm-service/pom.xml
new file mode 100644 (file)
index 0000000..7b74126
--- /dev/null
@@ -0,0 +1,116 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.onap.so.vnfm</groupId>
+               <artifactId>vnfm-simulator</artifactId>
+               <version>1.4.0-SNAPSHOT</version>
+       </parent>
+       <artifactId>vnfm-service</artifactId>
+       <name>${project.artifactId}</name>
+
+       <properties>
+               <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+               <java.version>1.8</java.version>
+       </properties>
+       <dependencies>
+               <dependency>
+                       <groupId>org.onap.so.vnfm</groupId>
+                       <artifactId>vnfm-api</artifactId>
+                       <version>${project.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.boot</groupId>
+                       <artifactId>spring-boot-starter-web</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.boot</groupId>
+                       <artifactId>spring-boot-starter-data-jpa</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.boot</groupId>
+                       <artifactId>spring-boot-starter-actuator</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.boot</groupId>
+                       <artifactId>spring-boot-starter-test</artifactId>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.boot</groupId>
+                       <artifactId>spring-boot-devtools</artifactId>
+                       <scope>runtime</scope>
+               </dependency>
+               <dependency>
+                       <groupId>junit</groupId>
+                       <artifactId>junit</artifactId>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>io.swagger</groupId>
+                       <artifactId>swagger-jaxrs</artifactId>
+                       <version>1.5.0</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.directory.studio</groupId>
+                       <artifactId>org.apache.commons.io</artifactId>
+                       <version>2.4</version>
+               </dependency>
+               <dependency>
+                       <groupId>com.googlecode.json-simple</groupId>
+                       <artifactId>json-simple</artifactId>
+                       <version>1.1.1</version>
+               </dependency>
+
+               <dependency>
+                       <groupId>io.springfox</groupId>
+                       <artifactId>springfox-swagger-ui</artifactId>
+                       <version>2.6.1</version>
+                       <scope>compile</scope>
+               </dependency>
+               <dependency>
+                       <groupId>io.springfox</groupId>
+                       <artifactId>springfox-swagger2</artifactId>
+                       <version>2.6.1</version>
+                       <scope>compile</scope>
+               </dependency>
+               <dependency>
+                       <groupId>com.fasterxml.jackson.core</groupId>
+                       <artifactId>jackson-databind</artifactId>
+                       <version>2.9.8</version>
+               </dependency>
+               <dependency>
+                       <groupId>com.h2database</groupId>
+                       <artifactId>h2</artifactId>
+               </dependency>
+               <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
+               <dependency>
+                       <groupId>commons-beanutils</groupId>
+                       <artifactId>commons-beanutils</artifactId>
+                       <version>1.9.3</version>
+               </dependency>
+       </dependencies>
+       <build>
+               <plugins>
+                       <plugin>
+                               <groupId>org.springframework.boot</groupId>
+                               <artifactId>spring-boot-maven-plugin</artifactId>
+                               <version>${springboot.version}</version>
+                               <configuration>
+                                       <mainClass>org.onap.svnfm.simulator.config.SvnfmApplication</mainClass>
+                               </configuration>
+                               <executions>
+                                       <execution>
+                                               <goals>
+                                                       <goal>repackage</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.springframework.boot</groupId>
+                               <artifactId>spring-boot-maven-plugin</artifactId>
+                       </plugin>
+               </plugins>
+       </build>
+</project>
\ No newline at end of file
diff --git a/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/config/SvnfmApplication.java b/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/config/SvnfmApplication.java
new file mode 100644 (file)
index 0000000..84b45d0
--- /dev/null
@@ -0,0 +1,42 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.svnfm.simulator.config;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.autoconfigure.domain.EntityScan;
+import org.springframework.cache.annotation.EnableCaching;
+import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
+
+/**
+ * 
+ * @author Lathishbabu Ganesan (lathishbabu.ganesan@est.tech)
+ * @author ronan.kenny@est.tech
+ */
+@SpringBootApplication(scanBasePackages = {"org.onap"})
+@EnableJpaRepositories("org.onap.svnfm.simulator")
+@EntityScan("org.onap.svnfm.simulator.model")
+@EnableCaching
+public class SvnfmApplication {
+    public static void main(final String[] args) {
+        SpringApplication.run(SvnfmApplication.class, args);
+    }
+}
diff --git a/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/constants/Constant.java b/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/constants/Constant.java
new file mode 100644 (file)
index 0000000..bd38090
--- /dev/null
@@ -0,0 +1,35 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.svnfm.simulator.constants;
+
+/**
+ * 
+ * @author Lathishbabu Ganesan (lathishbabu.ganesan@est.tech)
+ * @author ronan.kenny@est.tech
+ */
+public class Constant {
+
+    public static final String VNF_PROVIDER = "XYZ";
+    public static final String VNF_PROVIDER_NAME = "SGSN-MME";
+    public static final String VNF_SOFTWARE_VERSION = "1.24";
+    public static final String VNFD_VERSION = "onapmme01_cxp9025898_4r85d01";
+    public static final String VNF_NOT_INSTANTIATED = "NOT_INSTANTIATED";
+}
diff --git a/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/controller/SvnfmController.java b/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/controller/SvnfmController.java
new file mode 100644 (file)
index 0000000..11099a2
--- /dev/null
@@ -0,0 +1,142 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.svnfm.simulator.controller;
+
+import java.util.UUID;
+import javax.ws.rs.core.MediaType;
+import org.onap.svnfm.simulator.repository.VnfmCacheRepository;
+import org.onap.svnfm.simulator.services.SvnfmService;
+import org.onap.vnfm.v1.model.CreateVnfRequest;
+import org.onap.vnfm.v1.model.InlineResponse201;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.http.HttpHeaders;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.ResponseStatus;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * 
+ * @author Lathishbabu Ganesan (lathishbabu.ganesan@est.tech)
+ * @author Ronan Kenny (ronan.kenny@est.tech)
+ */
+@RestController
+@RequestMapping("/svnfm")
+public class SvnfmController {
+
+    @Autowired
+    private SvnfmService svnfmService;
+
+    @Autowired
+    private VnfmCacheRepository vnfmCacheRepository;
+
+    private static final Logger LOGGER = LoggerFactory.getLogger(SvnfmController.class);
+
+    /**
+     * 
+     * @param createVNFRequest
+     * @return
+     */
+    @RequestMapping(method = RequestMethod.POST, value = "/vnf_instances")
+    public ResponseEntity<InlineResponse201> createVnf(@RequestBody final CreateVnfRequest createVNFRequest) {
+        LOGGER.info("Start createVnf------");
+        final HttpHeaders headers = new HttpHeaders();
+        headers.add("Content-Type", MediaType.APPLICATION_JSON);
+        return new ResponseEntity<>(vnfmCacheRepository.createVnf(createVNFRequest), headers, HttpStatus.CREATED);
+    }
+
+    /**
+     * 
+     * @param vnfId
+     * @return vnfm cache repository
+     */
+    @RequestMapping(method = RequestMethod.GET, value = "/vnf_instances/{vnfInstanceId}",
+            produces = MediaType.APPLICATION_JSON)
+    @ResponseStatus(code = HttpStatus.OK)
+    public InlineResponse201 getVnf(@PathVariable("vnfInstanceId") final String vnfId) {
+        LOGGER.info("Start getVnf------");
+        return vnfmCacheRepository.getVnf(vnfId);
+    }
+
+    /**
+     * 
+     * @param vnfId
+     * @return response entity
+     * @throws InterruptedException
+     */
+    @RequestMapping(method = RequestMethod.POST, value = "/vnf_instances/{vnfInstanceId}/instantiate")
+    public ResponseEntity<Object> instantiateVnf(@PathVariable("vnfInstanceId") final String vnfId)
+            throws InterruptedException {
+        LOGGER.info("Start instantiateVNFRequest");
+        final String instantiateJobId = UUID.randomUUID().toString();
+        final HttpHeaders headers = new HttpHeaders();
+        headers.add("Content-Type", MediaType.APPLICATION_JSON);
+        headers.add("Location", instantiateJobId);
+        return new ResponseEntity<>(svnfmService.instatiateVnf(vnfId, instantiateJobId), headers, HttpStatus.ACCEPTED);
+    }
+
+    /**
+     * 
+     * @param jobId
+     * @return response entity
+     * @throws InterruptedException
+     */
+    public ResponseEntity<Object> getJobStatus(@PathVariable("jobId") final String jobId) throws InterruptedException {
+        LOGGER.info("Start getJobStatus");
+        final HttpHeaders headers = new HttpHeaders();
+        headers.add("Content-Type", MediaType.APPLICATION_JSON);
+        return new ResponseEntity<>(svnfmService.getJobStatus(jobId), headers, HttpStatus.ACCEPTED);
+    }
+
+    /**
+     * 
+     * @param vnfId
+     * @return delete VNF
+     */
+    @RequestMapping(method = RequestMethod.DELETE, value = "/vnf_instances/{vnfInstanceId}",
+            produces = MediaType.APPLICATION_JSON)
+    @ResponseStatus(code = HttpStatus.OK)
+    public InlineResponse201 deleteVnf(@PathVariable("vnfInstanceId") final String vnfId) {
+        LOGGER.info("Start deleting Vnf------");
+        return vnfmCacheRepository.deleteVnf(vnfId);
+    }
+
+    /**
+     * 
+     * @param vnfId
+     * @return response entity
+     * @throws InterruptedException
+     */
+    @RequestMapping(method = RequestMethod.POST, value = "/vnf_instances/{vnfInstanceId}/terminate")
+    public ResponseEntity<Object> terminateVnf(@PathVariable("vnfInstanceId") final String vnfId)
+            throws InterruptedException {
+        LOGGER.info("Start terminateVNFRequest");
+        final HttpHeaders headers = new HttpHeaders();
+        headers.add("Content-Type", MediaType.APPLICATION_JSON);
+        return new ResponseEntity<>(svnfmService.terminateVnf(vnfId), headers, HttpStatus.ACCEPTED);
+    }
+}
diff --git a/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/exception/GlobalExceptionHandler.java b/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/exception/GlobalExceptionHandler.java
new file mode 100644 (file)
index 0000000..1ea92b3
--- /dev/null
@@ -0,0 +1,47 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.svnfm.simulator.exception;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.http.HttpStatus;
+import org.springframework.web.HttpMediaTypeNotSupportedException;
+import org.springframework.web.bind.annotation.ControllerAdvice;
+import org.springframework.web.bind.annotation.ExceptionHandler;
+import org.springframework.web.bind.annotation.ResponseStatus;
+
+/**
+ * 
+ * @author Lathishbabu Ganesan (lathishbabu.ganesan@est.tech)
+ * @author ronan.kenny@est.tech
+ */
+@ControllerAdvice
+public class GlobalExceptionHandler {
+
+    private static final Logger logger = LoggerFactory.getLogger(GlobalExceptionHandler.class);
+
+    @ResponseStatus(HttpStatus.UNSUPPORTED_MEDIA_TYPE)
+    @ExceptionHandler(HttpMediaTypeNotSupportedException.class)
+    public void handleConflict() {
+        final String error = "Media type Not Supported";
+        logger.error(error);
+    }
+}
diff --git a/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/model/VnfInstance.java b/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/model/VnfInstance.java
new file mode 100644 (file)
index 0000000..6af860c
--- /dev/null
@@ -0,0 +1,182 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.svnfm.simulator.model;
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Id;
+import javax.persistence.Table;
+
+/**
+ * 
+ * @author Lathishbabu Ganesan (lathishbabu.ganesan@est.tech)
+ * @author Ronan Kenny (ronan.kenny@est.tech)
+ */
+@Entity
+@Table(name = "VNF_INSTANCE")
+public class VnfInstance {
+    @Id
+    @Column(name = "id", nullable = false)
+    private String id;
+    private String vnfInstanceName;
+    private String vnfInstanceDescription;
+    private String vnfdId;
+    private String vnfProvider;
+    private String vnfProductName;
+    private String vnfSoftwareVersion;
+    private String vnfdVersion;
+    private String vnfPkgId;
+    private String vnfConfigurableProperties;
+    private String vimConnectionInfo;
+    private String vnfInstantiationState;
+    private String instantiatedVnfInfo;
+    private String metadata;
+    private String extensions;
+    private String links;
+
+    public String getId() {
+        return id;
+    }
+
+    public void setId(final String id) {
+        this.id = id;
+    }
+
+    public String getVnfInstanceName() {
+        return vnfInstanceName;
+    }
+
+    public void setVnfInstanceName(final String vnfInstanceName) {
+        this.vnfInstanceName = vnfInstanceName;
+    }
+
+    public String getVnfInstanceDescription() {
+        return vnfInstanceDescription;
+    }
+
+    public void setVnfInstanceDescription(final String vnfInstanceDescription) {
+        this.vnfInstanceDescription = vnfInstanceDescription;
+    }
+
+    public String getVnfdId() {
+        return vnfdId;
+    }
+
+    public void setVnfdId(final String vnfdId) {
+        this.vnfdId = vnfdId;
+    }
+
+    public String getVnfProvider() {
+        return vnfProvider;
+    }
+
+    public void setVnfProvider(final String vnfProvider) {
+        this.vnfProvider = vnfProvider;
+    }
+
+    public String getVnfProductName() {
+        return vnfProductName;
+    }
+
+    public void setVnfProductName(final String vnfProductName) {
+        this.vnfProductName = vnfProductName;
+    }
+
+    public String getVnfSoftwareVersion() {
+        return vnfSoftwareVersion;
+    }
+
+    public void setVnfSoftwareVersion(final String vnfSoftwareVersion) {
+        this.vnfSoftwareVersion = vnfSoftwareVersion;
+    }
+
+    public String getVnfdVersion() {
+        return vnfdVersion;
+    }
+
+    public void setVnfdVersion(final String vnfdVersion) {
+        this.vnfdVersion = vnfdVersion;
+    }
+
+    public String getVnfPkgId() {
+        return vnfPkgId;
+    }
+
+    public void setVnfPkgId(final String vnfPkgId) {
+        this.vnfPkgId = vnfPkgId;
+    }
+
+    public String getVnfConfigurableProperties() {
+        return vnfConfigurableProperties;
+    }
+
+    public void setVnfConfigurableProperties(final String vnfConfigurableProperties) {
+        this.vnfConfigurableProperties = vnfConfigurableProperties;
+    }
+
+    public String getVimConnectionInfo() {
+        return vimConnectionInfo;
+    }
+
+    public void setVimConnectionInfo(final String vimConnectionInfo) {
+        this.vimConnectionInfo = vimConnectionInfo;
+    }
+
+    public String getInstantiationState() {
+        return vnfInstantiationState;
+    }
+
+    public void setVnfInstantiationState(final String vnfInstantiationState) {
+        this.vnfInstantiationState = vnfInstantiationState;
+    }
+
+    public String getVnfInstantiationState() {
+        return instantiatedVnfInfo;
+    }
+
+    public void setInstantiatedVnfInfo(final String instantiatedVnfInfo) {
+        this.instantiatedVnfInfo = instantiatedVnfInfo;
+    }
+
+    public String getMetadata() {
+        return metadata;
+    }
+
+    public void setMetadata(final String metadata) {
+        this.metadata = metadata;
+    }
+
+    public String getExtensions() {
+        return extensions;
+    }
+
+    public void setExtensions(final String extensions) {
+        this.extensions = extensions;
+    }
+
+    public String getLinks() {
+        return links;
+    }
+
+    public void setLinks(final String links) {
+        this.links = links;
+    }
+}
diff --git a/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/model/VnfJob.java b/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/model/VnfJob.java
new file mode 100644 (file)
index 0000000..575223c
--- /dev/null
@@ -0,0 +1,73 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+package org.onap.svnfm.simulator.model;
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Id;
+import javax.persistence.Table;
+
+/**
+ * 
+ * @author Lathishbabu Ganesan (lathishbabu.ganesan@est.tech)
+ * @author Ronan Kenny (ronan.kenny@est.tech)
+ */
+@Entity
+@Table(name = "VNF_JOB")
+public class VnfJob {
+    @Id
+    @Column(name = "jobId", nullable = false)
+    private String jobId;
+    private String vnfInstanceId;
+    private String vnfId;
+    private String status;
+
+    public String getJobId() {
+        return jobId;
+    }
+
+    public void setJobId(final String jobId) {
+        this.jobId = jobId;
+    }
+
+    public String getVnfInstanceId() {
+        return vnfInstanceId;
+    }
+
+    public void setVnfInstanceId(final String vnfInstanceId) {
+        this.vnfInstanceId = vnfInstanceId;
+    }
+
+    public String getVnfId() {
+        return vnfId;
+    }
+
+    public void setVnfId(final String vnfId) {
+        this.vnfId = vnfId;
+    }
+
+    public String getStatus() {
+        return status;
+    }
+
+    public void setStatus(final String status) {
+        this.status = status;
+    }
+}
diff --git a/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/notifications/VnfInstantiationNotification.java b/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/notifications/VnfInstantiationNotification.java
new file mode 100644 (file)
index 0000000..3bf3d60
--- /dev/null
@@ -0,0 +1,43 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.svnfm.simulator.notifications;
+
+import org.onap.svnfm.simulator.services.SvnfmService;
+
+/**
+ * 
+ * @author Lathishbabu Ganesan (lathishbabu.ganesan@est.tech)
+ * @author Ronan Kenny (ronan.kenny@est.tech)
+ */
+public class VnfInstantiationNotification implements Runnable {
+
+    SvnfmService svnfmService = new SvnfmService();
+
+    @Override
+    public void run() {
+        try {
+            Thread.sleep(10000);
+        } catch (final InterruptedException e) {
+            e.printStackTrace();
+        }
+        System.out.println("Instantiation process finished");
+    }
+}
diff --git a/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/notifications/VnfmAdapterCreationNotification.java b/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/notifications/VnfmAdapterCreationNotification.java
new file mode 100644 (file)
index 0000000..61d6f7e
--- /dev/null
@@ -0,0 +1,40 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.svnfm.simulator.notifications;
+
+/**
+ * 
+ * @author Lathishbabu Ganesan (lathishbabu.ganesan@est.tech)
+ * @author Ronan Kenny (ronan.kenny@est.tech)
+ */
+public class VnfmAdapterCreationNotification implements Runnable {
+
+    @Override
+    public void run() {
+        try {
+            Thread.sleep(10000);
+        } catch (final InterruptedException e) {
+            e.printStackTrace();
+        }
+        System.out.println("Call to VNFM Adapter-Create");
+    }
+
+}
diff --git a/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/notifications/VnfmAdapterDeletionNotification.java b/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/notifications/VnfmAdapterDeletionNotification.java
new file mode 100644 (file)
index 0000000..0ad7365
--- /dev/null
@@ -0,0 +1,40 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.svnfm.simulator.notifications;
+
+/**
+ * 
+ * @author Lathishbabu Ganesan (lathishbabu.ganesan@est.tech)
+ * @author Ronan Kenny (ronan.kenny@est.tech)
+ */
+public class VnfmAdapterDeletionNotification implements Runnable {
+
+    @Override
+    public void run() {
+        try {
+            Thread.sleep(10000);
+        } catch (final InterruptedException e) {
+            e.printStackTrace();
+        }
+        System.out.println("Call to VNFM Adapter-Delete");
+    }
+
+}
diff --git a/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/repository/VnfJobRepository.java b/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/repository/VnfJobRepository.java
new file mode 100644 (file)
index 0000000..b3b39bf
--- /dev/null
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.svnfm.simulator.repository;
+
+import org.onap.svnfm.simulator.model.VnfJob;
+import org.springframework.data.repository.CrudRepository;
+
+/**
+ * 
+ * @author Lathishbabu Ganesan (lathishbabu.ganesan@est.tech)
+ * @author Ronan Kenny (ronan.kenny@est.tech)
+ */
+public interface VnfJobRepository extends CrudRepository<VnfJob, String> {
+
+}
diff --git a/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/repository/VnfmCacheRepository.java b/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/repository/VnfmCacheRepository.java
new file mode 100644 (file)
index 0000000..e41cbe1
--- /dev/null
@@ -0,0 +1,59 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.svnfm.simulator.repository;
+
+import org.onap.svnfm.simulator.services.SvnfmService;
+import org.onap.vnfm.v1.model.CreateVnfRequest;
+import org.onap.vnfm.v1.model.InlineResponse201;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.cache.annotation.Cacheable;
+import org.springframework.stereotype.Repository;
+
+/**
+ * 
+ * @author Lathishbabu Ganesan (lathishbabu.ganesan@est.tech)
+ * @author Ronan Kenny (ronan.kenny@est.tech)
+ */
+@Repository
+public class VnfmCacheRepository {
+
+    @Autowired
+    private SvnfmService svnfmService;
+
+    @Cacheable(value = "inlineResponse201", key = "#createVnfRequest.vnfdId")
+    public InlineResponse201 createVnf(final CreateVnfRequest createVnfRequest) {
+        return svnfmService.createVnf(createVnfRequest);
+    }
+
+    @Cacheable(value = "inlineResponse201", key = "#id")
+    public InlineResponse201 getVnf(final String id) {
+        return svnfmService.getVnf(id);
+    }
+
+    /**
+     * @param vnfId
+     * @return
+     */
+    public InlineResponse201 deleteVnf(String vnfId) {
+        // TODO
+        return null;
+    }
+}
diff --git a/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/repository/VnfmRepository.java b/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/repository/VnfmRepository.java
new file mode 100644 (file)
index 0000000..f28b54a
--- /dev/null
@@ -0,0 +1,35 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.svnfm.simulator.repository;
+
+import java.util.Optional;
+import org.onap.svnfm.simulator.model.VnfInstance;
+import org.springframework.data.repository.CrudRepository;
+import org.springframework.data.repository.query.Param;
+
+/**
+ * 
+ * @author Lathishbabu Ganesan (lathishbabu.ganesan@est.tech)
+ * @author Ronan Kenny (ronan.kenny@est.tech)
+ */
+public interface VnfmRepository extends CrudRepository<VnfInstance, String> {
+    public Optional<VnfInstance> findById(@Param("id") String id);
+}
diff --git a/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/services/SvnfmService.java b/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/services/SvnfmService.java
new file mode 100644 (file)
index 0000000..f7f4eaa
--- /dev/null
@@ -0,0 +1,168 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.svnfm.simulator.services;
+
+import java.lang.reflect.InvocationTargetException;
+import java.util.Optional;
+import org.onap.svnfm.simulator.model.VnfInstance;
+import org.onap.svnfm.simulator.model.VnfJob;
+import org.onap.svnfm.simulator.notifications.VnfInstantiationNotification;
+import org.onap.svnfm.simulator.notifications.VnfmAdapterCreationNotification;
+import org.onap.svnfm.simulator.repository.VnfJobRepository;
+import org.onap.svnfm.simulator.repository.VnfmRepository;
+import org.onap.vnfm.v1.model.CreateVnfRequest;
+import org.onap.vnfm.v1.model.InlineResponse201;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+/**
+ * 
+ * @author Lathishbabu Ganesan (lathishbabu.ganesan@est.tech)
+ * @author Ronan Kenny (ronan.kenny@est.tech)
+ */
+@Service
+public class SvnfmService {
+
+    @Autowired
+    VnfmRepository vnfmRepository;
+
+    @Autowired
+    VnfJobRepository vnfJobRepository;
+
+    @Autowired
+    private VnfmHelper vnfmHelper;
+
+    private static final Logger LOGGER = LoggerFactory.getLogger(SvnfmService.class);
+
+    /**
+     * 
+     * @param createVNFRequest
+     * @return inlineResponse201
+     */
+    public InlineResponse201 createVnf(final CreateVnfRequest createVNFRequest) {
+        InlineResponse201 inlineResponse201 = null;
+        try {
+            final VnfInstance vnfInstance = vnfmHelper.createVnfInstance(createVNFRequest);
+            vnfmRepository.save(vnfInstance);
+            final Thread creationNotification = new Thread(new VnfmAdapterCreationNotification());
+            creationNotification.start();
+            inlineResponse201 = vnfmHelper.getInlineResponse201(vnfInstance);
+            LOGGER.debug("Response from Create VNF", inlineResponse201);
+        } catch (IllegalAccessException | InvocationTargetException e) {
+            LOGGER.error("Failed in Create Vnf", e);
+        }
+        return inlineResponse201;
+    }
+
+    /**
+     * 
+     * @param vnfId
+     * @param instantiateJobId
+     * @throws InterruptedException
+     */
+    public Object instatiateVnf(final String vnfId, final String instantiateJobId) throws InterruptedException {
+        final VnfJob vnfJob = buildVnfInstantiation(vnfId, instantiateJobId);
+        vnfJobRepository.save(vnfJob);
+        getJobStatus(vnfJob.getJobId());
+        return null;
+    }
+
+    /**
+     * 
+     * @param vnfId
+     * @param instantiateJobId
+     */
+    public VnfJob buildVnfInstantiation(final String vnfId, final String instantiateJobId) {
+        final VnfJob vnfJob = new VnfJob();
+        final Optional<VnfInstance> vnfInstance = vnfmRepository.findById(vnfId);
+
+        if (vnfInstance.isPresent()) {
+            vnfJob.setJobId(instantiateJobId);
+            for (final VnfInstance instance : vnfmRepository.findAll()) {
+                if (instance.getId().equals(vnfId)) {
+                    vnfJob.setVnfInstanceId(instance.getVnfInstanceDescription());
+                }
+            }
+            vnfJob.setVnfId(vnfId);
+            vnfJob.setStatus("STARTING");
+        }
+        return vnfJob;
+    }
+
+    /**
+     * 
+     * @param jobId
+     * @throws InterruptedException
+     */
+    public Object getJobStatus(final String jobId) throws InterruptedException {
+        LOGGER.info("Getting job status with id: " + jobId);
+        for (int i = 0; i < 5; i++) {
+            LOGGER.info("Instantiation status: RUNNING");
+            Thread.sleep(5000);
+            for (final VnfJob job : vnfJobRepository.findAll()) {
+                if (job.getJobId().equals(jobId)) {
+                    job.setStatus("RUNNING");
+                    vnfJobRepository.save(job);
+                }
+            }
+        }
+        final Thread instantiationNotification = new Thread(new VnfInstantiationNotification());
+        instantiationNotification.start();
+        for (final VnfJob job : vnfJobRepository.findAll()) {
+            if (job.getJobId().equals(jobId)) {
+                job.setStatus("COMPLETE");
+                vnfJobRepository.save(job);
+            }
+        }
+        return null;
+    }
+
+    /**
+     * 
+     * @param vnfId
+     * @return inlineResponse201
+     */
+    public InlineResponse201 getVnf(final String vnfId) {
+        InlineResponse201 inlineResponse201 = null;
+
+        final Optional<VnfInstance> vnfInstance = vnfmRepository.findById(vnfId);
+        try {
+            if (vnfInstance.isPresent()) {
+                inlineResponse201 = vnfmHelper.getInlineResponse201(vnfInstance.get());
+                LOGGER.debug("Response from get VNF", inlineResponse201);
+            }
+        } catch (IllegalAccessException | InvocationTargetException e) {
+            LOGGER.error("Failed in get Vnf", e);
+        }
+        return inlineResponse201;
+    }
+
+    /**
+     * @param vnfId
+     * @return
+     */
+    public Object terminateVnf(String vnfId) {
+        // TODO
+        return null;
+    }
+}
diff --git a/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/services/VnfmHelper.java b/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/services/VnfmHelper.java
new file mode 100644 (file)
index 0000000..f35cbf2
--- /dev/null
@@ -0,0 +1,73 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.svnfm.simulator.services;
+
+import java.lang.reflect.InvocationTargetException;
+import org.apache.commons.beanutils.BeanUtils;
+import org.onap.svnfm.simulator.constants.Constant;
+import org.onap.svnfm.simulator.model.VnfInstance;
+import org.onap.vnfm.v1.model.CreateVnfRequest;
+import org.onap.vnfm.v1.model.InlineResponse201;
+import org.onap.vnfm.v1.model.InlineResponse201.InstantiationStateEnum;
+import org.springframework.stereotype.Component;
+
+/**
+ * 
+ * @author Lathishbabu Ganesan (lathishbabu.ganesan@est.tech)
+ * @author Ronan Kenny (ronan.kenny@est.tech)
+ */
+@Component
+public class VnfmHelper {
+
+    /**
+     * 
+     * @param createVNFRequest
+     * @return vnfInstance
+     */
+    public VnfInstance createVnfInstance(final CreateVnfRequest createVNFRequest) {
+        final VnfInstance vnfInstance = new VnfInstance();
+        final String vnfId = createVNFRequest.getVnfdId();
+        vnfInstance.setId(vnfId);
+        vnfInstance.setVnfInstanceName(createVNFRequest.getVnfInstanceName());
+        vnfInstance.setVnfInstanceDescription(createVNFRequest.getVnfInstanceDescription());
+        vnfInstance.setVnfdId(createVNFRequest.getVnfdId());
+        vnfInstance.setVnfProvider(Constant.VNF_PROVIDER);
+        vnfInstance.setVnfProductName(Constant.VNF_PROVIDER_NAME);
+        return vnfInstance;
+    }
+
+    /**
+     * 
+     * @param vnfInstance
+     * @return inlineResponse201
+     * @throws IllegalAccessException
+     * @throws InvocationTargetException
+     */
+    public InlineResponse201 getInlineResponse201(final VnfInstance vnfInstance)
+            throws IllegalAccessException, InvocationTargetException {
+        final InlineResponse201 inlineResponse201 = new InlineResponse201();
+        BeanUtils.copyProperties(inlineResponse201, vnfInstance);
+        inlineResponse201.setVnfdVersion(Constant.VNFD_VERSION);
+        inlineResponse201.setVnfSoftwareVersion(Constant.VNF_SOFTWARE_VERSION);
+        inlineResponse201.setInstantiationState(InstantiationStateEnum.NOT_INSTANTIATED);
+        return inlineResponse201;
+    }
+}
diff --git a/vnfm-simulator/vnfm-service/src/main/resources/application.properties b/vnfm-simulator/vnfm-service/src/main/resources/application.properties
new file mode 100644 (file)
index 0000000..c5b36d7
--- /dev/null
@@ -0,0 +1,13 @@
+# Enabling H2 Console
+spring.h2.console.enabled=true
+spring.h2.console.path=/console
+spring.datasource.url=jdbc:h2:mem:testdb;DB_CLOSE_ON_EXIT=FALSE
+spring.datasource.username=admin
+spring.datasource.password=admin
+spring.datasource.driverClassName=org.h2.Driver
+spring.jpa.hibernate.ddl-auto = update
+spring.jpa.show-sql=true
+logging.level.org.hibernate.SQL=DEBUG
+logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
+
+server.port=9081
\ No newline at end of file
diff --git a/vnfm-simulator/vnfm-service/src/test/java/org/onap/svnfm/simulator/controllers/TestSvnfmController.java b/vnfm-simulator/vnfm-service/src/test/java/org/onap/svnfm/simulator/controllers/TestSvnfmController.java
new file mode 100644 (file)
index 0000000..f338b58
--- /dev/null
@@ -0,0 +1,84 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.svnfm.simulator.controllers;
+
+import static org.mockito.Mockito.when;
+import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
+import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content;
+import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.mockito.InjectMocks;
+import org.mockito.Mock;
+import org.mockito.MockitoAnnotations;
+import org.mockito.junit.MockitoJUnitRunner;
+import org.onap.svnfm.simulator.controller.SvnfmController;
+import org.onap.svnfm.simulator.repository.VnfmCacheRepository;
+import org.onap.svnfm.simulator.services.SvnfmService;
+import org.onap.vnfm.v1.model.CreateVnfRequest;
+import org.onap.vnfm.v1.model.InlineResponse201;
+import org.springframework.http.MediaType;
+import org.springframework.test.web.servlet.MockMvc;
+import org.springframework.test.web.servlet.setup.MockMvcBuilders;
+import com.fasterxml.jackson.databind.ObjectMapper;
+
+@RunWith(MockitoJUnitRunner.class)
+public class TestSvnfmController {
+
+    @InjectMocks
+    private SvnfmController svnfmController;
+
+    private MockMvc mockMvc;
+
+    @Mock
+    private SvnfmService svnfmService;
+
+    @Mock
+    private VnfmCacheRepository vnfmCacheRepository;
+
+    @Before
+    public void setup() {
+        MockitoAnnotations.initMocks(this);
+        this.mockMvc = MockMvcBuilders.standaloneSetup(svnfmController).build();
+    }
+
+    @Test
+    public void createVnfInstanceTest() throws Exception {
+        final CreateVnfRequest createVnfRequest = new CreateVnfRequest();
+
+        createVnfRequest.setVnfdId("123456798");
+        createVnfRequest.setVnfInstanceName("createVnfInstanceTest");
+        createVnfRequest.setVnfInstanceDescription("createVnfInstanceTest");
+
+        when(vnfmCacheRepository.createVnf(createVnfRequest)).thenReturn(new InlineResponse201());
+
+        svnfmService.createVnf(createVnfRequest);
+
+        final String body = (new ObjectMapper()).valueToTree(createVnfRequest).toString();
+        this.mockMvc
+                .perform(post("/svnfm/vnf_instances").content(body).contentType(MediaType.APPLICATION_JSON)
+                        .accept(MediaType.APPLICATION_JSON))
+                .andExpect(status().isCreated()).andExpect(content().contentType(MediaType.APPLICATION_JSON));
+    }
+}
+
+