blob: 3723a63610b581ddae3faad1e8be36ad1ce172d4 [file] [log] [blame]
Gunnar Mills09b9d452020-02-11 13:27:39 -06001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Gunnar Mills844b4152020-06-22 12:44:09 -05004<!--# Redfish Schema: PowerDomain v1.0.1 -->
Gunnar Mills09b9d452020-02-11 13:27:39 -06005<!--# -->
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/PowerDistribution_v1.xml">
28 <edmx:Include Namespace="PowerDistribution"/>
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
34 <edmx:DataServices>
35
36 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDomain">
37 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
38
39 <EntityType Name="PowerDomain" BaseType="Resource.v1_0_0.Resource" Abstract="true">
Gunnar Mills844b4152020-06-22 12:44:09 -050040 <Annotation Term="OData.Description" String="The PowerDomain schema contains definition for the DCIM power domain."/>
Gunnar Mills09b9d452020-02-11 13:27:39 -060041 <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a DCIM power domain 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="Any writable properties can be updated."/>
51 </Record>
52 </Annotation>
53 <Annotation Term="Capabilities.DeleteRestrictions">
54 <Record>
55 <PropertyValue Property="Deletable" Bool="true"/>
Gunnar Mills844b4152020-06-22 12:44:09 -050056 <Annotation Term="OData.Description" String="Some implementations might allow power domains to be deleted."/>
Gunnar Mills09b9d452020-02-11 13:27:39 -060057 </Record>
58 </Annotation>
59 <Annotation Term="Redfish.Uris">
60 <Collection>
61 <String>/redfish/v1/Facilities/{FacilityId}/PowerDomains/{PowerDomainId}</String>
62 </Collection>
63 </Annotation>
64 </EntityType>
65 </Schema>
66
67 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDomain.v1_0_0">
68 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
69 <Annotation Term="Redfish.Release" String="2019.4"/>
70
71 <EntityType Name="PowerDomain" BaseType="PowerDomain.PowerDomain">
72 <Property Name="Status" Type="Resource.Status" Nullable="false">
73 <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
74 <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
75 </Property>
76 <Property Name="Links" Type="PowerDomain.v1_0_0.Links" Nullable="false">
77 <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
Gunnar Mills844b4152020-06-22 12:44:09 -050078 <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."/>
Gunnar Mills09b9d452020-02-11 13:27:39 -060079 </Property>
80 <Property Name="Actions" Type="PowerDomain.v1_0_0.Actions" Nullable="false">
81 <Annotation Term="OData.Description" String="The available actions for this resource."/>
82 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
83 </Property>
84 </EntityType>
85
86 <ComplexType Name="Links" BaseType="Resource.Links">
87 <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
Gunnar Mills844b4152020-06-22 12:44:09 -050088 <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."/>
Gunnar Mills09b9d452020-02-11 13:27:39 -060089 <NavigationProperty Name="FloorPDUs" Type="Collection(PowerDistribution.PowerDistribution)">
90 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
91 <Annotation Term="OData.Description" String="An array of links to the floor power distribution units in this power domain."/>
92 <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type PowerDistribution that represents the floor power distribution units in this power domain."/>
93 <Annotation Term="OData.AutoExpandReferences"/>
94 </NavigationProperty>
95 <NavigationProperty Name="RackPDUs" Type="Collection(PowerDistribution.PowerDistribution)">
96 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
97 <Annotation Term="OData.Description" String="An array of links to the rack-level power distribution units in this power domain."/>
98 <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type PowerDistribution that represents the rack-level power distribution units in this power domain."/>
99 <Annotation Term="OData.AutoExpandReferences"/>
100 </NavigationProperty>
101 <NavigationProperty Name="TransferSwitches" Type="Collection(PowerDistribution.PowerDistribution)">
102 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
103 <Annotation Term="OData.Description" String="An array of links to the transfer switches in this power domain."/>
104 <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type PowerDistribution that represents the transfer switches in this power domain."/>
105 <Annotation Term="OData.AutoExpandReferences"/>
106 </NavigationProperty>
107 <NavigationProperty Name="Switchgear" Type="Collection(PowerDistribution.PowerDistribution)">
108 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
109 <Annotation Term="OData.Description" String="An array of links to the switchgear in this power domain."/>
110 <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type PowerDistribution that represents the switchgear in this power domain."/>
111 <Annotation Term="OData.AutoExpandReferences"/>
112 </NavigationProperty>
113 <NavigationProperty Name="ManagedBy" Type="Collection(Manager.Manager)">
114 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
115 <Annotation Term="OData.Description" String="An array of links to the managers responsible for managing this power domain."/>
116 <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type Manager that represent the managers that manage this power domain."/>
117 <Annotation Term="OData.AutoExpandReferences"/>
118 </NavigationProperty>
119 </ComplexType>
120
121 <ComplexType Name="Actions">
122 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
123 <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."/>
125 <Property Name="Oem" Type="PowerDomain.v1_0_0.OemActions" Nullable="false">
126 <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."/>
128 </Property>
129 </ComplexType>
130
131 <ComplexType Name="OemActions">
132 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
133 <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."/>
135 </ComplexType>
136 </Schema>
137
Gunnar Mills844b4152020-06-22 12:44:09 -0500138 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDomain.v1_0_1">
139 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
140 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
141 <EntityType Name="PowerDomain" BaseType="PowerDomain.v1_0_0.PowerDomain"/>
142 </Schema>
143
Gunnar Mills09b9d452020-02-11 13:27:39 -0600144 </edmx:DataServices>
145</edmx:Edmx>