Skip to content
SOL002_def.yaml 76.5 KiB
Newer Older
ishaqm's avatar
ishaqm committed
# Copyright (c) ETSI 2024.
# https://forge.etsi.org/etsi-forge-copyright-notice.txt

definitions:
      This type represents a link to a resource using an absolute URI.
    type: object
    required:
      - href
    properties:
      href:
        description: >
          URI of another resource referenced from a resource.
          Shall be an absolute URI (i.e. a UTI that contains {apiRoot}).
        $ref: "#/definitions/Uri"

  NotificationLink:
    description: >
      This type represents a link to a resource in a notification, using an absolute or relative URI.
    type: object
    required:
      - href
    properties:
      href:
        description: >
          URI of a resource referenced from a notification.
          Should be an absolute URI (i.e. a URI that contains
          {apiRoot}), however, may be a relative URI (i.e. a URI
          where the {apiRoot} part is omitted) if the {apiRoot}
          information is not available.
        $ref: "#/definitions/Uri"
      This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON,
      a set of keyvalue pairs is represented as an object. It shall comply with the provisions defined in clause 4
      of IETF RFC 8259. In the following example, a list of key-value pairs with four keys ("aString", "aNumber",
      "anArray" and "anObject") is provided to illustrate that the values associated with different keys can be of
      different type.
  CertificateConfigurationData:
    description: >
      This type provides input information related to certificate management.
    type: object
    required:
      - securityPolicy
    properties:
      overridingCertificateProfile:
        description: >
          Overriding certificate profile. This overrides the certificateBaseProfile provided
          in the VNFD, and the CA and CMF can additionally override aspects of this certificateBaseProfile
          at later point in the VNF lifecycle if necessary to meet operator security policy.
        type: array
        items:
          $ref: '#/definitions/CertificateBaseProfile'
      securityPolicy:
        description: >
          Security policy to be satisfied for certificate.
        type: array
        items:
          $ref: '#/definitions/SecurityPolicy'      
      cmfData:
        description: >
          Information for CMF.
        $ref: '#/definitions/CmfData'

  CmfData:
    description: >
      This type provides input information related to CMF for certificate management.
    type: object
    required:
      - endPoint
      - supportedProtocol
    properties:
      endPoint:
        description: End point of CMF instance.
        type: object
        required:
          - ipAddress
          - link
        properties:
          ipAddress:
            description: An IP address of this end point.
            $ref: '#/definitions/IpAddress'
          link:
            description: A link to this end point.
            $ref: '#/definitions/Link'
      supportedProtocol:
        description: Supported protocols by CMF instance.
        type: array
        items:
          type: string
          enum:
            - CMP
            - CMPv2
            - EST
            - SCEP

  PaasServiceHandle:
    description: >
      This type provides information enabling the access and use of the PaaS Service by the 
      VNF instance. The type and format of the handle depends on the form that the
      PaaS Service is formed.
    type: object
    required:
      - id
    properties:
      id:
        type: string
        description: >
          Identifier of this PaaS Service handle.
        $ref: "#/definitions/Identifier"
      interfaceInfo:
        description: >
          Information of the interface or interfaces to the PaaS Service
          instance, if applicable, such as the URI of an interface endpoint to communicate
          with the PaaS Service instance.
        $ref: "#/definitions/KeyValuePairs"
      accessInfo:
        description: >
          Authentication credentials for accessing the PaaS Service instance.
          If the PaasServiceHandle structure is part of an HTTP GET response
          payload body, sensitive attributes that are children of this attribute
          (such as passwords) shall not be included.
        $ref: "#/definitions/KeyValuePairs"
      extra:
        description: >
          PaaS Service instance specific additional information. The applicable
          structure, and whether or not this attribute is available, is dependent
          on the type of the PaaS Service.
        $ref: "#/definitions/KeyValuePairs"
  ResourceCapacityDefinition:
    description: >
      This type represents selected values for capacity related VDU attributes.

      * NOTE: Resource definitions not related to a VDU are not considered in this version of the present document.

    type: object
    required:
      - type
    properties: 
      tag:
        description: 
          Tag assigned by the issuer of a VNF LCM operation request that contains this data type with values to be applied to a VDU.
          It is used for tracking purposes. The tag is preserved in the run time record as long as at least one value of the capacity
          related attributes associated with that tag is still valid, i.e., it has not been modified by a later VNF LCM operation request. 
          At most one tag can be included when the data type is used in a VNF LCM operation request.
          When the data type is used in the VnfInstance data type it may contain multiple tags, namely those provided in 
          VNF LCM requests, if at least one of the values provided in that request associated to that tag is still 
          applicable in the VNFCs created from this VDU, i.e., it has not been modified by a later request.
        type: array
        items:
          $ref: "#/definitions/String"
      type:
        description:
          Type of the resource definition referenced.
          VALUES
          	COMPUTE
          	STORAGE
          	OSCONTAINER
        type: string
        enum:
          - COMPUTE
          - STORAGE
          - OSCONTAINER
      vduId:
        description: 
          Reference to the related Vdu applicable to this resource in the VNFD. It shall be present 
          when the referenced resource definition is related to a VDU. See note.
        $ref: "#/definitions/IdentifierInVnfd"
      osContainerDescData:
        description:
          Indicates values for resource capacity related attributes in an OsContainerDesc. It shall be present when the 
          attribute ‘type’ indicates OSCONTAINER and absent otherwise.
        type: array
        items:
          $ref: "#/definitions/OsContainerDescData"
      virtualComputeDescData:
        description: 
          Indicates values for resource capacity related attributes in an OsContainerDesc. 
          It shall be present when the attribute 'type' indicates OSCONTAINER and absent otherwise.
        $ref: "#/definitions/VirtualComputeDescData"
      virtualStorageDescData:
        description: >
          Indicates the value for the storage size related attribute in an VirtualStorageDesc. 
          It shall be present when the attribute 'type' indicates STORAGE and absent otherwise.
        type: array
        items:
          $ref: "#/definitions/VirtualStorageDescData"
  OsContainerDescData:
    description: >
      This type represents selected values for capacity related VDU attributes of an OsContainer resource.

      * NOTE: At least one of the attributes shall be present.
    type: object
    required:
      - resourceTemplateId
    oneOf:
Loading full blame...