Interconnected test cases - Implementation of tests for v5.1.1

This merge request refers to the implementation of new Interconnected Test cases for v4.5.1. The tests are:

VNF Instance Heal VNF Instance Change External Connectivity VNF Lifecycle Operation Retry VNF Lifecycle Operation Rollback

Deadline for review: Wednesday 22nd January 2025 @noon CEST

Merge request reports

Loading
+3 −3
Changes for interconnectedTestCases/SOL003/descriptors/SOL001/VNFD/vnfd_SOL001.yaml: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ tosca_definitions_version: tosca_simple_yaml_1_3
description: "TST010 reference VNF-B"

imports:
  - https://forge.etsi.org/rep/nfv/SOL001/raw/v4.4.1/etsi_nfv_sol001_vnfd_types.yaml  
  - https://forge.etsi.org/rep/nfv/SOL001/raw/v5.1.1/etsi_nfv_sol001_vnfd_types.yaml  

metadata:
  descriptor_id: "VNF-B"
@@ -44,7 +44,7 @@ node_types:
        type: list
        entry_schema:
          type: string
        default: [ 'etsivnfm:v4.5.1' ]
        default: [ 'etsivnfm:v5.1.1' ]
    interfaces:
      Vnflcm:
        type: "tosca.interfaces.nfv.Vnflcm"
@@ -153,7 +153,7 @@ topology_template:
        flavour_id: "VNF-B_flavor"
        flavour_description: "VNF-B flavor"
        vnfm_info: 
          - etsivnfm:v2.3.1 
          - etsivnfm:v5.1.1 
      interfaces:
        Vnflcm:
          type: "tosca.interfaces.nfv.Vnflcm"
+8 −1
Changes for interconnectedTestCases/SOL003/environment/variables.txt: 8 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -9,13 +9,20 @@ ${VNFM_PORT} 3001 # Listening port of the VNFM
${VNFM_SCHEMA}    http
${VNFM}    ${VNFM_SCHEMA}://${VNFM_HOST}:${VNFM_PORT}

################################################################################################
##### THIS VARIABLE BELOW ALLOWS TO SKIP INTERMEDIATE LIFEFYCLE OP OCC INTERMEDIATE CHECKS #####
##### IT IS INTENDED TO BE A KNOWN DEVIATION FROM STANDARDS                                #####

${SKIP_INTERMEDIATE_NOTIFICATION_CHECKS}    1

################################################################################################

${ACCEPT}         application/json
${ACCEPT_JSON}    application/json
${CONTENT_TYPE}    application/json
${AUTHORIZATION_HEADER}    Authorization
${AUTHORIZATION_TOKEN}    Bearer 0b79bab50daca910b000d4f1a2b675d604257e42
${AUTH_USAGE}     1
${AUTH_USAGE}     0
${CONTENT_TYPE_PATCH}    application/merge-patch+json

${NFVO_API_ROOT}    
+65 −0
Changes for interconnectedTestCases/SOL003/jsons/changeExtVnfConnectivityRequest.json: 65 added lines, 0 removed lines.
Original line number Diff line number Diff line
{{
  "extVirtualLinks": [
    {
      "id": "string",
      "vimConnectionId": "string",
      "resourceProviderId": "string",
      "resourceId": "string",
      "extCps": [
        {
          "cpdId": "string",
          "cpConfig": [
            {
              "cpInstanceId": "string",
              "linkPortId": "string",
              "cpProtocolData": [
                {
                  "layerProtocol": "IP_OVER_ETHERNET",
                  "ipOverEthernet": {
                    "macAddress": "string",
                    "ipAddresses": [
                      {
                        "type": "IPV4",
                        "fixedAddresses": [
                          "string"
                        ],
                        "numDynamicAddresses": 0,
                        "addressRange": {
                          "minAddress": "string",
                          "maxAddress": "string"
                        },
                        "subnetId": "string"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "extLinkPorts": [
        {
          "id": "string",
          "resourceHandle": {
            "vimConnectionId": "string",
            "resourceProviderId": "string",
            "resourceId": "string",
            "vimLevelResourceType": "string"
          }
        }
      ]
    }
  ],
  "vimConnectionInfo": [
    {
      "id": "string",
      "vimId": "string",
      "vimType": "string",
      "interfaceInfo": {},
      "accessInfo": {},
      "extra": {}
    }
  ],
  "additionalParams": {}
}}
 No newline at end of file
+4 −0
Changes for interconnectedTestCases/SOL003/jsons/healVnfRequest.json: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
{{
  "cause": "{healingCause}",
  "additionalParams": {{}}
}}
 No newline at end of file
+4 −0
Changes for interconnectedTestCases/SOL003/jsons/scaleVnfRequest.json: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
{{
  "type": "{scaletype}",
  "aspectId": "{scaleAspectId}"
}}
 No newline at end of file
Loading
Loading