Provider: sriov_numvfs
- Defined in:
- lib/puppet/provider/neutron_agent_sriov_numvfs/sriov_numvfs.rb
- Resource type:
- neutron_agent_sriov_numvfs
Overview
The file /sys/class/net/<sriov_interface_name>/device/sriov_numvfs will be present when a physical PCIe device supports SR-IOV. A number written to this file will enable the specified number of VFs. This provider shall read the file and ensure that the value is zero, before writing the number of VFs that should be enabled. If the VFs needs to be disabled then we shall write a zero to this file.