1 {% for server in yaml.masters %}
3 ##############################################################################
4 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. #
6 # Licensed under the Apache License, Version 2.0 (the "License"); you may #
7 # not use this file except in compliance with the License. #
9 # You may obtain a copy of the License at #
10 # http://www.apache.org/licenses/LICENSE-2.0 #
12 # Unless required by applicable law or agreed to in writing, software #
13 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
14 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
15 # See the License for the specific language governing permissions and #
16 # limitations under the License. #
17 ##############################################################################
18 schema: 'drydock/BaremetalNode/v1'
20 schema: 'metadata/Document/v1'
25 storagePolicy: cleartext
27 host_profile: ControlPlane
28 # the hostname for a server, could be used in multiple DNS domains to
29 # represent different interfaces
31 # Which network the address applies to. If a network appears in addressing
32 # that isn't assigned to an interface, design validation will fail
34 address: {{server.oob}}
36 # The address assigned. Either a explicit IPv4 or IPv6 address
38 address: {{server.pxe}}
40 address: {{server.host}}
42 address: {{server.storage}}
44 address: {{server.neutron}}
46 address: {{server.ksn}}
52 {% if 'workers' in yaml %}{% for server in yaml.workers %}
54 schema: 'drydock/BaremetalNode/v1'
56 schema: 'metadata/Document/v1'
61 storagePolicy: cleartext
63 host_profile: ComputePlane
64 # the hostname for a server, could be used in multiple DNS domains to
65 # represent different interfaces
67 # Which network the address applies to. If a network appears in addressing
68 # that isn't assigned to an interface, design validation will fail
70 address: {{server.oob}}
72 # The address assigned. Either a explicit IPv4 or IPv6 address
74 address: {{server.pxe}}
76 address: {{server.host}}
78 address: {{server.storage}}
80 address: {{server.neutron}}
82 address: {{server.ksn}}
87 {% endfor %}{% endif %}