File tree 3 files changed +10
-1
lines changed
dockers/docker-dhcp-relay
src/sonic-config-engine/tests/sample_output
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ rm -f /var/run/rsyslogd.pid
6
6
# Start rsyslog
7
7
supervisorctl start rsyslogd
8
8
9
- # If our supervisor config has entries in the "isc- dhcp-relay" group...
9
+ # If our supervisor config has entries in the "dhcp-relay" group...
10
10
if [ $( supervisorctl status | grep -c " ^dhcp-relay:" ) -gt 0 ]; then
11
11
# Wait for all interfaces to come up and be assigned IPv4 addresses before
12
12
# starting the DHCP relay agent(s). If an interface the relay should listen
Original file line number Diff line number Diff line change @@ -40,3 +40,8 @@ wait_until_iface_ready {{ name }} {{ prefix }}
40
40
wait_until_iface_ready {{ name }} {{ prefix }}
41
41
{% endif %}
42
42
{% endfor %}
43
+
44
+ # Wait 10 seconds for the rest of interfaces to get added/populated.
45
+ # dhcrelay listens on each of the interfaces (in addition to the port
46
+ # channels and vlan interfaces)
47
+ sleep 10
Original file line number Diff line number Diff line change @@ -31,3 +31,7 @@ wait_until_iface_ready PortChannel02 10.0.0.58/31
31
31
wait_until_iface_ready PortChannel03 10.0.0.60/31
32
32
wait_until_iface_ready PortChannel04 10.0.0.62/31
33
33
34
+ # Wait 10 seconds for the rest of interfaces to get added/populated.
35
+ # dhcrelay listens on each of the interfaces (in addition to the port
36
+ # channels and vlan interfaces)
37
+ sleep 10
You can’t perform that action at this time.
0 commit comments