Add generic SR-IOV configuration

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:26 -04:00
parent 0fc889df32
commit a2ed38b459
3 changed files with 20 additions and 0 deletions

View File

@ -125,6 +125,16 @@ pvc_nodes:
# or a different device separate from the other 3 main networks. # or a different device separate from the other 3 main networks.
pvc_bridge_device: bondU # Replace based on your network configuration pvc_bridge_device: bondU # Replace based on your network configuration
# SR-IOV device configuration
# SR-IOV enables the passing of hardware-virtualized network devices (VFs), created on top of SR-IOV-enabled
# physical NICs (PFs), into virtual machines. SR-IOV is a complex topic, and will not be discussed in detail
# here. Instead, the SR-IOV mode is disabled by default and a commented out example configuration is shown.
pvc_sriov_enable: False
#pvc_sriov_device:
# - phy: ens1f0
# mtu: 9000
# vfcount: 6
# Configuration file networks # Configuration file networks
# > Taken from base.yml's configuration; do not modify this section. # > Taken from base.yml's configuration; do not modify this section.
pvc_upstream_device: "{{ networks['upstream']['device'] }}" pvc_upstream_device: "{{ networks['upstream']['device'] }}"

View File

@ -26,6 +26,7 @@ pvc_zookeeper_stack_limit: 512M
# Ceph storage # Ceph storage
ceph_storage_secret_key: "" ceph_storage_secret_key: ""
ceph_storage_secret_uuid: "" ceph_storage_secret_uuid: ""
# Database # Database
pvc_dns_database_name: "pvcdns" pvc_dns_database_name: "pvcdns"
pvc_dns_database_user: "pvcdns" pvc_dns_database_user: "pvcdns"
@ -33,6 +34,7 @@ pvc_dns_database_password: "PVCdnsPassw0rd"
pvc_api_database_name: "pvcapi" pvc_api_database_name: "pvcapi"
pvc_api_database_user: "pvcapi" pvc_api_database_user: "pvcapi"
pvc_api_database_password: "PVCprovPassw0rd" pvc_api_database_password: "PVCprovPassw0rd"
# Coordinators # Coordinators
pvc_nodes: pvc_nodes:
- hostname: "pvc1" - hostname: "pvc1"
@ -65,6 +67,7 @@ pvc_nodes:
ipmi_host: "pvc3-lom" ipmi_host: "pvc3-lom"
ipmi_user: "" ipmi_user: ""
ipmi_password: "" ipmi_password: ""
# Networks # Networks
pvc_asn: "65001" pvc_asn: "65001"
pvc_routers: pvc_routers:
@ -82,3 +85,8 @@ pvc_upstream_domain: ""
pvc_upstream_subnet: "" pvc_upstream_subnet: ""
pvc_upstream_floatingip: "" pvc_upstream_floatingip: ""
pvc_upstream_gatewayip: "" pvc_upstream_gatewayip: ""
# Devices
pvc_bridge_device: bond0
pvc_sriov_enable: False
pvc_sriov_device:

View File

@ -79,6 +79,8 @@ pvc:
console_log_lines: {{ pvc_log_console_lines }} console_log_lines: {{ pvc_log_console_lines }}
networking: networking:
bridge_device: {{ pvc_bridge_device }} bridge_device: {{ pvc_bridge_device }}
sriov_enable: {{ pvc_sriov_enable }}
sriov_device: {{ pvc_sriov_device }}
upstream: upstream:
device: {{ pvc_upstream_device }} device: {{ pvc_upstream_device }}
mtu: {{ pvc_upstream_mtu }} mtu: {{ pvc_upstream_mtu }}