The DHCP agent is still needed if we need the VMs to get an IP when
booting from "direct" type port. In OSP17, OVN will be able to provide
DHCP directly but this wasn't bacported yet to OSP16.
This patch will deploy the Neutron DHCP agent if SRIOV is being
configured on at least one interface. Note that the agent won't be used
by anything else than the SRIOV nic agent, since OVN provide DHCP for
regular ports.
Note 1: if we want to add the SRIOV interface to the OVS bridge, the only configuration supported today is via the OVS Hardware offload mechanism, which dev-install doesn't support well now. Note that this requires specific nics.
Note2: This limitation should disappear after this patch in Neutron: https://review.opendev.org/c/openstack/neutron/+/762550
The DHCP agent is still needed if we need the VMs to get an IP when booting from "direct" type port. In OSP17, OVN will be able to provide DHCP directly but this wasn't bacported yet to OSP16.
This patch will deploy the Neutron DHCP agent if SRIOV is being configured on at least one interface. Note that the agent won't be used by anything else than the SRIOV nic agent, since OVN provide DHCP for regular ports.
Note 1: if we want to add the SRIOV interface to the OVS bridge, the only configuration supported today is via the OVS Hardware offload mechanism, which dev-install doesn't support well now. Note that this requires specific nics. Note2: This limitation should disappear after this patch in Neutron: https://review.opendev.org/c/openstack/neutron/+/762550