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}}
51 {% if 'platform' in yaml %}
54 {% for key, value in yaml.platform.kernel_params.items() %}
56 {% endfor %}{% endif %}
58 {% if 'workers' in yaml %}{% for server in yaml.workers %}
60 schema: 'drydock/BaremetalNode/v1'
62 schema: 'metadata/Document/v1'
67 storagePolicy: cleartext
69 host_profile: ComputePlane
70 # the hostname for a server, could be used in multiple DNS domains to
71 # represent different interfaces
73 # Which network the address applies to. If a network appears in addressing
74 # that isn't assigned to an interface, design validation will fail
76 address: {{server.oob}}
78 # The address assigned. Either a explicit IPv4 or IPv6 address
80 address: {{server.pxe}}
82 address: {{server.host}}
84 address: {{server.storage}}
86 address: {{server.neutron}}
88 address: {{server.ksn}}
93 {% if 'platform' in yaml %}
96 {% for key, value in yaml.platform.kernel_params.items() %}
98 {% endfor %}{% endif %}
99 {% endfor %}{% endif %}