Merge "support multiple sets of airship files"
[yaml_builds.git] / site_type / sriov / airship-treasuremap / global / v4.0 / schemas / drydock / Network / v1.yaml
1 ---
2 schema: 'deckhand/DataSchema/v1'
3 metadata:
4   schema: metadata/Control/v1
5   name: drydock/Network/v1
6   labels:
7     application: drydock
8 data:
9   $schema: 'http://json-schema.org/schema#'
10   type: 'object'
11   properties:
12     cidr:
13       type: 'string'
14     ranges:
15       type: 'array'
16       items:
17         type: 'object'
18         properties:
19           type:
20             type: 'string'
21           start:
22             type: 'string'
23             format: 'ipv4'
24           end:
25             type: 'string'
26             format: 'ipv4'
27         additionalProperties: false
28     dns:
29       type: 'object'
30       properties:
31         domain:
32           type: 'string'
33         servers:
34           type: 'string'
35       additionalProperties: false
36     dhcp_relay:
37       type: 'object'
38       properties:
39         self_ip:
40           type: 'string'
41           format: 'ipv4'
42         upstream_target:
43           type: 'string'
44           format: 'ipv4'
45       additionalProperties: false
46     mtu:
47       type: 'number'
48     vlan:
49       type: 'string'
50     routedomain:
51       type: 'string'
52     routes:
53       type: 'array'
54       items:
55         type: 'object'
56         properties:
57           subnet:
58             type: 'string'
59           gateway:
60             type: 'string'
61             format: 'ipv4'
62           metric:
63             type: 'number'
64           routedomain:
65             type: 'string'
66         additionalProperties: false
67     labels:
68       type: 'object'
69       additionalProperties: true
70   additionalProperties: false