Show all controller info
This commit is contained in:
parent
f344f5f636
commit
11eb976b74
|
@ -139,7 +139,7 @@ def get_storcli_json(storcli_path):
|
||||||
|
|
||||||
# Check if storcli is installed
|
# Check if storcli is installed
|
||||||
if os.path.isfile(storcli_path) and os.access(storcli_path, os.X_OK):
|
if os.path.isfile(storcli_path) and os.access(storcli_path, os.X_OK):
|
||||||
storcli_cmd = [storcli_path, '/call', 'show', 'J']
|
storcli_cmd = [storcli_path, '/call', 'show', 'all', 'J']
|
||||||
proc = subprocess.Popen(storcli_cmd, shell=False,
|
proc = subprocess.Popen(storcli_cmd, shell=False,
|
||||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
output_json = proc.communicate()[0]
|
output_json = proc.communicate()[0]
|
||||||
|
|
Loading…
Reference in New Issue