Added changes in session URI as context
Changes:
- New change is introduced to replace the
Oem information to context.
- Below files contains repective changes for
context in session URI.
- openpower/ext_interfaces/
test_client_identifier.robot
Tested: - Ran successfully
openpower/ext_interfaces/
test_client_identifier.robot
Change-Id: I5e86202732febb5b7c357d38a0d8d8b520438c16
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
diff --git a/openpower/ext_interfaces/test_client_identifier.robot b/openpower/ext_interfaces/test_client_identifier.robot
index 8cfa771..b976bb3 100644
--- a/openpower/ext_interfaces/test_client_identifier.robot
+++ b/openpower/ext_interfaces/test_client_identifier.robot
@@ -120,7 +120,7 @@
${session}= Run Keyword And Return Status
... Redfish Login
- ... kwargs= "Oem":{"OpenBMC": {"ClientID":"${client_id}", "ClientOriginIP":"${client_ip}"}}
+ ... kwargs= {"Context": "${client_id}", "ClientOriginIP":"${client_ip}"}}
Valid Value session [${status}]
@@ -149,7 +149,7 @@
FOR ${client} IN @{client_id}
${resp}= Redfish Login rest_username=${username} rest_password=${password}
- ... kwargs= "Oem":{"OpenBMC" : {"ClientID":"${client}"}}
+ ... kwargs="Context": "${client_id}"
Append To List ${session_list} ${resp}
END