[vs]: Add option to specify platform name for DVS orchagent (#2571)

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
This commit is contained in:
Volodymyr Samotiy 2019-03-07 02:27:41 +02:00 committed by lguohan
parent cdabbb4b52
commit 419c69b289

View File

@ -1,6 +1,10 @@
#!/usr/bin/env bash
export platform=vs
if [[ -z "$fake_platform" ]]; then
export platform=vs
else
export platform=$fake_platform
fi
MAC_ADDRESS=`ip link show eth0 | grep ether | awk '{print $2}'`