File: parameters.yaml

package info (click to toggle)
masakari 20.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,816 kB
  • sloc: python: 22,459; sh: 329; makefile: 68
file content (532 lines) | stat: -rw-r--r-- 12,637 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
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
437
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
468
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
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
---

# variables in path
api_version:
  in: path
  required: true
  type: string
  description: >
    The API version as returned in the links from the ``GET /`` call.
host_id_path:
  description: |
    The UUID of the host.
  in: path
  required: true
  type: string
notification_id_path:
  description: |
    The UUID of the notification.
  in: path
  required: true
  type: string
segment_id_path:
  description: |
    The UUID of the segment.
  in: path
  required: true
  type: string
vmove_id_path:
  description: |
    The UUID of the vmove.
  in: path
  required: true
  type: string

# variables in query
generated_since_query_notifications:
  description: |
    Filter the notifications list result by notification generated time.
  in: query
  required: false
  type: string
limit:
  description: |
    Requests a page size of items. Returns a number of items up to a limit value.
    Use the ``limit`` parameter to make an initial limited request and use the ID
    of the last-seen item from the response as the ``marker`` parameter value in a
    subsequent limited request.
  in: query
  required: false
  type: integer
marker:
  description: |
    The ID of the last-seen item. Use the ``limit`` parameter to make an initial limited
    request and use the ID of the last-seen item from the response as the ``marker``
    parameter value in a subsequent limited request.
  in: query
  required: false
  type: string
on_maintenance_query_host:
  description: |
    Filter the host list result by on_maintenance.
  in: query
  required: false
  type: boolean
recovery_method_query_segment:
  description: |
    Filter the segment list result by recovery_method.
  in: query
  required: false
  type: string
reserved_query_host:
  description: |
    Filter the host list result by reserved flag.
  in: query
  required: false
  type: boolean
service_type_query_segment:
  description: |
    Filter the segment list result by service_type.
  in: query
  required: false
  type: string
sort_dir:
  description: |
    Sort direction. A valid value is ``asc`` (ascending) or ``desc`` (descending).
    Default is ``desc``. You can specify multiple pairs of sort key and sort direction
    query parameters. If you omit the sort direction in a pair, the API uses the natural
    sorting direction of the direction of the segment ``sort_key`` attribute.
  in: query
  required: false
  type: string
sort_key_host:
  description: |
    Sorts by a hosts attribute. Default attribute is ``created_at``. You can specify
    multiple pairs of sort key and sort direction query parameters. If you omit the
    sort direction in a pair, the API uses the natural sorting direction of the segment
    ``sort_key`` attribute. The sort keys are limited to:

    - ``created_at``
    - ``type``
    - ``name``
    - ``updated_at``
    - ``uuid``
    - ``reserved``
    - ``on_maintenance``
  in: query
  required: false
  type: string
sort_key_notification:
  description: |
    Sorts by a notification attribute. Default attribute is ``created_at``. You can specify
    multiple pairs of sort key and sort direction query parameters. If you omit the
    sort direction in a pair, the API uses the natural sorting direction of the segment
    ``sort_key`` attribute. The sort keys are limited to:

    - ``created_at``
    - ``type``
    - ``generated_time``
    - ``updated_at``
    - ``uuid``
    - ``payload``
    - ``status``
    - ``source_host_uuid``
  in: query
  required: false
  type: string
sort_key_segment:
  description: |
    Sorts by a segment attribute. Default attribute is ``created_at``. You can specify
    multiple pairs of sort key and sort direction query parameters. If you omit the
    sort direction in a pair, the API uses the natural sorting direction of the segment
    ``sort_key`` attribute. The sort keys are limited to:

    - ``created_at``
    - ``description``
    - ``name``
    - ``updated_at``
    - ``uuid``
    - ``recovery_method``
    - ``service_type``
  in: query
  required: false
  type: string
sort_key_vmove:
  description: |
    Sorts by a vmove attribute. Default attribute is ``created_at``. You can specify
    multiple pairs of sort key and sort direction query parameters. If you omit the
    sort direction in a pair, the API uses the natural sorting direction of the vmove
    ``sort_key`` attribute. The sort keys are limited to:

    - ``created_at``
    - ``updated_at``
    - ``uuid``
    - ``start_time``
    - ``type``
    - ``status``
  in: query
  required: false
  type: string
source_host_uuid_query_notifications:
  description: |
    Filter the notifications list result by source_host_uuid.
  in: query
  required: false
  type: string
status_query_vmove:
  description: |
    Filter the vmoves list result by vmove status.
  in: query
  required: false
  type: string
type_query_host:
  description: |
    Filter the host list result by type of host.
  in: query
  required: false
  type: boolean
type_query_notifications:
  description: |
    Filter the notifications list result by notification type.
  in: query
  required: false
  type: string
type_query_vmove:
  description: |
    Filter the vmoves list result by vmove type.
  in: query
  required: false
  type: string
# variables in body
control_attributes:
  description: |
    Attributes to control host.
  in: body
  required: true
  type: string
created:
  description: |
    The date and time when the resource was created. The date and time
    stamp format is `ISO 8601 <https://en.wikipedia.org/wiki/ISO_8601>`_

    ::

      CCYY-MM-DDThh:mm:ss±hh:mm

    For example, ``2017-04-21T09:49:58-05:00``. The ``±hh:mm``
    value, if included, is the time zone as an offset from UTC.  In
    the previous example, the offset value is ``-05:00``.
  in: body
  required: true
  type: string
deleted:
  description: |
    A boolean indicates whether this resource is deleted or not, if it has
    not been deleted, ``false`` will appear.
  in: body
  required: true
  type: boolean
generated_time:
  description: |
    The date and time when the notification was created. The date and time
    stamp format is `ISO 8601 <https://en.wikipedia.org/wiki/ISO_8601>`_

    ::

      CCYY-MM-DDThh:mm:ss±hh:mm

    For example, ``2017-04-21T09:49:58-05:00``. The ``±hh:mm``
    value, if included, is the time zone as an offset from UTC.  In
    the previous example, the offset value is ``-05:00``.
  in: body
  required: true
  type: string
host:
  description: |
    A ``host`` object.
  in: body
  required: true
  type: object
host_id:
  description: |
    ID of host.
  in: body
  required: true
  type: string
host_name:
  description: |
    The host name.
  in: body
  required: true
  type: string
host_type:
  description: |
    Type of host.
  in: body
  required: true
  type: string
host_uuid:
  description: |
    The UUID of the host.
  in: body
  required: true
  type: string
hosts:
  description: |
    A list of ``host`` objects.
  in: body
  required: true
  type: array
links:
  description: |
    Links to the resources in question.
  in: body
  required: true
  type: array
notification:
  description: |
    A ``notification`` object.
  in: body
  required: true
  type: object
notification_host_name:
  description: |
    A name of host for which notification is created.
  in: body
  required: true
  type: object
notification_id:
  description: |
    ID of notification.
  in: body
  required: true
  type: string
notification_payload:
  description: |
    Payload for notification.

    .. note:: This is a JSON string.
  in: body
  required: true
  type: string
notification_status:
  description: |
    The notification status.
  in: body
  required: true
  type: string
notification_type:
  description: |
    Type of notification, can be either ``PROCESS``, ``COMPUTE_HOST`` or ``VM``.
  in: body
  required: true
  type: string
notification_uuid:
  description: |
    The UUID of the notification.
  in: body
  required: true
  type: string
notifications:
  description: |
    A list of ``notification`` objects.
  in: body
  required: true
  type: array
on_maintenance:
  description: |
    A boolean indicates whether this host is on maintenance or not, if it is
    not on maintenance mode, ``false`` will appear.
  in: body
  required: false
  type: boolean
recovery_workflow_details:
  description: |
    Recovery workflow details of the notification. This is a list of dictionary.

    ``New in version 1.1``
  in: body
  required: true
  type: array
reserved:
  description: |
    A boolean indicates whether this host is reserved or not, if it is
    not reserved, ``false`` will appear.
  in: body
  required: false
  type: boolean
segment:
  description: |
    A ``segment`` object.
  in: body
  required: true
  type: object
segment_description:
  type: string
  in: body
  required: false
  description: |
    A free form description of the segment. Limited to 255 characters
    in length.
segment_enabled:
  type: boolean
  in: body
  required: false
  description: |
    Boolean whether this segment is enabled or not.
segment_id:
  description: |
    The Id of the segment.
  in: body
  required: true
  type: string
segment_name:
  description: |
    The segment name.
  in: body
  required: true
  type: string
segment_recovery_method:
  type: string
  in: body
  required: true
  description: |
    Type of recovery if any host in this segment goes down. User can mention
    either 'auto', 'reserved_host', 'auto_priority' or 'rh_priority'.
segment_service_type:
  type: string
  in: body
  required: true
  description: |
    The name of service which will be deployed in this segment. As of now
    user can mention 'COMPUTE' as service_type.
segment_uuid:
  description: |
    The UUID of the segment.
  in: body
  required: true
  type: string
segments:
  description: |
    A list of ``segment`` objects.
  in: body
  required: true
  type: array
source_host_uuid:
  description: |
    The UUID of host for which notification is generated.
  in: body
  required: true
  type: string
updated:
  description: |
    The date and time when the resource was updated. The date and time
    stamp format is `ISO 8601 <https://en.wikipedia.org/wiki/ISO_8601>`_

    ::

      CCYY-MM-DDThh:mm:ss±hh:mm

    For example, ``2017-04-21T09:49:58-05:00``. The ``±hh:mm``
    value, if included, is the time zone as an offset from UTC.  In
    the previous example, the offset value is ``-05:00``.
  in: body
  required: true
  type: string
version:
  description: |
    The version.
  in: body
  required: true
  type: string
version_id:
  type: string
  in: body
  required: true
  description: >
    A common name for the version in question. Informative only, it
    has no real semantic meaning.
version_max:
  type: string
  in: body
  required: true
  description: >
    The maximum version supported by API.
version_min:
  type: string
  in: body
  required: true
  description: >
    The minimum version supported by API.
version_status:
  type: string
  in: body
  required: true
  description: |
    The status of this API version. This can be one of:

    - ``CURRENT``: this is the preferred version of the API to use
    - ``SUPPORTED``: this is an older, but still supported version of the API
    - ``DEPRECATED``: a deprecated version of the API that is slated for removal
versions:
  type: array
  in: body
  required: true
  description: >
    A list of version objects that describe the API versions available.
vmove:
  description: |
    A ``vmove`` object.
  in: body
  required: true
  type: object
vmove_end_time:
  description: |
    The date and time when the vmove ended.
  in: body
  required: true
  type: string
vmove_id:
  description: |
    ID of vmove.
  in: body
  required: true
  type: string
vmove_instance_name:
  description: |
    The name of the instance.
  in: body
  required: true
  type: string
vmove_instance_uuid:
  description: |
    The UUID of the instance.
  in: body
  required: true
  type: string
vmove_message:
  description: |
    The vmove message info.
  in: body
  required: true
  type: string
vmove_start_time:
  description: |
    The date and time when the vmove started.
  in: body
  required: true
  type: string
vmove_status:
  description: |
    The vmove status.
  in: body
  required: true
  type: string
vmove_type:
  description: |
    The vmove type.
  in: body
  required: true
  type: string
vmove_uuid:
  description: |
    The UUID of the vmove.
  in: body
  required: true
  type: string
vmoves:
  description: |
    A list of ``vmove`` objects.
  in: body
  required: true
  type: array