Skip to content

Commit

Permalink
Fixed resource tree
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-pinto committed Apr 23, 2024
1 parent e4c41cc commit 60ca7f0
Show file tree
Hide file tree
Showing 7 changed files with 145 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"@Redfish.Copyright": "Copyright 2014-2021 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright.",
"@odata.id": "/redfish/v1/AggregationService/AggregationSources/0fa4bc06-79a8-4fec-bea5-26dfa7678c29",
"@odata.type": "#AggregationSource.v1_2_.AggregationSource",
"Connections": {
"@odata.id": "/redfish/v1/Fabrics/CXL/Connections"
},
"Description": "CXL Fabric",
"Endpoints": {
"@odata.id": "/redfish/v1/Fabrics/CXL/Endpoints"
},
"FabricType": "CXL",
"HostName": "http://localhost:5050",
"Id": "0fa4bc06-79a8-4fec-bea5-26dfa7678c29",
"Links": {
"ConnectionMethod": {
"@odata.id": "/redfish/v1/AggregationService/ConnectionMethods/CXL"
},
"ResourcesAccessed": [

]
},
"Name": "CXL Fabric",
"Oem": {
"Sunfish_RM": {
"@odata.type": "#SunfishExtensions.v1_0_0.ResourceExtensions",
"ManagingAgent": {
"@odata.id": "/redfish/v1/AggregationService/AggregationSources/0fa4bc06-79a8-4fec-bea5-26dfa7678c29"
}
}
},
"Status": {
"Health": "OK",
"State": "Enabled"
},
"Switches": {
"@odata.id": "/redfish/v1/Fabrics/CXL/Switches"
},
"Zones": {
"@odata.id": "/redfish/v1/Fabrics/CXL/Zones"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"@Redfish.Copyright": "Copyright 2014-2021 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright.",
"@odata.id": "/redfish/v1/AggregationService/AggregationSources/0fa4bc06-79a8-4fec-bea5-26dfa7678c29",
"@odata.type": "#AggregationSource.v1_2_.AggregationSource",
"Connections": {
"@odata.id": "/redfish/v1/Fabrics/CXL/Connections"
},
"Description": "CXL Fabric",
"Endpoints": {
"@odata.id": "/redfish/v1/Fabrics/CXL/Endpoints"
},
"FabricType": "CXL",
"HostName": "http://220.134.146.222:9080",
"Id": "0fa4bc06-79a8-4fec-bea5-26dfa7678c29",
"Links": {
"ConnectionMethod": {
"@odata.id": "/redfish/v1/AggregationService/ConnectionMethods/CXL"
},
"ResourcesAccessed": [
]
},
"Name": "CXL Fabric",
"Oem": {
"Sunfish_RM": {
"@odata.type": "#SunfishExtensions.v1_0_0.ResourceExtensions",
"ManagingAgent": {
"@odata.id": "/redfish/v1/AggregationService/AggregationSources/0fa4bc06-79a8-4fec-bea5-26dfa7678c29"
}
}
},
"Status": {
"Health": "OK",
"State": "Enabled"
},
"Switches": {
"@odata.id": "/redfish/v1/Fabrics/CXL/Switches"
},
"Zones": {
"@odata.id": "/redfish/v1/Fabrics/CXL/Zones"
}
}
14 changes: 14 additions & 0 deletions Resources/AggregationService/AggregationSources/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"@odata.id": "/redfish/v1/AggregationService/AggregationSources",
"@odata.type": "#AggregationService/AggregationSourcesCollection.AggregationService/AggregationSourcesCollection",
"Members": [
{
"@odata.id": "/redfish/v1/AggregationService/AggregationSources/0fa4bc06-79a8-4fec-bea5-26dfa7678c29"
},
{
"@odata.id": "/redfish/v1/AggregationService/AggregationSources/0fa4bc06-79a8-4fec-bea5-26dfa7678c28"
}
],
"Members@odata.count": 1,
"Name": "AggregationService/AggregationSources Collection"
}
16 changes: 16 additions & 0 deletions Resources/AggregationService/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"@odata.context": "/redfish/v1/$metadata#CompositionService.AggregationService",
"@odata.type": "#CompositionService.v1_2_2.AggregationService",
"@odata.id": "/redfish/v1/AggregationService",
"Id": "AggregationService",
"Name": "Aggregation Service",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"ServiceEnabled": true,
"AgregationSources": {
"@odata.id": "/redfish/v1/AggregationService/AggregationSources"
},
"Oem": {}
}
10 changes: 10 additions & 0 deletions Resources/CompositionService/ResourceBlocks/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"@odata.context": "/redfish/v1/$metadata#ResourceBlockCollection.ResourceBlockCollection",
"@odata.id": "/redfish/v1/CompositionService/ResourceBlocks",
"@odata.type": "#ResourceBlockCollection.ResourceBlockCollection",
"Name": "Resource Block Collection",
"Links": {
"Members@odata.count": 20,
"Members": []
}
}
16 changes: 16 additions & 0 deletions Resources/CompositionService/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"@odata.context": "/redfish/v1/$metadata#CompositionService.CompositionService",
"@odata.type": "#CompositionService.v1_2_2.CompositionService",
"@odata.id": "/redfish/v1/CompositionService",
"Id": "CompositionService",
"Name": "Composition Service",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"ServiceEnabled": true,
"ResourceBlocks": {
"@odata.id": "/redfish/v1/CompositionService/ResourceBlocks"
},
"Oem": {}
}
6 changes: 6 additions & 0 deletions Resources/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,11 @@
"RedfishVersion": "1.14.0",
"Systems": {
"@odata.id": "/redfish/v1/Systems"
},
"CompositionService": {
"@odata.id": "/redfish/v1/CompositionService"
},
"AggregationServiceService": {
"@odata.id": "/redfish/v1/AggregationService"
}
}

0 comments on commit 60ca7f0

Please sign in to comment.