58d8302b53
* Move buffer configuration to ConfigDB Signed-off-by: Andriy Moroz <c_andriym@mellanox.com> * Converted Dell and Arista configs Signed-off-by: Andriy Moroz <c_andriym@mellanox.com> * Add buffer configs for ACS-MSN2740 Signed-off-by: Andriy Moroz <c_andriym@mellanox.com> * Updated buffers template Signed-off-by: Andriy Moroz <c_andriym@mellanox.com> * Fixed j2 unit test Signed-off-by: Andriy Moroz <c_andriym@mellanox.com> * Update buffers config for Force10-S6100 Signed-off-by: Andriy Moroz <c_andriym@mellanox.com> * Update VS docker to support speed and buffers test Signed-off-by: Andriy Moroz <c_andriym@mellanox.com> * Update buffers config generation - fixed support of sonic-to-sonic install Signed-off-by: Andriy Moroz <c_andriym@mellanox.com> * Update submodules pointers for buffers config Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
36 lines
845 B
Bash
Executable File
36 lines
845 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
mkdir -p /etc/swss/config.d/
|
|
|
|
sonic-cfggen -d -t /usr/share/sonic/templates/switch.json.j2 > /etc/swss/config.d/switch.json
|
|
sonic-cfggen -d -t /usr/share/sonic/templates/ipinip.json.j2 > /etc/swss/config.d/ipinip.json
|
|
sonic-cfggen -d -t /usr/share/sonic/templates/ports.json.j2 > /etc/swss/config.d/ports.json
|
|
|
|
export platform=`sonic-cfggen -v platform`
|
|
|
|
rm -f /var/run/rsyslogd.pid
|
|
|
|
supervisorctl start rsyslogd
|
|
|
|
supervisorctl start orchagent
|
|
|
|
supervisorctl start portsyncd
|
|
|
|
supervisorctl start intfsyncd
|
|
|
|
supervisorctl start neighsyncd
|
|
|
|
supervisorctl start swssconfig
|
|
|
|
supervisorctl start vlanmgrd
|
|
|
|
supervisorctl start intfmgrd
|
|
|
|
supervisorctl start buffermgrd
|
|
|
|
# Start arp_update when VLAN exists
|
|
VLAN=`sonic-cfggen -d -v 'VLAN.keys() | join(" ") if VLAN'`
|
|
if [ "$VLAN" != "" ]; then
|
|
supervisorctl start arp_update
|
|
fi
|