Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-2299

Generic NeutronNet resourceType should be VL instead of VF in distribution notification

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • Dublin Release
    • Dublin Release
    • None
    • Integration-OOM-Staging-Daily

      When distributing vCPE Infra service by SDC, the notification has Generic NeutronNet resourceType as VF instead of VL. Here is the distribution notification received by SO for vCPE Infra service: 

      {
        "distributionID": "8c320aeb-c44c-4a1d-82ab-37ac16063249",
        "serviceName": "demoVCPEInfra",
        "serviceVersion": "1.0",
        "serviceUUID": "704bb4e0-c556-4eb4-a82c-6c1670245dee",
        "serviceDescription": "catalog service description",
        "serviceInvariantUUID": "c5a4020a-909c-4396-95a9-7a93532b05da",
        "resources": [
          {
            "resourceInstanceName": "vCPE_infra 86e6d94b-50fc 0",
            "resourceName": "vCPE_infra 86e6d94b-50fc",
            "resourceVersion": "1.0",
            "resoucreType": "VF",
            "resourceUUID": "20e4e271-9841-4519-9321-c7d24c905dfe",
            "resourceInvariantUUID": "3ba6075d-f64d-42d4-804f-7bc7ae8457bd",
            "resourceCustomizationUUID": "0630f526-19e4-4f93-9ee1-669f445e0b20",
            "category": "Generic",
            "subcategory": "Abstract",
            "artifacts": [
              {
                "artifactName": "vf-license-model.xml",
                "artifactType": "VF_LICENSE",
                "artifactURL": "/sdc/v1/catalog/services/Demovcpeinfra/1.0/resourceInstances/vcpe_infra86e6d94b50fc0/artifacts/vf-license-model.xml",
                "artifactChecksum": "ZDQ0NzI0NWU4YTA1YzdlMWE3ODE5MWMxM2EyYWY1Mzg=",
                "artifactDescription": "VF license file",
                "artifactTimeout": 120,
                "artifactUUID": "8bbc1245-077f-45e7-99b8-67c9be57b837",
                "artifactVersion": "1"
              },
              {
                "artifactName": "vcpe_infra86e6d94b50fc0_modules.json",
                "artifactType": "VF_MODULES_METADATA",
                "artifactURL": "/sdc/v1/catalog/services/Demovcpeinfra/1.0/resourceInstances/vcpe_infra86e6d94b50fc0/artifacts/vcpe_infra86e6d94b50fc0_modules.json",
                "artifactChecksum": "ZDkyMzg2OTNjMWJhZTIwMTM1YWM2YTkxMWY1MTQ2ZGY=",
                "artifactDescription": "Auto-generated VF Modules information artifact",
                "artifactTimeout": 120,
                "artifactUUID": "0922595f-61ed-4fe0-9977-4fe70b7bb32c",
                "artifactVersion": "1"
              },
              {
                "artifactName": "base_vcpe_infra.yaml",
                "artifactType": "HEAT",
                "artifactURL": "/sdc/v1/catalog/services/Demovcpeinfra/1.0/resourceInstances/vcpe_infra86e6d94b50fc0/artifacts/base_vcpe_infra.yaml",
                "artifactChecksum": "ZGEyNDgwNmEzZDk3ODU3ZDg3YTg1MDc0NmU1ZTMwYmI=",
                "artifactDescription": "created from csar",
                "artifactTimeout": 120,
                "artifactUUID": "8a53161a-64d1-461b-a237-5604c9d15ef9",
                "artifactVersion": "2"
              },
              {
                "artifactName": "vendor-license-model.xml",
                "artifactType": "VENDOR_LICENSE",
                "artifactURL": "/sdc/v1/catalog/services/Demovcpeinfra/1.0/resourceInstances/vcpe_infra86e6d94b50fc0/artifacts/vendor-license-model.xml",
                "artifactChecksum": "MDcxODM0OGVhODA2NmYxNmQ0ZjdiOTJlZTkwMDUyM2U=",
                "artifactDescription": " Vendor license file",
                "artifactTimeout": 120,
                "artifactUUID": "644748bc-a9b6-4f77-8e49-bf08d325b7fe",
                "artifactVersion": "1"
              },
              {
                "artifactName": "base_vcpe_infra.env",
                "artifactType": "HEAT_ENV",
                "artifactURL": "/sdc/v1/catalog/services/Demovcpeinfra/1.0/resourceInstances/vcpe_infra86e6d94b50fc0/artifacts/base_vcpe_infra.env",
                "artifactChecksum": "ZmQxYTM1Yjg0ODJmN2I0OWE4OWMxN2NjOGEwMTM5NTY=",
                "artifactDescription": "Auto-generated HEAT Environment deployment artifact",
                "artifactTimeout": 120,
                "artifactUUID": "a2f1930b-58de-4a2f-a783-cc18a14e4d98",
                "artifactVersion": "2",
                "generatedFromUUID": "8a53161a-64d1-461b-a237-5604c9d15ef9"
              }
            ]
          },
          {
            "resourceInstanceName": "CPE_SIGNAL",
            "resourceName": "Generic NeutronNet",
            "resourceVersion": "1.0",
            "resoucreType": "VF",
            "resourceUUID": "23258dc5-44f6-461e-afa4-067f1a16fb27",
            "resourceInvariantUUID": "2f7e5fe4-d4d3-4225-93ad-1b5620c3389d",
            "resourceCustomizationUUID": "358e591a-c1dd-4d73-8df7-e17e082398d3",
            "category": "Generic",
            "subcategory": "Network Elements",
            "artifacts": []
          },
          {
            "resourceInstanceName": "CPE_PUBLIC",
            "resourceName": "Generic NeutronNet",
            "resourceVersion": "1.0",
            "resoucreType": "VF",
            "resourceUUID": "23258dc5-44f6-461e-afa4-067f1a16fb27",
            "resourceInvariantUUID": "2f7e5fe4-d4d3-4225-93ad-1b5620c3389d",
            "resourceCustomizationUUID": "cec9122d-f037-4b51-950b-bd55b53cccd7",
            "category": "Generic",
            "subcategory": "Network Elements",
            "artifacts": []
          }
        ],
        "serviceArtifacts": [
          {
            "artifactName": "service-Demovcpeinfra-template.yml",
            "artifactType": "TOSCA_TEMPLATE",
            "artifactURL": "/sdc/v1/catalog/services/Demovcpeinfra/1.0/artifacts/service-Demovcpeinfra-template.yml",
            "artifactChecksum": "ZGVmNjE4NTFmMTU1NDhlYWFkYWI5MzdmNGI3NzhiZWQ=",
            "artifactDescription": "TOSCA representation of the asset",
            "artifactTimeout": 0,
            "artifactUUID": "5cb39b0f-eec9-4100-8ad5-4de8d05f7cbb",
            "artifactVersion": "1"
          },
          {
            "artifactName": "service-Demovcpeinfra-csar.csar",
            "artifactType": "TOSCA_CSAR",
            "artifactURL": "/sdc/v1/catalog/services/Demovcpeinfra/1.0/artifacts/service-Demovcpeinfra-csar.csar",
            "artifactChecksum": "ZmU2Y2FiMTI1YzZiMmQwZjE2Mzk0NDRlZDYyNDJmNjk=",
            "artifactDescription": "TOSCA definition package of the asset",
            "artifactTimeout": 0,
            "artifactUUID": "90ee73ab-d1f8-4c8a-a775-aabb703e1d2f",
            "artifactVersion": "1"
          }
        ],
        "workloadContext": "Production"
      }
      

      There are two Generic NeutronNet resources near the bottom of notification, both shown as VF type. The correct resourceType should be VL. This causes SO to fail to download and deploy service resource correctly. 

      The vCPE Infra service model csar and template are attached. 

            golabek golabek
            xuyang11 xuyang11
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: