X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=site_type%2Fsriov-a13%2Ftemplates%2Fprofiles%2Fhardware%2Fdell_r720.j2;fp=site_type%2Fsriov-a13%2Ftemplates%2Fprofiles%2Fhardware%2Fdell_r720.j2;h=4ed40d93636cf914d5067073053c64dd3f18dd2b;hb=fbb206730195c6f03ded7658d08f1ef708ebf88b;hp=0000000000000000000000000000000000000000;hpb=3395a537e26721ec33a80f66686ca932f9328722;p=yaml_builds.git diff --git a/site_type/sriov-a13/templates/profiles/hardware/dell_r720.j2 b/site_type/sriov-a13/templates/profiles/hardware/dell_r720.j2 new file mode 100644 index 0000000..4ed40d9 --- /dev/null +++ b/site_type/sriov-a13/templates/profiles/hardware/dell_r720.j2 @@ -0,0 +1,37 @@ +--- +schema: 'drydock/HardwareProfile/v1' +metadata: + schema: 'metadata/Document/v1' + name: dell_r720 + layeringDefinition: + abstract: false + layer: site + storagePolicy: cleartext +data: + # Vendor of the server chassis + vendor: {{yaml.hardware.vendor}} + # Generation of the chassis model + generation: '{{yaml.hardware.generation}}' + # Version of the chassis model within its generation - not version of the hardware definition + hw_version: '{{yaml.hardware.hw_version}}' + # The certified version of the chassis BIOS + bios_version: '{{yaml.hardware.bios_version}}' + # Mode of the default boot of hardware - bios, uefi + boot_mode: bios + # Protocol of boot of the hardware - pxe, usb, hdd + bootstrap_protocol: pxe + # Which interface to use for network booting within the OOB manager, not OS device + pxe_interface: 0 + # Map hardware addresses to aliases/roles to allow a mix of hardware configs + # in a site to result in a consistent configuration + device_aliases: +{% if 'hardware' in yaml and 'device_aliases' in yaml.hardware %} +{% for device in yaml.hardware.device_aliases %} + # {{ device.name }} + {{ device.key }}: + address: '{{ device.address }}' + dev_type: '{{ device.dev_type }}' + bus_type: '{{ device.bus_type }}' +{% endfor %} +{% endif %} +...