Skip to content

Commit

Permalink
[device/Arista] Add initial support for platform API (#2964)
Browse files Browse the repository at this point in the history
* Congregate plugin scripts for Arista platforms

* Update arista driver submodules

Pulls new platform API related changes
  • Loading branch information
Staphylo authored and lguohan committed Jun 7, 2019
1 parent 4073e8f commit df063bd
Show file tree
Hide file tree
Showing 37 changed files with 26 additions and 246 deletions.
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

0 comments on commit df063bd

Please sign in to comment.