xref: /openbmc/bmcweb/features/redfish/schema/dmtf/csdl/PowerDomain_v1.xml (revision d125652e8a30dfeaad88bbfa5b1e04a80610469c)
12bde4061SEd Tanous<?xml version="1.0" encoding="UTF-8"?>
22bde4061SEd Tanous<!---->
32bde4061SEd Tanous<!--################################################################################       -->
4f2a8e57eSGunnar Mills<!--# Redfish Schema:  PowerDomain v1.2.2                                                  -->
52bde4061SEd Tanous<!--#                                                                                      -->
62bde4061SEd Tanous<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
72bde4061SEd Tanous<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8*d125652eSGunnar Mills<!--# Copyright 2014-2025 DMTF.                                                            -->
92bde4061SEd Tanous<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
102bde4061SEd Tanous<!--################################################################################       -->
112bde4061SEd Tanous<!---->
122bde4061SEd Tanous<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
132bde4061SEd Tanous
142bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
152bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
162bde4061SEd Tanous  </edmx:Reference>
172bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
182bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
192bde4061SEd Tanous  </edmx:Reference>
202bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
212bde4061SEd Tanous    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
222bde4061SEd Tanous  </edmx:Reference>
232bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
242bde4061SEd Tanous    <edmx:Include Namespace="Resource"/>
252bde4061SEd Tanous    <edmx:Include Namespace="Resource.v1_0_0"/>
262bde4061SEd Tanous  </edmx:Reference>
272bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/PowerDistribution_v1.xml">
282bde4061SEd Tanous    <edmx:Include Namespace="PowerDistribution"/>
292bde4061SEd Tanous  </edmx:Reference>
302bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Manager_v1.xml">
312bde4061SEd Tanous    <edmx:Include Namespace="Manager"/>
322bde4061SEd Tanous  </edmx:Reference>
332bde4061SEd Tanous
342bde4061SEd Tanous  <edmx:DataServices>
352bde4061SEd Tanous
362bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDomain">
372bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
38f2a8e57eSGunnar Mills      <Annotation Term="Redfish.Language" String="en"/>
392bde4061SEd Tanous
402bde4061SEd Tanous      <EntityType Name="PowerDomain" BaseType="Resource.v1_0_0.Resource" Abstract="true">
41f2a8e57eSGunnar Mills        <Annotation Term="OData.Description" String="The `PowerDomain` schema contains the definition for the DCIM power domain."/>
42f2a8e57eSGunnar Mills        <Annotation Term="OData.LongDescription" String="This resource shall represent a DCIM power domain for a Redfish implementation."/>
432bde4061SEd Tanous        <Annotation Term="Capabilities.InsertRestrictions">
442bde4061SEd Tanous          <Record>
452bde4061SEd Tanous            <PropertyValue Property="Insertable" Bool="false"/>
462bde4061SEd Tanous          </Record>
472bde4061SEd Tanous        </Annotation>
482bde4061SEd Tanous        <Annotation Term="Capabilities.UpdateRestrictions">
492bde4061SEd Tanous          <Record>
502bde4061SEd Tanous            <PropertyValue Property="Updatable" Bool="true"/>
512bde4061SEd Tanous            <Annotation Term="OData.Description" String="Any writable properties can be updated."/>
522bde4061SEd Tanous          </Record>
532bde4061SEd Tanous        </Annotation>
542bde4061SEd Tanous        <Annotation Term="Capabilities.DeleteRestrictions">
552bde4061SEd Tanous          <Record>
562bde4061SEd Tanous            <PropertyValue Property="Deletable" Bool="true"/>
572bde4061SEd Tanous            <Annotation Term="OData.Description" String="Some implementations might allow power domains to be deleted."/>
582bde4061SEd Tanous          </Record>
592bde4061SEd Tanous        </Annotation>
602bde4061SEd Tanous        <Annotation Term="Redfish.Uris">
612bde4061SEd Tanous          <Collection>
622bde4061SEd Tanous            <String>/redfish/v1/Facilities/{FacilityId}/PowerDomains/{PowerDomainId}</String>
632bde4061SEd Tanous          </Collection>
642bde4061SEd Tanous        </Annotation>
652bde4061SEd Tanous      </EntityType>
662bde4061SEd Tanous    </Schema>
672bde4061SEd Tanous
682bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDomain.v1_0_0">
692bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
702bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2019.4"/>
712bde4061SEd Tanous
722bde4061SEd Tanous      <EntityType Name="PowerDomain" BaseType="PowerDomain.PowerDomain">
732bde4061SEd Tanous        <Property Name="Status" Type="Resource.Status" Nullable="false">
742bde4061SEd Tanous          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
752bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
762bde4061SEd Tanous        </Property>
772bde4061SEd Tanous        <Property Name="Links" Type="PowerDomain.v1_0_0.Links" Nullable="false">
782bde4061SEd Tanous          <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
792bde4061SEd Tanous          <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."/>
802bde4061SEd Tanous        </Property>
812bde4061SEd Tanous        <Property Name="Actions" Type="PowerDomain.v1_0_0.Actions" Nullable="false">
822bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available actions for this resource."/>
832bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
842bde4061SEd Tanous        </Property>
852bde4061SEd Tanous      </EntityType>
862bde4061SEd Tanous
872bde4061SEd Tanous      <ComplexType Name="Links" BaseType="Resource.Links">
882bde4061SEd Tanous        <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
892bde4061SEd Tanous        <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."/>
902bde4061SEd Tanous        <NavigationProperty Name="FloorPDUs" Type="Collection(PowerDistribution.PowerDistribution)">
912bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
922bde4061SEd Tanous          <Annotation Term="OData.Description" String="An array of links to the floor power distribution units in this power domain."/>
93f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type `PowerDistribution` that represent the floor power distribution units in this power domain."/>
942bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
952bde4061SEd Tanous        </NavigationProperty>
962bde4061SEd Tanous        <NavigationProperty Name="RackPDUs" Type="Collection(PowerDistribution.PowerDistribution)">
972bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
982bde4061SEd Tanous          <Annotation Term="OData.Description" String="An array of links to the rack-level power distribution units in this power domain."/>
99f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type `PowerDistribution` that represent the rack-level power distribution units in this power domain."/>
1002bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
1012bde4061SEd Tanous        </NavigationProperty>
1022bde4061SEd Tanous        <NavigationProperty Name="TransferSwitches" Type="Collection(PowerDistribution.PowerDistribution)">
1032bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
1042bde4061SEd Tanous          <Annotation Term="OData.Description" String="An array of links to the transfer switches in this power domain."/>
105f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type `PowerDistribution` that represent the transfer switches in this power domain."/>
1062bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
1072bde4061SEd Tanous        </NavigationProperty>
1082bde4061SEd Tanous        <NavigationProperty Name="Switchgear" Type="Collection(PowerDistribution.PowerDistribution)">
1092bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
1102bde4061SEd Tanous          <Annotation Term="OData.Description" String="An array of links to the switchgear in this power domain."/>
111f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type `PowerDistribution` that represent the switchgear in this power domain."/>
1122bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
1132bde4061SEd Tanous        </NavigationProperty>
1142bde4061SEd Tanous        <NavigationProperty Name="ManagedBy" Type="Collection(Manager.Manager)">
1152bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1162bde4061SEd Tanous          <Annotation Term="OData.Description" String="An array of links to the managers responsible for managing this power domain."/>
117f2a8e57eSGunnar Mills          <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."/>
1182bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
1192bde4061SEd Tanous        </NavigationProperty>
1202bde4061SEd Tanous      </ComplexType>
1212bde4061SEd Tanous
1222bde4061SEd Tanous      <ComplexType Name="Actions">
1232bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
1242bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available actions for this resource."/>
1252bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
1262bde4061SEd Tanous        <Property Name="Oem" Type="PowerDomain.v1_0_0.OemActions" Nullable="false">
1272bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1282bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
1292bde4061SEd Tanous        </Property>
1302bde4061SEd Tanous      </ComplexType>
1312bde4061SEd Tanous
1322bde4061SEd Tanous      <ComplexType Name="OemActions">
1332bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
1342bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1352bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
1362bde4061SEd Tanous      </ComplexType>
1372bde4061SEd Tanous    </Schema>
1382bde4061SEd Tanous
1392bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDomain.v1_0_1">
1402bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1412bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
1422bde4061SEd Tanous      <EntityType Name="PowerDomain" BaseType="PowerDomain.v1_0_0.PowerDomain"/>
1432bde4061SEd Tanous    </Schema>
1442bde4061SEd Tanous
1452bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDomain.v1_0_2">
1462bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1472bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
1482bde4061SEd Tanous      <EntityType Name="PowerDomain" BaseType="PowerDomain.v1_0_1.PowerDomain"/>
1492bde4061SEd Tanous    </Schema>
1502bde4061SEd Tanous
151f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDomain.v1_0_3">
152f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
153f2a8e57eSGunnar 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."/>
154f2a8e57eSGunnar Mills      <EntityType Name="PowerDomain" BaseType="PowerDomain.v1_0_2.PowerDomain"/>
155f2a8e57eSGunnar Mills    </Schema>
156f2a8e57eSGunnar Mills
1572bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDomain.v1_1_0">
1582bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1592bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2021.2"/>
1602bde4061SEd Tanous      <EntityType Name="PowerDomain" BaseType="PowerDomain.v1_0_1.PowerDomain"/>
1612bde4061SEd Tanous
1622bde4061SEd Tanous      <ComplexType Name="Links" BaseType="PowerDomain.v1_0_0.Links">
1632bde4061SEd Tanous        <NavigationProperty Name="PowerShelves" Type="Collection(PowerDistribution.PowerDistribution)">
1642bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
1652bde4061SEd Tanous          <Annotation Term="OData.Description" String="An array of links to the power shelves in this power domain."/>
166f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type `PowerDistribution` that represent the power shelves in this power domain."/>
1672bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
1682bde4061SEd Tanous        </NavigationProperty>
1692bde4061SEd Tanous      </ComplexType>
1702bde4061SEd Tanous    </Schema>
1712bde4061SEd Tanous
1722bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDomain.v1_1_1">
1732bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1742bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
1752bde4061SEd Tanous      <EntityType Name="PowerDomain" BaseType="PowerDomain.v1_1_0.PowerDomain"/>
1762bde4061SEd Tanous    </Schema>
1772bde4061SEd Tanous
178f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDomain.v1_1_2">
179f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
180f2a8e57eSGunnar 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."/>
181f2a8e57eSGunnar Mills      <EntityType Name="PowerDomain" BaseType="PowerDomain.v1_1_1.PowerDomain"/>
182f2a8e57eSGunnar Mills    </Schema>
183f2a8e57eSGunnar Mills
1842bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDomain.v1_2_0">
1852bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1862bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2021.3"/>
1872bde4061SEd Tanous      <EntityType Name="PowerDomain" BaseType="PowerDomain.v1_1_0.PowerDomain"/>
1882bde4061SEd Tanous
1892bde4061SEd Tanous      <ComplexType Name="Links" BaseType="PowerDomain.v1_1_0.Links">
1902bde4061SEd Tanous        <NavigationProperty Name="ElectricalBuses" Type="Collection(PowerDistribution.PowerDistribution)">
1912bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
1922bde4061SEd Tanous          <Annotation Term="OData.Description" String="An array of links to the electrical buses in this power domain."/>
193f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type `PowerDistribution` that represent the electrical buses in this power domain."/>
1942bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
1952bde4061SEd Tanous        </NavigationProperty>
1962bde4061SEd Tanous      </ComplexType>
1972bde4061SEd Tanous    </Schema>
1982bde4061SEd Tanous
1992bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDomain.v1_2_1">
2002bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
2012bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
2022bde4061SEd Tanous      <EntityType Name="PowerDomain" BaseType="PowerDomain.v1_2_0.PowerDomain"/>
2032bde4061SEd Tanous    </Schema>
2042bde4061SEd Tanous
205f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDomain.v1_2_2">
206f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
207f2a8e57eSGunnar 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."/>
208f2a8e57eSGunnar Mills      <EntityType Name="PowerDomain" BaseType="PowerDomain.v1_2_1.PowerDomain"/>
209f2a8e57eSGunnar Mills    </Schema>
210f2a8e57eSGunnar Mills
2112bde4061SEd Tanous  </edmx:DataServices>
2122bde4061SEd Tanous</edmx:Edmx>
213