diff --git a/device/virtual/x86_64-kvm_x86_64-r0/SONiC-VM/fabric_port_config.ini b/device/virtual/x86_64-kvm_x86_64-r0/SONiC-VM/fabric_port_config.ini new file mode 100644 index 0000000000..899c586ffe --- /dev/null +++ b/device/virtual/x86_64-kvm_x86_64-r0/SONiC-VM/fabric_port_config.ini @@ -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 diff --git a/platform/vs/docker-sonic-vs/start.sh b/platform/vs/docker-sonic-vs/start.sh index 5e3497850e..f28f05f370 100755 --- a/platform/vs/docker-sonic-vs/start.sh +++ b/platform/vs/docker-sonic-vs/start.sh @@ -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 diff --git a/platform/vs/docker-sonic-vs/supervisord.conf.j2 b/platform/vs/docker-sonic-vs/supervisord.conf.j2 index a55e57ba6b..5b988a5a5d 100644 --- a/platform/vs/docker-sonic-vs/supervisord.conf.j2 +++ b/platform/vs/docker-sonic-vs/supervisord.conf.j2 @@ -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 %}