Skip to content

Commit

Permalink
[sonic-vs]: Add fabric port data for vs test, and start fabricmgrd in…
Browse files Browse the repository at this point in the history
… vs environment (#16791)

Add fabric port data for vs test, and start fabricmgrd in vs environment.

This PR depends on sonic-net/sonic-sairedis#1301

sonic-net/sonic-swss#2920 needs this one merge first.
  • Loading branch information
jfeng-arista authored Nov 21, 2023
1 parent 307e39b commit 6dfaf5e
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# name lanes isolateStatus
Fabric0 0 False
Fabric1 1 False
Fabric2 2 False
Fabric3 3 False
Fabric4 4 False
Fabric5 5 False
Fabric6 6 False
Fabric7 7 False
Fabric8 8 False
Fabric9 9 False
Fabric10 10 False
Fabric11 11 False
Fabric12 12 False
Fabric13 13 False
Fabric14 14 False
Fabric15 15 False
Fabric16 16 False
2 changes: 2 additions & 0 deletions platform/vs/docker-sonic-vs/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ supervisorctl start natsyncd

supervisorctl start tunnelmgrd

supervisorctl start fabricmgrd

# Start arp_update when VLAN exists
VLAN=`sonic-cfggen -d -v 'VLAN.keys() | join(" ") if VLAN'`
if [ "$VLAN" != "" ]; then
Expand Down
11 changes: 11 additions & 0 deletions platform/vs/docker-sonic-vs/supervisord.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -314,3 +314,14 @@ stderr_logfile=syslog
{% if ENABLE_ASAN == "y" %}
environment=ASAN_OPTIONS="log_path=/var/log/asan/tunnelmgrd-asan.log{{ asan_extra_options }}"
{% endif %}

[program:fabricmgrd]
command=/usr/bin/fabricmgrd
priority=27
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog
{% if ENABLE_ASAN == "y" %}
environment=ASAN_OPTIONS="log_path=/var/log/asan/fabricmgrd-asan.log{{ asan_extra_options }}"
{% endif %}

0 comments on commit 6dfaf5e

Please sign in to comment.