DHCP Multiple Servers (VPP-602, VPP-605) 15/5515/4
authorNeale Ranns <nranns@cisco.com>
Thu, 16 Feb 2017 15:45:03 +0000 (07:45 -0800)
committerDamjan Marion <dmarion.lists@gmail.com>
Tue, 7 Mar 2017 21:21:41 +0000 (21:21 +0000)
commit3466c30261950823828d1dad0d2fb170ee2f9aaf
tree1eb304758c8bc5e53e347ba54ba8949ac8228e70
parent09a38a6db4235dcacbfb6d5e3686faaeb1c25a37
DHCP Multiple Servers (VPP-602, VPP-605)

Multiple DHCP (4 and/or 6) servers can be added and removed through multiple calls to the 'set dhcp server' API.
All 4/6/ discover/solicit messages will then be replicated to all servers in the list. The expectation is that the servers/system is configured in such a way that this is viable.
If VSS information is providied for the clinet VRF which also has multiple servers configured, then the same VSS information is sent to each server. Likewise the source address of packets sent to from VPP to each server is the same.

Change-Id: I3287cb084c84b3f612b78bc69cfcb5b9c1f8934d
Signed-off-by: Neale Ranns <nranns@cisco.com>
13 files changed:
src/scripts/vnet/dhcp/proxy
src/vat/api_format.c
src/vnet/dhcp/client.c
src/vnet/dhcp/dhcp.api
src/vnet/dhcp/dhcp4_packet.h
src/vnet/dhcp/dhcp4_proxy_node.c
src/vnet/dhcp/dhcp6_proxy_node.c
src/vnet/dhcp/dhcp_api.c
src/vnet/dhcp/dhcp_proxy.c
src/vnet/dhcp/dhcp_proxy.h
src/vnet/ip/ip6_packet.h
src/vnet/pg/input.c
test/test_dhcp.py