Initial treasuremap/template for site_type ovsdpdk
[yaml_builds.git] / site_type / ovsdpdk / airship-treasuremap / global / v4.0 / schemas / drydock / HostProfile / v1.yaml
1 ---
2 schema: 'deckhand/DataSchema/v1'
3 metadata:
4   schema: metadata/Control/v1
5   name: drydock/HostProfile/v1
6   labels:
7     application: drydock
8 data:
9   $schema: 'http://json-schema.org/schema#'
10   type: 'object'
11   properties:
12     oob:
13       type: 'object'
14       properties:
15         type:
16           type: 'string'
17         network:
18           type: 'string'
19         account:
20           type: 'string'
21         credetial:
22           type: 'string'
23       additionalProperties: true
24     storage:
25       type: 'object'
26       properties:
27         physical_devices:
28           type: 'object'
29           additionalProperties:
30             type: 'object'
31             properties:
32               labels:
33                 type: 'object'
34                 additionalProperties:
35                   type: 'string'
36               volume_group:
37                 type: 'string'
38               partitions:
39                 type: 'array'
40                 items:
41                   type: 'object'
42                   properties:
43                     name:
44                       type: 'string'
45                     size:
46                       type: 'string'
47                     part_uuid:
48                       type: 'string'
49                     volume_group:
50                       type: 'string'
51                     labels:
52                       type: 'object'
53                       additionalProperties:
54                         type: 'string'
55                     bootable:
56                       type: 'boolean'
57                     volume_group:
58                       type: 'string'
59                     filesystem:
60                       type: 'object'
61                       properties:
62                         mountpoint:
63                           type: 'string'
64                         fstype:
65                           type: 'string'
66                         mount_options:
67                           type: 'string'
68                         fs_uuid:
69                           type: 'string'
70                         fs_label:
71                           type: 'string'
72                       additionalProperties: false
73                   additionalProperties: false
74         volume_groups:
75           type: 'object'
76           additionalProperties:
77             type: 'object'
78             properties:
79               vg_uuid:
80                 type: 'string'
81               logical_volumes:
82                 type: 'array'
83                 items:
84                   type: 'object'
85                   properties:
86                     name:
87                       type: 'string'
88                     lv_uuid:
89                       type: 'string'
90                     size:
91                       type: 'string'
92                     filesystem:
93                       type: 'object'
94                       properties:
95                         mountpoint:
96                           type: 'string'
97                         fstype:
98                           type: 'string'
99                         mount_options:
100                           type: 'string'
101                         fs_uuid:
102                           type: 'string'
103                         fs_label:
104                           type: 'string'
105     platform:
106       type: 'object'
107       properties:
108         image:
109           type: 'string'
110         kernel:
111           type: 'string'
112         kernel_params:
113           type: 'object'
114           additionalProperties: true
115       additionalProperties: false
116     metadata:
117       type: 'object'
118       properties:
119         tags:
120           type: 'array'
121           items:
122             type: 'string'
123         owner_data:
124           type: 'object'
125           additionalProperties:
126             type: 'string'
127         rack:
128           type: 'string'
129         boot_mac:
130           type: 'string'
131       additionalProperties: false
132     host_profile:
133       type: 'string'
134     hardware_profile:
135       type: 'string'
136     primary_network:
137       type: 'string'
138     interfaces:
139       type: 'object'
140       additionalProperties:
141         type: 'object'
142         properties:
143           device_link:
144            type: 'string'
145           slaves:
146             type: 'array'
147             items:
148               type: 'string'
149           networks:
150             type: 'array'
151             items:
152               type: 'string'
153           sriov:
154             type: 'object'
155             properties:
156               vf_count:
157                 type: 'number'
158               trustmode:
159                 type: 'boolean'
160   additionalProperties: false
161 ...