Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #22 from project-arlo/dell_platform_dev
Browse files Browse the repository at this point in the history
Added backend support for handling openconfig platform and system components
  • Loading branch information
jeff-yin authored Jul 26, 2019
2 parents 46570d1 + 7427a86 commit e9d022d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
url = https://github.com/p4lang/ptf.git
[submodule "src/sonic-utilities"]
path = src/sonic-utilities
url = https://github.com/Azure/sonic-utilities
url = https://github.com/project-arlo/sonic-utilities.git
[submodule "platform/broadcom/sonic-platform-modules-arista"]
path = platform/broadcom/sonic-platform-modules-arista
url = https://github.com/aristanetworks/sonic
Expand Down
10 changes: 9 additions & 1 deletion files/image_config/platform/rc.local
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ update_mgmt_interface_macaddr() {

firsttime_exit() {
rm -rf $FIRST_BOOT_FILE
exit 0
}

# Given a string of tuples of the form field=value, extract the value for a field
Expand Down Expand Up @@ -322,4 +321,13 @@ if [ -f $FIRST_BOOT_FILE ]; then
firsttime_exit
fi

# Create dir where following scripts put their output files
mkdir -p /var/platform

# Write contents of system EEPROM as JSON file
/usr/bin/decode-syseeprom | /usr/bin/syseeprom-to-json > /var/platform/syseeprom

# Start system information poller
/usr/bin/syspoll &

exit 0
2 changes: 1 addition & 1 deletion rules/docker-sonic-mgmt-framework.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ SONIC_STRETCH_DOCKERS += $(DOCKER_MGMT-FRAMEWORK)
$(DOCKER_MGMT-FRAMEWORK)_CONTAINER_NAME = mgmt-framework
$(DOCKER_MGMT-FRAMEWORK)_RUN_OPT += --net=host --privileged -t
$(DOCKER_MGMT-FRAMEWORK)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro

$(DOCKER_MGMT-FRAMEWORK)_RUN_OPT += --mount type=bind,source="/var/platform/",target="/mnt/platform/"
1 change: 1 addition & 0 deletions rules/docker-telemetry.mk
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ endif
$(DOCKER_TELEMETRY)_CONTAINER_NAME = telemetry
$(DOCKER_TELEMETRY)_RUN_OPT += --net=host --privileged -t
$(DOCKER_TELEMETRY)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
$(DOCKER_TELEMETRY)_RUN_OPT += --mount type=bind,source="/var/platform/",target="/mnt/platform/"

2 changes: 1 addition & 1 deletion src/sonic-utilities

0 comments on commit e9d022d

Please sign in to comment.