2 ##############################################################################
3 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. #
5 # Licensed under the Apache License, Version 2.0 (the "License"); you may #
6 # not use this file except in compliance with the License. #
8 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
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 ##############################################################################
18 schema: drydock/HostProfile/v1
20 schema: metadata/Document/v1
22 storagePolicy: cleartext
24 hosttype: ComputePlane
32 schema: deckhand/Passphrase/v1
33 name: ipmi_admin_password
36 hardware_profile: DELL_HP_Generic
40 account: '{{yaml.ipmi_admin.username}}'
41 primary_network: 'oam'
42 hardware_profile: DELL_HP_Generic
47 - '{{yaml.networks.pxe.interface}}'
53 {% for slave in yaml.networks.slaves %}
64 - '{{yaml.networks.vxlan.interface}}'
69 {% for disk in yaml.disks_compute %}
71 {% if 'labels' in disk %}
73 {% for key, value in disk.labels.items() %}
78 {% for p in disk.partitions %}
82 mountpoint: '{{p.mountpoint}}'
84 mount_options: 'defaults'
91 {% if 'platform' in yaml and 'kernel_params' in yaml.platform %}
92 {% for key, value in yaml.platform.kernel_params.items() %}
96 console: 'ttyS1,115200n8'
100 transparent_hugepage: 'never'
102 {% if 'platform' in yaml and 'vcpu_pin_set' in yaml.platform %}
103 isolcpus: '{{yaml.platform.vcpu_pin_set}}'
107 openstack-nova-compute: enabled
109 openstack-libvirt: kernel
111 beta.kubernetes.io/fluentd-ds-ready: 'true'