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

The default value of the VF input parameter is incorrect.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Medium Medium
    • Amsterdam Release
    • Amsterdam Release
    • SDC
    • None
    • SDC Sprint 5

      The default value of the VF input parameter, such as nf_naming_code, nf_function, max_instances, etc, is incorrect.

      For example:

      The 'type' of 'nf_naming_code' is 'string', but its default '{}' is a object, not a string.

      The 'type' of 'max_instances' is 'integer', but  its default '{}' is not an integer.

      topology_template:
      inputs:
      nf_naming:
      type: org.openecomp.datatypes.Naming
      default:
      ecomp_generated_naming: true
      nf_naming_code:
      type: string
      default: {
      }
      nf_function:
      type: string
      default: {
      }
      vmme_vfc0_id:
      type: string
      default: vMME
      vmme_vfc0_csarType:
      type: string
      default: NFAR
      availability_zone_max_count:
      type: integer
      default: 1
      max_instances:
      type: integer
      default: {
      }
      nf_type:
      type: string
      default: {
      }
      vmme_vfc0_csarVersion:
      type: string
      default: v1.0
      vmme_vfc0_version:
      type: string
      default: v1.0
      nf_role:
      type: string
      default: {
      }
      min_instances:
      type: integer
      default: {
      }
      vmme_vfc0_csarProvider:
      type: string
      default: ERICSSON
      vmme_vfc0_vendor:
      type: string
      default: ERICSSON
      

      The complete VF template definition file:

      resource-Vmme-template.yml

       

            tgitelman tgitelman
            yuanhu yuanhu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: