Skip to content

Commit

Permalink
Fix show platform pcieinfo fail message
Browse files Browse the repository at this point in the history
  • Loading branch information
Jostar Yang committed Jul 14, 2022
1 parent 56077a2 commit f19d8a7
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions device/accton/x86_64-accton_as5835_54x-r0/sonic_platform/pcie.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#############################################################################
# Edgecore
#
# Module contains an implementation of SONiC Platform Base API and
# provides the fan status which are available in the platform
# Base PCIe class
#############################################################################

import logging


try:
from sonic_platform.component import Component
from sonic_platform_base.sonic_pcie.pcie_common import PcieUtil
except ImportError as e:
raise ImportError(str(e) + "- required module not found")


class Pcie(PcieUtil):
"""Edgecore Platform-specific PCIe class"""

def __init__(self, platform_path):
PcieUtil.__init__(self, platform_path)

0 comments on commit f19d8a7

Please sign in to comment.