Commit f96a1456 authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

fix issue #5 - fix definition for Checksum type

parent 340d43dc
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -886,14 +886,6 @@ definitions:
      Representation: string of variable length.
    type: string

  Checksum: #no definition found
    description: >
      Cheksum description
    type: string

########################################################################################################################
# TO CHECK IF INCLUDE THESE DATA TYPES IN ANOTHER DEF FILES

  VnfLinkPortData:
    description: >
      This type represents an externally provided link port to be used to connect a VNFC connection point 
+21 −3
Original line number Diff line number Diff line
@@ -883,9 +883,27 @@ definitions:
      Representation: string of variable length.
    type: string

  Checksum: #no definition found
  Checksum:
    description: >
      Cheksum description
      This type represents the checksum of a package or an artifact file.

      The IANA registry [i.7] provides the list of available hash function textual names. The
      provisions about which algorithms to use are expected to be defined by the specifications
      referring to the present data type
    type: object
    required:
      - algorithm
      - hash
    properties:
      algorithm:
        description: >
          Name of the algorithm used to generate the checksum. The name matching when processing the
          attribute value shall be caseinsensitive, for example, "SHA-256" or "sha-256", "SHA-512" or
          "sha-512". See note.
        type: string
      hash:
        description: >
          The hexadecimal value of the checksum.
        type: string

  VnfLinkPortData: