1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  Aggregate v1.0.3                                                    -->
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-2024 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.Capabilities.V1.xml">
18    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19  </edmx:Reference>
20  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
21    <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
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/RedfishExtensions_v1.xml">
28    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
29    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
30  </edmx:Reference>
31
32  <edmx:DataServices>
33
34    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Aggregate">
35      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
36      <Annotation Term="Redfish.Language" String="en"/>
37
38      <EntityType Name="Aggregate" BaseType="Resource.v1_0_0.Resource" Abstract="true">
39        <Annotation Term="OData.Description" String="The `Aggregate` schema describes a grouping method for an aggregation service.  Aggregates are formal groups of resources that are more persistent than ad hoc groupings."/>
40        <Annotation Term="OData.LongDescription" String="This resource shall represent an aggregation service grouping method for a Redfish implementation."/>
41        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
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="false"/>
50          </Record>
51        </Annotation>
52        <Annotation Term="Capabilities.DeleteRestrictions">
53          <Record>
54            <PropertyValue Property="Deletable" Bool="true"/>
55          </Record>
56        </Annotation>
57        <Annotation Term="Redfish.Uris">
58          <Collection>
59            <String>/redfish/v1/AggregationService/Aggregates/{AggregateId}</String>
60          </Collection>
61        </Annotation>
62      </EntityType>
63
64      <Action Name="Reset" IsBound="true">
65        <Annotation Term="OData.Description" String="This action is used to reset a collection of resources.  For example, this could be an aggregate or a list of computer systems."/>
66        <Annotation Term="OData.LongDescription" String="This action shall perform a reset of a collection of resources."/>
67        <Parameter Name="Aggregate" Type="Aggregate.v1_0_0.Actions"/>
68        <Parameter Name="DelayBetweenBatchesInSeconds" Type="Edm.Int64">
69          <Annotation Term="OData.Description" String="The delay of the batches of elements being reset in seconds."/>
70          <Annotation Term="OData.LongDescription" String="This parameter shall contain the delay of the batches of elements being reset in seconds."/>
71          <Annotation Term="Validation.Minimum" Int="0"/>
72          <Annotation Term="Measures.Unit" String="s"/>
73        </Parameter>
74        <Parameter Name="BatchSize" Type="Edm.Int64">
75          <Annotation Term="OData.Description" String="The number of elements in each batch being reset."/>
76          <Annotation Term="OData.LongDescription" String="This parameter shall contain the number of elements in each batch simultaneously being issued a reset."/>
77          <Annotation Term="Validation.Minimum" Int="0"/>
78        </Parameter>
79        <Parameter Name="ResetType" Type="Resource.ResetType">
80          <Annotation Term="OData.Description" String="The type of reset."/>
81          <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."/>
82        </Parameter>
83      </Action>
84
85      <Action Name="SetDefaultBootOrder" IsBound="true">
86        <Annotation Term="OData.Description" String="This action is used to restore the boot order to the default state for the computer systems that are members of this aggregate."/>
87        <Annotation Term="OData.LongDescription" String="This action shall restore the boot order to the default state for the computer systems that are members of this aggregate."/>
88        <Parameter Name="Aggregate" Type="Aggregate.v1_0_0.Actions"/>
89      </Action>
90
91      <Action Name="AddElements" IsBound="true">
92        <Annotation Term="OData.Description" String="This action is used to add one or more resources to the aggregate."/>
93        <Annotation Term="OData.LongDescription" String="This action shall add one or more resources to the aggregate, with the result that the resources are included in the `Elements` array of the aggregate."/>
94        <Parameter Name="Aggregate" Type="Aggregate.v1_0_0.Actions"/>
95        <Parameter Name="Elements" Type="Collection(Resource.Resource)" Nullable="false">
96          <Annotation Term="OData.Description" String="An array of resource links to add to the `Elements` array."/>
97          <Annotation Term="OData.LongDescription" String="This parameter shall contain an array of links to the specified resources to add to the aggregate's `Elements` array."/>
98        </Parameter>
99      </Action>
100
101      <Action Name="RemoveElements" IsBound="true">
102        <Annotation Term="OData.Description" String="This action is used to remove one or more resources from the aggregate."/>
103        <Annotation Term="OData.LongDescription" String="This action shall remove one or more resources from the aggregate, with the result that the resources are removed from the `Elements` array of the aggregate."/>
104        <Parameter Name="Aggregate" Type="Aggregate.v1_0_0.Actions"/>
105        <Parameter Name="Elements" Type="Collection(Resource.Resource)" Nullable="false">
106          <Annotation Term="OData.Description" String="An array of resource links to remove from the `Elements` array."/>
107          <Annotation Term="OData.LongDescription" String="This parameter shall contain an array of links to the specified resources to remove from the aggregate's `Elements` array."/>
108        </Parameter>
109      </Action>
110    </Schema>
111
112    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Aggregate.v1_0_0">
113      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
114      <Annotation Term="Redfish.Release" String="2020.2"/>
115
116      <EntityType Name="Aggregate" BaseType="Aggregate.Aggregate">
117        <NavigationProperty Name="Elements" Type="Collection(Resource.Resource)">
118          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
119          <Annotation Term="OData.Description" String="The elements of this aggregate."/>
120          <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to the elements of this aggregate."/>
121          <Annotation Term="OData.AutoExpandReferences"/>
122          <Annotation Term="Redfish.Required"/>
123          <Annotation Term="Redfish.RequiredOnCreate"/>
124        </NavigationProperty>
125        <Property Name="ElementsCount" Type="Edm.Int64">
126          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
127          <Annotation Term="OData.Description" String="The number of entries in the `Elements` array."/>
128          <Annotation Term="OData.LongDescription" String="This property shall contain the number of entries in the `Elements` array."/>
129          <Annotation Term="Validation.Minimum" Int="0"/>
130        </Property>
131        <Property Name="Actions" Type="Aggregate.v1_0_0.Actions" Nullable="false">
132          <Annotation Term="OData.Description" String="The available actions for this resource."/>
133          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
134        </Property>
135      </EntityType>
136
137      <ComplexType Name="Actions">
138        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
139        <Annotation Term="OData.Description" String="The available actions for this resource."/>
140        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
141        <Property Name="Oem" Type="Aggregate.v1_0_0.OemActions" Nullable="false">
142          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
143          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
144        </Property>
145      </ComplexType>
146
147      <ComplexType Name="OemActions">
148        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
149        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
150        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
151      </ComplexType>
152    </Schema>
153
154    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Aggregate.v1_0_1">
155      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
156      <Annotation Term="OData.Description" String="This version was created to specify 64-bit integers in OpenAPI."/>
157      <EntityType Name="Aggregate" BaseType="Aggregate.v1_0_0.Aggregate"/>
158    </Schema>
159
160    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Aggregate.v1_0_2">
161      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
162      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
163      <EntityType Name="Aggregate" BaseType="Aggregate.v1_0_1.Aggregate"/>
164    </Schema>
165
166    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Aggregate.v1_0_3">
167      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
168      <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."/>
169      <EntityType Name="Aggregate" BaseType="Aggregate.v1_0_2.Aggregate"/>
170    </Schema>
171
172  </edmx:DataServices>
173</edmx:Edmx>
174