Skip to content

Commit

Permalink
DellEMC: Initial commit for S5224F platform support
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun LK authored and Arun LK committed Sep 9, 2021
1 parent 28ca0d7 commit 0524903
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions device/dell/x86_64-dellemc_s5224f_c3538-r0/plugins/psuutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#


import os.path
import logging
import sys
import subprocess
Expand Down Expand Up @@ -40,9 +39,7 @@ def isDockerEnv(self):
# Fetch a BMC register
def get_pmc_register(self, reg_name):

status = 1
global ipmi_sdr_list
ipmi_dev_node = "/dev/pmi0"
ipmi_cmd = IPMI_PSU_DATA
dockerenv = self.isDockerEnv()
if dockerenv == True:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
# * PSU


import os
import sys
import logging
import subprocess
import commands

S5224F_MAX_FAN_TRAYS = 4
Expand All @@ -38,7 +36,6 @@

def ipmi_sensor_dump():

status = 1
global ipmi_sdr_list
ipmi_cmd = IPMI_SENSOR_DATA
status, ipmi_sdr_list = commands.getstatusoutput(ipmi_cmd)
Expand Down Expand Up @@ -231,7 +228,6 @@ def get_psu_status(index):
:param index: An integer, index of the PSU of which to query status
:return: Boolean, True if PSU is plugged, False if not
"""
status = 0
ret_status = 1
ipmi_cmd_ret = 'f'

Expand Down

0 comments on commit 0524903

Please sign in to comment.