updated templates and scripts for Airship 1.3
[yaml_builds.git] / site_type / sriov-a13 / templates / profiles / hardware / dell_r720.j2
1 ---
2 schema: 'drydock/HardwareProfile/v1'
3 metadata:
4   schema: 'metadata/Document/v1'
5   name: dell_r720
6   layeringDefinition:
7     abstract: false
8     layer: site
9   storagePolicy: cleartext
10 data:
11   # Vendor of the server chassis
12   vendor: {{yaml.hardware.vendor}}
13   # Generation of the chassis model
14   generation: '{{yaml.hardware.generation}}'
15   # Version of the chassis model within its generation - not version of the hardware definition
16   hw_version: '{{yaml.hardware.hw_version}}'
17   # The certified version of the chassis BIOS
18   bios_version: '{{yaml.hardware.bios_version}}'
19   # Mode of the default boot of hardware - bios, uefi
20   boot_mode: bios
21   # Protocol of boot of the hardware - pxe, usb, hdd
22   bootstrap_protocol: pxe
23   # Which interface to use for network booting within the OOB manager, not OS device
24   pxe_interface: 0
25   # Map hardware addresses to aliases/roles to allow a mix of hardware configs
26   # in a site to result in a consistent configuration
27   device_aliases:
28 {% if 'hardware' in yaml and 'device_aliases' in yaml.hardware %}
29 {% for device in yaml.hardware.device_aliases %}
30     # {{ device.name }}
31     {{ device.key }}:
32       address: '{{ device.address }}'
33       dev_type: '{{ device.dev_type }}'
34       bus_type: '{{ device.bus_type }}'
35 {% endfor %}
36 {% endif %}
37 ...