Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Madskucreate #3

Closed
wants to merge 69 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
20260ce
[build]: add SONIC_CONFIG_BUILD_LOG_TIMESTAMP to add timestamp in bui…
lguohan Mar 21, 2020
9416267
[sonic-cfggen] MGMT Interface configuration (#4280)
antony-rheneus Mar 21, 2020
c905999
[AS9716-32D]:Support 0x57 and 0x56 eeprom (#4103)
jostar-yang Mar 21, 2020
3e68990
[docker/brcm-syncd-rpc]: remove duplicated "--net" options in broadco…
CharlieChenEC Mar 22, 2020
f90bf8f
[monit]: monit_telemetry which will have error when telemetry is in s…
RayWang910012 Mar 22, 2020
cfe754f
[ntp]: Add "tinker panic 0" in ntp.conf to avoid ntpd from panic (#4263)
SuvarnaMeenakshi Mar 22, 2020
1038182
[DellEMC]: Support to add new HWSKU DellEMC-Z9332f-C32 (#4054)
srideepDell Mar 22, 2020
3c6f23e
[tacacs]: fix /etc/nsswitch.conf for buster image (#4303)
lguohan Mar 22, 2020
0dc047c
[build]: add dependency of sonic-config-engine on 'sonic-platform-com…
samaity Mar 22, 2020
944ff08
[submodule]: update sonic-utilities (#4308)
lguohan Mar 23, 2020
440f86e
[Mellanox] Update MFT version to 4.14.0 (#4262)
noaOrMlnx Mar 23, 2020
4d22cd4
[mellanox]: Align platform API: change CPLD version representation (#…
nazariig Mar 23, 2020
760e763
[build]: allow to specify timestamp format in the build log (#4311)
lguohan Mar 23, 2020
0b52be3
DellEMC: Z9264-Platform2.0 Implementation [Reboot Cause] (#4246)
ArunSaravananBalachandran Mar 23, 2020
8a6aeac
[DellEMC] Fix Z9100 port index issue (#4309)
aravindmani-1 Mar 24, 2020
a0d213c
[telemetry]: move default certs location from device metadata to tele…
lguohan Mar 24, 2020
6c8ed04
Fix docker-sonic-mgmt-framework-dbg wrong dependency issue (#4314)
xumia Mar 24, 2020
f4ed882
[Mellanox] Add a new Mellanox platform x86_64-mlnx_msn4700 and new S…
keboliu Mar 24, 2020
e45d07b
Load port led FW for Silverstone! (#4313)
tiantianlv Mar 24, 2020
12291b2
DellEMC S6100 I2C Enumeration Segregation (#4312)
santhosh-kt Mar 24, 2020
9d3ea75
[submodule]: Update sonic-mgmt-framework to fix a build break fix. (#…
renukamanavalan Mar 25, 2020
d2bab44
[submodule]: Advance sonic-utilities. (#4316)
nazariig Mar 25, 2020
80bf061
[Mellanox] Fix thermal control bugs (#4298)
Junchao-Mellanox Mar 25, 2020
592abec
[as4630-54pe]Put correct fanuilt.py file (#4321)
jostar-yang Mar 25, 2020
73c77f0
[submodule]: Advance sonic-utilities. (#4324)
SuvarnaMeenakshi Mar 26, 2020
ed5650f
Updated sonic-sairedis submodule (#4323)
judyjoseph Mar 27, 2020
4424826
[build]: install cmake 3.13.2 (#4319)
lguohan Mar 27, 2020
46df9ad
[build]: Fix DPKG derived package issue (#4333)
xumia Mar 27, 2020
2739ac0
[pmon][barefoot] Disabled thermalctld pmon daemon (#4327)
akokhan Mar 27, 2020
98fbd59
Revert "Updated sonic-sairedis submodule (#4323)" (#4336)
judyjoseph Mar 28, 2020
5b0ec7a
[Arista] Update drivers submodules (#4317)
Staphylo Mar 28, 2020
d095d0b
[procdockerstatsd] Fix CMD field in dB (#4335)
GarrickHe Mar 28, 2020
0fe58af
copy spc3 fw file to image (#4328)
keboliu Mar 28, 2020
8425631
DellEMC: Platform 2.0 Api - Fan for z9264f (#4191)
rkdevi27 Mar 28, 2020
eede9a9
sFlow : Upgrade hsflowd to v2.0.26-4 (#4301)
padmanarayana Mar 29, 2020
1a0067e
Bug fix: #4011 #4012 - "show run acl", "show run interfaces" - traceb…
noaOrMlnx Mar 30, 2020
2c97321
[sonic-mgmt]: Support virtual environment for ansible 2.0.0.2 (#4325)
xumia Mar 31, 2020
4b8067e
Multi-ASIC implementation (#3888)
SuvarnaMeenakshi Mar 31, 2020
7e7777e
[devices][Mellanox] create sai.xml for MSN3800-D112-C8 (#4334)
mykolaf Mar 31, 2020
dca8a27
[docker-syncd-vs]: add support for vs syncd docker auto restart (#4344)
lguohan Mar 31, 2020
8585005
[FRR]: Update frr to latest 7.2.1-s3 (#4294)
pavel-shirshov Apr 1, 2020
ea38d06
Fixbug: EVPN issue in FRR template (#4260)
Pterosaur Apr 3, 2020
4ed3fe4
[HWSKU] [Marvell] Added HWSKU for Platform 98cx8580 (#4205)
antony-rheneus Apr 3, 2020
c5c1ae2
[Mellanox] update eeprom.py plugin for SimX (#4364)
mykolaf Apr 3, 2020
abbd871
Fix the error that 'sensord' daemon cannot be spawn correctly in pmon…
CharlieChenEC Apr 3, 2020
524cf9e
MCLAG feature for SONIC (#2514)
shine4chen Apr 4, 2020
78b93a8
[docker-sonic-mgmt]: Fix virtual environment bug (#4370)
xumia Apr 5, 2020
b9f6353
[Seastone] Add new HWSKU for 48x50G+8x40G (#4156)
zhenggen-xu Apr 5, 2020
60b1649
[docker-base-stretch]: move common packages into docker-base-stretch …
lguohan Apr 5, 2020
296470d
[docker-iccp]: do not mount kernel module into iccp container (#4372)
lguohan Apr 6, 2020
7bc8f12
[DellEMC] Z9264f Watchdog support (#4192)
santhosh-kt Apr 6, 2020
2a59551
[sonic-netns-exec]: use "$@" to reflects all positional parameters as…
SuvarnaMeenakshi Apr 7, 2020
5299644
[kvmbuild]: print out kvm_log on error (#4384)
lguohan Apr 7, 2020
711445c
[lldp]add the excutable mode for 'lldpcli' (#4385)
wangshengjun Apr 7, 2020
f2ffd39
[build_debian.sh]: install python{3,}-pip on sonic base image. (#4380)
Apr 8, 2020
11da67b
[doc]: Add 201911/201811 status support for Nephos (#4382)
simonJi2018 Apr 8, 2020
de5a04a
[MultiDB] : add persistence field for each redis instance (#4254)
dzhangalibaba Apr 8, 2020
c5c0042
Update README.md: improve the style of build badges and add LGTM badg…
qiluo-msft Apr 8, 2020
2ecf808
[submodule] update sairedis (#4379)
kcudnik Apr 8, 2020
de377eb
Fix typo in config-setup service (#4388)
rajendra-dendukuri Apr 8, 2020
837c13f
[Mellanox] Enable ISSU on MSN2100, MSN2740, MSN3800 (#4387)
noaOrMlnx Apr 8, 2020
444cede
[DellEMC] S5232 platform updates (#4360)
srideepDell Apr 8, 2020
768d18d
Pass image_type to build_debian.sh, so it can do any required customi…
renukamanavalan Apr 8, 2020
36752b8
[BFN] Update Barefoot SDK packages (#4397)
akokhan Apr 9, 2020
9068652
[Juniper QFX5210] Fix Python errors (#4394)
jleveque Apr 9, 2020
b3558ae
[device/accton] Fix Python error for wedge100bf_32x (#4392)
jleveque Apr 9, 2020
21aff7f
[device/accton] Fix Python error for as7116-54x (#4391)
jleveque Apr 9, 2020
7405f8c
[Accton AS4630-54PE] Fix Python indentation error (#4393)
jleveque Apr 9, 2020
d95ec63
modified SKU based dictionaries and functions to Platform based dicti…
Apr 10, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions Makefile.work
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
# * KERNEL_PROCURE_METHOD: Specifying method of obtaining kernel Debian package: download or build
# * SONIC_DPKG_CACHE_METHOD: Specifying method of obtaining the Debian packages from cache: none or cache
# * SONIC_DPKG_CACHE_SOURCE: Debian package cache location when cache enabled for debian packages
# * BUILD_LOG_TIMESTAMP: Set timestamp in the build log (simple/none)
#
###############################################################################

Expand Down Expand Up @@ -192,6 +193,7 @@ SONIC_BUILD_INSTRUCTION := make \
SONIC_ENABLE_SYSTEM_TELEMETRY=$(ENABLE_SYSTEM_TELEMETRY) \
SONIC_ENABLE_RESTAPI=$(ENABLE_RESTAPI) \
EXTRA_JESSIE_TARGETS=$(EXTRA_JESSIE_TARGETS) \
BUILD_LOG_TIMESTAMP=$(BUILD_LOG_TIMESTAMP) \
$(SONIC_OVERRIDE_BUILD_VARS)

.PHONY: sonic-slave-build sonic-slave-bash init reset
Expand Down
74 changes: 42 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,45 @@
*master*:
Innovium: [![Innovium](https://sonic-jenkins.westus2.cloudapp.azure.com/job/innovium/job/buildimage-invm-all/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/innovium/job/buildimage-invm-all)
Barefoot: [![Barefoot](https://sonic-jenkins.westus2.cloudapp.azure.com/job/barefoot/job/buildimage-bf-all/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/barefoot/job/buildimage-bf-all)
Broadcom: [![Broadcom](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-all/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-all)
Mellanox: [![Mellanox](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-all/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-all)
Nephos: [![Nephos](https://sonic-jenkins.westus2.cloudapp.azure.com/job/nephos/job/buildimage-nephos-all/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/nephos/job/buildimage-nephos-all)
P4: [![P4](https://sonic-jenkins.westus2.cloudapp.azure.com/job/p4/job/buildimage-p4-all/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/p4/job/buildimage-p4-all)
VS: [![VS](https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-all/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-all)

*201911*:
Innovium: [![Innovium](https://sonic-jenkins.westus2.cloudapp.azure.com/job/innovium/job/buildimage-invm-201911/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/innovium/job/buildimage-invm-201911/)
Barefoot: [![Barefoot](https://sonic-jenkins.westus2.cloudapp.azure.com/job/barefoot/job/buildimage-bf-201911/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/barefoot/job/buildimage-bf-201911/)
Broadcom: [![Broadcom](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201911/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201911/)
Mellanox: [![Mellanox](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201911/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201911/)
VS: [![VS](https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-201911/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-201911)

*201811*:
Innovium: [![Innovium](https://sonic-jenkins.westus2.cloudapp.azure.com/job/innovium/job/buildimage-invm-201811/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/innovium/job/buildimage-invm-201811/)
Broadcom: [![Broadcom](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201811/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201811/)
Mellanox: [![Mellanox](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201811/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201811/)
VS: [![VS](https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-201811/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-201811)

*201807*:
Broadcom: [![Broadcom](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201807/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201807/)
Barefoot: [![Barefoot](https://sonic-jenkins.westus2.cloudapp.azure.com/job/barefoot/job/buildimage-bf-201807/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/barefoot/job/buildimage-bf-201807/)
Mellanox: [![Mellanox](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201807/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201807/)

*201803*:
Broadcom: [![Broadcom](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201803/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201803/)
Nephos: [![Nephos](https://sonic-jenkins.westus2.cloudapp.azure.com/job/nephos/job/buildimage-nephos-201803/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/nephos/job/buildimage-nephos-201803/)
Marvell: [![Marvell](https://sonic-jenkins.westus2.cloudapp.azure.com/job/marvell/job/buildimage-mrvl-201803/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/marvell/job/buildimage-mrvl-201803/)
Mellanox: [![Mellanox](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201803/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201803/)
*master builds*:

[![Total alerts](https://img.shields.io/lgtm/alerts/g/Azure/sonic-buildimage.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Azure/sonic-buildimage/alerts/)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/Azure/sonic-buildimage.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Azure/sonic-buildimage/context:python)

[![Innovium](https://sonic-jenkins.westus2.cloudapp.azure.com/job/innovium/job/buildimage-invm-all/badge/icon?subject=Innovium)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/innovium/job/buildimage-invm-all)
[![Barefoot](https://sonic-jenkins.westus2.cloudapp.azure.com/job/barefoot/job/buildimage-bf-all/badge/icon?subject=Barefoot)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/barefoot/job/buildimage-bf-all)
[![Broadcom](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-all/badge/icon?subject=Broadcom)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-all)
[![Mellanox](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-all/badge/icon?subject=Mellanox)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-all)
[![Nephos](https://sonic-jenkins.westus2.cloudapp.azure.com/job/nephos/job/buildimage-nephos-all/badge/icon?subject=Nephos)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/nephos/job/buildimage-nephos-all)
[![P4](https://sonic-jenkins.westus2.cloudapp.azure.com/job/p4/job/buildimage-p4-all/badge/icon?subject=P4)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/p4/job/buildimage-p4-all)
[![VS](https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-all/badge/icon?subject=VS)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-all)

*201911 builds*:

[![Innovium](https://sonic-jenkins.westus2.cloudapp.azure.com/job/innovium/job/buildimage-invm-201911/badge/icon?subject=Innovium)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/innovium/job/buildimage-invm-201911/)
[![Barefoot](https://sonic-jenkins.westus2.cloudapp.azure.com/job/barefoot/job/buildimage-bf-201911/badge/icon?subject=Barefoot)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/barefoot/job/buildimage-bf-201911/)
[![Broadcom](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201911/badge/icon?subject=Broadcom)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201911/)
[![Mellanox](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201911/badge/icon?subject=Mellanox)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201911/)
[![Nephos](https://sonic-jenkins.westus2.cloudapp.azure.com/job/nephos/job/buildimage-nephos-201911/badge/icon?subject=Nephos)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/nephos/job/buildimage-nephos-201911)
[![VS](https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-201911/badge/icon?subject=VS)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-201911)

*201811 builds*:

[![Innovium](https://sonic-jenkins.westus2.cloudapp.azure.com/job/innovium/job/buildimage-invm-201811/badge/icon?subject=Innovium)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/innovium/job/buildimage-invm-201811/)
[![Broadcom](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201811/badge/icon?subject=Broadcom)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201811/)
[![Mellanox](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201811/badge/icon?subject=Mellanox)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201811/)
[![Nephos](https://sonic-jenkins.westus2.cloudapp.azure.com/job/nephos/job/buildimage-nephos-201811/badge/icon?subject=Nephos)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/nephos/job/buildimage-nephos-201811)
[![VS](https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-201811/badge/icon?subject=VS)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-201811)

*201807 builds*:

[![Broadcom](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201807/badge/icon?subject=Broadcom)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201807/)
[![Barefoot](https://sonic-jenkins.westus2.cloudapp.azure.com/job/barefoot/job/buildimage-bf-201807/badge/icon?subject=Barefoot)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/barefoot/job/buildimage-bf-201807/)
[![Mellanox](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201807/badge/icon?subject=Mellanox)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201807/)

*201803 builds*:

[![Broadcom](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201803/badge/icon?subject=Broadcom)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201803/)
[![Nephos](https://sonic-jenkins.westus2.cloudapp.azure.com/job/nephos/job/buildimage-nephos-201803/badge/icon?subject=Nephos)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/nephos/job/buildimage-nephos-201803/)
[![Marvell](https://sonic-jenkins.westus2.cloudapp.azure.com/job/marvell/job/buildimage-mrvl-201803/badge/icon?subject=Marvell)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/marvell/job/buildimage-mrvl-201803/)
[![Mellanox](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201803/badge/icon?subject=Mellanox)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201803/)

# sonic-buildimage

Expand Down
4 changes: 3 additions & 1 deletion build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
ipmitool \
ndisc6 \
makedumpfile \
conntrack
conntrack \
python-pip \
python3-pip


if [[ $CONFIGURED_ARCH == amd64 ]]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ def get_presence(self):
presence = int(sfp_presence.read(), 16)
except IOError:
return False
logger.log_info("debug:port_ %s sfp presence is %s" % (str(self.index)), % (str(presence))
logger.log_info("debug:port_ %s sfp presence is %s" % (str(self.index), str(presence)))
return presence

def get_model(self):
Expand Down
15 changes: 14 additions & 1 deletion device/accton/x86_64-accton_as9716_32d-r0/plugins/eeprom.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,21 @@
except ImportError, e:
raise ImportError (str(e) + "- required module not found")

def eeprom_check():
filepath="/sys/bus/i2c/devices/0-0057/eeprom"
if os.path.isfile(filepath):
return 1 #now board, 0x57
else:
return 0 #now board, 0x56

class board(eeprom_tlvinfo.TlvInfoDecoder):
_TLV_INFO_MAX_LEN = 256
def __init__(self, name, path, cpld_root, ro):
self.eeprom_path = "/sys/bus/i2c/devices/0-0056/eeprom"
ret=eeprom_check()
if ret==1:
self.eeprom_path = "/sys/bus/i2c/devices/0-0057/eeprom"
else:
self.eeprom_path = "/sys/bus/i2c/devices/0-0056/eeprom"

super(board, self).__init__(self.eeprom_path, 0, '', True)

1 change: 1 addition & 0 deletions device/arista/x86_64-arista_7060cx2_32s/default_sku
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Arista-7060CX2-32S-C32 t1
1 change: 1 addition & 0 deletions device/arista/x86_64-arista_7060cx2_32s/fancontrol
1 change: 1 addition & 0 deletions device/arista/x86_64-arista_7060cx2_32s/platform_reboot
1 change: 1 addition & 0 deletions device/arista/x86_64-arista_7060cx2_32s/plugins
1 change: 1 addition & 0 deletions device/arista/x86_64-arista_7060cx2_32s/sensors.conf
Loading