Skip to content

Commit

Permalink
[swss/syncd]: Remove dependency on interfaces-config.service (sonic-n…
Browse files Browse the repository at this point in the history
…et#17649)

Signed-off-by: Nazarii Hnydyn nazariig@nvidia.com

This improvement does not bring any warm-reboot degradation, since the database availability (tcp/ip access over the loopback interface) was fixed by these PRs:

Re-add 127.0.0.1/8 when bringing down the interfaces sonic-net#15080
Fix potentially not having any loopback address on lo interface sonic-net#16490
Why I did it
Removed dependency on interfaces-config.service to speed up the boot, because interfaces-config.service takes a lot of time on init
Work item tracking
N/A
How I did it
Changed service files for swss/syncd
How to verify it
Boot and check swss/syncd start time comparing to interfaces-config
  • Loading branch information
nazariig committed Jan 10, 2024
1 parent f4c15b8 commit 13aa19a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion files/build_templates/per_namespace/swss.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Requires=opennsl-modules.service
{% endif %}
Requires=updategraph.service
After=updategraph.service
After=interfaces-config.service
BindsTo=sonic.target
After=sonic.target
Before=ntp-config.service
Expand Down
1 change: 0 additions & 1 deletion files/build_templates/per_namespace/syncd.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ After=nps-modules.service
{% endif %}
Requires=updategraph.service
After=updategraph.service
After=interfaces-config.service
BindsTo=sonic.target
After=sonic.target
Before=ntp-config.service
Expand Down

0 comments on commit 13aa19a

Please sign in to comment.