Please sign in to comment.
ovn-northd: Add logical flows to support native DHCPv4
OVN implements a native DHCPv4 support which caters to the common use case of providing an IP address to a booting instance by providing stateless replies to DHCPv4 requests based on statically configured address mappings. To do this it allows a short list of DHCPv4 options to be configured and applied at each compute host running ovn-controller. A new table 'DHCP_Options' is added in OVN NB DB to store the DHCP options. Logical ports refer to this table to configure the DHCPv4 options. For each logical port configured with DHCPv4 Options following flows are added - A logical flow which copies the DHCPv4 options to the DHCPv4 request packets using the 'put_dhcp_opts' action and advances the packet to the next stage. - A logical flow which implements the DHCP reponder by sending the DHCPv4 reply back to the inport once the 'put_dhcp_opts' action is applied. Signed-off-by: Numan Siddique <email@example.com> Co-authored-by: Ben Pfaff <firstname.lastname@example.org> Signed-off-by: Ben Pfaff <email@example.com> Tested-by: Ramu Ramamurthy <firstname.lastname@example.org> Acked-by: Ramu Ramamurthy <email@example.com>
- Loading branch information...
Showing with 1,086 additions and 10 deletions.
Oops, something went wrong.