"dev" <dev-boun...@openvswitch.org> wrote on 04/28/2016 08:50:32 AM:

> From: Numan Siddique <nusid...@redhat.com>
> To: ovs dev <dev@openvswitch.org>
> Date: 04/28/2016 08:50 AM
> Subject: [ovs-dev] [PATCH v3 1/2] ovn: Support 'dhcp_offer' action
> in ovn-controller
> Sent by: "dev" <dev-boun...@openvswitch.org>
>
> This patch adds a new OVN action 'dhcp_offer' to support native
> DHCP in OVN.
>
> 'dhcp_offer' takes the DHCP options as input params.
> Eg. dhcp_offer(offerip = 10.0.0.4, router = 10.0.0.1,
>                netmask = 255.255.255.0, lease_time = 3600,....)
>
> ovn-controller parses this action and adds a NXT_PACKET_IN2
> OF flow with 'pause' flag set and the DHCP options stored in
> 'userdata' field.
>
> When the DHCP packet is received by ovn-controller, it frames a
> new DHCP reply packet with the DHCP options present in the
> 'userdata' field and resumes the packet.
>
> Eg. dhcp_offer(offerip = 10.0.0.4, router = 10.0.0.1,
>                netmask = 255.255.255.0, lease_time = 3600,....)
>
> A new 'DHCP_Options' table is added in SB DB which stores
> the support DHCP options with DHCP code and type. ovn-northd is
> expected to popule this table.
>
> The next patch will add logical flows with this action.
>
> Signed-Off-by: Numan Siddique <nusid...@redhat.com>

I've tested this out end-to-end via openstack (with
https://review.openstack.org/#/c/243174) and rally
and it holds up well enough to give it the following thumbs up:

Acked-by: Ryan Moats <rmo...@us.ibm.com>
Tested-by: Ryan Moats <rmo...@us.ibm.com>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to