sonic-buildimage/files/build_templates/per_namespace
SuvarnaMeenakshi b6aaeb979e [multi_asic][vs]: Add dependency in teamd service to start after topology service(#6594)
[multi_asic][vs]: Add dependency in teamd service to start after topology service.
- Why I did it
In multi-asic VS, topology service is run after database service to set up the internal asic topology.
swss and syncd have a dependency to start after topology service is run so that the interfaces are moved to right namespace and created in the right namespace. In case of multi-asic vs, during the initial boot up, when there is no configuration added, teamd service starts and swss/syncd do not start as topology service does not start. Upon loading configuration using config_db or minigraph, swss and sycnd start up , but teamd is not restarted as swss is not stopped and started. This causes teamd to be in a bad state and requires a reload of config.

- How I did it
Add dependency in teamd service to start after topology service is completed.

- How to verify it
No change in single asic vs or platform.
No change in multi-asic regular image.
Change only in multi-asic VS. Bring up a multi-asic VS image without any configration, teamd service will fail to start due to dependency failure. Load minigraph, start topology service, load configuration, ensure all services come up.
Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
2021-02-23 23:56:01 +00:00
..
bgp.service.j2 BGP Service script path and error fix (#5183) 2020-08-15 12:09:10 -07:00
database.service.j2 [ChassisDB]: bring up ChassisDB service (#5283) 2020-10-14 15:15:24 -07:00
lldp.service.j2 Multi-ASIC implementation (#3888) 2020-03-31 10:06:19 -07:00
swss.service.j2 [swss]: Clear MUX-related state DB tables on start (#6759) 2021-02-16 15:33:03 -08:00
syncd.service.j2 [systemd] Increase syncd startup script timeout to support FW upgrade on init. (#6709) 2021-02-16 15:31:10 -08:00
teamd.service.j2 [multi_asic][vs]: Add dependency in teamd service to start after topology service(#6594) 2021-02-23 23:56:01 +00:00