Skip to content

Commit

Permalink
SAI MAC address placeholder initial value and MAC set simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Keene committed Nov 9, 2020
1 parent 22c5f8a commit 0e2ba12
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
switchMacAddress=00:50:43:ee:ee:ee
switchMacAddress=XX:XX:XX:XX:XX:XX
ledMode=ac3x97bits
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
switchMacAddress=00:50:43:ee:ee:ee
switchMacAddress=XX:XX:XX:XX:XX:XX
inbandMgmtPortNum=48
ledMode=ac3x97bits
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
switchMacAddress=00:50:43:ee:ee:ee
switchMacAddress=XX:XX:XX:XX:XX:XX
ledMode=ac3x97bits
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ load_kernel_drivers() {

nokia_7215_profile()
{
MAC_ADDR=$(sudo /usr/local/bin/get-base-mac.py)
MAC_ADDR=$(sudo decode-syseeprom -m)
sed -i "s/switchMacAddress=.*/switchMacAddress=$MAC_ADDR/g" /usr/share/sonic/device/armhf-nokia_ixs7215_52x-r0/Nokia-7215/profile.ini
echo "Nokia-7215: Updating switch mac address ${MAC_ADDR}"
}
Expand Down

This file was deleted.

0 comments on commit 0e2ba12

Please sign in to comment.