Browse Source

Merge "Add Pegleg schemas to site definition"

Zuul 6 months ago
parent
commit
1e14112a74

+ 645
- 0
deployment_files/global/v1.0demo/schemas/pegleg/AccountCatalogue/v1.yaml View File

@@ -0,0 +1,645 @@
1
+---
2
+schema: 'deckhand/DataSchema/v1'
3
+metadata:
4
+  schema: metadata/Control/v1
5
+  name: pegleg/AccountCatalogue/v1
6
+data:
7
+  $schema: 'http://json-schema.org/schema#'
8
+  type: object
9
+  properties:
10
+    ucp:
11
+      type: object
12
+      properties:
13
+        postgres:
14
+          type: object
15
+          properties:
16
+            admin:
17
+              type: object
18
+              properties:
19
+                username:
20
+                  type: string
21
+        oslo_db:
22
+          type: object
23
+          properties:
24
+            admin:
25
+              type: object
26
+              properties:
27
+                username:
28
+                  type: string
29
+        oslo_messaging:
30
+          type: object
31
+          properties:
32
+            admin:
33
+              type: object
34
+              properties:
35
+                username:
36
+                  type: string
37
+        keystone:
38
+          type: object
39
+          properties:
40
+            admin:
41
+              type: object
42
+              properties:
43
+                region_name:
44
+                  type: string
45
+                username:
46
+                  type: string
47
+                project_name:
48
+                  type: string
49
+                user_domain_name:
50
+                  type: string
51
+                project_domain_name:
52
+                  type: string
53
+            oslo_messaging:
54
+              type: object
55
+              properties:
56
+                username:
57
+                  type: string
58
+            oslo_db:
59
+              type: object
60
+              properties:
61
+                username:
62
+                  type: string
63
+                database:
64
+                  type: string
65
+        promenade:
66
+          type: object
67
+          properties:
68
+            keystone:
69
+              type: object
70
+              properties:
71
+                region_name:
72
+                  type: string
73
+                role:
74
+                  type: string
75
+                project_name:
76
+                  type: string
77
+                project_domain_name:
78
+                  type: string
79
+                user_domain_name:
80
+                  type: string
81
+                username:
82
+                  type: string
83
+        drydock:
84
+          type: object
85
+          properties:
86
+            keystone:
87
+              type: object
88
+              properties:
89
+                region_name:
90
+                  type: string
91
+                role:
92
+                  type: string
93
+                project_name:
94
+                  type: string
95
+                project_domain_name:
96
+                  type: string
97
+                user_domain_name:
98
+                  type: string
99
+                username:
100
+                  type: string
101
+            postgres:
102
+              type: object
103
+              properties:
104
+                username:
105
+                  type: string
106
+                database:
107
+                  type: string
108
+        shipyard:
109
+          type: object
110
+          properties:
111
+            keystone:
112
+              type: object
113
+              properties:
114
+                region_name:
115
+                  type: string
116
+                role:
117
+                  type: string
118
+                project_name:
119
+                  type: string
120
+                project_domain_name:
121
+                  type: string
122
+                user_domain_name:
123
+                  type: string
124
+                username:
125
+                  type: string
126
+            postgres:
127
+              type: object
128
+              properties:
129
+                username:
130
+                  type: string
131
+                database:
132
+                  type: string
133
+        airflow:
134
+          type: object
135
+          properties:
136
+            postgres:
137
+              type: object
138
+              properties:
139
+                username:
140
+                  type: string
141
+                database:
142
+                  type: string
143
+            oslo_messaging:
144
+              type: object
145
+              properties:
146
+                username:
147
+                  type: string
148
+        maas:
149
+          type: object
150
+          properties:
151
+            admin:
152
+              type: object
153
+              properties:
154
+                username:
155
+                  type: string
156
+                email:
157
+                  type: string
158
+            postgres:
159
+              type: object
160
+              properties:
161
+                username:
162
+                  type: string
163
+                database:
164
+                  type: string
165
+        barbican:
166
+          type: object
167
+          properties:
168
+            keystone:
169
+              type: object
170
+              properties:
171
+                region_name:
172
+                  type: string
173
+                role:
174
+                  type: string
175
+                project_name:
176
+                  type: string
177
+                project_domain_name:
178
+                  type: string
179
+                user_domain_name:
180
+                  type: string
181
+                username:
182
+                  type: string
183
+            oslo_db:
184
+              type: object
185
+              properties:
186
+                username:
187
+                  type: string
188
+                database:
189
+                  type: string
190
+            oslo_messaging:
191
+              type: object
192
+              properties:
193
+                username:
194
+                  type: string
195
+        armada:
196
+          type: object
197
+          properties:
198
+            keystone:
199
+              type: object
200
+              properties:
201
+                project_domain_name:
202
+                  type: string
203
+                project_name:
204
+                  type: string
205
+                region_name:
206
+                  type: string
207
+                role:
208
+                  type: string
209
+                user_domain_name:
210
+                  type: string
211
+                username:
212
+                  type: string
213
+        deckhand:
214
+          type: object
215
+          properties:
216
+            keystone:
217
+              type: object
218
+              properties:
219
+                region_name:
220
+                  type: string
221
+                role:
222
+                  type: string
223
+                project_name:
224
+                  type: string
225
+                project_domain_name:
226
+                  type: string
227
+                user_domain_name:
228
+                  type: string
229
+                username:
230
+                  type: string
231
+            postgres:
232
+              type: object
233
+              properties:
234
+                username:
235
+                  type: string
236
+                database:
237
+                  type: string
238
+    ceph:
239
+      type: object
240
+      properties:
241
+        swift:
242
+          type: object
243
+          properties:
244
+            keystone:
245
+              type: object
246
+              properties:
247
+                role:
248
+                  type: string
249
+                region_name:
250
+                  type: string
251
+                username:
252
+                  type: string
253
+                project_name:
254
+                  type: string
255
+                user_domain_name:
256
+                  type: string
257
+                project_domain_name:
258
+                  type: string
259
+    osh:
260
+      type: object
261
+      properties:
262
+        keystone:
263
+          type: object
264
+          properties:
265
+            admin:
266
+              type: object
267
+              properties:
268
+                region_name:
269
+                  type: string
270
+                username:
271
+                  type: string
272
+                project_name:
273
+                  type: string
274
+                user_domain_name:
275
+                  type: string
276
+                project_domain_name:
277
+                  type: string
278
+            oslo_messaging:
279
+              type: object
280
+              properties:
281
+                admin:
282
+                  type: object
283
+                  properties:
284
+                    username:
285
+                      type: string
286
+                keystone:
287
+                  type: object
288
+                  properties:
289
+                    username:
290
+                      type: string
291
+            oslo_db:
292
+              type: object
293
+              properties:
294
+                username:
295
+                  type: string
296
+                database:
297
+                  type: string
298
+        cinder:
299
+          type: object
300
+          properties:
301
+            cinder:
302
+              type: object
303
+              properties:
304
+                role:
305
+                  type: string
306
+                region_name:
307
+                  type: string
308
+                username:
309
+                  type: string
310
+                project_name:
311
+                  type: string
312
+                user_domain_name:
313
+                  type: string
314
+                project_domain_name:
315
+                  type: string
316
+            oslo_messaging:
317
+              type: object
318
+              properties:
319
+                admin:
320
+                  type: object
321
+                  properties:
322
+                    username:
323
+                      type: string
324
+                cinder:
325
+                  type: object
326
+                  properties:
327
+                    username:
328
+                      type: string
329
+            oslo_db:
330
+              type: object
331
+              properties:
332
+                username:
333
+                  type: string
334
+                database:
335
+                  type: string
336
+        glance:
337
+          type: object
338
+          properties:
339
+            glance:
340
+              type: object
341
+              properties:
342
+                role:
343
+                  type: string
344
+                region_name:
345
+                  type: string
346
+                username:
347
+                  type: string
348
+                project_name:
349
+                  type: string
350
+                user_domain_name:
351
+                  type: string
352
+                project_domain_name:
353
+                  type: string
354
+            oslo_messaging:
355
+              type: object
356
+              properties:
357
+                admin:
358
+                  type: object
359
+                  properties:
360
+                    username:
361
+                      type: string
362
+                glance:
363
+                  type: object
364
+                  properties:
365
+                    username:
366
+                      type: string
367
+            oslo_db:
368
+              type: object
369
+              properties:
370
+                username:
371
+                  type: string
372
+                database:
373
+                  type: string
374
+            ceph_object_store:
375
+              type: object
376
+              properties:
377
+                username:
378
+                  type: string
379
+        heat:
380
+          type: object
381
+          properties:
382
+            heat:
383
+              type: object
384
+              properties:
385
+                role:
386
+                  type: string
387
+                region_name:
388
+                  type: string
389
+                username:
390
+                  type: string
391
+                project_name:
392
+                  type: string
393
+                user_domain_name:
394
+                  type: string
395
+                project_domain_name:
396
+                  type: string
397
+            heat_trustee:
398
+              type: object
399
+              properties:
400
+                role:
401
+                  type: string
402
+                region_name:
403
+                  type: string
404
+                username:
405
+                  type: string
406
+                project_name:
407
+                  type: string
408
+                user_domain_name:
409
+                  type: string
410
+                project_domain_name:
411
+                  type: string
412
+            heat_stack_user:
413
+              type: object
414
+              properties:
415
+                role:
416
+                  type: string
417
+                region_name:
418
+                  type: string
419
+                username:
420
+                  type: string
421
+                project_name:
422
+                  type: string
423
+                user_domain_name:
424
+                  type: string
425
+                project_domain_name:
426
+                  type: string
427
+            oslo_db:
428
+              type: object
429
+              properties:
430
+                username:
431
+                  type: string
432
+                database:
433
+                  type: string
434
+            oslo_messaging:
435
+              type: object
436
+              properties:
437
+                admin:
438
+                  type: object
439
+                  properties:
440
+                    username:
441
+                      type: string
442
+                heat:
443
+                  type: object
444
+                  properties:
445
+                    username:
446
+                      type: string
447
+        swift:
448
+          type: object
449
+          properties:
450
+            swift:
451
+              type: object
452
+              properties:
453
+                role:
454
+                  type: string
455
+                region_name:
456
+                  type: string
457
+                username:
458
+                  type: string
459
+                project_name:
460
+                  type: string
461
+                user_domain_name:
462
+                  type: string
463
+                project_domain_name:
464
+                  type: string
465
+        oslo_db:
466
+          type: object
467
+          properties:
468
+            admin:
469
+              type: object
470
+              properties:
471
+                username:
472
+                  type: string
473
+        neutron:
474
+          type: object
475
+          properties:
476
+            neutron:
477
+              type: object
478
+              properties:
479
+                role:
480
+                  type: string
481
+                region_name:
482
+                  type: string
483
+                username:
484
+                  type: string
485
+                project_name:
486
+                  type: string
487
+                user_domain_name:
488
+                  type: string
489
+                project_domain_name:
490
+                  type: string
491
+            oslo_messaging:
492
+              type: object
493
+              properties:
494
+                admin:
495
+                  type: object
496
+                  properties:
497
+                    username:
498
+                      type: string
499
+                neutron:
500
+                  type: object
501
+                  properties:
502
+                    username:
503
+                      type: string
504
+            oslo_db:
505
+              type: object
506
+              properties:
507
+                username:
508
+                  type: string
509
+                database:
510
+                  type: string
511
+        nova:
512
+          type: object
513
+          properties:
514
+            nova:
515
+              type: object
516
+              properties:
517
+                role:
518
+                  type: string
519
+                region_name:
520
+                  type: string
521
+                username:
522
+                  type: string
523
+                project_name:
524
+                  type: string
525
+                user_domain_name:
526
+                  type: string
527
+                project_domain_name:
528
+                  type: string
529
+            placement:
530
+              type: object
531
+              properties:
532
+                role:
533
+                  type: string
534
+                region_name:
535
+                  type: string
536
+                username:
537
+                  type: string
538
+                project_name:
539
+                  type: string
540
+                user_domain_name:
541
+                  type: string
542
+                project_domain_name:
543
+                  type: string
544
+            oslo_messaging:
545
+              type: object
546
+              properties:
547
+                admin:
548
+                  type: object
549
+                  properties:
550
+                    username:
551
+                      type: string
552
+                nova:
553
+                  type: object
554
+                  properties:
555
+                    username:
556
+                      type: string
557
+            oslo_db:
558
+              type: object
559
+              properties:
560
+                username:
561
+                  type: string
562
+                database:
563
+                  type: string
564
+            oslo_db_api:
565
+              type: object
566
+              properties:
567
+                username:
568
+                  type: string
569
+                database:
570
+                  type: string
571
+            oslo_db_cell0:
572
+              type: object
573
+              properties:
574
+                username:
575
+                  type: string
576
+                database:
577
+                  type: string
578
+        horizon:
579
+          type: object
580
+          properties:
581
+            oslo_db:
582
+              type: object
583
+              properties:
584
+                username:
585
+                  type: string
586
+                database:
587
+                  type: string
588
+    osh_infra:
589
+      type: object
590
+      properties:
591
+        grafana:
592
+          type: object
593
+          properties:
594
+            admin:
595
+              type: object
596
+              properties:
597
+                username:
598
+                  type: string
599
+            oslo_db:
600
+              type: object
601
+              properties:
602
+                username:
603
+                  type: string
604
+                database:
605
+                  type: string
606
+            oslo_db_session:
607
+              type: object
608
+              properties:
609
+                username:
610
+                  type: string
611
+                database:
612
+                  type: string
613
+        elasticsearch:
614
+          type: object
615
+          properties:
616
+            admin:
617
+              type: object
618
+              properties:
619
+                username:
620
+                  type: string
621
+        oslo_db:
622
+          type: object
623
+          properties:
624
+            admin:
625
+              type: object
626
+              properties:
627
+                username:
628
+                  type: string
629
+        prometheus_openstack_exporter:
630
+          type: object
631
+          properties:
632
+            user:
633
+              type: object
634
+              properties:
635
+                username:
636
+                  type: string
637
+        nagios:
638
+          type: object
639
+          properties:
640
+            admin:
641
+              type: object
642
+              properties:
643
+                username:
644
+                  type: string
645
+...

+ 17
- 0
deployment_files/global/v1.0demo/schemas/pegleg/AppArmorProfile/v1.yaml View File

@@ -0,0 +1,17 @@
1
+---
2
+schema: 'deckhand/DataSchema/v1'
3
+metadata:
4
+  schema: metadata/Control/v1
5
+  name: pegleg/AppArmorProfile/v1
6
+  labels:
7
+    application: pegleg
8
+data:
9
+  $schema: 'http://json-schema.org/schema#'
10
+  type: 'object'
11
+  additionalProperties: false
12
+  properties:
13
+    savePath:
14
+      type: 'string'
15
+    content:
16
+      type: 'string'
17
+  required: ['savePath', 'content']

+ 116
- 0
deployment_files/global/v1.0demo/schemas/pegleg/CommonAddresses/v1.yaml View File

@@ -0,0 +1,116 @@
1
+---
2
+schema: 'deckhand/DataSchema/v1'
3
+metadata:
4
+  schema: metadata/Control/v1
5
+  name: pegleg/CommonAddresses/v1
6
+data:
7
+  $schema: 'http://json-schema.org/schema#'
8
+  type: object
9
+  properties:
10
+    calico:
11
+      type: object
12
+      properties:
13
+        ip_autodetection_method:
14
+          type: string
15
+        etcd:
16
+          type: object
17
+          properties:
18
+            service_ip:
19
+              type: string
20
+    dns:
21
+      type: object
22
+      properties:
23
+        cluster_domain:
24
+          type: string
25
+        service_ip:
26
+          type: string
27
+        upstream_servers:
28
+          type: array
29
+          items:
30
+            type: string
31
+        upstream_servers_joined:
32
+          type: string
33
+    genesis:
34
+      type: object
35
+      properties:
36
+        hostname:
37
+          type: string
38
+        ip:
39
+          type: string
40
+    bootstrap:
41
+      type: object
42
+      properties:
43
+        ip:
44
+          type: string
45
+    kubernetes:
46
+      type: object
47
+      properties:
48
+        api_service_ip:
49
+          type: string
50
+        etcd_service_ip:
51
+          type: string
52
+        pod_cidr:
53
+          type: string
54
+        service_cidr:
55
+          type: string
56
+        apiserver_port:
57
+          type: number
58
+        haproxy_port:
59
+          type: number
60
+        service_node_port_range:
61
+          type: string
62
+    etcd:
63
+      type: object
64
+      properties:
65
+        container_port:
66
+          type: number
67
+        haproxy_port:
68
+          type: number
69
+    masters:
70
+      type: array
71
+      items:
72
+        type: object
73
+        properties:
74
+          hostname:
75
+            type: string
76
+    node_ports:
77
+      type: object
78
+      properties:
79
+        drydock_api:
80
+          type: number
81
+        maas_api:
82
+          type: number
83
+        maas_proxy:
84
+          type: number
85
+        shipyard_api:
86
+          type: number
87
+        airflow_web:
88
+          type: number
89
+    ntp:
90
+      type: object
91
+      properties:
92
+        servers_joined:
93
+          type: string
94
+    storage:
95
+      type: object
96
+      properties:
97
+        ceph:
98
+          type: object
99
+          properties:
100
+            public_cidr:
101
+              type: string
102
+            cluster_cidr:
103
+              type: string
104
+    openvswitch:
105
+      type: object
106
+      properties:
107
+        external_iface:
108
+          type: string
109
+    neutron:
110
+      type: object
111
+      properties:
112
+        tunnel_device:
113
+          type: string
114
+        external_iface:
115
+          type: string
116
+...

+ 15
- 0
deployment_files/global/v1.0demo/schemas/pegleg/CommonSoftwareConfig/v1.yaml View File

@@ -0,0 +1,15 @@
1
+---
2
+schema: 'deckhand/DataSchema/v1'
3
+metadata:
4
+  schema: metadata/Control/v1
5
+  name: pegleg/CommonSoftwareConfig/v1
6
+data:
7
+  $schema: 'http://json-schema.org/schema#'
8
+  type: object
9
+  properties:
10
+    osh:
11
+      type: object
12
+      properties:
13
+        region_name:
14
+          type: string
15
+...

+ 143
- 0
deployment_files/global/v1.0demo/schemas/pegleg/EndpointCatalogue/v1.yaml View File

@@ -0,0 +1,143 @@
1
+---
2
+schema: 'deckhand/DataSchema/v1'
3
+metadata:
4
+  schema: metadata/Control/v1
5
+  name: pegleg/EndpointCatalogue/v1
6
+data:
7
+  $schema: 'http://json-schema.org/schema#'
8
+  type: 'object'
9
+  # Namespace the list of endpoints
10
+  additionalProperties:
11
+    type: 'object'
12
+    additionalProperties:
13
+      type: 'object'
14
+      properties:
15
+        namespace:
16
+          oneOf:
17
+            - type: string
18
+            - type: "null"
19
+        name:
20
+          type: string
21
+        auth:
22
+          type: object
23
+        hosts:
24
+          type: object
25
+          properties:
26
+            data:
27
+              type: string
28
+            default:
29
+              type: string
30
+            discovery:
31
+              type: string
32
+            public:
33
+              type: string
34
+            internal:
35
+              type: string
36
+          additionalProperties:
37
+            type: string
38
+        host_fqdn_override:
39
+          oneOf:
40
+            - type: object
41
+              properties:
42
+                default:
43
+                  oneOf:
44
+                    - type: string
45
+                    - type: "null"
46
+                    - type: object
47
+                      properties:
48
+                        host:
49
+                          type: string
50
+                        tls:
51
+                          type: object
52
+                          properties:
53
+                            crt:
54
+                              type: string
55
+                            ca:
56
+                              type: string
57
+                            key:
58
+                              type: string
59
+                      additionalProperties:
60
+                        type: string
61
+                public:
62
+                  oneOf:
63
+                    - type: string
64
+                    - type: "null"
65
+                    - type: object
66
+                      properties:
67
+                        host:
68
+                          type: string
69
+                        tls:
70
+                          type: object
71
+                          properties:
72
+                            crt:
73
+                              type: string
74
+                            ca:
75
+                              type: string
76
+                            key:
77
+                              type: string
78
+                      additionalProperties:
79
+                        type: string
80
+                internal:
81
+                  oneOf:
82
+                    - type: string
83
+                    - type: "null"
84
+                    - type: object
85
+                      properties:
86
+                        host:
87
+                          type: string
88
+                        tls:
89
+                          type: object
90
+                          properties:
91
+                            crt:
92
+                              type: string
93
+                            ca:
94
+                              type: string
95
+                            key:
96
+                              type: string
97
+                      additionalProperties:
98
+                        type: string
99
+              additionalProperties:
100
+                type: string
101
+            - type: "null"
102
+        path:
103
+          oneOf:
104
+            - type: object
105
+              properties:
106
+                default:
107
+                  oneOf:
108
+                    - type: string
109
+                    - type: "null"
110
+                public:
111
+                  type: string
112
+                internal:
113
+                  type: string
114
+              additionalProperties:
115
+                type: string
116
+            - type: string
117
+        scheme:
118
+          oneOf:
119
+            - type: object
120
+              properties:
121
+                default:
122
+                  type: string
123
+                public:
124
+                  type: string
125
+                internal:
126
+                  type: string
127
+              additionalProperties:
128
+                type: string
129
+            - type: string
130
+        port:
131
+          type: object
132
+          additionalProperties:
133
+            type: object
134
+            properties:
135
+              default:
136
+                type: number
137
+              public:
138
+                type: number
139
+              internal:
140
+                type: number
141
+            additionalProperties:
142
+              type: number
143
+...

+ 1066
- 0
deployment_files/global/v1.0demo/schemas/pegleg/SoftwareVersions/v1.yaml
File diff suppressed because it is too large
View File


Loading…
Cancel
Save