This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/files/scripts
Ze Gan 0a54c46a0d [docker-macsec]: Add dependencies of MACsec ()
Why I did it
If the SWSS services was restarted, the MACsec service should also be restarted. Otherwise the data in wpa_supplicant and orchagent will not be consistent.

How I did it
Add dependency in docker-macsec.mk.

How to verify it
Manually check by 'sudo service swss restart'.

The MACsec container should be started after swss, the syslog will look like


Sep  8 14:36:29.562953 sonic INFO swss.sh[9661]: Starting existing swss container with HWSKU Force10-S6000
Sep  8 14:36:30.024399 sonic DEBUG container: container_start: BEGIN
...
Sep  8 14:36:33.391706 sonic INFO systemd[1]: Starting macsec container...
Sep  8 14:36:33.392925 sonic INFO systemd[1]: Starting Management Framework container...


Signed-off-by: Ze Gan <ganze718@gmail.com>
2022-09-08 15:50:06 +00:00
..
arp_update [arp_update]: Set failed IPv6 neighbors to incomplete () 2022-09-08 15:48:05 +00:00
asic_status.py [systemd] ASIC status based service bringup on VOQ chassis () 2021-07-27 23:02:49 -07:00
asic_status.sh [systemd] ASIC status based service bringup on VOQ chassis () 2021-07-27 23:02:49 -07:00
bgp.sh BGP Service script path and error fix () 2020-08-15 12:09:10 -07:00
configdb-load.sh [MultiDB] use sonic-db-cli PING and fix wrong multiDB API in NAT () 2020-05-06 15:41:28 -07:00
core_cleanup.py [Python] Align files in root dir, dockers/ and files/ with PEP8 standards () 2020-12-03 15:57:50 -08:00
gbsyncd-platform.sh [gearbox] provide common gbsyncd.service.j2 to start for platform specific gbsyncd docker () 2021-11-23 10:44:29 -08:00
gbsyncd.sh Address Review Comment to define SONIC_GLOBAL_DB_CLI in gbsyncd.sh () 2022-09-01 00:12:56 +00:00
lldp.sh [systemd] ASIC status based service bringup on VOQ chassis () 2021-07-27 23:02:49 -07:00
mark_dhcp_packet.py [mux]: Fix mark_dhcp_packet () 2021-11-29 12:04:06 -08:00
radv.sh Make RADV service script executable () 2020-08-15 12:08:09 -07:00
sonic-netns-exec [sonic-netns-exec]: use "$@" to reflects all positional parameters as they were set initially () 2020-04-07 00:05:47 -07:00
supervisor-proc-exit-listener [Supervisord] Deduplicate the alerting messages of critical processes from Supervisord. () 2021-02-25 14:35:29 -08:00
swss.sh [docker-macsec]: Add dependencies of MACsec () 2022-09-08 15:50:06 +00:00
syncd_common.sh [swss.sh/syncd.sh] Trap only on EXIT () 2022-08-11 16:18:00 +00:00
syncd.sh [syncd.sh] 'sxdkernel start' => 'sxdkernel restart' () 2022-08-27 16:16:17 +00:00
teamd.sh [teamd.sh] kill teamd docker on warm shutdown for faster shutdown () 2022-03-15 09:20:36 +02:00
update_chassisdb_config In modular chassis, add CHASSIS_STATE_DB on control card () 2020-12-15 17:15:00 -08:00
write_standby.py [mux] skip mux operations during warm shutdown () 2022-09-08 15:48:56 +00:00