VNFLifecycleManagementNotification.yaml 4.62 KB
Newer Older
1
2
3
4
5
6
7
8
swagger: "2.0"

info:
  version: "1.2.0"
  title: SOL002 - VNF Lifecycle Management Notification interface
  description: >
    SOL002 - VNF Lifecycle Management Notification interface
    IMPORTANT: Please note that this file might be not aligned to the current
moscatelli's avatar
moscatelli committed
9
10
11
12
    version of the ETSI Group Specification it refers to and has not been
    approved by the ETSI NFV ISG. In case of discrepancies the published ETSI
    Group Specification takes precedence.
    Please report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis
13
  license:
moscatelli's avatar
moscatelli committed
14
    name: ETSI Forge copyright notice
15
    url: https://forge.etsi.org/etsi-forge-copyright-notice.txt
moscatelli's avatar
moscatelli committed
16
17
  contact:
    name: NFV-SOL WG
18
19

externalDocs:
20
21
  description: ETSI GS NFV-SOL 002 V2.5.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.05.01_60/gs_nfv-sol002v020501p.pdf
22

moscatelli's avatar
moscatelli committed
23
basePath: /callback/v1
24
25

schemes:
moscatelli's avatar
moscatelli committed
26
  - http
27
28
29
  - https

consumes:
moscatelli's avatar
moscatelli committed
30
31
  - application/json

32
produces:
moscatelli's avatar
moscatelli committed
33
  - application/json
34
35

paths:
moscatelli's avatar
moscatelli committed
36
  ###############################################################################
37
  # Notification endpoint                                                       #
moscatelli's avatar
moscatelli committed
38
  ###############################################################################
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
  '/URI-is-provided-by-the-client-when-creating-the-subscription':
    parameters:
      - name: Version
        description: >
          Version of the API requested to use when responding to this request.
        in: header
        required: true
        type: string
      - name: Authorization
        description: >
          The authorization token for the request.
          Reference: IETF RFC 7235
        in: header
        required: false
        type: string
54
55
56
57
58
59
60
61
62
63
    post:
      description: >
        Notify

        The POST method delivers a notification from the server to the client.
      parameters:
        - name: VnfLcmOperationOccurrenceNotification
          description: A notification about on-boarding of a VNF package.
          in: body
          required: false
64
65
          schema:
            $ref: "../../definitions/SOL002SOL003VNFLifecycleManagement_def.yaml#/definitions/VnfLcmOperationOccurrenceNotification"
66
67
68
69
70
        - name: VnfIdentifierCreationNotification
          description: >
            A notification about the creation of a VNF identifier and the
            related VNF instance resource.
          in: body
71
          required: false
72
73
74
75
76
77
78
          schema:
            $ref: "../../definitions/SOL002SOL003VNFLifecycleManagement_def.yaml#/definitions/VnfIdentifierCreationNotification"
        - name: VnfIdentifierDeletionNotification
          description: >
            A notification about the deletion of a VNF identifier and the
            related VNF instance resource.
          in: body
79
          required: false
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
          schema:
            $ref: "../../definitions/SOL002SOL003VNFLifecycleManagement_def.yaml#/definitions/VnfIdentifierDeletionNotification"
        - name: Authorization
          description: >
            The authorization token for the request.
            Reference: IETF RFC 7235
          in: header
          required: false
          type: string
        - name: Content-Type
          description: >
            The MIME type of the body of the request.
            Reference: IETF RFC 7231
          in: header
          required: true
          type: string
      responses:
        204:
98
          description: >
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
            No Content

            The notification was delivered successfully.
          headers:
            WWW-Authenticate:
              description: >
                Challenge if the corresponding HTTP request has not provided
                authorization, or error details if the corresponding HTTP
                request has provided an invalid authorization token.
              type: string
              maximum: 1
              minimum: 0
            Version:
              description: >
                Version of the API used in the response.
              type: string
              maximum: 1
              minimum: 1
        400:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
        401:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401"
        403:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
        404:
124
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
125
126
127
128
129
130
131
        405:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405"
        406:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
        500:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
        503:
moscatelli's avatar
moscatelli committed
132
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"