diff options
author | Sunitha Harish <sunharis@in.ibm.com> | 2020-10-30 10:37:30 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2020-11-10 19:30:11 +0300 |
commit | c0ea7ae1c502fa2c67b0a58aee05b75581dafa7a (patch) | |
tree | 812b2d37bb153377a5897b434ddef7fc8137d7e9 /static/redfish/v1/schema | |
parent | a0744d38e93863ce3fb4bef2d4c70f9e9f640840 (diff) | |
download | bmcweb-c0ea7ae1c502fa2c67b0a58aee05b75581dafa7a.tar.xz |
Redfish Session : Support ClientOriginIPAddress
This commit implements the ClientOriginIPAddress property on
the session resource. The IP address is persisted across the reboot
Tested by:
1. Create session
POST https://${bmc}/redfish/v1/SessionService/Sessions -d '{"UserName":<>, "Password":<>}'
2. Check the session gets updated with the ClientOriginIPAddress
GET https://${bmc}/redfish/v1/SessionService/Sessions/<id>
3. Redfish validator passed
4. Create session and reboot the BMC to ensure the IP address is persisted
5. Tested the basic auth populates the clientIp at req
Signed-off-by: Sunitha Harish <sunharis@in.ibm.com>
Change-Id: Iaa60d0657c991bde4bcf6c86819055c71c92e421
Diffstat (limited to 'static/redfish/v1/schema')
-rw-r--r-- | static/redfish/v1/schema/OemSession_v1.xml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/static/redfish/v1/schema/OemSession_v1.xml b/static/redfish/v1/schema/OemSession_v1.xml index cc74848b81..f02f8617eb 100644 --- a/static/redfish/v1/schema/OemSession_v1.xml +++ b/static/redfish/v1/schema/OemSession_v1.xml @@ -32,10 +32,6 @@ <Annotation Term="OData.Description" String="The Id of the client creating this session."/> <Annotation Term="OData.LongDescription" String="This will be the unique identifier set by the client."/> </Property> - <Property Name="ClientOriginIP" Type="Edm.String"> - <Annotation Term="OData.Description" String="The IP address where the Session was created from."/> - <Annotation Term="OData.LongDescription" String="This property shall contain the IP address where the client created the session from."/> - </Property> </EntityType> </Schema> |