Skip to content

Commit

Permalink
fix error introduced by rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Kebo Liu <kebol@nvidia.com>
  • Loading branch information
keboliu committed Apr 18, 2022
1 parent 05567a9 commit fcfa115
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,14 +266,6 @@ def get_linecard_max_port_count(cls):
return sfp_data.get('max_port_per_line_card', 0)

@classmethod
def get_bios_component(cls):
if cls.get_platform_name() in ['x86_64-nvidia_sn2201-r0']:
from .component import ComponentBIOSSN2201
# For SN2201, special chass is required for handle BIOS
# Currently, only fetching BIOS version is supported
return ComponentBIOSSN2201()
return None

def is_cpu_thermal_control_supported(cls):
return cls.get_cpu_thermal_threshold() != (None, None)

Expand All @@ -290,3 +282,11 @@ def get_cpu_thermal_threshold(cls):

return thermal_data.get('cpu_threshold', (None, None))

@classmethod
def get_bios_component(cls):
if cls.get_platform_name() in ['x86_64-nvidia_sn2201-r0']:
from .component import ComponentBIOSSN2201
# For SN2201, special chass is required for handle BIOS
# Currently, only fetching BIOS version is supported
return ComponentBIOSSN2201()
return None

0 comments on commit fcfa115

Please sign in to comment.