mirror of
https://github.com/Telecominfraproject/ols-ucentral-client.git
synced 2026-03-20 03:39:28 +00:00
With the DHCP-snooping full support for the BRCM platforms it's needed for the ports to be marked either trusted/untrusted to make sure proper DHCP request/reply forwarding occurs. With this commit the following behavior is enforced: * Every port is untrusted by default upon device startup; * Uplink interface (port) is determined through the means of parsing ARP+FBD table; * DHCP trust is enabled only for the uplink port; * All vlan members can now send DHCP discover(s), which will be forwarded (flooded) to trusted ports (in our case to a single trusted uplink port) and get their replies back. Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>