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

[device/Arista] Add initial support for platform API #2964

Merged
merged 2 commits into from
Jun 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions device/arista/x86_64-arista_7050_qx32/plugins
13 changes: 0 additions & 13 deletions device/arista/x86_64-arista_7050_qx32/plugins/eeprom.py

This file was deleted.

6 changes: 0 additions & 6 deletions device/arista/x86_64-arista_7050_qx32/plugins/led_control.py

This file was deleted.

12 changes: 0 additions & 12 deletions device/arista/x86_64-arista_7050_qx32/plugins/psuutil.py

This file was deleted.

12 changes: 0 additions & 12 deletions device/arista/x86_64-arista_7050_qx32/plugins/sfputil.py

This file was deleted.

1 change: 1 addition & 0 deletions device/arista/x86_64-arista_7050_qx32s/plugins
13 changes: 0 additions & 13 deletions device/arista/x86_64-arista_7050_qx32s/plugins/eeprom.py

This file was deleted.

6 changes: 0 additions & 6 deletions device/arista/x86_64-arista_7050_qx32s/plugins/led_control.py

This file was deleted.

12 changes: 0 additions & 12 deletions device/arista/x86_64-arista_7050_qx32s/plugins/psuutil.py

This file was deleted.

12 changes: 0 additions & 12 deletions device/arista/x86_64-arista_7050_qx32s/plugins/sfputil.py

This file was deleted.

1 change: 1 addition & 0 deletions device/arista/x86_64-arista_7060_cx32s/plugins
13 changes: 0 additions & 13 deletions device/arista/x86_64-arista_7060_cx32s/plugins/eeprom.py

This file was deleted.

6 changes: 0 additions & 6 deletions device/arista/x86_64-arista_7060_cx32s/plugins/led_control.py

This file was deleted.

12 changes: 0 additions & 12 deletions device/arista/x86_64-arista_7060_cx32s/plugins/psuutil.py

This file was deleted.

12 changes: 0 additions & 12 deletions device/arista/x86_64-arista_7060_cx32s/plugins/sfputil.py

This file was deleted.

1 change: 1 addition & 0 deletions device/arista/x86_64-arista_7060px4_32/plugins
1 change: 1 addition & 0 deletions device/arista/x86_64-arista_7170_64c/plugins
8 changes: 0 additions & 8 deletions device/arista/x86_64-arista_7170_64c/plugins/eeprom.py

This file was deleted.

8 changes: 0 additions & 8 deletions device/arista/x86_64-arista_7170_64c/plugins/led_control.py

This file was deleted.

12 changes: 0 additions & 12 deletions device/arista/x86_64-arista_7170_64c/plugins/psuutil.py

This file was deleted.

8 changes: 0 additions & 8 deletions device/arista/x86_64-arista_7170_64c/plugins/sfputil.py

This file was deleted.

1 change: 1 addition & 0 deletions device/arista/x86_64-arista_7260cx3_64/plugins
13 changes: 0 additions & 13 deletions device/arista/x86_64-arista_7260cx3_64/plugins/eeprom.py

This file was deleted.

6 changes: 0 additions & 6 deletions device/arista/x86_64-arista_7260cx3_64/plugins/led_control.py

This file was deleted.

12 changes: 0 additions & 12 deletions device/arista/x86_64-arista_7260cx3_64/plugins/psuutil.py

This file was deleted.

12 changes: 0 additions & 12 deletions device/arista/x86_64-arista_7260cx3_64/plugins/sfputil.py

This file was deleted.

1 change: 1 addition & 0 deletions device/arista/x86_64-arista_7280cr3_32p4/plugins
8 changes: 0 additions & 8 deletions device/arista/x86_64-arista_7280cr3_32p4/plugins/eeprom.py

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions device/arista/x86_64-arista_7280cr3_32p4/plugins/psuutil.py

This file was deleted.

8 changes: 0 additions & 8 deletions device/arista/x86_64-arista_7280cr3_32p4/plugins/sfputil.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/usr/bin/env python

#
# Arista eeprom processing for SONiC
# Uses the arista driver library to obtain the TlvInfoDecoder
#

try:
import arista.utils.sonic_eeprom as arista_eeprom
except ImportError as e:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#!/usr/bin/env python

#
# Arista LED controls for SONiC
#

try:
import arista.utils.sonic_leds as arista_leds
except ImportError as e:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# psuutil.py
#!/usr/bin/env python

#
# Platform-specific PSU interface for SONiC
# Arista PSU interface for SONiC
#

try:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# sfputil.py
#!/usr/bin/env python

#
# Platform-specific SFP transceiver interface for SONiC
# Arista SFP transceiver interface for SONiC
#

try:
Expand Down