sonic-buildimage/dockers/docker-router-advertiser
Joe LeVeque 97d44214cf
[docker-radv] Fix startup issues (#5230)
**- Why I did it**

PR https://github.com/Azure/sonic-buildimage/pull/4599 introduced two bugs in the startup of the router advertiser container:

1. References to the `wait_for_intf.sh` script were changed to `wait_for_link.sh`, but the actual script was not renamed
2. The `ipv6_found` Jinja2 variable added to the supervisor config file goes out of scope before it is read.

**- How I did it**
1. Rename the `wait_for_intf.sh` script to `wait_for_link.sh`
2. Use the Jinja2 "namespace" construct to fix the scope issue

**- How to verify it**

Ensure all processes in the radv container start properly under the correct conditions (i.e., whether or not there is at least one VLAN with an IPv6 address assigned).
2020-08-21 13:12:01 -07:00
..
critical_processes [dockers] Update critical_processes file syntax (#4831) 2020-06-25 21:18:21 -07:00
docker-init.sh [docker-radv] Fix startup issues (#5230) 2020-08-21 13:12:01 -07:00
docker-router-advertiser.supervisord.conf.j2 [docker-radv] Fix startup issues (#5230) 2020-08-21 13:12:01 -07:00
Dockerfile.j2 [docker-radv] Fix startup issues (#5230) 2020-08-21 13:12:01 -07:00
radvd.conf.j2 Generate interface table to have an entry designated to default VRF. (#2848) 2019-06-10 14:02:55 -07:00
wait_for_link.sh.j2 [docker-radv] Fix startup issues (#5230) 2020-08-21 13:12:01 -07:00