diff options
author | Carson Labrado <clabrado@google.com> | 2023-02-18 04:02:18 +0300 |
---|---|---|
committer | Carson Labrado <clabrado@google.com> | 2023-03-14 03:45:03 +0300 |
commit | 5315c1b149b724d0395f42ca75d4660aaecdf351 (patch) | |
tree | 8febdc0704eed0d1710d9ceeba3f44d46b7e797d /static/redfish/v1/schema | |
parent | a90323367863533ae3456ed2ee1baa705439eea9 (diff) | |
download | bmcweb-5315c1b149b724d0395f42ca75d4660aaecdf351.tar.xz |
Implement AggregationSourceCollection
This is an intermediate step in setting up aggregation sources. A
future patch will add aggregation sources based on the existence of
satellite configs. For now the collection will always return as 0
members.
Adds the AggregationSourceCollection schema which we previously
ignored.
Tested:
Service Validator passes
Signed-off-by: Carson Labrado <clabrado@google.com>
Change-Id: I65c9231289bf0a9b6392696d55bc3feb0023c694
Diffstat (limited to 'static/redfish/v1/schema')
-rw-r--r-- | static/redfish/v1/schema/AggregationSourceCollection_v1.xml | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/static/redfish/v1/schema/AggregationSourceCollection_v1.xml b/static/redfish/v1/schema/AggregationSourceCollection_v1.xml new file mode 100644 index 0000000000..22dde6c446 --- /dev/null +++ b/static/redfish/v1/schema/AggregationSourceCollection_v1.xml @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!----> +<!--################################################################################ --> +<!--# Redfish Schema: AggregationSourceCollection --> +<!--# --> +<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> +<!--# available at http://www.dmtf.org/standards/redfish --> +<!--# Copyright 2014-2022 DMTF. --> +<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> +<!--################################################################################ --> +<!----> +<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> + + <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml"> + <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/> + </edmx:Reference> + <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml"> + <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/> + </edmx:Reference> + <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> + <edmx:Include Namespace="Resource.v1_0_0"/> + </edmx:Reference> + <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> + <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> + </edmx:Reference> + <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/AggregationSource_v1.xml"> + <edmx:Include Namespace="AggregationSource"/> + </edmx:Reference> + + <edmx:DataServices> + + <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="AggregationSourceCollection"> + <Annotation Term="Redfish.OwningEntity" String="DMTF"/> + + <EntityType Name="AggregationSourceCollection" BaseType="Resource.v1_0_0.ResourceCollection"> + <Annotation Term="OData.Description" String="The collection of AggregationSource resource instances."/> + <Annotation Term="OData.LongDescription" String="This resource shall represent a resource collection of AggregationSource instances for a Redfish implementation."/> + <Annotation Term="Capabilities.InsertRestrictions"> + <Record> + <PropertyValue Property="Insertable" Bool="true"/> + </Record> + </Annotation> + <Annotation Term="Capabilities.UpdateRestrictions"> + <Record> + <PropertyValue Property="Updatable" Bool="false"/> + </Record> + </Annotation> + <Annotation Term="Capabilities.DeleteRestrictions"> + <Record> + <PropertyValue Property="Deletable" Bool="false"/> + </Record> + </Annotation> + <Annotation Term="Redfish.Uris"> + <Collection> + <String>/redfish/v1/AggregationService/AggregationSources</String> + </Collection> + </Annotation> + <NavigationProperty Name="Members" Type="Collection(AggregationSource.AggregationSource)"> + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> + <Annotation Term="OData.Description" String="The members of this collection."/> + <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to the members of this collection."/> + <Annotation Term="OData.AutoExpandReferences"/> + <Annotation Term="Redfish.Required"/> + </NavigationProperty> + </EntityType> + </Schema> + + </edmx:DataServices> +</edmx:Edmx> |