diff options
author | Sunitha Harish <sunithaharish04@gmail.com> | 2020-05-11 08:10:20 +0300 |
---|---|---|
committer | Sunitha Harish <sunithaharish04@gmail.com> | 2020-06-10 10:46:23 +0300 |
commit | 9dc5074146a5d909c198d6e66f7ec9a0beae2d43 (patch) | |
tree | 0d2f5e983a28e006e851ae9b4269249678eaee73 /static/redfish/v1/JsonSchemas | |
parent | 4eaf2ee36116b4d2be4269df106d37d7d437a711 (diff) | |
download | bmcweb-9dc5074146a5d909c198d6e66f7ec9a0beae2d43.tar.xz |
New OpenBMC OEM schema for Session
This commit defines the OemSession schema for storing
- the clients unique identifier
- the IP Address from where the session is created.
Signed-off-by: Sunitha Harish <sunithaharish04@gmail.com>
Change-Id: I759cda25dbb2dadd9b3d14cca9076e6412b41287
Diffstat (limited to 'static/redfish/v1/JsonSchemas')
-rw-r--r-- | static/redfish/v1/JsonSchemas/OemSession/index.json | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/static/redfish/v1/JsonSchemas/OemSession/index.json b/static/redfish/v1/JsonSchemas/OemSession/index.json new file mode 100644 index 0000000000..c80e34003c --- /dev/null +++ b/static/redfish/v1/JsonSchemas/OemSession/index.json @@ -0,0 +1,45 @@ +{ + "$id": "http://redfish.dmtf.org/schemas/v1/OemSession.v1_0_0.json", + "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", + "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", + "definitions": { + "Session": { + "additionalProperties": false, + "description": "OEM Extension for Session", + "longDescription": "OEM Extension for Session to provide the Client details.", + "patternProperties": { + "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { + "description": "This property shall specify a valid odata or Redfish property.", + "type": [ + "array", + "boolean", + "integer", + "number", + "null", + "object", + "string" + ] + } + }, + "properties": { + "ClientID" : { + "description" : "The Id of the client creating this session.", + "longDescription": "This will be the unique identifier set by the client.", + "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" + } + } + }, + "owningEntity": "OpenBMC", + "release": "1.0", + "title": "#OemSession.v1_0_0" +} + |