sonic-buildimage/platform/mellanox
mssonicbld 33a10b479a
[nvidia] make sure shared storage with syncd is cleared on restarts (#14547) (#16046)
Why I did it
Sharing the storage of syncd with other proprietary application extensions allows them to communicate with syncd in differnt ways.
If one container wants to pass some information to syncd then shared storage can be used. However, today the shared storage isn't cleaned on restarts making it possible for syncd to read out-of-date information generated in the past.

NOTE: No plans to use it for standard SONIC dockers and we are working on removing the SDK dependency from PMON docker

How I did it
Implemented new service to clean the shared storage.

How to verify it
Do reboot/fast-reboot/warm-reboot/config-reload/systemctl restart swss and verify /tmp/ is cleaned after each restart in syncd container.

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
Co-authored-by: Stepan Blyshchak <38952541+stepanblyschak@users.noreply.github.com>
2023-08-07 09:27:43 +08:00
..
docker-saiserver-mlnx [infra] Support syslog rate limit configuration (#12490) 2022-12-20 10:53:58 +02:00
docker-syncd-mlnx [Mellanox] Add Copyright Headers for missing files (#15136) 2023-05-25 07:55:44 +03:00
docker-syncd-mlnx-rpc Upgrade mellanox platform containers (syncd / saiserver / syncd-rpc) and pmon to bullseye (#10580) 2022-05-10 12:45:28 +03:00
hw-management [Mellanox] Update hw-mgmt to 7.0020.4301 (#15260) 2023-05-31 10:33:08 +03:00
integration-scripts [Mellanox] Added patchwork link to commit message (#15301) 2023-06-08 18:51:58 +03:00
iproute2 [Mellanox] Remove iproute2 SDK patches from SONiC tree and consume them from SDK github (#15062) 2023-06-13 15:17:52 +03:00
issu-version Upgrade mellanox platform containers (syncd / saiserver / syncd-rpc) and pmon to bullseye (#10580) 2022-05-10 12:45:28 +03:00
mft [Mellanox] Enhance MFT make file to download source code from any valid URL (#13801) 2023-02-16 09:51:04 +02:00
mlnx-platform-api [Mellanox] Remove reset_from_comex from reboot cause mapping (#15793) (#16040) 2023-08-06 17:04:26 +08:00
mlnx-sai [Mellanox] Remove unnecessary file manipulation in the SAI Make file (#15993) (#16043) 2023-08-06 17:18:21 +08:00
non-upstream-patches [Mellanox] Facilitate automatic integration of new hw-mgmt (#14594) 2023-04-13 14:18:09 +03:00
nv-syncd-shared [nvidia] make sure shared storage with syncd is cleared on restarts (#14547) (#16046) 2023-08-07 09:27:43 +08:00
sdk-src [Mellanox] Facilitate automatic integration of sdk kernel patches (#14652) 2023-05-29 22:24:06 -07:00
.gitignore [mellanox] build SDK driver from open source (#3580) 2019-10-08 07:57:12 -07:00
asic_table.j2 [Mellanox] Update NVIDIA License header for files changed since 1.1.2022 (#10289) 2022-03-23 13:19:25 +02:00
docker-saiserver-mlnx.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
docker-saiserver-mlnx.mk Upgrade mellanox platform containers (syncd / saiserver / syncd-rpc) and pmon to bullseye (#10580) 2022-05-10 12:45:28 +03:00
docker-syncd-mlnx-rpc.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
docker-syncd-mlnx-rpc.mk Upgrade mellanox platform containers (syncd / saiserver / syncd-rpc) and pmon to bullseye (#10580) 2022-05-10 12:45:28 +03:00
docker-syncd-mlnx.dep [build][asan] make dpkg cache asan-aware (#10750) 2022-05-31 11:15:44 +03:00
docker-syncd-mlnx.mk [Mellanox] Replace iproute2 supplied by SDK to iproute2 downloaded from Debian repository (#14726) 2023-04-30 12:30:09 +03:00
fw.dep Remove support to Mellanox SPC4 ASIC (#13932) 2023-02-23 08:25:34 +02:00
fw.mk [Mellanox] Update SAI to 2211.24.0.21 and SDK/FW to 4.5.5142/2010_5144 (#15072) 2023-05-24 17:20:33 +03:00
hw-management.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
hw-management.mk [Mellanox] Update hw-mgmt to 7.0020.4301 (#15260) 2023-05-31 10:33:08 +03:00
install-pending-fw.dep [Mellanox] Modified Platform API to support all firmware updates in single boot (#9608) 2022-01-24 00:56:38 -08:00
install-pending-fw.mk [Mellanox] Update NVIDIA License header for files changed since 1.1.2022 (#10289) 2022-03-23 13:19:25 +02:00
install-pending-fw.py [Mellanox] Update NVIDIA License header for files changed since 1.1.2022 (#10289) 2022-03-23 13:19:25 +02:00
integration-scripts.mk [Mellanox] Facilitate automatic integration of sdk kernel patches (#14652) 2023-05-29 22:24:06 -07:00
iproute2.dep [Mellanox] Replace iproute2 supplied by SDK to iproute2 downloaded from Debian repository (#14726) 2023-04-30 12:30:09 +03:00
iproute2.mk [Mellanox] Replace iproute2 supplied by SDK to iproute2 downloaded from Debian repository (#14726) 2023-04-30 12:30:09 +03:00
issu-version.dep Fix cache related mellanox bullseye build failures (#9234) 2021-11-16 14:49:47 -08:00
issu-version.mk Upgrade mellanox platform containers (syncd / saiserver / syncd-rpc) and pmon to bullseye (#10580) 2022-05-10 12:45:28 +03:00
libsaithrift-dev.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
libsaithrift-dev.mk [Mellanox] Add arm64 architecture support to mellanox platform (#11342) 2022-07-13 16:21:33 +03:00
mft.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
mft.mk [Mellanox] Update MFT to 4.22.1-15 (#14133) 2023-03-08 10:21:58 +02:00
mlnx-ffb.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
mlnx-ffb.mk [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
mlnx-ffb.sh [mlnx-ffb.sh] Update issu-version location (#14925) 2023-06-15 15:14:52 -07:00
mlnx-fw-upgrade.j2 [Mellanox] Place FW binaries under platform directory instead of squashfs (#13837) 2023-03-06 13:36:43 +02:00
mlnx-onie-fw-update.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
mlnx-onie-fw-update.mk [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
mlnx-onie-fw-update.sh [Mellanox] Update NVIDIA License header for files changed since 1.1.2022 (#10289) 2022-03-23 13:19:25 +02:00
mlnx-platform-api.dep [Bug][Build]: Fix the mlnx-platform-api dpkg cache config error (#9705) 2022-01-09 09:21:59 +08:00
mlnx-platform-api.mk Add PYTHON3_SWSSCOMMON as build time dependency to Mellanox platform API (#13847) 2023-02-20 15:24:26 +02:00
mlnx-sai.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
mlnx-sai.mk [Mellanox] Update SAI to v2305.24.0.1 (#15208) 2023-05-26 17:53:17 +08:00
mlnx-ssd-fw-update.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
mlnx-ssd-fw-update.mk [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
mlnx-ssd-fw-update.sh [Mellanox] Enhance Platform API to support SN2201 - RJ45 ports and new components mgmt. (#10377) 2022-06-20 19:12:20 -07:00
one-image.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
one-image.mk [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
peripheral_table.j2 [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
platform.conf one image implementation (#215) 2017-01-29 11:33:33 -08:00
rules.dep [Mellanox] Modified Platform API to support all firmware updates in single boot (#9608) 2022-01-24 00:56:38 -08:00
rules.mk [Mellanox] Replace iproute2 supplied by SDK to iproute2 downloaded from Debian repository (#14726) 2023-04-30 12:30:09 +03:00
sdk.dep [Mellanox] Replace iproute2 supplied by SDK to iproute2 downloaded from Debian repository (#14726) 2023-04-30 12:30:09 +03:00
sdk.mk [Mellanox] Facilitate automatic integration of sdk kernel patches (#14652) 2023-05-29 22:24:06 -07:00
zero_profiles.j2 [Mellanox] Add NVIDIA copyright header for NVIDIA added files (#12130) 2022-10-02 11:34:24 +03:00