diff options
author | Ed Tanous <ed@tanous.net> | 2020-10-28 18:23:15 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2020-10-29 02:10:06 +0300 |
commit | 10f0d240a56e33acf78dae93fa6f71387f2e2af2 (patch) | |
tree | 5a46bcb9489b7249f9d47bc12c10310175bcedf6 /static/redfish/v1 | |
parent | dc3fa6671cd588d5a09416da09030f82aff2e50b (diff) | |
download | bmcweb-10f0d240a56e33acf78dae93fa6f71387f2e2af2.tar.xz |
Revert "Redfish Session : Support ClientOriginIPAddress"
This reverts commit e436008377fbcf287be02c9e9e1b59c6627d7673.
Reason for revert:
This breaks several things.
1. Not all login endpoints are handled, which lead to returning blank ip addresses
2. IP addresses are not persisted.
3. This crashes occasionally on remote_endpoint, and ignores ec.
Change-Id: I58c875721cf48bf02db833c9c57a9eead5e249d5
Diffstat (limited to 'static/redfish/v1')
-rw-r--r-- | static/redfish/v1/JsonSchemas/OemSession/index.json | 6 | ||||
-rw-r--r-- | static/redfish/v1/schema/OemSession_v1.xml | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/static/redfish/v1/JsonSchemas/OemSession/index.json b/static/redfish/v1/JsonSchemas/OemSession/index.json index 8eefd952f3..c80e34003c 100644 --- a/static/redfish/v1/JsonSchemas/OemSession/index.json +++ b/static/redfish/v1/JsonSchemas/OemSession/index.json @@ -28,6 +28,12 @@ "readonly": true, "type" : "string" }, + "ClientOriginIP" : { + "description": "The IP address where the Session was created from.", + "longDescription": "This property shall contain the IP address where the client created the session from.", + "readonly": true, + "type": "string" + }, "type": "object" } } diff --git a/static/redfish/v1/schema/OemSession_v1.xml b/static/redfish/v1/schema/OemSession_v1.xml index f02f8617eb..cc74848b81 100644 --- a/static/redfish/v1/schema/OemSession_v1.xml +++ b/static/redfish/v1/schema/OemSession_v1.xml @@ -32,6 +32,10 @@ <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> |