Modified Hardcoded channel Number as 1 to dynamic.
While Getting user info using "Get User Info" keyword by default
it will return channel numebr 1 user. we have to mention the channel
number to get the particular channel user info. So for Get User Info
keyword added ${CHANNEL_NUMBER} variable as argument.
And also while getting channel access we are hardcoding the channel
number as 1, there are removed 1 and added ${CHANNEL_NUMBER}.
Tested: Run robot ipmi/test_ipmi_user.robot
Run robot ipmi/test_ipmi_payload.robot
Run robot redfish/account_service/test_ipmi_redfish_user.robot
Change-Id: Id81b59e7880045b74e65195089e38d8653f66d7a
Signed-off-by: Nagarjun B <nagarjunb@ami.com>
diff --git a/data/ipmi_raw_cmd_table.py b/data/ipmi_raw_cmd_table.py
index 4df9872..7f713b3 100644
--- a/data/ipmi_raw_cmd_table.py
+++ b/data/ipmi_raw_cmd_table.py
@@ -6,7 +6,6 @@
- Define IPMI interface index, commands and expected output.
"""
-
# The currently supported cipher list.
# Refer:
# openbmc/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipe
@@ -219,15 +218,15 @@
"lan_parameters": {
"get_ip": [
# raw command
- "0x0c 0x02 0x01 0x03 0 0"
+ "0x0c 0x02 0x01 0x03 0 0",
],
"get_ip_src": [
# raw command
- "0x0c 0x02 0x01 0x04 0 0"
+ "0x0c 0x02 0x01 0x04 0 0",
],
"get_dot1q": [
# raw command
- "0x0c 0x02 0x01 0x14 0 0"
+ "0x0c 0x02 0x01 0x14 0 0",
],
},
"SDR_Info": {