Commit 8d4e733e authored by Muhammad Umair Zafar's avatar Muhammad Umair Zafar
Browse files

update VNF Configuration API as per v4.5.1

parent 559a6c27
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -16,11 +16,11 @@ info:
  license:
    name: ETSI Forge copyright notice
    url: https://forge.etsi.org/etsi-forge-copyright-notice.txt
  version: 1.11.0-impl:etsi.org:ETSI_NFV_OpenAPI:1
  version: 1.12.0-impl:etsi.org:ETSI_NFV_OpenAPI:1

externalDocs:
  description: ETSI GS NFV-SOL 002 V4.4.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/04.04.01_60/gs_NFV-SOL002v040401p.pdf
  description: ETSI GS NFV-SOL 002 V4.5.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/04.05.01_60/gs_NFV-SOL002v040501p.pdf

servers:
  - url: http://127.0.0.1/vnfconfig/v1
+36 −0
Original line number Diff line number Diff line
@@ -112,12 +112,48 @@ definitions:
        type: array
        items:
          $ref: '#/definitions/CpConfiguration'
      certificateData:
        description: >
          Certificates data to be configured or modified into VNFC instance. Shall be present if delegation-mode is used.
          Otherwise it shall be absent.
        tyoe: array
        items:
          $ref: '#/definitions/CertificateData'
      vnfcSpecificData:
        description: >
          Additional configurable properties of the VNFC instance declared in the
          VNFD as "VnfcConfigurableProperties". See note.
        $ref: '../../General_Definitions/SOL002_def.yaml#/definitions/KeyValuePairs'

  CertificateData:
    description: >
      This type provides input information related to subject of certificate.
      * NOTE: NOTE : Either set of “privatekey” and “certificateFile” or “keystoreFile” but not both shall be present.
    tyoe: object
    properties:
      privateKey:
        type: string
        description: >
          Private key paired with the signed public key. VNFM shall generate both the private key and public key and set
          this attribute. See note.
      certificateFile:
        type: string
        description: >
          Signed certificate including the public key and certificate chain. See note.
      keystoreFile:
        type: string
        description: >
          Keystore which includes the private key, signed certificate, and certificate chain (e.g., pkcs#12, pfx).
          Credentials to read this file shall be provided to the VNF instance by outbound. See note.
      certSubjectData:
        $ref: '../../General_Definitions/SOL002_def.yaml#/definitions/CertSubjectData'
        description: >
          Subject to be signed.
      certifiateProfileName:
        type: string
        description: >
          Name of the certificate profile to be signed.

  CpConfiguration:
    description: >
      This type represents configuration parameters of a CP instance.