sonic-buildimage/dockers/docker-dhcp-relay
Shashanka Balakuntala 8b192a1151
[dhcp-relay]: Modify dhcp relay to pick primary address (#17012)
This is change taken as part of the HLD: sonic-net/SONiC#1470 and this is a follow up on the PR #16827 where in the docker-dhcp we pick the value of primary gateway of the interface from the VLAN_Interface table which has "secondary" flag set in the config_db

Microsoft ADO (number only): 16784946

How did I do it
-  Changes in the j2 file to add a new "-pg" parameter in the dhcpv4-relay.agents.j2, the ip would be retrieved from the config db's vlan_interface table such that the interface which are picked will have secondary field set.

- Changes in isc-dhcp to re-order the addresses of the discovered interface and which has the ip which has the passed parameter.
2023-11-22 15:05:32 -08:00
..
cli [dhcp_server] Add dhcprelayd for dhcp_server feature (#16947) 2023-11-02 08:09:01 -07:00
cli-plugin-tests [dhcp_server] Add dhcprelayd for dhcp_server feature (#16947) 2023-11-02 08:09:01 -07:00
critical_processes Incorporate DHCPv6 Relay Agent into dhcp-relay docker (#8321) 2021-09-22 16:05:03 -07:00
dhcp_relay_regex.json Fix regex and process name (#16647) 2023-09-26 16:15:27 -07:00
dhcp-relay.monitors.j2 Fix dependency of dhcp-mon on VLAN with only v6 (#13006) 2022-12-09 14:41:07 -08:00
dhcp-relay.programs.j2 [dhcp_server] Add dhcprelayd for dhcp_server feature (#16947) 2023-11-02 08:09:01 -07:00
dhcpv4-relay.agents.j2 [dhcp-relay]: Modify dhcp relay to pick primary address (#17012) 2023-11-22 15:05:32 -08:00
dhcpv6-relay.agents.j2 advance dhcprelay to 6a6ce24, add default dhcpv6 dualtor source interface (#15864) 2023-07-17 15:28:10 -07:00
docker_init.sh [supervisord]: use abspath as supervisord entrypoint (#5995) 2020-11-22 21:18:44 -08:00
docker-dhcp-relay.supervisord.conf.j2 [dhcp_server] Add dhcprelayd for dhcp_server feature (#16947) 2023-11-02 08:09:01 -07:00
Dockerfile.j2 [dhcp_server] Add dhcprelayd for dhcp_server feature (#16947) 2023-11-02 08:09:01 -07:00
events_info.json Fix regex and process name (#16647) 2023-09-26 16:15:27 -07:00
port-name-alias-map.txt.j2 [dhcp-relay] Reduce Calls to SONiC Cfggen (#5175) 2020-08-17 15:47:14 -07:00
start.sh Timezone sync issue between the host and containers (#14000) 2023-06-25 16:36:09 -07:00
wait_for_intf.sh.j2 [DHCP_RELAY] Updated wait_for_intf.sh to wait for ipv6 global and link local addr (#12273) 2022-10-12 11:46:20 +03:00