summaryrefslogtreecommitdiff
path: root/static/redfish/v1/$metadata/index.xml
diff options
context:
space:
mode:
authorCarson Labrado <clabrado@google.com>2023-02-18 05:33:14 +0300
committerCarson Labrado <clabrado@google.com>2023-03-18 05:46:33 +0300
commit8b2521a5a3be479814beb316975bf3de0b4e378f (patch)
treeac46f48b65b5048fa77bf8dd011c4f27fb04e78d /static/redfish/v1/$metadata/index.xml
parentc251fe8155c3eb82a418e9f3f64415f38f0a7a21 (diff)
downloadbmcweb-8b2521a5a3be479814beb316975bf3de0b4e378f.tar.xz
Implement AggregationSource
Adds an AggregationSource resource for each satellite config present on dbus. Adds the AggregationSource schema which we had previously ignored. Tested: Querying an AggregationSource returned the expected information. curl localhost/redfish/v1/AggregationService/AggregationSources/5B247A { "@odata.id": "/redfish/v1/AggregationService/AggregationSources/5B247A", "@odata.type": "#AggregationSource.v1_3_1.AggregationSource", "HostName": "http://122.111.11.1:80", "Id": "5B247A", "Name": "Aggregation source", "Password": null, } Service Validator passed. The Service Validator also passed after removing the satellite config from the system such that /redfish/v1/AggregationService/AggregationSources returns an empty Members array. Signed-off-by: Carson Labrado <clabrado@google.com> Change-Id: I88b5fbc15f27cddd330ec22a25427fd8b18cf766
Diffstat (limited to 'static/redfish/v1/$metadata/index.xml')
-rw-r--r--static/redfish/v1/$metadata/index.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/static/redfish/v1/$metadata/index.xml b/static/redfish/v1/$metadata/index.xml
index 92bcc0935d..72abbf1f21 100644
--- a/static/redfish/v1/$metadata/index.xml
+++ b/static/redfish/v1/$metadata/index.xml
@@ -118,6 +118,17 @@
<edmx:Include Namespace="AggregationService.v1_0_0"/>
<edmx:Include Namespace="AggregationService.v1_0_1"/>
</edmx:Reference>
+ <edmx:Reference Uri="/redfish/v1/schema/AggregationSource_v1.xml">
+ <edmx:Include Namespace="AggregationSource"/>
+ <edmx:Include Namespace="AggregationSource.v1_0_0"/>
+ <edmx:Include Namespace="AggregationSource.v1_0_1"/>
+ <edmx:Include Namespace="AggregationSource.v1_1_0"/>
+ <edmx:Include Namespace="AggregationSource.v1_1_1"/>
+ <edmx:Include Namespace="AggregationSource.v1_2_0"/>
+ <edmx:Include Namespace="AggregationSource.v1_2_1"/>
+ <edmx:Include Namespace="AggregationSource.v1_3_0"/>
+ <edmx:Include Namespace="AggregationSource.v1_3_1"/>
+ </edmx:Reference>
<edmx:Reference Uri="/redfish/v1/schema/AggregationSourceCollection_v1.xml">
<edmx:Include Namespace="AggregationSourceCollection"/>
</edmx:Reference>