Commit a48e6a44 authored by Samir Medjiah's avatar Samir Medjiah
Browse files

SOL005: Fix in common data types for VNF PM and NS LCM interfaces.

parent 95ad2a8c
Loading
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
@@ -77,11 +77,49 @@ definitions:
      For IPV6 address range, refer to IETF RFC 4291.
    type: string

  PortRange:
    description: >
      The PortRange data type provides the lower and upper bounds of a range of Internet ports.
      It shall comply with the provisions defined in Table 6.5.3.42-1.
    type: object
    required:
      - lowerPort
      - upperPort
    properties:
      lowerPort:
        description: >
          Identifies the lower bound of the port range. upperPort Integer
        type: integer
        minimum: 0
      upperPort:
        description: >
          Identifies the upper bound of the port range.
        type: integer
        minimum: 0

  Version:
    description: >
      A Version. Representation: string of variable length.
    type: string

  Checksum:
    description: >
      This type represents the checksum of a VNF package or an artifact file.
    required:
      - algorithm
      - hash
    type: object
    properties:
      algorithm:
        description: >
          Name of the algorithm used to generate the checksum,
          as defined in ETSI GS NFV-SOL 004 [5]. For example, SHA-256, SHA-512.
        type: string
      hash:
        description: >
          The hexadecimal value of the checksum.
        type: string

  String:
    description: >
      A string as defined in IETF RFC 8259.