Commit 22616cea authored by Samir Medjiah's avatar Samir Medjiah
Browse files

SOL003_95>102: data types in VNF Pkg Mgmt interfaces updated

parent 372214f7
Loading
Loading
Loading
Loading
+8 −24
Original line number Diff line number Diff line
@@ -66,6 +66,7 @@ definitions:
          Checksum of the on-boarded VNF package.
          It shall be present after the VNF package content has been
          on-boarded and absent otherwise.
          Permitted hash algorithms are defined in ETSI GS NFV-SOL 004.
        $ref: "#/definitions/Checksum"
      packageSecurityOption:
        description: >
@@ -264,6 +265,7 @@ definitions:
      checksum:
        description: >
          Checksum of the software image file.
          Permitted hash algorithms are defined in ETSI GS NFV-SOL 004.
        $ref: "#/definitions/Checksum"
      isEncrypted:
        description: >
@@ -385,6 +387,7 @@ definitions:
      checksum:
        description: >
          Checksum of the artifact file.
          Permitted hash algorithms are defined in ETSI GS NFV-SOL 004.
        $ref: "#/definitions/Checksum"
      isEncrypted:
        description: >
@@ -524,7 +527,7 @@ definitions:
          Match VNF packages with a package identifier listed in the
          attribute.
          May be present if the "notificationTypes" attribute contains the
          value "VnfPackageChangeNotification", and shall be absent
          value "VnfPackageChangeNotification" and shall be absent
          otherwise.
          The attributes "vnfProductsFromProviders", "vnfdId" and "vnfPkgId"
          are alternatives to reference to particular VNF packages in a
@@ -537,14 +540,14 @@ definitions:
        description: >
          Match particular operational states of the VNF package.
          May be present if the "notificationTypes" attribute contains the
          value "VnfPackageChangeNotification", and shall be absent
          value "VnfPackageChangeNotification" and shall be absent
          otherwise.
        $ref: "#/definitions/PackageOperationalStateType"
      usageState:
        description: >
          Match particular usage states of the VNF package.
          May be present if the "notificationTypes" attribute contains the
          value "VnfPackageChangeNotification", and shall be absent
          value "VnfPackageChangeNotification" and shall be absent
          otherwise.
        $ref: "#/definitions/PackageUsageStateType"
      vnfmInfo:
@@ -554,24 +557,6 @@ definitions:
        items:
          $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/String"

  Checksum:
    description: >
      This type represents the checksum of a VNF package or an artifact file.
    type: object
    required:
      - algorithm
      - hash
    properties:
      algorithm:
        description: >
          Name of the algorithm used to generate the checksum, as defined in
          ETSI GS NFV-SOL 004. For example, SHA-256, SHA-512.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/String"
      hash:
        description: >
          The hexadecimal value of the checksum.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/String"

  PackageOperationalStateType:
    description: >
      - ENABLED: The VNF package is enabled, i.e. it can be used for
@@ -586,9 +571,8 @@ definitions:

  PackageUsageStateType:
    description: >
      - IN_USE: VNF instances instantiated from this VNF package exist.
      - NOT_IN_USE: No existing VNF instance is instantiated from this VNF
        package.
      - IN_USE: "Individual VNF instance" resources created from this VNF package exist.
      - NOT_IN_USE: No "Individual VNF instance" resource created from this VNF package exists.
    type: string
    enum:
      - IN_USE
+2 −2
Original line number Diff line number Diff line
@@ -161,7 +161,7 @@ definitions:
      vnfPackage:
        description: >
          Link to the resource representing the VNF package to which the
          notified change applies, i.e. the individual on-boarded VNF package
          notified change applies, i.e. the "Individual on-boarded VNF package"
          resource that represents the VNF package, identified by the "vnfPkgId"
          identifier which is managed by the NFVO. This attribute shall be provided
          by the NFVO but is deprecated and can be removed in future versions
@@ -170,7 +170,7 @@ definitions:
      vnfPackageByVnfdId:
        description: >
          Link to the resource representing the VNF package to which the notified
          change applies, i.e. the individual VNF package resource that represents
          change applies, i.e. the "Individual VNF package resource" that represents
          the VNF package, identified by the "vnfdId" identifier which is assigned
          by the VNF vendor.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/NotificationLink"