X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=site_type%2Fovsdpdk%2Ftemplates%2Fbaremetal%2Frack.j2;fp=site_type%2Fovsdpdk%2Ftemplates%2Fbaremetal%2Frack.j2;h=0000000000000000000000000000000000000000;hb=d0a8cc561d32ce83499a52d9893482124bfa2871;hp=085420f75add3dbc2e9abf9e0693dacaaa5c3f70;hpb=267230d53447c489d10905f260f503f2e71d414f;p=yaml_builds.git diff --git a/site_type/ovsdpdk/templates/baremetal/rack.j2 b/site_type/ovsdpdk/templates/baremetal/rack.j2 deleted file mode 100644 index 085420f..0000000 --- a/site_type/ovsdpdk/templates/baremetal/rack.j2 +++ /dev/null @@ -1,107 +0,0 @@ -{% for server in yaml.masters %} ---- -############################################################################## -# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); you may # -# not use this file except in compliance with the License. # -# # -# You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -############################################################################## -schema: 'drydock/BaremetalNode/v1' -metadata: - schema: 'metadata/Document/v1' - name: {{server.name}} - layeringDefinition: - abstract: false - layer: site - storagePolicy: cleartext -data: - host_profile: ControlPlane - # the hostname for a server, could be used in multiple DNS domains to - # represent different interfaces - addressing: - # Which network the address applies to. If a network appears in addressing - # that isn't assigned to an interface, design validation will fail - - network: oob - address: {{server.oob}} - - network: pxe - # The address assigned. Either a explicit IPv4 or IPv6 address - # or dhcp or slaac - address: {{server.pxe}} - - network: oam - address: {{server.host}} - - network: storage - address: {{server.storage}} - - network: overlay - address: {{server.neutron}} - - network: calico - address: {{server.ksn}} - - network: dpdk - address: {{server.vxlan}} - metadata: - rack: RACK01 - tags: - - 'masters' - platform: - kernel_params: - hugepagesz: '1G' - hugepages: 32 - default_hugepagesz: '1G' - iommu: 'pt' - intel_iommu: 'on' -... -{% endfor %} -{% if 'workers' in yaml %}{% for server in yaml.workers %} ---- -schema: 'drydock/BaremetalNode/v1' -metadata: - schema: 'metadata/Document/v1' - name: {{server.name}} - layeringDefinition: - abstract: false - layer: site - storagePolicy: cleartext -data: - host_profile: ComputePlane - # the hostname for a server, could be used in multiple DNS domains to - # represent different interfaces - addressing: - # Which network the address applies to. If a network appears in addressing - # that isn't assigned to an interface, design validation will fail - - network: oob - address: {{server.oob}} - - network: pxe - # The address assigned. Either a explicit IPv4 or IPv6 address - # or dhcp or slaac - address: {{server.pxe}} - - network: oam - address: {{server.host}} - - network: storage - address: {{server.storage}} - - network: overlay - address: {{server.neutron}} - - network: calico - address: {{server.ksn}} - - network: dpdk - address: {{server.vxlan}} - metadata: - rack: RACK01 - tags: - - 'workers' - platform: - kernel_params: - hugepagesz: '1G' - hugepages: 32 - default_hugepagesz: '1G' - iommu: 'pt' - intel_iommu: 'on' -... -{% endfor %}{% endif %}