--- # The primary control plane host profile for Airship for DELL R720s, and # should not need to be altered if you are using matching HW. The active # participants in the Ceph cluster run on this profile. Other control plane # services are not affected by primary vs secondary designation. schema: drydock/HostProfile/v1 metadata: schema: metadata/Document/v1 name: cp_r720-primary storagePolicy: cleartext layeringDefinition: abstract: false layer: site parentSelector: hosttype: cp-global actions: - method: replace path: .interfaces - method: replace path: .storage - method: merge path: . data: hardware_profile: dell_r720 primary_network: oam interfaces: pxe: device_link: pxe slaves: - pxe_nic01 networks: - pxe bond0: device_link: data slaves: - data_nic01 - data_nic02 networks: - oam - storage - overlay - calico {% if 'dpdk' in yaml %} dpdk: device_link: dpdk slaves: - dpdk_nic01 networks: - dpdk {% endif %} {% if 'sriov' in yaml %} p1p1: slaves: - 'sriov_nic01' sriov: vf_count: 32 # Currently ignored trustedmode: false p3p2: slaves: - 'sriov_nic02' sriov: vf_count: 32 # Currently ignored trustedmode: false {% endif %} storage: physical_devices: {% for disk in yaml.disks %} {{disk.name}}: {% if 'labels' in disk %} labels: {% for key, value in disk.labels.items() %} {{key}}: '{{value}}' {% endfor %} {% endif %} partitions: {% for p in disk.partitions %} - name: '{{p.name}}' size: '{{p.size}}' {% if 'bootable' in p %} bootable: {{p.bootable}} {% endif %} filesystem: mountpoint: '{{p.mountpoint}}' fstype: 'ext4' mount_options: 'defaults' {% endfor %} {% endfor %} platform: kernel: 'hwe-16.04' kernel_params: {% if 'platform' in yaml and 'kernel_params' in yaml.platform %} {% for key, value in yaml.platform.kernel_params.items() %} {{key}}: '{{value}}' {% endfor %} {% else %} console: 'ttyS1,115200n8' intel_iommu: 'on' iommu: 'pt' amd_iommu: 'on' transparent_hugepage: 'never' {% endif %} {% if 'platform' in yaml and 'vcpu_pin_set' in yaml.platform %} isolcpus: '{{yaml.platform.vcpu_pin_set}}' {% endif %} metadata: owner_data: tenant-ceph-osd: enabled ucp-maas: enabled openstack-nova-compute: enabled openstack-libvirt: kernel sriov: enabled ... --- schema: drydock/HostProfile/v1 metadata: schema: metadata/Document/v1 name: cp_r720-secondary storagePolicy: cleartext layeringDefinition: abstract: false layer: site parentSelector: hosttype: cp-global actions: - method: replace path: .interfaces - method: replace path: .storage - method: replace path: .metadata.owner_data - method: merge path: . data: hardware_profile: dell_r720 primary_network: oam interfaces: pxe: device_link: pxe slaves: - pxe_nic01 networks: - pxe bond0: device_link: data slaves: - data_nic01 - data_nic02 networks: - oam - storage - overlay - calico {% if 'dpdk' in yaml %} dpdk: device_link: dpdk slaves: - dpdk_nic01 networks: - dpdk {% endif %} {% if 'sriov' in yaml %} p1p1: slaves: - 'sriov_nic01' sriov: vf_count: 32 # Currently ignored trustedmode: false p3p2: slaves: - 'sriov_nic02' sriov: vf_count: 32 # Currently ignored trustedmode: false {% endif %} storage: physical_devices: {% for disk in yaml.disks %} {{disk.name}}: {% if 'labels' in disk %} labels: {% for key, value in disk.labels.items() %} {{key}}: '{{value}}' {% endfor %} {% endif %} partitions: {% for p in disk.partitions %} - name: '{{p.name}}' size: '{{p.size}}' {% if 'bootable' in p %} bootable: {{p.bootable}} {% endif %} filesystem: mountpoint: '{{p.mountpoint}}' fstype: 'ext4' mount_options: 'defaults' {% endfor %} {% endfor %} platform: kernel: 'hwe-16.04' kernel_params: {% if 'platform' in yaml and 'kernel_params' in yaml.platform %} {% for key, value in yaml.platform.kernel_params.items() %} {{key}}: '{{value}}' {% endfor %} {% else %} console: 'ttyS1,115200n8' intel_iommu: 'on' iommu: 'pt' amd_iommu: 'on' transparent_hugepage: 'never' {% endif %} {% if 'platform' in yaml and 'vcpu_pin_set' in yaml.platform %} isolcpus: '{{yaml.platform.vcpu_pin_set}}' {% endif %} metadata: owner_data: ceph-mon: disabled tenant-ceph-mon: disabled tenant-ceph-osd: enabled ucp-maas: enabled openstack-nova-compute: enabled openstack-libvirt: kernel sriov: enabled ...