VNFFaultManagement.yaml 27.9 KB
Newer Older
1
openapi: 3.0.2
2

3
info:
4
  title: SOL002 - VNF Fault Management interface
5
  description: |
Giacomo Bernini's avatar
Giacomo Bernini committed
6
7
8
9
10
11
    SOL002 - VNF Fault Management interface

    IMPORTANT: Please note that this file might be not aligned to the current
    version of the ETSI Group Specification it refers to. In case of
    discrepancies the published ETSI Group Specification takes precedence.

12
    Please report bugs to https://forge.etsi.org/rep/nfv/SOL002-SOL003/issues
Giacomo Bernini's avatar
Giacomo Bernini committed
13

14
15
  contact:
    name: NFV-SOL WG
16
  license:
moscatelli's avatar
moscatelli committed
17
    name: ETSI Forge copyright notice
18
    url: https://forge.etsi.org/etsi-forge-copyright-notice.txt
19
  version: 1.3.0-impl:etsi.org:ETSI_NFV_OpenAPI:1
20

21
externalDocs:
Sana Zulfiqar's avatar
Sana Zulfiqar committed
22
23
  description: ETSI GS NFV-SOL 002 V3.5.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/03.05.01_60/gs_NFV-SOL002v030501p.pdf
24

25
26
27
servers:
  - url: http://127.0.0.1/vnffm/v1
  - url: https://127.0.0.1/vnffm/v1
28
29

paths:
30
  /api_versions:
31
    $ref: '../../endpoints/SOL002SOL003_endpoints.yaml#/endpoints/api-versions'
32

33
  /alarms:
34
    parameters:
35
36
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
37
    get:
38
      description: |
Giacomo Bernini's avatar
Giacomo Bernini committed
39
        The API consumer can use this method to retrieve information about the alarm list. See clause 7.4.2.3.2.
40
      parameters:
41
42
43
44
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/filter
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/nextpage_opaque_marker
45
      responses:
46
        "200":
Muhammad Hamza's avatar
Muhammad Hamza committed
47
          $ref: '#/components/responses/Alarms.Get.200'
48
        "400":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
49
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
50
        "401":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
51
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/401
52
        "403":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
53
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/403
54
        "404":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
55
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/404
56
        "405":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
57
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/405
58
        "406":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
59
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/406
60
        "416":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
61
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/416
62
        "422":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
63
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/422
64
        "429":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
65
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/429
66
        "500":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
67
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/500
68
        "503":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
69
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/503
70
        "504":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
71
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/504
Gergely Csatari's avatar
Gergely Csatari committed
72

73
  /alarms/{alarmId}:
74
    parameters:
75
76
77
      - $ref: '#/components/parameters/AlarmId'
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
78
    get:
79
      description: |
Giacomo Bernini's avatar
Giacomo Bernini committed
80
        The API consumer can use this method to read an individual alarm. See clause 7.4.3.3.2.
81
      parameters:
82
83
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
84
      responses:
85
        "200":
Muhammad Hamza's avatar
Muhammad Hamza committed
86
          $ref: '#/components/responses/IndividualAlarm.Get.200'
87
        "400":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
88
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
89
        "401":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
90
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/401
91
        "403":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
92
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/403
93
        "404":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
94
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/404
95
        "405":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
96
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/405
97
        "406":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
98
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/406
99
        "416":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
100
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/416
101
        "422":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
102
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/422
103
        "429":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
104
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/429
105
        "500":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
106
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/500
107
        "503":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
108
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/503
109
        "504":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
110
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/504
Gergely Csatari's avatar
Gergely Csatari committed
111

112
    patch:
113
      description: |
Giacomo Bernini's avatar
Giacomo Bernini committed
114
        This method modifies an individual alarm resource. See clause 7.4.3.3.4.
115
      parameters:
116
117
118
119
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
      requestBody:
        $ref: '#/components/requestBodies/IndividualAlarmRequest'
120
      responses:
121
        "200":
Muhammad Hamza's avatar
Muhammad Hamza committed
122
          $ref: '#/components/responses/IndividualAlarm.Patch.200'
123
124
        "409":
          $ref: '#/components/responses/IndividualAlarm.Patch.409'
125
        "400":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
126
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
127
        "401":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
128
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/401
129
        "403":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
130
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/403
131
        "404":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
132
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/404
133
        "405":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
134
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/405
135
        "406":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
136
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/406
137
        "412":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
138
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/412
139
        "416":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
140
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/416
141
        "422":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
142
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/422
143
        "429":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
144
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/429
145
        "500":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
146
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/500
147
        "503":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
148
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/503
149
        "504":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
150
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/504
Gergely Csatari's avatar
Gergely Csatari committed
151

152
  /alarms/{alarmId}/escalate:
153
    parameters:
154
155
156
      - $ref: '#/components/parameters/AlarmId'
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
157
    post:
158
      description: |
Giacomo Bernini's avatar
Giacomo Bernini committed
159
160
        The POST method enables the API consumer to escalate the perceived severity of an alarm that is represented
        by an individual alarm resource. See clause 7.4.4.3.1.
161
162
      requestBody:
        $ref: '#/components/requestBodies/IndividualAlarmEscalateRequest'
163
      responses:
Muhammad Hamza's avatar
Muhammad Hamza committed
164
165
        "204":
          $ref: '#/components/responses/IndividualAlarmEscalate.Post.204'
166
        "400":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
167
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
168
        "401":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
169
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/401
170
        "403":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
171
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/403
172
        "404":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
173
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/404
174
        "405":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
175
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/405
176
        "406":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
177
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/406
178
        "416":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
179
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/416
180
        "422":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
181
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/422
182
        "429":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
183
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/429
184
        "500":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
185
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/500
186
        "503":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
187
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/503
188
        "504":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
189
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/504
190

191
  /subscriptions:
192
    parameters:
193
194
195
196
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
    get:
      description: |
Giacomo Bernini's avatar
Giacomo Bernini committed
197
198
        The API consumer can use this method to retrieve the list of active subscriptions for VNF alarms subscribed
        by the API consumer. It can be used e.g. for resynchronization after error situations. See clause 7.4.5.3.2.
199
200
201
202
203
204
205
      parameters:
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/filter
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/nextpage_opaque_marker
      responses:
        "200":
Muhammad Hamza's avatar
Muhammad Hamza committed
206
          $ref: '#/components/responses/Subscriptions.Get.200'
207
        "400":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
208
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
209
        "401":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
210
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/401
211
        "403":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
212
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/403
213
        "404":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
214
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/404
215
        "405":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
216
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/405
217
        "406":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
218
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/406
219
        "416":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
220
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/416
221
        "422":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
222
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/422
223
        "429":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
224
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/429
225
        "500":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
226
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/500
227
        "503":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
228
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/503
229
        "504":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
230
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/504
231

232
    post:
233
      description: |
Giacomo Bernini's avatar
Giacomo Bernini committed
234
        The POST method creates a new subscription. See clause 7.4.5.3.1.
235
      parameters:
236
237
238
239
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
      requestBody:
        $ref: '#/components/requestBodies/FmSubscriptionRequest'
240
      responses:
241
        "201":
Muhammad Hamza's avatar
Muhammad Hamza committed
242
          $ref: '#/components/responses/Subscriptions.Post.201'
243
        "303":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
244
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/303
245
        "400":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
246
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
247
        "401":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
248
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/401
249
        "403":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
250
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/403
251
        "404":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
252
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/404
253
        "405":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
254
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/405
255
        "406":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
256
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/406
257
        "416":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
258
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/416
259
        "422":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
260
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/422
261
        "429":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
262
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/429
263
        "500":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
264
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/500
265
        "503":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
266
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/503
267
        "504":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
268
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/504
Gergely Csatari's avatar
Gergely Csatari committed
269

270
271
272
273
274
  /subscriptions/{subscriptionId}:
    parameters:
      - $ref: '#/components/parameters/SubscriptionId'
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
275
    get:
276
      description: |
Giacomo Bernini's avatar
Giacomo Bernini committed
277
278
        The API consumer can use this method for reading an individual subscription for VNF alarms subscribed
        by the API consumer. See clause 7.4.6.3.2.
279
      parameters:
280
281
282
283
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
      responses:
        "200":
Muhammad Hamza's avatar
Muhammad Hamza committed
284
          $ref: '#/components/responses/IndividualSubscription.Get.200'
285
        "400":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
286
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
287
        "401":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
288
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/401
289
        "403":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
290
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/403
291
        "404":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
292
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/404
293
        "405":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
294
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/405
295
        "406":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
296
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/406
297
        "416":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
298
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/416
299
        "422":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
300
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/422
301
        "429":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
302
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/429
303
        "500":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
304
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/500
305
        "503":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
306
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/503
307
        "504":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
308
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/504
309

310
311
    delete:
      description: |
Giacomo Bernini's avatar
Giacomo Bernini committed
312
        This method terminates an individual subscription. See clause 7.4.6.3.5.
313
314
      responses:
        "204":
Muhammad Hamza's avatar
Muhammad Hamza committed
315
          $ref: '#/components/responses/IndividualSubscription.Delete.204'
316
        "400":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
317
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
318
        "401":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
319
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/401
320
        "403":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
321
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/403
322
        "404":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
323
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/404
324
        "405":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
325
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/405
326
        "406":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
327
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/406
328
        "416":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
329
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/416
330
        "422":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
331
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/422
332
        "429":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
333
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/429
334
        "500":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
335
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/500
336
        "503":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
337
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/503
338
        "504":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
339
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/504
340

341
342
343
344
345
346
347
348
349
350
351
352
353
354
components:
  parameters:
    AlarmId:
      name: alarmId
      in: path
      description: |
        Identifier of the alarm. This identifier can be retrieved from the "id" attribute of the "alarm" attribute
        in the AlarmNotification or AlarmClearedNotification. It can also be retrieved from the "id" attribute of
        the applicable array element in the payload body of the response to a GET request to the "Alarms" resource.
      required: true
      style: simple
      explode: false
      schema:
        type: string
355

356
357
358
359
360
361
362
363
364
365
366
367
    SubscriptionId:
      name: subscriptionId
      in: path
      description: |
        Identifier of this subscription. This identifier can be retrieved from the resource referenced by the "Location"
        HTTP header in the response to a POST request creating a new subscription resource. It can also be retrieved
        from the "id" attribute in the payload body of that response.
      required: true
      style: simple
      explode: false
      schema:
        type: string
368

369
370
371
372
373
374
375
376
  requestBodies:
    IndividualAlarmRequest:
      description: The parameter for the alarm modification
      content:
        application/json:
          schema:
            $ref: ../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/AlarmModifications
      required: true
377

378
379
380
381
382
383
384
    IndividualAlarmEscalateRequest:
      description: The proposed "escalated perceived severity" value
      content:
        application/json:
          schema:
            $ref: ./definitions/SOL002VNFFaultManagement_def.yaml#/definitions/PerceivedSeverityRequest
      required: false
Gergely Csatari's avatar
Gergely Csatari committed
385

386
387
388
389
390
391
392
    FmSubscriptionRequest:
      description: The VNF creation parameters
      content:
        application/json:
          schema:
            $ref: ../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/FmSubscriptionRequest
      required: true
Gergely Csatari's avatar
Gergely Csatari committed
393

394
  responses:
Muhammad Hamza's avatar
Muhammad Hamza committed
395
    Alarms.Get.200:
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
      description: |
        200 OK
        Shall be returned when information about zero or more alarms was queried successfully. The response body shall
        contain in an array the representations of zero or more alarms as defined in clause 7.5.2.4. If the "filter"
        URI parameter was supplied in the request, the data in the response body  shall have been transformed according
        to the rules specified in clause 5.2.2 of  ETSI GS NFV-SOL 013. If the VNFM supports alternative 2 (paging)
        according to clause 5.4.2.1 of  ETSI GS NFV-SOL 013for this resource, inclusion of the Link HTTP header in this
        response  shall follow the provisions in clause 5.4.2.3 of ETSI GS NFV-SOL 013.
      headers:
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string
        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.
          style: simple
          explode: false
          schema:
            type: string
        Link:
          description: |
            Reference to other resources. Used for paging in the present document, see clause 4.7.2.1.
          style: simple
          explode: false
          schema:
            type: string
        Content-Type:
          description: The MIME type of the body of the response.
          style: simple
          explode: false
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: ./definitions/SOL002VNFFaultManagement_def.yaml#/definitions/Alarm

Muhammad Hamza's avatar
Muhammad Hamza committed
437
    IndividualAlarm.Get.200:
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
      description: |
        200 OK
        Shall be returned when information about an individual alarm read  successfully. The response body shall contain
        a representation of the individual alarm.
      headers:
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string
        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.
          style: simple
          explode: false
          schema:
            type: string
        Content-Type:
          description: The MIME type of the body of the response.
          style: simple
          explode: false
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: ./definitions/SOL002VNFFaultManagement_def.yaml#/definitions/Alarm

Muhammad Hamza's avatar
Muhammad Hamza committed
468
    IndividualAlarm.Patch.200:
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
      description: |
        200 OK
        Shall be returned when the request was accepted and completed.  The response body shall contain attribute
        modifications for  an "Individual alarm" resource.
      headers:
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string
        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.
          style: simple
          explode: false
          schema:
            type: string
        Content-Type:
          description: The MIME type of the body of the response.
          style: simple
          explode: false
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: ../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/AlarmModifications
Gergely Csatari's avatar
Gergely Csatari committed
498

499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
    IndividualAlarm.Patch.409:
      description: |
        409 CONFLICT

        Shall be returned upon the following error: The
        operation cannot be executed currently, due to a
        conflict with the state of the "Individual alarm"
        resource.
        Typically, this is due to the fact that the alarm is
        already in the state that is requested to be set (such
        as trying to acknowledge an already-acknowledged
        alarm).
        The response body shall contain a ProblemDetails
        structure, in which the "detail" attribute shall convey
        more information about the error.
      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.
          style: simple
          explode: false
          schema:
            type: string
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string
        Content-Type:
          description: |
            The MIME type of the body of the response. Reference: IETF RFC 7231
          style: simple
          explode: false
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: "../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails"

Muhammad Hamza's avatar
Muhammad Hamza committed
541
    IndividualAlarmEscalate.Post.204:
542
543
544
545
546
547
548
549
550
551
552
      description: |
        204 No Content
        Shall be returned when the VNFM has received the proposed "escalated  perceived severity" value successfully.
        The response body shall be empty.
      headers:
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string
553
      content: {}
554

Muhammad Hamza's avatar
Muhammad Hamza committed
555
    Subscriptions.Get.200:
556
557
      description: |
        200 OK
558
559
560
561
562
563
564
        Shall be returned when the list of subscriptions has been queried successfully.
        The response body shall contain the representations of all active subscriptions of the functional block that
        invokes the method. If the "filter" URI parameter was supplied in the request, the data  in the response body
        shall have been transformed according to the  rules specified in clause 5.2.2 of ETSI GS NFV-SOL 013.
        If the VNFM supports alternative 2 (paging) according to clause 5.4.2.1 of ETSI GS NFV-SOL 013 for this resource,
        inclusion of the  Link HTTP header in this response shall follow the provisions in  clause 5.4.2.3 of
        ETSI GS NFV-SOL 013.
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
      headers:
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string
        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.
          style: simple
          explode: false
          schema:
            type: string
        Link:
          description: |
            Reference to other resources. Used for paging in the present document, see clause 4.7.2.1.
          style: simple
          explode: false
          schema:
            type: string
        Content-Type:
          description: The MIME type of the body of the response.
          style: simple
          explode: false
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: ../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/FmSubscription

Muhammad Hamza's avatar
Muhammad Hamza committed
598
    Subscriptions.Post.201:
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
      description: |
        201 CREATED
        The subscription was created successfully. The response body shall contain a representation of the created
        subscription resource. The HTTP response shall include a "Location:" HTTP header that points to the created
        subscription resource.
      headers:
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string
        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.
          style: simple
          explode: false
          schema:
            type: string
        Content-Type:
          description: The MIME type of the body of the response.
          style: simple
          explode: false
          schema:
            type: string
        Location:
          description: |
            The resource URI of the created subscription resource.
          style: simple
          explode: false
          schema:
            type: string
            format: url
      content:
        application/json:
          schema:
            $ref: ../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/FmSubscription

Muhammad Hamza's avatar
Muhammad Hamza committed
638
    IndividualSubscription.Get.200:
639
640
      description: |
        200 OK
Sana Zulfiqar's avatar
Sana Zulfiqar committed
641
642
        Shall be returned when information about an individual subscription  has been read successfully.
        The response body shall contain a representation of the "Individual  subscription" resource.
643
644
645
646
647
648
649
650
651
      headers:
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string
        WWW-Authenticate:
          description: |
Sana Zulfiqar's avatar
Sana Zulfiqar committed
652
653
            Challenge if the corresponding HTTP request has not provided authorization, or error
            details if the corresponding HTTP request has provided an invalid authorization token.
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
          style: simple
          explode: false
          schema:
            type: string
        Content-Type:
          description: The MIME type of the body of the response.
          style: simple
          explode: false
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: ../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/FmSubscription

Muhammad Hamza's avatar
Muhammad Hamza committed
669
    IndividualSubscription.Delete.204:
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
      description: |
        204 NO CONTENT
        Shall be returned when the "Individual subscription" resource has  been deleted successfully.
        The response body shall be empty.
      headers:
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string
        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.
          style: simple
          explode: false
          schema:
            type: string
      content: {}