Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vvolam committed Nov 6, 2024
1 parent 03e9db0 commit 3b208c5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sonic_platform_base/module_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def get_state_info(self):

def get_bus_info(self):
"""
Retrieves the bus information. Returns None for non-smartswitch chassis.
Retrieves the bus information.
Returns:
Returns the PCI bus information in BDF format like "[DDDD:]BB:SS:F"
Expand All @@ -273,11 +273,10 @@ def get_bus_info(self):

def pci_detach(self):
"""
Detaches the DPU PCI device specified by "module_name" on a SmartSwitch.
Returns False for non-smartswitch chassis.
Detaches the PCI device.
Returns: True once the PCI is successfully detached.
Returns False if PCI detachment fails or specified 'module_name' is not found.
Returns False, if PCI detachment fails or specified device is not found.
"""
raise NotImplementedError

Expand Down

0 comments on commit 3b208c5

Please sign in to comment.