IPMI/DCMI: Modified script based on user input
Changes:
- Modified script based on user input
Tested:
- Ran ipmi/ and ipmi/dcmi
Change-Id: Ic9d6e29ae199cffb6009e6718ae499293c319c96
Signed-off-by: Ishwarya Mathi M <ishwaryamm@ami.com>
diff --git a/lib/ipmi_utils.py b/lib/ipmi_utils.py
index 34fd701..a9bebd7 100644
--- a/lib/ipmi_utils.py
+++ b/lib/ipmi_utils.py
@@ -50,7 +50,9 @@
sol_info[Retry Count]: 7
"""
- status, ret_values = grk.run_key_u("Run IPMI Standard Command sol info")
+ status, ret_values = grk.run_key_u(
+ "Run External IPMI Standard Command sol info"
+ )
# Create temp file path.
temp = tempfile.NamedTemporaryFile()
@@ -78,7 +80,7 @@
"""
status, ret_values = grk.run_key_u(
- "Run IPMI Standard Command sol set "
+ "Run External IPMI Standard Command sol set "
+ setting_name
+ " "
+ setting_value
@@ -666,7 +668,7 @@
"""
status, ret_values = grk.run_key_u(
- "Run IPMI Standard Command chassis status"
+ "Run External IPMI Standard Command chassis status"
)
result = vf.key_value_outbuf_to_dict(ret_values, process_indent=1)