Ed Tanous | 710adfc | 2017-10-24 17:04:52 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
| 2 | <!---->
|
| 3 | <!--################################################################################ -->
|
| 4 | <!--# Redfish Schema: Session v1.0.3-->
|
| 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://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 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/LogEntry_v1.xml">
|
| 27 | <edmx:Include Namespace="LogEntry"/>
|
| 28 | </edmx:Reference>
|
| 29 |
|
| 30 | <edmx:DataServices>
|
| 31 |
|
| 32 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session">
|
| 33 |
|
| 34 | <EntityType Name="Session" BaseType="Resource.v1_0_0.Resource" Abstract="true">
|
| 35 | <Annotation Term="OData.Description" String="The Session resource describes a single connection (session) between a client and a Redfish service instance."/>
|
| 36 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a session for a Redfish implementation."/>
|
| 37 | <Annotation Term="Capabilities.InsertRestrictions">
|
| 38 | <Record>
|
| 39 | <PropertyValue Property="Insertable" Bool="false"/>
|
| 40 | </Record>
|
| 41 | </Annotation>
|
| 42 | <Annotation Term="Capabilities.UpdateRestrictions">
|
| 43 | <Record>
|
| 44 | <PropertyValue Property="Updatable" Bool="false"/>
|
| 45 | </Record>
|
| 46 | </Annotation>
|
| 47 | <Annotation Term="Capabilities.DeleteRestrictions">
|
| 48 | <Record>
|
| 49 | <PropertyValue Property="Deletable" Bool="true"/>
|
| 50 | <Annotation Term="OData.Description" String="Sessions can be removed by Deleting the Session resource."/>
|
| 51 | </Record>
|
| 52 | </Annotation>
|
| 53 | </EntityType>
|
| 54 |
|
| 55 | </Schema>
|
| 56 |
|
| 57 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_0">
|
| 58 |
|
| 59 | <EntityType Name="Session" BaseType="Session.Session">
|
| 60 | <Property Name="UserName" Type="Edm.String">
|
| 61 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 62 | <Annotation Term="Redfish.RequiredOnCreate"/>
|
| 63 | <Annotation Term="OData.Description" String="The UserName for the account for this session."/>
|
| 64 | <Annotation Term="OData.LongDescription" String="The value of this property shall be the UserName that matches a registered account identified by a ManagerAccount resource registered with the Account Service."/>
|
| 65 | </Property>
|
| 66 | <Property Name="Password" Type="Edm.String">
|
| 67 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 68 | <Annotation Term="Redfish.RequiredOnCreate"/>
|
| 69 | <Annotation Term="OData.Description" String="This property is used in a POST to specify a password when creating a new session. This property is null on a GET."/>
|
| 70 | <Annotation Term="OData.LongDescription" String="The value of this property shall be the password for this session. The value shall be null for GET requests."/>
|
| 71 | </Property>
|
| 72 | </EntityType>
|
| 73 |
|
| 74 | </Schema>
|
| 75 |
|
| 76 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_2">
|
| 77 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
|
| 78 | <EntityType Name="Session" BaseType="Session.v1_0_0.Session"/>
|
| 79 | </Schema>
|
| 80 |
|
| 81 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_3">
|
| 82 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
|
| 83 | <EntityType Name="Session" BaseType="Session.v1_0_2.Session"/>
|
| 84 | </Schema>
|
| 85 |
|
| 86 | </edmx:DataServices>
|
| 87 | </edmx:Edmx>
|