94eecc5386d8337a96e66391a765ec419df3040f
[yaml_builds.git] / site / dellgen10 / baremetal / rack.yaml
1 ---
2 ##############################################################################
3 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.        #
4 #                                                                            #
5 # Licensed under the Apache License, Version 2.0 (the "License"); you may    #
6 # not use this file except in compliance with the License.                   #
7 #                                                                            #
8 # You may obtain a copy of the License at                                    #
9 #       http://www.apache.org/licenses/LICENSE-2.0                           #
10 #                                                                            #
11 # Unless required by applicable law or agreed to in writing, software        #
12 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT  #
13 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.           #
14 # See the License for the specific language governing permissions and        #
15 # limitations under the License.                                             #
16 ##############################################################################
17 schema: 'drydock/BaremetalNode/v1'
18 metadata:
19   schema: 'metadata/Document/v1'
20   name: aknode41
21   layeringDefinition:
22     abstract: false
23     layer: site
24   storagePolicy: cleartext
25 data:
26   host_profile: ControlPlane
27   # the hostname for a server, could be used in multiple DNS domains to
28   # represent different interfaces
29   addressing:
30       # Which network the address applies to. If a network appears in addressing
31       # that isn't assigned to an interface, design validation will fail
32     - network: oob
33       address: 192.168.41.41
34     - network: pxe
35       # The address assigned. Either a explicit IPv4 or IPv6 address
36       # or dhcp or slaac
37       address: 172.30.2.41
38     - network: oam
39       address: 192.168.2.41
40     - network: storage
41       address: 172.31.2.41
42     - network: overlay
43       address: 10.0.102.41
44     - network: calico
45       address: 172.29.1.41
46   metadata:
47     rack: RACK01
48     tags:
49       - 'masters'
50 ---
51 ##############################################################################
52 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.        #
53 #                                                                            #
54 # Licensed under the Apache License, Version 2.0 (the "License"); you may    #
55 # not use this file except in compliance with the License.                   #
56 #                                                                            #
57 # You may obtain a copy of the License at                                    #
58 #       http://www.apache.org/licenses/LICENSE-2.0                           #
59 #                                                                            #
60 # Unless required by applicable law or agreed to in writing, software        #
61 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT  #
62 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.           #
63 # See the License for the specific language governing permissions and        #
64 # limitations under the License.                                             #
65 ##############################################################################
66 schema: 'drydock/BaremetalNode/v1'
67 metadata:
68   schema: 'metadata/Document/v1'
69   name: aknode42
70   layeringDefinition:
71     abstract: false
72     layer: site
73   storagePolicy: cleartext
74 data:
75   host_profile: ControlPlane
76   # the hostname for a server, could be used in multiple DNS domains to
77   # represent different interfaces
78   addressing:
79       # Which network the address applies to. If a network appears in addressing
80       # that isn't assigned to an interface, design validation will fail
81     - network: oob
82       address: 192.168.41.42
83     - network: pxe
84       # The address assigned. Either a explicit IPv4 or IPv6 address
85       # or dhcp or slaac
86       address: 172.30.2.42
87     - network: oam
88       address: 192.168.2.42
89     - network: storage
90       address: 172.31.2.42
91     - network: overlay
92       address: 10.0.102.42
93     - network: calico
94       address: 172.29.1.42
95   metadata:
96     rack: RACK01
97     tags:
98       - 'masters'
99 ...