1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  NetworkAdapterMetrics v1.0.1                                        -->
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-2023 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/RedfishExtensions_v1.xml">
24    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
25    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
26  </edmx:Reference>
27  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
28    <edmx:Include Namespace="Resource.v1_0_0"/>
29  </edmx:Reference>
30
31  <edmx:DataServices>
32
33    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="NetworkAdapterMetrics">
34      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
35
36      <EntityType Name="NetworkAdapterMetrics" BaseType="Resource.v1_0_0.Resource" Abstract="true">
37        <Annotation Term="OData.Description" String="The NetworkAdapterMetrics schema contains usage and health statistics for a network adapter."/>
38        <Annotation Term="OData.LongDescription" String="This resource shall represent the network metrics for a single network adapter in a Redfish implementation."/>
39        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
40        <Annotation Term="Capabilities.InsertRestrictions">
41          <Record>
42            <PropertyValue Property="Insertable" Bool="false"/>
43          </Record>
44        </Annotation>
45        <Annotation Term="Capabilities.UpdateRestrictions">
46          <Record>
47            <PropertyValue Property="Updatable" Bool="false"/>
48          </Record>
49        </Annotation>
50        <Annotation Term="Capabilities.DeleteRestrictions">
51          <Record>
52            <PropertyValue Property="Deletable" Bool="false"/>
53          </Record>
54        </Annotation>
55        <Annotation Term="Redfish.Uris">
56          <Collection>
57            <String>/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}/Metrics</String>
58          </Collection>
59        </Annotation>
60      </EntityType>
61    </Schema>
62
63    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="NetworkAdapterMetrics.v1_0_0">
64      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
65      <Annotation Term="Redfish.Release" String="2021.1"/>
66
67      <EntityType Name="NetworkAdapterMetrics" BaseType="NetworkAdapterMetrics.NetworkAdapterMetrics">
68        <Property Name="HostBusRXPercent" Type="Edm.Decimal">
69          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
70          <Annotation Term="OData.Description" String="The host bus, such as PCIe, RX utilization as a percentage."/>
71          <Annotation Term="OData.LongDescription" String="This property shall contain the host bus, such as PCIe, RX utilization as a percentage, typically `0` to `100`, which is calculated by dividing the total bytes received by the theoretical max."/>
72          <Annotation Term="Validation.Minimum" Int="0"/>
73          <Annotation Term="Measures.Unit" String="%"/>
74        </Property>
75        <Property Name="HostBusTXPercent" Type="Edm.Decimal">
76          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
77          <Annotation Term="OData.Description" String="The host bus, such as PCIe, TX utilization as a percentage."/>
78          <Annotation Term="OData.LongDescription" String="This property shall contain the host bus, such as PCIe, TX utilization as a percentage, typically `0` to `100`, which is calculated by dividing the total bytes transmitted by the theoretical max."/>
79          <Annotation Term="Validation.Minimum" Int="0"/>
80          <Annotation Term="Measures.Unit" String="%"/>
81        </Property>
82        <Property Name="CPUCorePercent" Type="Edm.Decimal">
83          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
84          <Annotation Term="OData.Description" String="The device CPU core utilization as a percentage."/>
85          <Annotation Term="OData.LongDescription" String="This property shall contain the device CPU core utilization as a percentage, typically `0` to `100`."/>
86          <Annotation Term="Validation.Minimum" Int="0"/>
87          <Annotation Term="Measures.Unit" String="%"/>
88        </Property>
89        <Property Name="NCSIRXFrames" Type="Edm.Int64">
90          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
91          <Annotation Term="OData.Description" String="The total number of NC-SI frames received since reset."/>
92          <Annotation Term="OData.LongDescription" String="This property shall contain the total number of NC-SI frames received since reset, including both passthrough and non-passthrough traffic."/>
93        </Property>
94        <Property Name="NCSITXFrames" Type="Edm.Int64">
95          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
96          <Annotation Term="OData.Description" String="The total number of NC-SI frames sent since reset."/>
97          <Annotation Term="OData.LongDescription" String="This property shall contain the total number of NC-SI frames sent since reset, including both passthrough and non-passthrough traffic."/>
98        </Property>
99        <Property Name="NCSIRXBytes" Type="Edm.Int64">
100          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
101          <Annotation Term="OData.Description" String="The total number of NC-SI bytes received since reset."/>
102          <Annotation Term="OData.LongDescription" String="This property shall contain the total number of NC-SI bytes received since reset, including both passthrough and non-passthrough traffic."/>
103          <Annotation Term="Measures.Unit" String="By"/>
104        </Property>
105        <Property Name="NCSITXBytes" Type="Edm.Int64">
106          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
107          <Annotation Term="OData.Description" String="The total number of NC-SI bytes sent since reset."/>
108          <Annotation Term="OData.LongDescription" String="This property shall contain the total number of NC-SI bytes sent since reset, including both passthrough and non-passthrough traffic."/>
109          <Annotation Term="Measures.Unit" String="By"/>
110        </Property>
111        <Property Name="RXBytes" Type="Edm.Int64">
112          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
113          <Annotation Term="OData.Description" String="The total number of bytes received since reset."/>
114          <Annotation Term="OData.LongDescription" String="This property shall contain the total number of bytes received since reset, including host and remote management passthrough traffic, and inclusive of all protocol overhead."/>
115          <Annotation Term="Measures.Unit" String="By"/>
116        </Property>
117        <Property Name="RXMulticastFrames" Type="Edm.Int64">
118          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
119          <Annotation Term="OData.Description" String="The total number of good multicast frames received since reset."/>
120          <Annotation Term="OData.LongDescription" String="This property shall contain the total number of good multicast frames received since reset."/>
121        </Property>
122        <Property Name="RXUnicastFrames" Type="Edm.Int64">
123          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
124          <Annotation Term="OData.Description" String="The total number of good unicast frames received since reset."/>
125          <Annotation Term="OData.LongDescription" String="This property shall contain the total number of good unicast frames received since reset."/>
126        </Property>
127        <Property Name="TXBytes" Type="Edm.Int64">
128          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
129          <Annotation Term="OData.Description" String="The total number of bytes transmitted since reset."/>
130          <Annotation Term="OData.LongDescription" String="This property shall contain the total number of bytes transmitted since reset, including host and remote management passthrough traffic, and inclusive of all protocol overhead."/>
131          <Annotation Term="Measures.Unit" String="By"/>
132        </Property>
133        <Property Name="TXMulticastFrames" Type="Edm.Int64">
134          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
135          <Annotation Term="OData.Description" String="The total number of good multicast frames transmitted since reset."/>
136          <Annotation Term="OData.LongDescription" String="This property shall contain the total number of good multicast frames transmitted since reset."/>
137        </Property>
138        <Property Name="TXUnicastFrames" Type="Edm.Int64">
139          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
140          <Annotation Term="OData.Description" String="The total number of good unicast frames transmitted since reset."/>
141          <Annotation Term="OData.LongDescription" String="This property shall contain the total number of good unicast frames transmitted since reset."/>
142        </Property>
143        <Property Name="Actions" Type="NetworkAdapterMetrics.v1_0_0.Actions" Nullable="false">
144          <Annotation Term="OData.Description" String="The available actions for this resource."/>
145          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
146        </Property>
147      </EntityType>
148
149      <ComplexType Name="Actions">
150        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
151        <Annotation Term="OData.Description" String="The available actions for this resource."/>
152        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
153        <Property Name="Oem" Type="NetworkAdapterMetrics.v1_0_0.OemActions" Nullable="false">
154          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
155          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
156        </Property>
157      </ComplexType>
158
159      <ComplexType Name="OemActions">
160        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
161        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
162        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
163      </ComplexType>
164    </Schema>
165
166    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="NetworkAdapterMetrics.v1_0_1">
167      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
168      <Annotation Term="OData.Description" String="This version was created to clarify the range of possible values for properties with percent units."/>
169      <EntityType Name="NetworkAdapterMetrics" BaseType="NetworkAdapterMetrics.v1_0_0.NetworkAdapterMetrics"/>
170    </Schema>
171
172  </edmx:DataServices>
173</edmx:Edmx>
174