summaryrefslogtreecommitdiff
path: root/static/redfish/v1/schema
diff options
context:
space:
mode:
authorSunitha Harish <sunithaharish04@gmail.com>2020-05-11 08:10:20 +0300
committerSunitha Harish <sunithaharish04@gmail.com>2020-06-10 10:46:23 +0300
commit9dc5074146a5d909c198d6e66f7ec9a0beae2d43 (patch)
tree0d2f5e983a28e006e851ae9b4269249678eaee73 /static/redfish/v1/schema
parent4eaf2ee36116b4d2be4269df106d37d7d437a711 (diff)
downloadbmcweb-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/schema')
-rw-r--r--static/redfish/v1/schema/OemSession_v1.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/static/redfish/v1/schema/OemSession_v1.xml b/static/redfish/v1/schema/OemSession_v1.xml
new file mode 100644
index 0000000000..cc74848b81
--- /dev/null
+++ b/static/redfish/v1/schema/OemSession_v1.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
+
+ <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
+ <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
+ <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
+ <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
+ <edmx:Include Namespace="Resource"/>
+ <edmx:Include Namespace="Resource.v1_0_0"/>
+ </edmx:Reference>
+ <edmx:DataServices>
+
+ <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemSession">
+ <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
+ </Schema>
+
+ <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemSession.v1_0_0">
+ <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
+ <Annotation Term="Redfish.Release" String="1.0"/>
+
+ <EntityType Name="Session" BaseType="Resource.OemObject" Abstract="true">
+ <Annotation Term="OData.Description" String="OEM Extension for Session"/>
+ <Annotation Term="OData.LongDescription" String="OEM Extension for Session"/>
+
+ <Property Name="ClientID" Type="Edm.String">
+ <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>
+ </edmx:DataServices>
+</edmx:Edmx>
+