blob: dce7ae45d606e01125a6cf19d6b321c47ca01a98 [file] [log] [blame]
Ed Tanous710adfc2017-10-24 17:04:52 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
4<!--# Redfish Schema: SessionService v1.1.1-->
5<!--# -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7<!--# available at http://www.dmtf.org/standards/redfish -->
8<!--# Copyright 2014-2016 Distributed Management Task Force, Inc. (DMTF). -->
9<!--# 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://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
21 <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
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:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
26 </edmx:Reference>
27 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
28 <edmx:Include Namespace="Resource"/>
29 <edmx:Include Namespace="Resource.v1_0_0"/>
30 </edmx:Reference>
31 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/SessionCollection_v1.xml">
32 <edmx:Include Namespace="SessionCollection"/>
33 </edmx:Reference>
34
35 <edmx:DataServices>
36
37 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SessionService">
38
39 <EntityType Name="SessionService" BaseType="Resource.v1_0_0.Resource" Abstract="true">
40 <Annotation Term="OData.Description" String="This is the schema definition for the Session Service. It represents the properties for the service itself and has links to the actual list of sessions."/>
41 <Annotation Term="OData.LongDescription" String="This resource shall be used to represent the Session Service Properties for a Redfish implementation."/>
42 <Annotation Term="Capabilities.InsertRestrictions">
43 <Record>
44 <PropertyValue Property="Insertable" Bool="false"/>
45 </Record>
46 </Annotation>
47 <Annotation Term="Capabilities.UpdateRestrictions">
48 <Record>
49 <PropertyValue Property="Updatable" Bool="true"/>
50 <Annotation Term="OData.Description" String="A Session Service can be updated to change the timeout as well as enable or disable it."/>
51 </Record>
52 </Annotation>
53 <Annotation Term="Capabilities.DeleteRestrictions">
54 <Record>
55 <PropertyValue Property="Deletable" Bool="false"/>
56 </Record>
57 </Annotation>
58 </EntityType>
59
60 </Schema>
61
62 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SessionService.v1_0_0">
63
64 <EntityType Name="SessionService" BaseType="SessionService.SessionService">
65 <Annotation Term="OData.Description" String="This is the schema definition for the Session Service. It represents the properties for the service itself and has links to the actual list of sessions."/>
66 <Annotation Term="OData.LongDescription" String="This resource shall be used to represent the Session Service Properties for a Redfish implementation."/>
67 <Property Name="Status" Type="Resource.Status" Nullable="false"/>
68 <Property Name="ServiceEnabled" Type="Edm.Boolean">
69 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
70 <Annotation Term="OData.Description" String="This indicates whether this service is enabled."/>
71 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether this service is enabled."/>
72 </Property>
73 <Property Name="SessionTimeout" Type="Edm.Int64" Nullable="false">
74 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
75 <Annotation Term="OData.Description" String="This is the number of seconds of inactivity that a session may have before the session service closes the session due to inactivity."/>
76 <Annotation Term="OData.LongDescription" String="This property shall reference the threshold of time in seconds between requests on a specific session at which point the session service shall close the session due to inactivity. The session service shall support any value between the Validation.Minimum and Validation.Maximum."/>
77 <Annotation Term="Validation.Minimum" Int="30"/>
78 <Annotation Term="Validation.Maximum" Int="86400"/>
79 <Annotation Term="Measures.Unit" String="s"/>
80 </Property>
81 <NavigationProperty Name="Sessions" Type="SessionCollection.SessionCollection" Nullable="false">
82 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
83 <Annotation Term="OData.Description" String="Link to a collection of Sessions."/>
84 <Annotation Term="OData.LongDescription" String="This property shall contain the link to a collection of Sessions."/>
85 <Annotation Term="OData.AutoExpandReferences"/>
86 </NavigationProperty>
87 </EntityType>
88 </Schema>
89
90 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SessionService.v1_0_2">
91 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
92 <EntityType Name="SessionService" BaseType="SessionService.v1_0_0.SessionService"/>
93 </Schema>
94
95 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SessionService.v1_0_3">
96 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
97 <EntityType Name="SessionService" BaseType="SessionService.v1_0_2.SessionService"/>
98 </Schema>
99
100 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SessionService.v1_1_0">
101 <EntityType Name="SessionService" BaseType="SessionService.v1_0_2.SessionService">
102 <Property Name="Actions" Type="SessionService.v1_1_0.Actions" Nullable="false">
103 <Annotation Term="OData.Description" String="The Actions object contains the available custom actions on this resource."/>
104 </Property>
105 </EntityType>
106
107 <ComplexType Name="Actions">
108 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
109 <Property Name="Oem" Type="SessionService.v1_1_0.OemActions"/>
110 </ComplexType>
111
112 <ComplexType Name="OemActions">
113 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
114 </ComplexType>
115 </Schema>
116
117 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SessionService.v1_1_1">
118 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
119 <EntityType Name="SessionService" BaseType="SessionService.v1_1_0.SessionService"/>
120 </Schema>
121
122 </edmx:DataServices>
123</edmx:Edmx>