12bde4061SEd Tanous<?xml version="1.0" encoding="UTF-8"?> 22bde4061SEd Tanous<!----> 32bde4061SEd Tanous<!--################################################################################ --> 4f2a8e57eSGunnar Mills<!--# Redfish Schema: SwitchMetrics v1.0.2 --> 52bde4061SEd Tanous<!--# --> 62bde4061SEd Tanous<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 72bde4061SEd Tanous<!--# available at http://www.dmtf.org/standards/redfish --> 8*d125652eSGunnar Mills<!--# Copyright 2014-2025 DMTF. --> 92bde4061SEd Tanous<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 102bde4061SEd Tanous<!--################################################################################ --> 112bde4061SEd Tanous<!----> 122bde4061SEd Tanous<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> 132bde4061SEd Tanous 142bde4061SEd Tanous <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml"> 152bde4061SEd Tanous <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/> 162bde4061SEd Tanous </edmx:Reference> 172bde4061SEd Tanous <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml"> 182bde4061SEd Tanous <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/> 192bde4061SEd Tanous </edmx:Reference> 202bde4061SEd Tanous <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml"> 212bde4061SEd Tanous <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/> 222bde4061SEd Tanous </edmx:Reference> 232bde4061SEd Tanous <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> 242bde4061SEd Tanous <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> 252bde4061SEd Tanous <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/> 262bde4061SEd Tanous </edmx:Reference> 272bde4061SEd Tanous <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> 282bde4061SEd Tanous <edmx:Include Namespace="Resource"/> 292bde4061SEd Tanous <edmx:Include Namespace="Resource.v1_0_0"/> 302bde4061SEd Tanous </edmx:Reference> 312bde4061SEd Tanous <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/PCIeDevice_v1.xml"> 322bde4061SEd Tanous <edmx:Include Namespace="PCIeDevice"/> 332bde4061SEd Tanous </edmx:Reference> 342bde4061SEd Tanous 352bde4061SEd Tanous <edmx:DataServices> 362bde4061SEd Tanous 372bde4061SEd Tanous <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SwitchMetrics"> 382bde4061SEd Tanous <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 39f2a8e57eSGunnar Mills <Annotation Term="Redfish.Language" String="en"/> 402bde4061SEd Tanous 412bde4061SEd Tanous <EntityType Name="SwitchMetrics" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 42f2a8e57eSGunnar Mills <Annotation Term="OData.Description" String="The `SwitchMetrics` schema contains usage and health statistics for a switch device."/> 432bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This resource shall represent the metrics for a switch device in a Redfish implementation."/> 442bde4061SEd Tanous <Annotation Term="OData.AdditionalProperties" Bool="false"/> 452bde4061SEd Tanous <Annotation Term="Capabilities.InsertRestrictions"> 462bde4061SEd Tanous <Record> 472bde4061SEd Tanous <PropertyValue Property="Insertable" Bool="false"/> 482bde4061SEd Tanous </Record> 492bde4061SEd Tanous </Annotation> 502bde4061SEd Tanous <Annotation Term="Capabilities.UpdateRestrictions"> 512bde4061SEd Tanous <Record> 522bde4061SEd Tanous <PropertyValue Property="Updatable" Bool="false"/> 532bde4061SEd Tanous </Record> 542bde4061SEd Tanous </Annotation> 552bde4061SEd Tanous <Annotation Term="Capabilities.DeleteRestrictions"> 562bde4061SEd Tanous <Record> 572bde4061SEd Tanous <PropertyValue Property="Deletable" Bool="false"/> 582bde4061SEd Tanous </Record> 592bde4061SEd Tanous </Annotation> 602bde4061SEd Tanous <Annotation Term="Redfish.Uris"> 612bde4061SEd Tanous <Collection> 622bde4061SEd Tanous <String>/redfish/v1/Fabrics/{FabricId}/Switches/{SwitchId}/SwitchMetrics</String> 632bde4061SEd Tanous </Collection> 642bde4061SEd Tanous </Annotation> 652bde4061SEd Tanous </EntityType> 662bde4061SEd Tanous 672bde4061SEd Tanous <Action Name="ClearCurrentPeriod" IsBound="true"> 682bde4061SEd Tanous <Parameter Name="SwitchMetrics" Type="SwitchMetrics.v1_0_0.Actions"/> 69f2a8e57eSGunnar Mills <Annotation Term="OData.Description" String="This action sets the `CurrentPeriod` property's values to 0."/> 70f2a8e57eSGunnar Mills <Annotation Term="OData.LongDescription" String="This action shall set the `CurrentPeriod` property's values to 0."/> 712bde4061SEd Tanous </Action> 722bde4061SEd Tanous </Schema> 732bde4061SEd Tanous 742bde4061SEd Tanous <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SwitchMetrics.v1_0_0"> 752bde4061SEd Tanous <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 762bde4061SEd Tanous <Annotation Term="Redfish.Release" String="2021.3"/> 772bde4061SEd Tanous 782bde4061SEd Tanous <EntityType Name="SwitchMetrics" BaseType="SwitchMetrics.SwitchMetrics"> 792bde4061SEd Tanous <Property Name="PCIeErrors" Type="PCIeDevice.PCIeErrors" Nullable="false"> 802bde4061SEd Tanous <Annotation Term="OData.Description" String="The PCIe errors associated with this switch."/> 812bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This property shall contain the PCIe errors associated with this switch."/> 822bde4061SEd Tanous </Property> 832bde4061SEd Tanous <Property Name="InternalMemoryMetrics" Type="SwitchMetrics.v1_0_0.InternalMemoryMetrics" Nullable="false"> 842bde4061SEd Tanous <Annotation Term="OData.Description" String="The memory metrics for a switch."/> 852bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This property shall contain properties that describe the memory metrics for a switch."/> 862bde4061SEd Tanous </Property> 872bde4061SEd Tanous <Property Name="Actions" Type="SwitchMetrics.v1_0_0.Actions" Nullable="false"> 882bde4061SEd Tanous <Annotation Term="OData.Description" String="The available actions for this resource."/> 892bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/> 902bde4061SEd Tanous </Property> 912bde4061SEd Tanous </EntityType> 922bde4061SEd Tanous 932bde4061SEd Tanous <ComplexType Name="InternalMemoryMetrics"> 942bde4061SEd Tanous <Annotation Term="OData.AdditionalProperties" Bool="false"/> 952bde4061SEd Tanous <Annotation Term="OData.Description" String="The memory metrics for a switch."/> 962bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This property shall contain properties that describe the memory metrics for a switch."/> 972bde4061SEd Tanous <Property Name="CurrentPeriod" Type="SwitchMetrics.v1_0_0.CurrentPeriod" Nullable="false"> 982bde4061SEd Tanous <Annotation Term="OData.Description" String="The memory metrics since the last reset for this switch."/> 992bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This property shall contain properties that describe the metrics for the current period of memory for this switch."/> 1002bde4061SEd Tanous </Property> 1012bde4061SEd Tanous <Property Name="LifeTime" Type="SwitchMetrics.v1_0_0.LifeTime" Nullable="false"> 1022bde4061SEd Tanous <Annotation Term="OData.Description" String="The memory metrics for the lifetime of this switch."/> 1032bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This property shall contain properties that describe the metrics for the lifetime of memory for this switch."/> 1042bde4061SEd Tanous </Property> 1052bde4061SEd Tanous </ComplexType> 1062bde4061SEd Tanous 1072bde4061SEd Tanous <ComplexType Name="Actions"> 1082bde4061SEd Tanous <Annotation Term="OData.AdditionalProperties" Bool="false"/> 1092bde4061SEd Tanous <Annotation Term="OData.Description" String="The available actions for this resource."/> 1102bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> 1112bde4061SEd Tanous <Property Name="Oem" Type="SwitchMetrics.v1_0_0.OemActions" Nullable="false"> 1122bde4061SEd Tanous <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 1132bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/> 1142bde4061SEd Tanous </Property> 1152bde4061SEd Tanous </ComplexType> 1162bde4061SEd Tanous 1172bde4061SEd Tanous <ComplexType Name="OemActions"> 1182bde4061SEd Tanous <Annotation Term="OData.AdditionalProperties" Bool="true"/> 1192bde4061SEd Tanous <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 1202bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/> 1212bde4061SEd Tanous </ComplexType> 1222bde4061SEd Tanous 1232bde4061SEd Tanous <ComplexType Name="CurrentPeriod"> 1242bde4061SEd Tanous <Annotation Term="OData.AdditionalProperties" Bool="false"/> 125f2a8e57eSGunnar Mills <Annotation Term="OData.Description" String="The memory metrics since the last switch reset or `ClearCurrentPeriod` action for a switch."/> 126f2a8e57eSGunnar Mills <Annotation Term="OData.LongDescription" String="This type shall describe the memory metrics since the last reset or `ClearCurrentPeriod` action for a switch."/> 1272bde4061SEd Tanous <Property Name="CorrectableECCErrorCount" Type="Edm.Int64"> 1282bde4061SEd Tanous <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 1292bde4061SEd Tanous <Annotation Term="OData.Description" String="The number of correctable errors of memory since reset."/> 1302bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This property shall contain the number of correctable errors of memory since reset."/> 1312bde4061SEd Tanous </Property> 1322bde4061SEd Tanous <Property Name="UncorrectableECCErrorCount" Type="Edm.Int64"> 1332bde4061SEd Tanous <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 1342bde4061SEd Tanous <Annotation Term="OData.Description" String="The number of uncorrectable errors of memory since reset."/> 1352bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This property shall contain the number of uncorrectable errors of memory since reset."/> 1362bde4061SEd Tanous </Property> 1372bde4061SEd Tanous </ComplexType> 1382bde4061SEd Tanous 1392bde4061SEd Tanous <ComplexType Name="LifeTime"> 1402bde4061SEd Tanous <Annotation Term="OData.AdditionalProperties" Bool="false"/> 1412bde4061SEd Tanous <Annotation Term="OData.Description" String="The memory metrics for the lifetime for a switch."/> 1422bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This type shall describe the memory metrics since manufacturing for a switch."/> 1432bde4061SEd Tanous <Property Name="CorrectableECCErrorCount" Type="Edm.Int64"> 1442bde4061SEd Tanous <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 1452bde4061SEd Tanous <Annotation Term="OData.Description" String="The number of correctable errors for the lifetime of the memory."/> 1462bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This property shall contain the number of correctable errors for the lifetime of memory."/> 1472bde4061SEd Tanous </Property> 1482bde4061SEd Tanous <Property Name="UncorrectableECCErrorCount" Type="Edm.Int64"> 1492bde4061SEd Tanous <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 1502bde4061SEd Tanous <Annotation Term="OData.Description" String="The number of uncorrectable errors for the lifetime of the memory."/> 1512bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This property shall contain the number of uncorrectable errors for the lifetime of memory."/> 1522bde4061SEd Tanous </Property> 1532bde4061SEd Tanous </ComplexType> 1542bde4061SEd Tanous </Schema> 1552bde4061SEd Tanous 1562bde4061SEd Tanous <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SwitchMetrics.v1_0_1"> 1572bde4061SEd Tanous <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 1582bde4061SEd Tanous <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/> 1592bde4061SEd Tanous <EntityType Name="SwitchMetrics" BaseType="SwitchMetrics.v1_0_0.SwitchMetrics"/> 1602bde4061SEd Tanous </Schema> 1612bde4061SEd Tanous 162f2a8e57eSGunnar Mills <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SwitchMetrics.v1_0_2"> 163f2a8e57eSGunnar Mills <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 164f2a8e57eSGunnar Mills <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."/> 165f2a8e57eSGunnar Mills <EntityType Name="SwitchMetrics" BaseType="SwitchMetrics.v1_0_1.SwitchMetrics"/> 166f2a8e57eSGunnar Mills </Schema> 167f2a8e57eSGunnar Mills 1682bde4061SEd Tanous </edmx:DataServices> 1692bde4061SEd Tanous</edmx:Edmx> 170