parameters: | |
_param: | |
sriov_nic01_physical_network: physnet1 | |
sriov_unsafe_interrupts: False | |
nova: | |
compute: | |
sriov: | |
sriov_nic01: | |
devname: ${_param:sriov_nic01_device_name} | |
physical_network: ${_param:sriov_nic01_physical_network} | |
linux: | |
system: | |
kernel: | |
sriov: True | |
unsafe_interrupts: ${_param:sriov_unsafe_interrupts} | |
network: | |
interface: | |
sriov_nic01: | |
pre_up_cmds: | |
- echo ${_param:sriov_nic01_numvfs} > /sys/class/net/${_param:sriov_nic01_device_name}/device/sriov_numvfs | |
enabled: true | |
name: ${_param:sriov_nic01_device_name} | |
type: eth | |
proto: manual |