pvc/node-daemon
Joshua Boniface e7b6a3eac1 Implement SR-IOV PF and VF instances
Adds support for the node daemon managing SR-IOV PF and VF instances.

PFs are added to Zookeeper automatically based on the config at startup
during network configuration, and are otherwise completely static. PFs
are automatically removed from Zookeeper, along with all coresponding
VFs, should the PF phy device be removed from the configuration.

VFs are configured based on the (autocreated) VFs of each PF device,
added to Zookeeper, and then a new class instance, SRIOVVFInstance, is
used to watch them for configuration changes. This will enable the
runtime management of VF settings by the API. The set of keys ensures
that both configuration and details of the NIC can be tracked.

Most keys are self-explanatory, especially for PFs and the basic keys
for VFs. The configuration tree is also self-explanatory, being based
entirely on the options available in the `ip link set {dev} vf` command.

Two additional keys are also present: `used` and `used_by`, which will
be able to track the (boolean) state of usage, as well as the VM that
uses a given VIF. Since the VM side implementation will support both
macvtap and direct "hostdev" assignments, this will ensure that this
state can be tracked on both the VF and the VM side.
2021-06-17 01:33:03 -04:00
..
monitoring Improve Munin check with extinfo 2020-10-19 11:01:00 -04:00
pvcnoded Implement SR-IOV PF and VF instances 2021-06-17 01:33:03 -04:00
daemon_lib Add daemon_lib symlink to pvcnoded 2021-05-30 00:00:07 -04:00
pvc-flush.service Increase start delay of flush service 2020-08-11 14:17:35 -04:00
pvc.target Correct name of systemd target 2020-02-08 20:39:07 -05:00
pvcnoded.py Update copyright year in headers 2021-03-25 17:01:55 -04:00
pvcnoded.sample.yaml Add initial SR-IOV support to node daemon 2021-06-15 22:56:09 -04:00
pvcnoded.service Remove systemd deps on zookeeper and libvirt 2021-01-28 16:25:02 -05:00