Skip to content

Commit f375ca7

Browse files
committed
[Fix] changed admin status to down to be compatible with swss vs test cases
Signed-off-by: Sangita Maity <sangitamaity0211@gmail.com>
1 parent 45c24fe commit f375ca7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

platform/vs/docker-sonic-vs/start.sh

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ else
4141
sonic-cfggen -k $HWSKU -p /usr/share/sonic/device/$PLATFORM/platform.json -t /usr/share/sonic/hwsku/buffers.json.j2 > /tmp/buffers.json
4242
sonic-cfggen -j /etc/sonic/init_cfg.json -t /usr/share/sonic/hwsku/qos.json.j2 > /tmp/qos.json
4343
sonic-cfggen -p /usr/share/sonic/device/$PLATFORM/platform.json -k $HWSKU --print-data > /tmp/ports.json
44+
# change admin_status from up to down; Test cases dependent
45+
sed -i "s/up/down/g" /tmp/ports.json
4446
sonic-cfggen -j /etc/sonic/init_cfg.json -j /tmp/buffers.json -j /tmp/qos.json -j /tmp/ports.json --print-data > /etc/sonic/config_db.json
4547
fi
4648

0 commit comments

Comments
 (0)