blob: 8a64033449c977f27565b08aa3dcde3c28e9330e [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Ed Tanouscb103132019-10-08 11:34:22 -07004<!--# Redfish Schema: Session v1.2.1 -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07005<!--# -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7<!--# available at http://www.dmtf.org/standards/redfish -->
Ed Tanouscb103132019-10-08 11:34:22 -07008<!--# Copyright 2014-2019 DMTF. -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07009<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10<!--################################################################################ -->
11<!---->
12<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
13
14 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
15 <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
16 </edmx:Reference>
17 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18 <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19 </edmx:Reference>
20 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
21 <edmx:Include Namespace="Resource.v1_0_0"/>
22 </edmx:Reference>
23 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
24 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
25 </edmx:Reference>
26
27 <edmx:DataServices>
28
29 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session">
30 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
31
32 <EntityType Name="Session" BaseType="Resource.v1_0_0.Resource" Abstract="true">
Ed Tanouscb103132019-10-08 11:34:22 -070033 <Annotation Term="OData.Description" String="The Session Resource describes a single connection (session) between a client and a Redfish Service instance."/>
34 <Annotation Term="OData.LongDescription" String="This Resource shall represent a session for a Redfish implementation."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070035 <Annotation Term="Capabilities.InsertRestrictions">
36 <Record>
37 <PropertyValue Property="Insertable" Bool="false"/>
38 </Record>
39 </Annotation>
40 <Annotation Term="Capabilities.UpdateRestrictions">
41 <Record>
42 <PropertyValue Property="Updatable" Bool="false"/>
43 </Record>
44 </Annotation>
45 <Annotation Term="Capabilities.DeleteRestrictions">
46 <Record>
47 <PropertyValue Property="Deletable" Bool="true"/>
Ed Tanouscb103132019-10-08 11:34:22 -070048 <Annotation Term="OData.Description" String="Delete the Session Resource to remove a session."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070049 </Record>
50 </Annotation>
Ed Tanous530520e2019-01-02 13:41:37 -080051 <Annotation Term="Redfish.Uris">
52 <Collection>
53 <String>/redfish/v1/SessionService/Sessions/{SessionId}</String>
54 </Collection>
55 </Annotation>
Jason M. Billsea4aa752018-06-05 13:29:11 -070056 </EntityType>
57
58 </Schema>
59
60 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_0">
61 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060062 <Annotation Term="Redfish.Release" String="1.0"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070063
64 <EntityType Name="Session" BaseType="Session.Session">
65 <Property Name="UserName" Type="Edm.String">
66 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
67 <Annotation Term="Redfish.RequiredOnCreate"/>
68 <Annotation Term="OData.Description" String="The UserName for the account for this session."/>
Ed Tanouscb103132019-10-08 11:34:22 -070069 <Annotation Term="OData.LongDescription" String="This property shall contain the user name that matches an account recognized by the Account Service."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070070 </Property>
71 <Property Name="Password" Type="Edm.String">
72 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
73 <Annotation Term="Redfish.RequiredOnCreate"/>
Ed Tanouscb103132019-10-08 11:34:22 -070074 <Annotation Term="OData.Description" String="The password for this session. The value is `null` in responses."/>
75 <Annotation Term="OData.LongDescription" String="This property shall contain the password for this session. The value shall be `null` in responses."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070076 </Property>
77 </EntityType>
78
79 </Schema>
80
81 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_2">
82 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
83 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
84 <EntityType Name="Session" BaseType="Session.v1_0_0.Session"/>
85 </Schema>
86
87 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_3">
88 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
89 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
90 <EntityType Name="Session" BaseType="Session.v1_0_2.Session"/>
91 </Schema>
92
Ed Tanous530520e2019-01-02 13:41:37 -080093 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_4">
94 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
95 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/>
96 <EntityType Name="Session" BaseType="Session.v1_0_3.Session"/>
97 </Schema>
98
Ed Tanouscb103132019-10-08 11:34:22 -070099 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_5">
100 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
101 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format."/>
102 <EntityType Name="Session" BaseType="Session.v1_0_4.Session"/>
103 </Schema>
104
105 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_6">
106 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
107 <Annotation Term="OData.Description" String="This version was created to update the Password description. It was also created to update descriptions that this schema defines."/>
108 <EntityType Name="Session" BaseType="Session.v1_0_5.Session"/>
109 </Schema>
110
Jason M. Billsea4aa752018-06-05 13:29:11 -0700111 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_1_0">
112 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600113 <Annotation Term="Redfish.Release" String="2017.1"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700114 <EntityType Name="Session" BaseType="Session.v1_0_3.Session">
115 <Property Name="Actions" Type="Session.v1_1_0.Actions" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -0700116 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
117 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this Resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700118 </Property>
119 </EntityType>
120
121 <ComplexType Name="Actions">
122 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700123 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
124 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800125 <Property Name="Oem" Type="Session.v1_1_0.OemActions" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -0700126 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
127 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800128 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700129 </ComplexType>
130
131 <ComplexType Name="OemActions">
132 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700133 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
134 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this Resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700135 </ComplexType>
136 </Schema>
137
Ed Tanous530520e2019-01-02 13:41:37 -0800138 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_1_1">
139 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
140 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/>
141 <EntityType Name="Session" BaseType="Session.v1_1_0.Session"/>
142 </Schema>
143
Ed Tanouscb103132019-10-08 11:34:22 -0700144 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_1_2">
145 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
146 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format."/>
147 <EntityType Name="Session" BaseType="Session.v1_1_1.Session"/>
148 </Schema>
149
150 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_1_3">
151 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
152 <Annotation Term="OData.Description" String="This version was created to update the Password description. It was also created to update descriptions that this schema defines."/>
153 <EntityType Name="Session" BaseType="Session.v1_1_2.Session"/>
154 </Schema>
155
156 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_2_0">
157 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
158 <Annotation Term="Redfish.Release" String="2019.1"/>
159
160 <EntityType Name="Session" BaseType="Session.v1_1_2.Session">
161 <Property Name="SessionType" Type="Session.v1_2_0.SessionTypes">
162 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
163 <Annotation Term="OData.Description" String="The active session type."/>
164 <Annotation Term="OData.LongDescription" String="This property shall represent the type of session that is currently active."/>
165 </Property>
166 <Property Name="OemSessionType" Type="Edm.String">
167 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
168 <Annotation Term="OData.Description" String="The active OEM-defined session type."/>
169 <Annotation Term="OData.LongDescription" String="When SessionType is reported as OEM, this property should report the OEM-specific session type. Thus, this property shall represent the type of OEM session that is currently active."/>
170 </Property>
171 </EntityType>
172
173 <EnumType Name="SessionTypes">
174 <Member Name="HostConsole">
175 <Annotation Term="OData.Description" String="The host's console, which could be connected through Telnet, SSH, or other protocol."/>
176 </Member>
177 <Member Name="ManagerConsole">
178 <Annotation Term="OData.Description" String="The manager's console, which could be connected through Telnet, SSH, SM CLP, or other protocol."/>
179 </Member>
180 <Member Name="IPMI">
181 <Annotation Term="OData.Description" String="Intelligent Platform Management Interface."/>
182 </Member>
183 <Member Name="KVMIP">
184 <Annotation Term="OData.Description" String="Keyboard-Video-Mouse over IP Session."/>
185 </Member>
186 <Member Name="OEM">
187 <Annotation Term="OData.Description" String="OEM Type. For OEM session types, see the OemSessionType property."/>
188 </Member>
189 <Member Name="Redfish">
190 <Annotation Term="OData.Description" String="A Redfish session."/>
191 </Member>
192 <Member Name="VirtualMedia">
193 <Annotation Term="OData.Description" String="Virtual media."/>
194 </Member>
195 <Member Name="WebUI">
196 <Annotation Term="OData.Description" String="A non-Redfish web user interface session, such as a graphical interface or another web-based protocol."/>
197 </Member>
198 </EnumType>
199 </Schema>
200
201 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_2_1">
202 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
203 <Annotation Term="OData.Description" String="This version was created to update the Password description. It was also created to update descriptions that this schema defines."/>
204 <EntityType Name="Session" BaseType="Session.v1_2_0.Session"/>
205 </Schema>
206
Jason M. Billsea4aa752018-06-05 13:29:11 -0700207 </edmx:DataServices>
208</edmx:Edmx>