]> git.proxmox.com Git - mirror_ovs.git/commit - tests/ovn.at
ovn-northd: Add flows in DHCP_OPTIONS pipeline to support renew requests
authorNuman Siddique <nusiddiq@redhat.com>
Wed, 25 Jan 2017 07:55:12 +0000 (13:25 +0530)
committerRussell Bryant <russell@ovn.org>
Thu, 26 Jan 2017 02:02:49 +0000 (21:02 -0500)
commit213615b3cd1cf823d71e12e565c639c96f4213fb
treedca437cf09699b3bd57375108462efaa3658f6bd
parent96fee5e0a2a085367e27c79e57f70be2abee683a
ovn-northd: Add flows in DHCP_OPTIONS pipeline to support renew requests

ovn-northd adds the flows to send the DHCPv4 packets to ovn-controller
only with the match ip4.src = 0.0.0.0 and ip4.dst = 255.255.255.255.

When a DHCPv4 lease is about to expire, before sending a DHCPDISCOVER
packet, the client can send a DHCPREQUEST packet to renew its ip
with ip4.src set to its offered ip and ip4.dst set to the DHCP server
ip or broadcast ip.

This patch supports this missing scenario by adding the necessary
flows in DHCP_OPTIONS ingress pipeline.

Signed-off-by: Numan Siddique <nusiddiq@redhat.com>
Signed-off-by: Russell Bryant <russell@ovn.org>
ovn/northd/ovn-northd.c
tests/ovn.at