1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  AggregationService v1.0.1                                           -->
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                                   -->
8<!--# Copyright 2014-2023 DMTF.                                                            -->
9<!--# 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.Measures.V1.xml">
18    <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
19  </edmx:Reference>
20  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
21    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
22  </edmx:Reference>
23  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
24    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
25    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
26  </edmx:Reference>
27  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
28    <edmx:Include Namespace="Resource"/>
29    <edmx:Include Namespace="Resource.v1_0_0"/>
30  </edmx:Reference>
31  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/AggregationSourceCollection_v1.xml">
32    <edmx:Include Namespace="AggregationSourceCollection"/>
33  </edmx:Reference>
34  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/AggregateCollection_v1.xml">
35    <edmx:Include Namespace="AggregateCollection"/>
36  </edmx:Reference>
37  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ConnectionMethodCollection_v1.xml">
38    <edmx:Include Namespace="ConnectionMethodCollection"/>
39  </edmx:Reference>
40  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ComputerSystem_v1.xml">
41    <edmx:Include Namespace="ComputerSystem"/>
42  </edmx:Reference>
43
44  <edmx:DataServices>
45
46    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="AggregationService">
47      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
48
49      <EntityType Name="AggregationService" BaseType="Resource.v1_0_0.Resource" Abstract="true">
50        <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."/>
51        <Annotation Term="OData.LongDescription" String="This resource shall represent an aggregation service for a Redfish implementation."/>
52        <Annotation Term="Capabilities.InsertRestrictions">
53          <Record>
54            <PropertyValue Property="Insertable" Bool="false"/>
55          </Record>
56        </Annotation>
57        <Annotation Term="Capabilities.UpdateRestrictions">
58          <Record>
59            <PropertyValue Property="Updatable" Bool="true"/>
60            <Annotation Term="OData.Description" String="The aggregation service can be updated to change some properties."/>
61          </Record>
62        </Annotation>
63        <Annotation Term="Capabilities.DeleteRestrictions">
64          <Record>
65            <PropertyValue Property="Deletable" Bool="false"/>
66          </Record>
67        </Annotation>
68        <Annotation Term="Redfish.Uris">
69          <Collection>
70            <String>/redfish/v1/AggregationService</String>
71          </Collection>
72        </Annotation>
73      </EntityType>
74
75      <Action Name="Reset" IsBound="true">
76        <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."/>
77        <Annotation Term="OData.LongDescription" String="This action shall perform a reset of a set of resources."/>
78        <Parameter Name="AggregationService" Type="AggregationService.v1_0_0.Actions"/>
79        <Parameter Name="DelayBetweenBatchesInSeconds" Type="Edm.Int64">
80          <Annotation Term="OData.Description" String="The delay of the batches of elements being reset in seconds."/>
81          <Annotation Term="OData.LongDescription" String="This parameter shall contain the delay of the batches of elements being reset in seconds."/>
82          <Annotation Term="Validation.Minimum" Int="0"/>
83          <Annotation Term="Measures.Unit" String="s"/>
84        </Parameter>
85        <Parameter Name="BatchSize" Type="Edm.Int64">
86          <Annotation Term="OData.Description" String="The number of elements in each batch being reset."/>
87          <Annotation Term="OData.LongDescription" String="This parameter shall contain the number of elements in each batch simultaneously being issued a reset."/>
88          <Annotation Term="Validation.Minimum" Int="0"/>
89        </Parameter>
90        <Parameter Name="ResetType" Type="Resource.ResetType">
91          <Annotation Term="OData.Description" String="The type of reset."/>
92          <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."/>
93        </Parameter>
94        <Parameter Name="TargetURIs" Type="Collection(Resource.Resource)" Nullable="false">
95          <Annotation Term="OData.Description" String="An array of links to the resources being reset."/>
96          <Annotation Term="OData.LongDescription" String="This parameter shall contain an array of links to the resources being reset."/>
97        </Parameter>
98      </Action>
99
100      <Action Name="SetDefaultBootOrder" IsBound="true">
101        <Annotation Term="OData.Description" String="This action is used to restore the boot order to the default state for the specified computer systems."/>
102        <Annotation Term="OData.LongDescription" String="This action shall restore the boot order to the default state for the specified computer systems."/>
103        <Parameter Name="AggregationService" Type="AggregationService.v1_0_0.Actions" />
104        <Parameter Name="Systems" Type="Collection(ComputerSystem.ComputerSystem)" Nullable="false">
105          <Annotation Term="OData.Description" String="The computer systems to restore."/>
106          <Annotation Term="OData.LongDescription" String="This parameter shall contain an array of links to resources of type ComputerSystem."/>
107        </Parameter>
108      </Action>
109    </Schema>
110
111    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="AggregationService.v1_0_0">
112      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
113      <Annotation Term="Redfish.Release" String="2020.2"/>
114
115      <EntityType Name="AggregationService" BaseType="AggregationService.AggregationService">
116        <Property Name="ServiceEnabled" Type="Edm.Boolean">
117          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
118          <Annotation Term="OData.Description" String="An indication of whether the aggregation service is enabled."/>
119          <Annotation Term="OData.LongDescription" String="This property shall indicate whether the aggregation service is enabled."/>
120        </Property>
121        <Property Name="Status" Type="Resource.Status" Nullable="false">
122          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
123          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
124        </Property>
125        <NavigationProperty Name="Aggregates" Type="AggregateCollection.AggregateCollection" ContainsTarget="true" Nullable="false">
126          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
127          <Annotation Term="OData.Description" String="The link to the collection of aggregates associated with this service."/>
128          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type AggregateCollection."/>
129          <Annotation Term="OData.AutoExpandReferences"/>
130        </NavigationProperty>
131        <NavigationProperty Name="AggregationSources" Type="AggregationSourceCollection.AggregationSourceCollection" ContainsTarget="true" Nullable="false">
132          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
133          <Annotation Term="OData.Description" String="The link to the collection of aggregation sources associated with this service."/>
134          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type AggregationSourceCollection."/>
135          <Annotation Term="OData.AutoExpandReferences"/>
136        </NavigationProperty>
137        <NavigationProperty Name="ConnectionMethods" Type="ConnectionMethodCollection.ConnectionMethodCollection" ContainsTarget="true" Nullable="false">
138          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
139          <Annotation Term="OData.Description" String="The link to the collection of connection methods associated with this service."/>
140          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type ConnectionMethodCollection."/>
141          <Annotation Term="OData.AutoExpandReferences"/>
142        </NavigationProperty>
143        <Property Name="Actions" Type="AggregationService.v1_0_0.Actions" Nullable="false">
144          <Annotation Term="OData.Description" String="The available actions for this resource."/>
145          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
146        </Property>
147      </EntityType>
148
149      <ComplexType Name="Actions">
150        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
151        <Annotation Term="OData.Description" String="The available actions for this resource."/>
152        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
153        <Property Name="Oem" Type="AggregationService.v1_0_0.OemActions" Nullable="false">
154          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
155          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
156        </Property>
157      </ComplexType>
158
159      <ComplexType Name="OemActions">
160        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
161        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
162        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
163      </ComplexType>
164    </Schema>
165
166    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="AggregationService.v1_0_1">
167      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
168      <Annotation Term="OData.Description" String="This version was created to specify 64-bit integers in OpenAPI."/>
169      <EntityType Name="AggregationService" BaseType="AggregationService.v1_0_0.AggregationService"/>
170    </Schema>
171
172    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="AggregationService.v1_0_2">
173      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
174      <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`."/>
175      <EntityType Name="AggregationService" BaseType="AggregationService.v1_0_1.AggregationService"/>
176    </Schema>
177
178  </edmx:DataServices>
179</edmx:Edmx>
180