blob: 7f77a72399c422ce65222899c67405de390ab6cf [file] [log] [blame]
Gunnar Mills09b9d452020-02-11 13:27:39 -06001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
4<!--# Redfish Schema: Facility v1.0.0 -->
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 -->
Gunnar Millsa778c022020-05-12 12:20:36 -05008<!--# Copyright 2018-2020 DMTF. -->
Gunnar Mills09b9d452020-02-11 13:27:39 -06009<!--# 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/RedfishExtensions_v1.xml">
21 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
22 </edmx:Reference>
23 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
24 <edmx:Include Namespace="Resource"/>
25 <edmx:Include Namespace="Resource.v1_0_0"/>
26 </edmx:Reference>
27 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Chassis_v1.xml">
28 <edmx:Include Namespace="Chassis"/>
29 </edmx:Reference>
30 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Manager_v1.xml">
31 <edmx:Include Namespace="Manager"/>
32 </edmx:Reference>
33 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/PowerDomainCollection_v1.xml">
34 <edmx:Include Namespace="PowerDomainCollection"/>
35 </edmx:Reference>
36 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/PowerDistribution_v1.xml">
37 <edmx:Include Namespace="PowerDistribution"/>
38 </edmx:Reference>
39 <edmx:DataServices>
40
41 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Facility">
42 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
43
44 <EntityType Name="Facility" BaseType="Resource.v1_0_0.Resource" Abstract="true">
45 <Annotation Term="OData.Description" String="The Facility schema represents the physical location containing equipment, such as a room, building, or campus."/>
46 <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a location containing equipment, such as a room, building, or campus, for a Redfish implementation."/>
47 <Annotation Term="Capabilities.InsertRestrictions">
48 <Record>
49 <PropertyValue Property="Insertable" Bool="false"/>
50 </Record>
51 </Annotation>
52 <Annotation Term="Capabilities.UpdateRestrictions">
53 <Record>
54 <PropertyValue Property="Updatable" Bool="true"/>
55 <Annotation Term="OData.Description" String="Any writable properties can be updated."/>
56 </Record>
57 </Annotation>
58 <Annotation Term="Capabilities.DeleteRestrictions">
59 <Record>
60 <PropertyValue Property="Deletable" Bool="true"/>
61 <Annotation Term="OData.Description" String="Implemenations may allow deletion of facilities from the collection."/>
62 </Record>
63 </Annotation>
64 <Annotation Term="Redfish.Uris">
65 <Collection>
66 <String>/redfish/v1/Facilities/{FacilityId}</String>
67 </Collection>
68 </Annotation>
69 </EntityType>
70
71 </Schema>
72
73 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Facility.v1_0_0">
74 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
75 <Annotation Term="Redfish.Release" String="2019.4"/>
76
77 <EntityType Name="Facility" BaseType="Facility.Facility">
78 <Property Name="FacilityType" Nullable="false" Type="Facility.v1_0_0.FacilityType">
79 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
80 <Annotation Term="OData.Description" String="The type of location this resource represents."/>
81 <Annotation Term="OData.LongDescription" String="This property shall contain the type of location this resource represents."/>
82 <Annotation Term="Redfish.Required"/>
83 </Property>
84 <Property Name="Status" Type="Resource.Status" Nullable="false">
85 <Annotation Term="OData.Description" String="The status and health of the Resource and its subordinate or dependent resources."/>
86 <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
87 </Property>
88 <Property Name="Location" Type="Resource.Location" Nullable="false">
89 <Annotation Term="OData.Description" String="The location of the facility."/>
90 <Annotation Term="OData.LongDescription" String="This property shall contain location information of the associated facility."/>
91 </Property>
92 <NavigationProperty Name="PowerDomains" Type="PowerDomainCollection.PowerDomainCollection" Nullable="false">
93 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
94 <Annotation Term="OData.Description" String="Link to the power domains in this facility."/>
95 <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type PowerDomainCollection that contains the power domains associated with this facility."/>
96 <Annotation Term="OData.AutoExpandReferences"/>
97 </NavigationProperty>
98 <Property Name="Links" Type="Facility.v1_0_0.Links" Nullable="false">
99 <Annotation Term="OData.Description" String="The links to other Resources that are related to this resource."/>
100 <Annotation Term="OData.LongDescription" String="This property shall contain links to resources that are related to but are not contained by or subordinate to this resource."/>
101 </Property>
102 <Property Name="Actions" Type="Facility.v1_0_0.Actions" Nullable="false">
103 <Annotation Term="OData.Description" String="The available actions for this resource."/>
104 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
105 </Property>
106 </EntityType>
107
108 <EnumType Name="FacilityType">
109 <Member Name="Room">
110 <Annotation Term="OData.Description" String="A room inside of a building or floor."/>
111 </Member>
112 <Member Name="Floor">
113 <Annotation Term="OData.Description" String="A floor inside of a building."/>
114 </Member>
115 <Member Name="Building">
116 <Annotation Term="OData.Description" String="A structure with a roof and walls."/>
117 </Member>
118 <Member Name="Site">
119 <Annotation Term="OData.Description" String="A small area consisting of several buildings."/>
120 </Member>
121 </EnumType>
122
123 <ComplexType Name="Links" BaseType="Resource.Links">
124 <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
125 <Annotation Term="OData.LongDescription" String="This Redfish Specification-described type shall contain links to resources that are related to but are not contained by or subordinate to this resource."/>
126 <NavigationProperty Name="ContainedByFacility" Type="Facility.Facility" Nullable="false">
127 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
128 <Annotation Term="OData.Description" String="The link to the facility that contains this facility."/>
129 <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource of type Facility that represents the facility that contains this facility."/>
130 <Annotation Term="OData.AutoExpandReferences"/>
131 </NavigationProperty>
132 <NavigationProperty Name="ContainsFacilities" Type="Collection(Facility.Facility)">
133 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
134 <Annotation Term="OData.Description" String="An array of links to other facilities contained within this facility."/>
135 <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of links to resources of type Facility that represent the facilities that this facility contains."/>
136 <Annotation Term="OData.AutoExpandReferences"/>
137 </NavigationProperty>
138 <NavigationProperty Name="ManagedBy" Type="Collection(Manager.Manager)">
139 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
140 <Annotation Term="OData.Description" String="An array of links to the managers responsible for managing this facility."/>
141 <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of links to resources of type Manager that represent the managers that manager this facility."/>
142 <Annotation Term="OData.AutoExpandReferences"/>
143 </NavigationProperty>
144 <NavigationProperty Name="ContainsChassis" Type="Collection(Chassis.Chassis)">
145 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
146 <Annotation Term="OData.Description" String="An array of links to outermost chassis contained within this facility."/>
147 <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of links to resources of type Chassis that represent the outermost chassis that this facility contains. This array shall only contain chassis instances that do not include a ContainedBy property within the Links property. That is, only chassis instances that are not contained by another chassis."/>
148 <Annotation Term="OData.AutoExpandReferences"/>
149 </NavigationProperty>
150 <NavigationProperty Name="FloorPDUs" Type="Collection(PowerDistribution.PowerDistribution)">
151 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
152 <Annotation Term="OData.Description" String="An array of links to the floor power distribution units in this facility."/>
153 <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of links to resources of type PowerDistribution that represent the floor power distribution units in this facility."/>
154 <Annotation Term="OData.AutoExpandReferences"/>
155 </NavigationProperty>
156 <NavigationProperty Name="RackPDUs" Type="Collection(PowerDistribution.PowerDistribution)">
157 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
158 <Annotation Term="OData.Description" String="An array of links to the rack-level power distribution units in this facility."/>
159 <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of links to resources of type PowerDistribution that represent the rack-level power distribution units in this facility."/>
160 <Annotation Term="OData.AutoExpandReferences"/>
161 </NavigationProperty>
162 <NavigationProperty Name="TransferSwitches" Type="Collection(PowerDistribution.PowerDistribution)">
163 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
164 <Annotation Term="OData.Description" String="An array of links to the transfer switches in this facility."/>
165 <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of links to resources of type PowerDistribution that represent the transfer switches in this facility."/>
166 <Annotation Term="OData.AutoExpandReferences"/>
167 </NavigationProperty>
168 <NavigationProperty Name="Switchgear" Type="Collection(PowerDistribution.PowerDistribution)">
169 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
170 <Annotation Term="OData.Description" String="An array of links to the switchgear in this facility."/>
171 <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of links to resources of type PowerDistribution that represent the switchgear in this facility."/>
172 <Annotation Term="OData.AutoExpandReferences"/>
173 </NavigationProperty>
174 </ComplexType>
175
176 <ComplexType Name="Actions">
177 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
178 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
179 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this Resource."/>
180 <Property Name="Oem" Type="Facility.v1_0_0.OemActions" Nullable="false">
181 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
182 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this Resource."/>
183 </Property>
184 </ComplexType>
185
186 <ComplexType Name="OemActions">
187 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
188 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
189 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this Resource."/>
190 </ComplexType>
191
192 </Schema>
193
194 </edmx:DataServices>
195</edmx:Edmx>