[Arista] Update driver submodules (#9393)

- Use SfpOptoeBase by default to leverage new `sonic_xcvr` refactor
 - Add support for `Woodleaf` product
 - Move `libsfp-eeprom.so` to a different `.deb` package
 - Add new logrotate configuration for arista logs
 - Improve logging mechanism for the drivers (IO loglevel, fix syslog duplicates)
 - Initialize chassis cards in parallel
 - Refactor of `get_change_event` to fix interrupts treated as presence change
This commit is contained in:
Samuel Angebault 2021-12-08 20:33:36 +01:00 committed by GitHub
parent 6d07efa890
commit d499455752
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 1742 additions and 10 deletions

View File

@ -0,0 +1,202 @@
{
"interfaces": {
"Ethernet0": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet4": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet8": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet12": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet16": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet20": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet24": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet28": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet32": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet36": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet40": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet44": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet48": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet52": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet56": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet60": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet64": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet68": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet72": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet76": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet80": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet84": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet88": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet92": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet96": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet100": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet104": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet108": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet112": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet116": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet120": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet124": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet128": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet132": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet136": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet140": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet144": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet148": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet152": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet156": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet160": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet164": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet168": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet172": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet176": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet180": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet184": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet188": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet192": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet196": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet200": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet204": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet208": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet212": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet216": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet220": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet224": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet228": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet232": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet236": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet240": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet244": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet248": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet252": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet256": {
"default_brkout_mode": "1x10G"
},
"Ethernet257": {
"default_brkout_mode": "1x10G"
}
}
}

View File

@ -0,0 +1 @@
Arista-7170B-64C t1

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
barefoot

View File

@ -0,0 +1 @@
../x86_64-arista_common/platform_reboot

View File

@ -0,0 +1 @@
../x86_64-arista_common/plugins

View File

@ -0,0 +1 @@
../x86_64-arista_common/pmon_daemon_control.json

View File

@ -0,0 +1 @@
../x86_64-arista_common/system_health_monitoring_config.json

View File

@ -0,0 +1 @@
../x86_64-arista_common/thermal_policy.json

View File

@ -507,6 +507,10 @@ write_platform_specific_cmdline() {
flash_size=28000
cmdline_add hugepages=128
fi
if [ "$sid" = "Woodleaf" ]; then
aboot_machine=arista_7170b_64c
cmdline_add hugepages=128
fi
if [ "$sid" = "Lodoga" ]; then
aboot_machine=arista_7050cx3_32s
fi

View File

@ -4,11 +4,13 @@ SONIC_ONE_ABOOT_IMAGE = sonic-aboot-barefoot.swi
$(SONIC_ONE_ABOOT_IMAGE)_MACHINE = barefoot
$(SONIC_ONE_ABOOT_IMAGE)_IMAGE_TYPE = aboot
$(SONIC_ONE_ABOOT_IMAGE)_INSTALLS += $(BFN_MODULE)
$(SONIC_ONE_ABOOT_IMAGE)_INSTALLS += $(FLASHROM)
$(SONIC_ONE_ABOOT_IMAGE)_INSTALLS += $(SYSTEMD_SONIC_GENERATOR)
$(SONIC_ONE_ABOOT_IMAGE)_LAZY_INSTALLS += $(BFN_PLATFORM_MODULE)
$(SONIC_ONE_ABOOT_IMAGE)_LAZY_INSTALLS += $(BFN_MONTARA_PLATFORM_MODULE)
$(SONIC_ONE_ABOOT_IMAGE)_INSTALLS += $(ARISTA_PLATFORM_MODULE_DRIVERS) \
$(ARISTA_PLATFORM_MODULE_PYTHON3) \
$(SONIC_ONE_ABOOT_IMAGE)_INSTALLS += $(ARISTA_PLATFORM_MODULE_PYTHON3) \
$(ARISTA_PLATFORM_MODULE_DRIVERS) \
$(ARISTA_PLATFORM_MODULE_LIBS) \
$(ARISTA_PLATFORM_MODULE)
ifeq ($(INSTALL_DEBUG_TOOLS),y)
$(SONIC_ONE_ABOOT_IMAGE)_DOCKERS += $(SONIC_INSTALL_DOCKER_DBG_IMAGES)

View File

@ -15,6 +15,10 @@ $(eval $(call add_extra_package,$(ARISTA_PLATFORM_MODULE),$(ARISTA_PLATFORM_MODU
ARISTA_PLATFORM_MODULE_DRIVERS = drivers-sonic-platform-arista_$(ARISTA_PLATFORM_MODULE_VERSION)_amd64.deb
$(eval $(call add_extra_package,$(ARISTA_PLATFORM_MODULE),$(ARISTA_PLATFORM_MODULE_DRIVERS)))
export ARISTA_PLATFORM_MODULE ARISTA_PLATFORM_MODULE_PYTHON3 ARISTA_PLATFORM_MODULE_DRIVERS
ARISTA_PLATFORM_MODULE_LIBS = sonic-platform-arista-libs_$(ARISTA_PLATFORM_MODULE_VERSION)_amd64.deb
$(eval $(call add_extra_package,$(ARISTA_PLATFORM_MODULE),$(ARISTA_PLATFORM_MODULE_LIBS)))
export ARISTA_SCD_DRIVER_CONFIG=m
export ARISTA_PLATFORM_MODULE \
ARISTA_PLATFORM_MODULE_PYTHON3 \
ARISTA_PLATFORM_MODULE_DRIVERS \
ARISTA_PLATFORM_MODULE_LIBS

@ -1 +1 @@
Subproject commit 2b600e0133846f65108659be551f1dcc2251f8aa
Subproject commit 65399c088de6f79161752659e2a0dd1cec1fecd0

View File

@ -4,11 +4,14 @@ SONIC_ONE_ABOOT_IMAGE = sonic-aboot-broadcom.swi
$(SONIC_ONE_ABOOT_IMAGE)_MACHINE = broadcom
$(SONIC_ONE_ABOOT_IMAGE)_DEPENDENT_MACHINE = broadcom-dnx
$(SONIC_ONE_ABOOT_IMAGE)_IMAGE_TYPE = aboot
$(SONIC_ONE_ABOOT_IMAGE)_INSTALLS += $(ARISTA_PLATFORM_MODULE_DRIVERS) $(ARISTA_PLATFORM_MODULE_PYTHON3) $(ARISTA_PLATFORM_MODULE)
$(SONIC_ONE_ABOOT_IMAGE)_INSTALLS += $(PHY_CREDO)
$(SONIC_ONE_ABOOT_IMAGE)_INSTALLS += $(FLASHROM)
$(SONIC_ONE_ABOOT_IMAGE)_INSTALLS += $(SYSTEMD_SONIC_GENERATOR)
$(SONIC_ONE_ABOOT_IMAGE)_LAZY_BUILD_INSTALLS = $(BRCM_OPENNSL_KERNEL) $(BRCM_DNX_OPENNSL_KERNEL)
$(SONIC_ONE_ABOOT_IMAGE)_INSTALLS += $(ARISTA_PLATFORM_MODULE_PYTHON3) \
$(ARISTA_PLATFORM_MODULE_DRIVERS) \
$(ARISTA_PLATFORM_MODULE_LIBS) \
$(ARISTA_PLATFORM_MODULE)
ifeq ($(INSTALL_DEBUG_TOOLS),y)
$(SONIC_ONE_ABOOT_IMAGE)_DOCKERS += $(SONIC_INSTALL_DOCKER_DBG_IMAGES)
$(SONIC_ONE_ABOOT_IMAGE)_DOCKERS += $(filter-out $(patsubst %-$(DBG_IMAGE_MARK).gz,%.gz, $(SONIC_INSTALL_DOCKER_DBG_IMAGES)), $(SONIC_INSTALL_DOCKER_IMAGES))

View File

@ -15,7 +15,10 @@ $(eval $(call add_extra_package,$(ARISTA_PLATFORM_MODULE),$(ARISTA_PLATFORM_MODU
ARISTA_PLATFORM_MODULE_DRIVERS = drivers-sonic-platform-arista_$(ARISTA_PLATFORM_MODULE_VERSION)_amd64.deb
$(eval $(call add_extra_package,$(ARISTA_PLATFORM_MODULE),$(ARISTA_PLATFORM_MODULE_DRIVERS)))
export ARISTA_PLATFORM_MODULE ARISTA_PLATFORM_MODULE_PYTHON3 ARISTA_PLATFORM_MODULE_DRIVERS
export ARISTA_SCD_DRIVER_CONFIG=m
ARISTA_PLATFORM_MODULE_LIBS = sonic-platform-arista-libs_$(ARISTA_PLATFORM_MODULE_VERSION)_amd64.deb
$(eval $(call add_extra_package,$(ARISTA_PLATFORM_MODULE),$(ARISTA_PLATFORM_MODULE_LIBS)))
export ARISTA_PLATFORM_MODULE \
ARISTA_PLATFORM_MODULE_PYTHON3 \
ARISTA_PLATFORM_MODULE_DRIVERS \
ARISTA_PLATFORM_MODULE_LIBS

@ -1 +1 @@
Subproject commit 2b600e0133846f65108659be551f1dcc2251f8aa
Subproject commit 65399c088de6f79161752659e2a0dd1cec1fecd0