xref: /openbmc/bmcweb/features/redfish/schema/dmtf/csdl/AggregationService_v1.xml (revision d125652e8a30dfeaad88bbfa5b1e04a80610469c)
1720c9898SEd Tanous<?xml version="1.0" encoding="UTF-8"?>
2720c9898SEd Tanous<!---->
3720c9898SEd Tanous<!--################################################################################       -->
4f2a8e57eSGunnar Mills<!--# Redfish Schema:  AggregationService v1.0.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.Measures.V1.xml">
18720c9898SEd Tanous    <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
19720c9898SEd Tanous  </edmx:Reference>
20720c9898SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
21720c9898SEd Tanous    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
22720c9898SEd Tanous  </edmx:Reference>
23720c9898SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
24720c9898SEd Tanous    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
25720c9898SEd Tanous    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
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/AggregationSourceCollection_v1.xml">
32720c9898SEd Tanous    <edmx:Include Namespace="AggregationSourceCollection"/>
33720c9898SEd Tanous  </edmx:Reference>
34720c9898SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/AggregateCollection_v1.xml">
35720c9898SEd Tanous    <edmx:Include Namespace="AggregateCollection"/>
36720c9898SEd Tanous  </edmx:Reference>
37720c9898SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ConnectionMethodCollection_v1.xml">
38720c9898SEd Tanous    <edmx:Include Namespace="ConnectionMethodCollection"/>
39720c9898SEd Tanous  </edmx:Reference>
40720c9898SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ComputerSystem_v1.xml">
41720c9898SEd Tanous    <edmx:Include Namespace="ComputerSystem"/>
42720c9898SEd Tanous  </edmx:Reference>
43720c9898SEd Tanous
44720c9898SEd Tanous  <edmx:DataServices>
45720c9898SEd Tanous
46720c9898SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="AggregationService">
47720c9898SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
48f2a8e57eSGunnar Mills      <Annotation Term="Redfish.Language" String="en"/>
49720c9898SEd Tanous
50720c9898SEd Tanous      <EntityType Name="AggregationService" BaseType="Resource.v1_0_0.Resource" Abstract="true">
51f2a8e57eSGunnar Mills        <Annotation Term="OData.Description" String="The `AggregationService` schema contains properties for managing aggregation operations, either on ad hoc combinations of resources or on defined sets of resources called aggregates.  Access points define the properties needed to access the entity being aggregated and connection methods describe the protocol or other semantics of the connection."/>
52720c9898SEd Tanous        <Annotation Term="OData.LongDescription" String="This resource shall represent an aggregation service for a Redfish implementation."/>
53720c9898SEd Tanous        <Annotation Term="Capabilities.InsertRestrictions">
54720c9898SEd Tanous          <Record>
55720c9898SEd Tanous            <PropertyValue Property="Insertable" Bool="false"/>
56720c9898SEd Tanous          </Record>
57720c9898SEd Tanous        </Annotation>
58720c9898SEd Tanous        <Annotation Term="Capabilities.UpdateRestrictions">
59720c9898SEd Tanous          <Record>
60720c9898SEd Tanous            <PropertyValue Property="Updatable" Bool="true"/>
61720c9898SEd Tanous            <Annotation Term="OData.Description" String="The aggregation service can be updated to change some properties."/>
62720c9898SEd Tanous          </Record>
63720c9898SEd Tanous        </Annotation>
64720c9898SEd Tanous        <Annotation Term="Capabilities.DeleteRestrictions">
65720c9898SEd Tanous          <Record>
66720c9898SEd Tanous            <PropertyValue Property="Deletable" Bool="false"/>
67720c9898SEd Tanous          </Record>
68720c9898SEd Tanous        </Annotation>
69720c9898SEd Tanous        <Annotation Term="Redfish.Uris">
70720c9898SEd Tanous          <Collection>
71720c9898SEd Tanous            <String>/redfish/v1/AggregationService</String>
72720c9898SEd Tanous          </Collection>
73720c9898SEd Tanous        </Annotation>
74720c9898SEd Tanous      </EntityType>
75720c9898SEd Tanous
76720c9898SEd Tanous      <Action Name="Reset" IsBound="true">
77720c9898SEd Tanous        <Annotation Term="OData.Description" String="This action is used to reset a set of resources.  For example this could be a list of computer systems."/>
78720c9898SEd Tanous        <Annotation Term="OData.LongDescription" String="This action shall perform a reset of a set of resources."/>
79720c9898SEd Tanous        <Parameter Name="AggregationService" Type="AggregationService.v1_0_0.Actions"/>
80720c9898SEd Tanous        <Parameter Name="DelayBetweenBatchesInSeconds" Type="Edm.Int64">
81720c9898SEd Tanous          <Annotation Term="OData.Description" String="The delay of the batches of elements being reset in seconds."/>
82720c9898SEd Tanous          <Annotation Term="OData.LongDescription" String="This parameter shall contain the delay of the batches of elements being reset in seconds."/>
83720c9898SEd Tanous          <Annotation Term="Validation.Minimum" Int="0"/>
84720c9898SEd Tanous          <Annotation Term="Measures.Unit" String="s"/>
85720c9898SEd Tanous        </Parameter>
86720c9898SEd Tanous        <Parameter Name="BatchSize" Type="Edm.Int64">
87720c9898SEd Tanous          <Annotation Term="OData.Description" String="The number of elements in each batch being reset."/>
88720c9898SEd Tanous          <Annotation Term="OData.LongDescription" String="This parameter shall contain the number of elements in each batch simultaneously being issued a reset."/>
89720c9898SEd Tanous          <Annotation Term="Validation.Minimum" Int="0"/>
90720c9898SEd Tanous        </Parameter>
91720c9898SEd Tanous        <Parameter Name="ResetType" Type="Resource.ResetType">
92720c9898SEd Tanous          <Annotation Term="OData.Description" String="The type of reset."/>
93720c9898SEd Tanous          <Annotation Term="OData.LongDescription" String="This parameter shall contain the type of reset.  The service can accept a request without the parameter and perform an implementation-specific default reset."/>
94720c9898SEd Tanous        </Parameter>
95720c9898SEd Tanous        <Parameter Name="TargetURIs" Type="Collection(Resource.Resource)" Nullable="false">
96720c9898SEd Tanous          <Annotation Term="OData.Description" String="An array of links to the resources being reset."/>
97720c9898SEd Tanous          <Annotation Term="OData.LongDescription" String="This parameter shall contain an array of links to the resources being reset."/>
98720c9898SEd Tanous        </Parameter>
99720c9898SEd Tanous      </Action>
100720c9898SEd Tanous
101720c9898SEd Tanous      <Action Name="SetDefaultBootOrder" IsBound="true">
102720c9898SEd Tanous        <Annotation Term="OData.Description" String="This action is used to restore the boot order to the default state for the specified computer systems."/>
103720c9898SEd Tanous        <Annotation Term="OData.LongDescription" String="This action shall restore the boot order to the default state for the specified computer systems."/>
104720c9898SEd Tanous        <Parameter Name="AggregationService" Type="AggregationService.v1_0_0.Actions" />
105720c9898SEd Tanous        <Parameter Name="Systems" Type="Collection(ComputerSystem.ComputerSystem)" Nullable="false">
106720c9898SEd Tanous          <Annotation Term="OData.Description" String="The computer systems to restore."/>
107f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This parameter shall contain an array of links to resources of type `ComputerSystem`."/>
108720c9898SEd Tanous        </Parameter>
109720c9898SEd Tanous      </Action>
110720c9898SEd Tanous    </Schema>
111720c9898SEd Tanous
112720c9898SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="AggregationService.v1_0_0">
113720c9898SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
114720c9898SEd Tanous      <Annotation Term="Redfish.Release" String="2020.2"/>
115720c9898SEd Tanous
116720c9898SEd Tanous      <EntityType Name="AggregationService" BaseType="AggregationService.AggregationService">
117720c9898SEd Tanous        <Property Name="ServiceEnabled" Type="Edm.Boolean">
118720c9898SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
119720c9898SEd Tanous          <Annotation Term="OData.Description" String="An indication of whether the aggregation service is enabled."/>
120720c9898SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall indicate whether the aggregation service is enabled."/>
121720c9898SEd Tanous        </Property>
122720c9898SEd Tanous        <Property Name="Status" Type="Resource.Status" Nullable="false">
123720c9898SEd Tanous          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
124720c9898SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
125720c9898SEd Tanous        </Property>
126720c9898SEd Tanous        <NavigationProperty Name="Aggregates" Type="AggregateCollection.AggregateCollection" ContainsTarget="true" Nullable="false">
127720c9898SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
128720c9898SEd Tanous          <Annotation Term="OData.Description" String="The link to the collection of aggregates associated with this service."/>
129f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type `AggregateCollection`."/>
130720c9898SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
131720c9898SEd Tanous        </NavigationProperty>
132720c9898SEd Tanous        <NavigationProperty Name="AggregationSources" Type="AggregationSourceCollection.AggregationSourceCollection" ContainsTarget="true" Nullable="false">
133720c9898SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
134720c9898SEd Tanous          <Annotation Term="OData.Description" String="The link to the collection of aggregation sources associated with this service."/>
135f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type `AggregationSourceCollection`."/>
136720c9898SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
137720c9898SEd Tanous        </NavigationProperty>
138720c9898SEd Tanous        <NavigationProperty Name="ConnectionMethods" Type="ConnectionMethodCollection.ConnectionMethodCollection" ContainsTarget="true" Nullable="false">
139720c9898SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
140720c9898SEd Tanous          <Annotation Term="OData.Description" String="The link to the collection of connection methods associated with this service."/>
141f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type `ConnectionMethodCollection`."/>
142720c9898SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
143720c9898SEd Tanous        </NavigationProperty>
144720c9898SEd Tanous        <Property Name="Actions" Type="AggregationService.v1_0_0.Actions" Nullable="false">
145720c9898SEd Tanous          <Annotation Term="OData.Description" String="The available actions for this resource."/>
146720c9898SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
147720c9898SEd Tanous        </Property>
148720c9898SEd Tanous      </EntityType>
149720c9898SEd Tanous
150720c9898SEd Tanous      <ComplexType Name="Actions">
151720c9898SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
152720c9898SEd Tanous        <Annotation Term="OData.Description" String="The available actions for this resource."/>
153720c9898SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
154720c9898SEd Tanous        <Property Name="Oem" Type="AggregationService.v1_0_0.OemActions" Nullable="false">
155720c9898SEd Tanous          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
156720c9898SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
157720c9898SEd Tanous        </Property>
158720c9898SEd Tanous      </ComplexType>
159720c9898SEd Tanous
160720c9898SEd Tanous      <ComplexType Name="OemActions">
161720c9898SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
162720c9898SEd Tanous        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
163720c9898SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
164720c9898SEd Tanous      </ComplexType>
165720c9898SEd Tanous    </Schema>
166720c9898SEd Tanous
167720c9898SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="AggregationService.v1_0_1">
168720c9898SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
169720c9898SEd Tanous      <Annotation Term="OData.Description" String="This version was created to specify 64-bit integers in OpenAPI."/>
170720c9898SEd Tanous      <EntityType Name="AggregationService" BaseType="AggregationService.v1_0_0.AggregationService"/>
171720c9898SEd Tanous    </Schema>
172720c9898SEd Tanous
173720c9898SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="AggregationService.v1_0_2">
174720c9898SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
175720c9898SEd Tanous      <Annotation Term="OData.Description" String="This version was created to remove the additional properties term in the root of the resource, which was incorrectly set to `true`."/>
176720c9898SEd Tanous      <EntityType Name="AggregationService" BaseType="AggregationService.v1_0_1.AggregationService"/>
177720c9898SEd Tanous    </Schema>
178720c9898SEd Tanous
179f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="AggregationService.v1_0_3">
180f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
181f2a8e57eSGunnar 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."/>
182f2a8e57eSGunnar Mills      <EntityType Name="AggregationService" BaseType="AggregationService.v1_0_2.AggregationService"/>
183f2a8e57eSGunnar Mills    </Schema>
184f2a8e57eSGunnar Mills
185720c9898SEd Tanous  </edmx:DataServices>
186720c9898SEd Tanous</edmx:Edmx>
187