forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from Azure/master
update master branch
- Loading branch information
Showing
36 changed files
with
177 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
device/mellanox/x86_64-mlnx_msn2700_simx-r0/platform_reboot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
declare -r EXIT_SUCCESS="0" | ||
declare -r EXIT_ERROR="1" | ||
|
||
FORCE_REBOOT="no" | ||
|
||
function ParseArguments() { | ||
while [ $# -ge 1 ]; do | ||
case "$1" in | ||
-f|--force) | ||
FORCE_REBOOT="yes" | ||
;; | ||
esac | ||
shift | ||
done | ||
} | ||
|
||
ParseArguments "$@" | ||
|
||
exec /sbin/reboot $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
../x86_64-mlnx_msn3700-r0/platform_reboot | ||
../x86_64-mlnx_msn2700_simx-r0/platform_reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
! | ||
{% block banner %} | ||
! =========== Managed by sonic-cfggen DO NOT edit manually! ==================== | ||
! generated by templates/frr/staticd.conf.j2 using config DB data | ||
! file: staticd.conf | ||
! | ||
{% endblock banner %} | ||
! | ||
{% block sys_init %} | ||
hostname {{ DEVICE_METADATA['localhost']['hostname'] }} | ||
password zebra | ||
enable password zebra | ||
{% endblock sys_init %} | ||
! | ||
{% block default_route %} | ||
! set static default route to mgmt gateway as a backup to learned default | ||
{% for (name, prefix) in MGMT_INTERFACE|pfx_filter %} | ||
{% if prefix | ipv4 %} | ||
ip route 0.0.0.0/0 {{ MGMT_INTERFACE[(name, prefix)]['gwaddr'] }} 200 | ||
{% endif %} | ||
{% endfor %} | ||
{% endblock default_route %} | ||
! | ||
{% block logging %} | ||
log syslog informational | ||
log facility local4 | ||
{% endblock logging %} | ||
! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BFN_PLATFORM = bfnplatform_8_9_1.x.ab1e16f.deb | ||
$(BFN_PLATFORM)_URL = "https://github.com/barefootnetworks/sonic-release-pkgs/raw/rel_8_9_1/bfnplatform_8_9_1.x.ab1e16f.deb" | ||
BFN_PLATFORM = bfnplatform_9.0.0.cc6ccbe_pr_deb9.deb | ||
$(BFN_PLATFORM)_URL = "https://github.com/barefootnetworks/sonic-release-pkgs/raw/rel_9_0/bfnplatform_9.0.0.cc6ccbe_pr_deb9.deb" | ||
|
||
SONIC_ONLINE_DEBS += $(BFN_PLATFORM) # $(BFN_SAI_DEV) | ||
SONIC_ONLINE_DEBS += $(BFN_PLATFORM) | ||
$(BFN_SAI_DEV)_DEPENDS += $(BFN_PLATFORM) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BFN_SAI = bfnsdk_8_9_1.x.ab1e16f.deb | ||
$(BFN_SAI)_URL = "https://github.com/barefootnetworks/sonic-release-pkgs/raw/rel_8_9_1/bfnsdk_8_9_1.x.ab1e16f.deb" | ||
BFN_SAI = bfnsdk_9.0.0.cc6ccbe_pr_deb9.deb | ||
$(BFN_SAI)_URL = "https://github.com/barefootnetworks/sonic-release-pkgs/raw/rel_9_0/bfnsdk_9.0.0.cc6ccbe_pr_deb9.deb" | ||
|
||
SONIC_ONLINE_DEBS += $(BFN_SAI) # $(BFN_SAI_DEV) | ||
SONIC_ONLINE_DEBS += $(BFN_SAI) | ||
$(BFN_SAI_DEV)_DEPENDS += $(BFN_SAI) |
Oops, something went wrong.