xref: /openbmc/bmcweb/features/redfish/schema/dmtf/csdl/PowerSubsystem_v1.xml (revision d125652e8a30dfeaad88bbfa5b1e04a80610469c)
1720c9898SEd Tanous<?xml version="1.0" encoding="UTF-8"?>
2720c9898SEd Tanous<!---->
3720c9898SEd Tanous<!--################################################################################       -->
49b46bc0bSMyung Bae<!--# Redfish Schema:  PowerSubsystem v1.1.3                                               -->
5720c9898SEd Tanous<!--#                                                                                      -->
6720c9898SEd Tanous<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
7720c9898SEd Tanous<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8*d125652eSGunnar Mills<!--# Copyright 2014-2025 DMTF.                                                            -->
9720c9898SEd Tanous<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10720c9898SEd Tanous<!--################################################################################       -->
11720c9898SEd Tanous<!---->
12720c9898SEd Tanous<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
13720c9898SEd Tanous
14720c9898SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
15720c9898SEd Tanous    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
16720c9898SEd Tanous  </edmx:Reference>
17720c9898SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18720c9898SEd Tanous    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19720c9898SEd Tanous  </edmx:Reference>
20720c9898SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
21720c9898SEd Tanous    <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
22720c9898SEd Tanous  </edmx:Reference>
23720c9898SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
24720c9898SEd Tanous    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
25720c9898SEd Tanous    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
26720c9898SEd Tanous  </edmx:Reference>
27720c9898SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
28720c9898SEd Tanous    <edmx:Include Namespace="Resource"/>
29720c9898SEd Tanous    <edmx:Include Namespace="Resource.v1_0_0"/>
30720c9898SEd Tanous  </edmx:Reference>
31720c9898SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/PowerSupplyCollection_v1.xml">
32720c9898SEd Tanous    <edmx:Include Namespace="PowerSupplyCollection"/>
33720c9898SEd Tanous  </edmx:Reference>
34720c9898SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/BatteryCollection_v1.xml">
35720c9898SEd Tanous    <edmx:Include Namespace="BatteryCollection"/>
36720c9898SEd Tanous  </edmx:Reference>
37720c9898SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Redundancy_v1.xml">
38720c9898SEd Tanous    <edmx:Include Namespace="Redundancy"/>
39720c9898SEd Tanous  </edmx:Reference>
40720c9898SEd Tanous
41720c9898SEd Tanous  <edmx:DataServices>
42720c9898SEd Tanous
43720c9898SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerSubsystem">
44720c9898SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
45f2a8e57eSGunnar Mills      <Annotation Term="Redfish.Language" String="en"/>
46720c9898SEd Tanous
47720c9898SEd Tanous      <EntityType Name="PowerSubsystem" BaseType="Resource.v1_0_0.Resource" Abstract="true">
48f2a8e57eSGunnar Mills        <Annotation Term="OData.Description" String="This `PowerSubsystem schema` contains the definition for the power subsystem of a chassis."/>
49720c9898SEd Tanous        <Annotation Term="OData.LongDescription" String="This resource shall represent a power subsystem for a Redfish implementation."/>
50720c9898SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
51720c9898SEd Tanous        <Annotation Term="Capabilities.InsertRestrictions">
52720c9898SEd Tanous          <Record>
53720c9898SEd Tanous            <PropertyValue Property="Insertable" Bool="false"/>
54720c9898SEd Tanous          </Record>
55720c9898SEd Tanous        </Annotation>
56720c9898SEd Tanous        <Annotation Term="Capabilities.UpdateRestrictions">
57720c9898SEd Tanous          <Record>
58720c9898SEd Tanous            <PropertyValue Property="Updatable" Bool="true"/>
59720c9898SEd Tanous          </Record>
60720c9898SEd Tanous        </Annotation>
61720c9898SEd Tanous        <Annotation Term="Capabilities.DeleteRestrictions">
62720c9898SEd Tanous          <Record>
63720c9898SEd Tanous            <PropertyValue Property="Deletable" Bool="false"/>
64720c9898SEd Tanous          </Record>
65720c9898SEd Tanous        </Annotation>
66720c9898SEd Tanous        <Annotation Term="Redfish.Uris">
67720c9898SEd Tanous          <Collection>
68720c9898SEd Tanous            <String>/redfish/v1/Chassis/{ChassisId}/PowerSubsystem</String>
69720c9898SEd Tanous          </Collection>
70720c9898SEd Tanous        </Annotation>
71720c9898SEd Tanous      </EntityType>
72720c9898SEd Tanous    </Schema>
73720c9898SEd Tanous
74720c9898SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerSubsystem.v1_0_0">
75720c9898SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
76720c9898SEd Tanous      <Annotation Term="Redfish.Release" String="2020.4"/>
77720c9898SEd Tanous
78720c9898SEd Tanous      <EntityType Name="PowerSubsystem" BaseType="PowerSubsystem.PowerSubsystem">
79720c9898SEd Tanous        <Property Name="Status" Type="Resource.Status" Nullable="false">
80720c9898SEd Tanous          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
81720c9898SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
82720c9898SEd Tanous        </Property>
83720c9898SEd Tanous        <Property Name="CapacityWatts" Type="Edm.Decimal">
84720c9898SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
85720c9898SEd Tanous          <Annotation Term="OData.Description" String="The total amount of power that can be allocated to this subsystem.  This value can be either the power supply capacity or the power budget that an upstream chassis assigns to this subsystem."/>
86720c9898SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall represent the total power capacity that can be allocated to this subsystem."/>
87720c9898SEd Tanous          <Annotation Term="Validation.Minimum" Int="0"/>
88720c9898SEd Tanous          <Annotation Term="Measures.Unit" String="W"/>
89720c9898SEd Tanous        </Property>
90720c9898SEd Tanous        <Property Name="Allocation" Type="PowerSubsystem.v1_0_0.PowerAllocation" Nullable="false">
919b46bc0bSMyung Bae          <Annotation Term="OData.Description" String="Power allocation for this subsystem when it represents a subset of the power infrastructure for the chassis or its upstream chassis, such as a chassis containing multiple server blades."/>
929b46bc0bSMyung Bae          <Annotation Term="OData.LongDescription" String="This property shall contain the set of properties describing the allocation of power for this subsystem as part of the power infrastructure for the chassis or an upstream chassis.  This property should not be present in resources that are not part of a shared power infrastructure."/>
93720c9898SEd Tanous        </Property>
94720c9898SEd Tanous        <NavigationProperty Name="PowerSupplies" Type="PowerSupplyCollection.PowerSupplyCollection" Nullable="false">
95720c9898SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
96720c9898SEd Tanous          <Annotation Term="OData.Description" String="The link to the collection of power supplies within this subsystem."/>
97f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type `PowerSupplyCollection`."/>
98720c9898SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
99720c9898SEd Tanous        </NavigationProperty>
100720c9898SEd Tanous        <Property Name="PowerSupplyRedundancy" Type="Collection(Redundancy.RedundantGroup)" Nullable="false">
101720c9898SEd Tanous          <Annotation Term="OData.Description" String="The redundancy information for the set of power supplies in this subsystem."/>
102f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain redundancy information for the set of power supplies in this subsystem.  The values of the `RedundancyGroup` array shall reference resources of type `PowerSupply`."/>
103720c9898SEd Tanous        </Property>
104720c9898SEd Tanous        <Property Name="Actions" Type="PowerSubsystem.v1_0_0.Actions" Nullable="false">
105720c9898SEd Tanous          <Annotation Term="OData.Description" String="The available actions for this resource."/>
106f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="The `Actions` property shall contain the available actions for this resource."/>
107720c9898SEd Tanous        </Property>
108720c9898SEd Tanous      </EntityType>
109720c9898SEd Tanous
110720c9898SEd Tanous      <ComplexType Name="PowerAllocation">
111720c9898SEd Tanous        <Annotation Term="OData.Description" String="Power allocation for a subsystem."/>
112720c9898SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the set of properties describing the allocation of power for a subsystem."/>
113720c9898SEd Tanous        <Property Name="RequestedWatts" Type="Edm.Decimal">
114720c9898SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
115720c9898SEd Tanous          <Annotation Term="OData.Description" String="The potential power, in watt units, that the subsystem requests, which might be higher than the current level being consumed because the requested power includes a budget that the subsystem wants for future use."/>
116720c9898SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall represent the amount of power, in watt units, that the subsystem currently requests to be budgeted for future use."/>
117720c9898SEd Tanous          <Annotation Term="Validation.Minimum" Int="0"/>
118720c9898SEd Tanous          <Annotation Term="Measures.Unit" String="W"/>
119720c9898SEd Tanous        </Property>
120720c9898SEd Tanous        <Property Name="AllocatedWatts" Type="Edm.Decimal">
121720c9898SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
122720c9898SEd Tanous          <Annotation Term="OData.Description" String="The total amount of power that has been allocated or budgeted to this subsystem."/>
123720c9898SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall represent the total power currently allocated or budgeted to this subsystem."/>
124720c9898SEd Tanous          <Annotation Term="Validation.Minimum" Int="0"/>
125720c9898SEd Tanous          <Annotation Term="Measures.Unit" String="W"/>
126720c9898SEd Tanous        </Property>
127720c9898SEd Tanous      </ComplexType>
128720c9898SEd Tanous
129720c9898SEd Tanous      <ComplexType Name="Actions">
130720c9898SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
131720c9898SEd Tanous        <Annotation Term="OData.Description" String="The available actions for this resource."/>
132720c9898SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
133720c9898SEd Tanous        <Property Name="Oem" Type="PowerSubsystem.v1_0_0.OemActions" Nullable="false">
134720c9898SEd Tanous          <Annotation Term="OData.Description" String="This property contains the available OEM-specific actions for this resource."/>
135720c9898SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain any additional OEM actions for this resource."/>
136720c9898SEd Tanous        </Property>
137720c9898SEd Tanous      </ComplexType>
138720c9898SEd Tanous
139720c9898SEd Tanous      <ComplexType Name="OemActions">
140720c9898SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
141720c9898SEd Tanous        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
142720c9898SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
143720c9898SEd Tanous      </ComplexType>
144720c9898SEd Tanous    </Schema>
145720c9898SEd Tanous
146720c9898SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerSubsystem.v1_0_1">
147720c9898SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
148720c9898SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
149720c9898SEd Tanous      <EntityType Name="PowerSubsystem" BaseType="PowerSubsystem.v1_0_0.PowerSubsystem"/>
150720c9898SEd Tanous    </Schema>
151720c9898SEd Tanous
152f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerSubsystem.v1_0_2">
153f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
154f2a8e57eSGunnar Mills      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
155f2a8e57eSGunnar Mills      <EntityType Name="PowerSubsystem" BaseType="PowerSubsystem.v1_0_1.PowerSubsystem"/>
156f2a8e57eSGunnar Mills    </Schema>
157f2a8e57eSGunnar Mills
1589b46bc0bSMyung Bae    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerSubsystem.v1_0_3">
1599b46bc0bSMyung Bae      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1609b46bc0bSMyung Bae      <Annotation Term="OData.Description" String="This version was created to clarify that the `Allocation` object is intended for use with products which incorporate a shared power infrastructures."/>
1619b46bc0bSMyung Bae      <EntityType Name="PowerSubsystem" BaseType="PowerSubsystem.v1_0_2.PowerSubsystem"/>
1629b46bc0bSMyung Bae    </Schema>
1639b46bc0bSMyung Bae
164720c9898SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerSubsystem.v1_1_0">
165720c9898SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
166720c9898SEd Tanous      <Annotation Term="Redfish.Release" String="2021.2"/>
167720c9898SEd Tanous
168720c9898SEd Tanous      <EntityType Name="PowerSubsystem" BaseType="PowerSubsystem.v1_0_0.PowerSubsystem">
169720c9898SEd Tanous        <NavigationProperty Name="Batteries" Type="BatteryCollection.BatteryCollection" Nullable="false">
170720c9898SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
171720c9898SEd Tanous          <Annotation Term="OData.Description" String="The link to the collection of batteries within this subsystem."/>
172f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type `BatteryCollection`."/>
173720c9898SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
174720c9898SEd Tanous        </NavigationProperty>
175720c9898SEd Tanous      </EntityType>
176720c9898SEd Tanous    </Schema>
177720c9898SEd Tanous
178720c9898SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerSubsystem.v1_1_1">
179720c9898SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
180720c9898SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
181720c9898SEd Tanous      <EntityType Name="PowerSubsystem" BaseType="PowerSubsystem.v1_1_0.PowerSubsystem"/>
182720c9898SEd Tanous    </Schema>
183720c9898SEd Tanous
184f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerSubsystem.v1_1_2">
185f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
186f2a8e57eSGunnar Mills      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
187f2a8e57eSGunnar Mills      <EntityType Name="PowerSubsystem" BaseType="PowerSubsystem.v1_1_1.PowerSubsystem"/>
188f2a8e57eSGunnar Mills    </Schema>
189f2a8e57eSGunnar Mills
1909b46bc0bSMyung Bae    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerSubsystem.v1_1_3">
1919b46bc0bSMyung Bae      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1929b46bc0bSMyung Bae      <Annotation Term="OData.Description" String="This version was created to clarify that the `Allocation` object is intended for use with products which incorporate a shared power infrastructures."/>
1939b46bc0bSMyung Bae      <EntityType Name="PowerSubsystem" BaseType="PowerSubsystem.v1_1_2.PowerSubsystem"/>
1949b46bc0bSMyung Bae    </Schema>
1959b46bc0bSMyung Bae
196720c9898SEd Tanous  </edmx:DataServices>
197720c9898SEd Tanous</edmx:Edmx>
198