[ovs-dev] [PATCH v7] ovn-northd: Add logical flows to support native DHCPv4

Ramu Ramamurthy ramu.ramamurthy at gmail.com
Mon Jul 25 01:22:57 UTC 2016


On Sat, Jul 23, 2016 at 5:49 AM, Numan Siddique <nusiddiq at redhat.com> wrote:
> 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 <nusiddiq at redhat.com>
> Co-authored-by: Ben Pfaff <blp at ovn.org>
> Signed-off-by: Ben Pfaff <blp at ovn.org>
> ---

Tested-by: Ramu Ramamurthy <ramu.ramamurthy at us.ibm.com>
against openstack cms.
Acked-by: Ramu Ramamurthy <ramu.ramamurthy at us.ibm.com>



More information about the dev mailing list