1*f2a8e57eSGunnar Mills{
2*f2a8e57eSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/NetworkAdapterMetrics.v1_1_0.json",
3*f2a8e57eSGunnar Mills    "$ref": "#/definitions/NetworkAdapterMetrics",
4*f2a8e57eSGunnar Mills    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5*f2a8e57eSGunnar Mills    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6*f2a8e57eSGunnar Mills    "definitions": {
7*f2a8e57eSGunnar Mills        "Actions": {
8*f2a8e57eSGunnar Mills            "additionalProperties": false,
9*f2a8e57eSGunnar Mills            "description": "The available actions for this resource.",
10*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available actions for this resource.",
11*f2a8e57eSGunnar Mills            "patternProperties": {
12*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
14*f2a8e57eSGunnar Mills                    "type": [
15*f2a8e57eSGunnar Mills                        "array",
16*f2a8e57eSGunnar Mills                        "boolean",
17*f2a8e57eSGunnar Mills                        "integer",
18*f2a8e57eSGunnar Mills                        "number",
19*f2a8e57eSGunnar Mills                        "null",
20*f2a8e57eSGunnar Mills                        "object",
21*f2a8e57eSGunnar Mills                        "string"
22*f2a8e57eSGunnar Mills                    ]
23*f2a8e57eSGunnar Mills                }
24*f2a8e57eSGunnar Mills            },
25*f2a8e57eSGunnar Mills            "properties": {
26*f2a8e57eSGunnar Mills                "#NetworkAdapterMetrics.ResetMetrics": {
27*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/ResetMetrics"
28*f2a8e57eSGunnar Mills                },
29*f2a8e57eSGunnar Mills                "Oem": {
30*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/OemActions",
31*f2a8e57eSGunnar Mills                    "description": "The available OEM-specific actions for this resource.",
32*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
33*f2a8e57eSGunnar Mills                }
34*f2a8e57eSGunnar Mills            },
35*f2a8e57eSGunnar Mills            "type": "object"
36*f2a8e57eSGunnar Mills        },
37*f2a8e57eSGunnar Mills        "NetworkAdapterMetrics": {
38*f2a8e57eSGunnar Mills            "additionalProperties": false,
39*f2a8e57eSGunnar Mills            "description": "The NetworkAdapterMetrics schema contains usage and health statistics for a network adapter.",
40*f2a8e57eSGunnar Mills            "longDescription": "This resource shall represent the network metrics for a single network adapter in a Redfish implementation.",
41*f2a8e57eSGunnar Mills            "patternProperties": {
42*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
43*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
44*f2a8e57eSGunnar Mills                    "type": [
45*f2a8e57eSGunnar Mills                        "array",
46*f2a8e57eSGunnar Mills                        "boolean",
47*f2a8e57eSGunnar Mills                        "integer",
48*f2a8e57eSGunnar Mills                        "number",
49*f2a8e57eSGunnar Mills                        "null",
50*f2a8e57eSGunnar Mills                        "object",
51*f2a8e57eSGunnar Mills                        "string"
52*f2a8e57eSGunnar Mills                    ]
53*f2a8e57eSGunnar Mills                }
54*f2a8e57eSGunnar Mills            },
55*f2a8e57eSGunnar Mills            "properties": {
56*f2a8e57eSGunnar Mills                "@odata.context": {
57*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
58*f2a8e57eSGunnar Mills                },
59*f2a8e57eSGunnar Mills                "@odata.etag": {
60*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
61*f2a8e57eSGunnar Mills                },
62*f2a8e57eSGunnar Mills                "@odata.id": {
63*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
64*f2a8e57eSGunnar Mills                },
65*f2a8e57eSGunnar Mills                "@odata.type": {
66*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
67*f2a8e57eSGunnar Mills                },
68*f2a8e57eSGunnar Mills                "Actions": {
69*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Actions",
70*f2a8e57eSGunnar Mills                    "description": "The available actions for this resource.",
71*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource."
72*f2a8e57eSGunnar Mills                },
73*f2a8e57eSGunnar Mills                "CPUCorePercent": {
74*f2a8e57eSGunnar Mills                    "description": "The device CPU core utilization as a percentage.",
75*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the device CPU core utilization as a percentage, typically `0` to `100`.",
76*f2a8e57eSGunnar Mills                    "minimum": 0,
77*f2a8e57eSGunnar Mills                    "readonly": true,
78*f2a8e57eSGunnar Mills                    "type": [
79*f2a8e57eSGunnar Mills                        "number",
80*f2a8e57eSGunnar Mills                        "null"
81*f2a8e57eSGunnar Mills                    ],
82*f2a8e57eSGunnar Mills                    "units": "%"
83*f2a8e57eSGunnar Mills                },
84*f2a8e57eSGunnar Mills                "Description": {
85*f2a8e57eSGunnar Mills                    "anyOf": [
86*f2a8e57eSGunnar Mills                        {
87*f2a8e57eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
88*f2a8e57eSGunnar Mills                        },
89*f2a8e57eSGunnar Mills                        {
90*f2a8e57eSGunnar Mills                            "type": "null"
91*f2a8e57eSGunnar Mills                        }
92*f2a8e57eSGunnar Mills                    ],
93*f2a8e57eSGunnar Mills                    "readonly": true
94*f2a8e57eSGunnar Mills                },
95*f2a8e57eSGunnar Mills                "HostBusRXPercent": {
96*f2a8e57eSGunnar Mills                    "description": "The host bus, such as PCIe, RX utilization as a percentage.",
97*f2a8e57eSGunnar Mills                    "longDescription": "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.",
98*f2a8e57eSGunnar Mills                    "minimum": 0,
99*f2a8e57eSGunnar Mills                    "readonly": true,
100*f2a8e57eSGunnar Mills                    "type": [
101*f2a8e57eSGunnar Mills                        "number",
102*f2a8e57eSGunnar Mills                        "null"
103*f2a8e57eSGunnar Mills                    ],
104*f2a8e57eSGunnar Mills                    "units": "%"
105*f2a8e57eSGunnar Mills                },
106*f2a8e57eSGunnar Mills                "HostBusTXPercent": {
107*f2a8e57eSGunnar Mills                    "description": "The host bus, such as PCIe, TX utilization as a percentage.",
108*f2a8e57eSGunnar Mills                    "longDescription": "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.",
109*f2a8e57eSGunnar Mills                    "minimum": 0,
110*f2a8e57eSGunnar Mills                    "readonly": true,
111*f2a8e57eSGunnar Mills                    "type": [
112*f2a8e57eSGunnar Mills                        "number",
113*f2a8e57eSGunnar Mills                        "null"
114*f2a8e57eSGunnar Mills                    ],
115*f2a8e57eSGunnar Mills                    "units": "%"
116*f2a8e57eSGunnar Mills                },
117*f2a8e57eSGunnar Mills                "Id": {
118*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
119*f2a8e57eSGunnar Mills                    "readonly": true
120*f2a8e57eSGunnar Mills                },
121*f2a8e57eSGunnar Mills                "NCSIRXBytes": {
122*f2a8e57eSGunnar Mills                    "description": "The total number of NC-SI bytes received since reset.",
123*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of NC-SI bytes received since reset, including both passthrough and non-passthrough traffic.",
124*f2a8e57eSGunnar Mills                    "readonly": true,
125*f2a8e57eSGunnar Mills                    "type": [
126*f2a8e57eSGunnar Mills                        "integer",
127*f2a8e57eSGunnar Mills                        "null"
128*f2a8e57eSGunnar Mills                    ],
129*f2a8e57eSGunnar Mills                    "units": "By"
130*f2a8e57eSGunnar Mills                },
131*f2a8e57eSGunnar Mills                "NCSIRXFrames": {
132*f2a8e57eSGunnar Mills                    "description": "The total number of NC-SI frames received since reset.",
133*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of NC-SI frames received since reset, including both passthrough and non-passthrough traffic.",
134*f2a8e57eSGunnar Mills                    "readonly": true,
135*f2a8e57eSGunnar Mills                    "type": [
136*f2a8e57eSGunnar Mills                        "integer",
137*f2a8e57eSGunnar Mills                        "null"
138*f2a8e57eSGunnar Mills                    ]
139*f2a8e57eSGunnar Mills                },
140*f2a8e57eSGunnar Mills                "NCSITXBytes": {
141*f2a8e57eSGunnar Mills                    "description": "The total number of NC-SI bytes sent since reset.",
142*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of NC-SI bytes sent since reset, including both passthrough and non-passthrough traffic.",
143*f2a8e57eSGunnar Mills                    "readonly": true,
144*f2a8e57eSGunnar Mills                    "type": [
145*f2a8e57eSGunnar Mills                        "integer",
146*f2a8e57eSGunnar Mills                        "null"
147*f2a8e57eSGunnar Mills                    ],
148*f2a8e57eSGunnar Mills                    "units": "By"
149*f2a8e57eSGunnar Mills                },
150*f2a8e57eSGunnar Mills                "NCSITXFrames": {
151*f2a8e57eSGunnar Mills                    "description": "The total number of NC-SI frames sent since reset.",
152*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of NC-SI frames sent since reset, including both passthrough and non-passthrough traffic.",
153*f2a8e57eSGunnar Mills                    "readonly": true,
154*f2a8e57eSGunnar Mills                    "type": [
155*f2a8e57eSGunnar Mills                        "integer",
156*f2a8e57eSGunnar Mills                        "null"
157*f2a8e57eSGunnar Mills                    ]
158*f2a8e57eSGunnar Mills                },
159*f2a8e57eSGunnar Mills                "Name": {
160*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
161*f2a8e57eSGunnar Mills                    "readonly": true
162*f2a8e57eSGunnar Mills                },
163*f2a8e57eSGunnar Mills                "Oem": {
164*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
165*f2a8e57eSGunnar Mills                    "description": "The OEM extension property.",
166*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
167*f2a8e57eSGunnar Mills                },
168*f2a8e57eSGunnar Mills                "RXBytes": {
169*f2a8e57eSGunnar Mills                    "description": "The total number of bytes received since reset.",
170*f2a8e57eSGunnar Mills                    "longDescription": "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.",
171*f2a8e57eSGunnar Mills                    "readonly": true,
172*f2a8e57eSGunnar Mills                    "type": [
173*f2a8e57eSGunnar Mills                        "integer",
174*f2a8e57eSGunnar Mills                        "null"
175*f2a8e57eSGunnar Mills                    ],
176*f2a8e57eSGunnar Mills                    "units": "By"
177*f2a8e57eSGunnar Mills                },
178*f2a8e57eSGunnar Mills                "RXMulticastFrames": {
179*f2a8e57eSGunnar Mills                    "description": "The total number of good multicast frames received since reset.",
180*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of good multicast frames received since reset.",
181*f2a8e57eSGunnar Mills                    "readonly": true,
182*f2a8e57eSGunnar Mills                    "type": [
183*f2a8e57eSGunnar Mills                        "integer",
184*f2a8e57eSGunnar Mills                        "null"
185*f2a8e57eSGunnar Mills                    ]
186*f2a8e57eSGunnar Mills                },
187*f2a8e57eSGunnar Mills                "RXUnicastFrames": {
188*f2a8e57eSGunnar Mills                    "description": "The total number of good unicast frames received since reset.",
189*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of good unicast frames received since reset.",
190*f2a8e57eSGunnar Mills                    "readonly": true,
191*f2a8e57eSGunnar Mills                    "type": [
192*f2a8e57eSGunnar Mills                        "integer",
193*f2a8e57eSGunnar Mills                        "null"
194*f2a8e57eSGunnar Mills                    ]
195*f2a8e57eSGunnar Mills                },
196*f2a8e57eSGunnar Mills                "TXBytes": {
197*f2a8e57eSGunnar Mills                    "description": "The total number of bytes transmitted since reset.",
198*f2a8e57eSGunnar Mills                    "longDescription": "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.",
199*f2a8e57eSGunnar Mills                    "readonly": true,
200*f2a8e57eSGunnar Mills                    "type": [
201*f2a8e57eSGunnar Mills                        "integer",
202*f2a8e57eSGunnar Mills                        "null"
203*f2a8e57eSGunnar Mills                    ],
204*f2a8e57eSGunnar Mills                    "units": "By"
205*f2a8e57eSGunnar Mills                },
206*f2a8e57eSGunnar Mills                "TXMulticastFrames": {
207*f2a8e57eSGunnar Mills                    "description": "The total number of good multicast frames transmitted since reset.",
208*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of good multicast frames transmitted since reset.",
209*f2a8e57eSGunnar Mills                    "readonly": true,
210*f2a8e57eSGunnar Mills                    "type": [
211*f2a8e57eSGunnar Mills                        "integer",
212*f2a8e57eSGunnar Mills                        "null"
213*f2a8e57eSGunnar Mills                    ]
214*f2a8e57eSGunnar Mills                },
215*f2a8e57eSGunnar Mills                "TXUnicastFrames": {
216*f2a8e57eSGunnar Mills                    "description": "The total number of good unicast frames transmitted since reset.",
217*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of good unicast frames transmitted since reset.",
218*f2a8e57eSGunnar Mills                    "readonly": true,
219*f2a8e57eSGunnar Mills                    "type": [
220*f2a8e57eSGunnar Mills                        "integer",
221*f2a8e57eSGunnar Mills                        "null"
222*f2a8e57eSGunnar Mills                    ]
223*f2a8e57eSGunnar Mills                }
224*f2a8e57eSGunnar Mills            },
225*f2a8e57eSGunnar Mills            "required": [
226*f2a8e57eSGunnar Mills                "@odata.id",
227*f2a8e57eSGunnar Mills                "@odata.type",
228*f2a8e57eSGunnar Mills                "Id",
229*f2a8e57eSGunnar Mills                "Name"
230*f2a8e57eSGunnar Mills            ],
231*f2a8e57eSGunnar Mills            "type": "object"
232*f2a8e57eSGunnar Mills        },
233*f2a8e57eSGunnar Mills        "OemActions": {
234*f2a8e57eSGunnar Mills            "additionalProperties": true,
235*f2a8e57eSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
236*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
237*f2a8e57eSGunnar Mills            "patternProperties": {
238*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
239*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
240*f2a8e57eSGunnar Mills                    "type": [
241*f2a8e57eSGunnar Mills                        "array",
242*f2a8e57eSGunnar Mills                        "boolean",
243*f2a8e57eSGunnar Mills                        "integer",
244*f2a8e57eSGunnar Mills                        "number",
245*f2a8e57eSGunnar Mills                        "null",
246*f2a8e57eSGunnar Mills                        "object",
247*f2a8e57eSGunnar Mills                        "string"
248*f2a8e57eSGunnar Mills                    ]
249*f2a8e57eSGunnar Mills                }
250*f2a8e57eSGunnar Mills            },
251*f2a8e57eSGunnar Mills            "properties": {},
252*f2a8e57eSGunnar Mills            "type": "object"
253*f2a8e57eSGunnar Mills        },
254*f2a8e57eSGunnar Mills        "ResetMetrics": {
255*f2a8e57eSGunnar Mills            "additionalProperties": false,
256*f2a8e57eSGunnar Mills            "description": "This action resets the summary metrics related to this device.",
257*f2a8e57eSGunnar Mills            "longDescription": "This action shall reset any time intervals or counted values for this device.",
258*f2a8e57eSGunnar Mills            "parameters": {},
259*f2a8e57eSGunnar Mills            "patternProperties": {
260*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
261*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
262*f2a8e57eSGunnar Mills                    "type": [
263*f2a8e57eSGunnar Mills                        "array",
264*f2a8e57eSGunnar Mills                        "boolean",
265*f2a8e57eSGunnar Mills                        "integer",
266*f2a8e57eSGunnar Mills                        "number",
267*f2a8e57eSGunnar Mills                        "null",
268*f2a8e57eSGunnar Mills                        "object",
269*f2a8e57eSGunnar Mills                        "string"
270*f2a8e57eSGunnar Mills                    ]
271*f2a8e57eSGunnar Mills                }
272*f2a8e57eSGunnar Mills            },
273*f2a8e57eSGunnar Mills            "properties": {
274*f2a8e57eSGunnar Mills                "target": {
275*f2a8e57eSGunnar Mills                    "description": "Link to invoke action",
276*f2a8e57eSGunnar Mills                    "format": "uri-reference",
277*f2a8e57eSGunnar Mills                    "type": "string"
278*f2a8e57eSGunnar Mills                },
279*f2a8e57eSGunnar Mills                "title": {
280*f2a8e57eSGunnar Mills                    "description": "Friendly action name",
281*f2a8e57eSGunnar Mills                    "type": "string"
282*f2a8e57eSGunnar Mills                }
283*f2a8e57eSGunnar Mills            },
284*f2a8e57eSGunnar Mills            "type": "object",
285*f2a8e57eSGunnar Mills            "versionAdded": "v1_1_0"
286*f2a8e57eSGunnar Mills        }
287*f2a8e57eSGunnar Mills    },
288*f2a8e57eSGunnar Mills    "language": "en",
289*f2a8e57eSGunnar Mills    "owningEntity": "DMTF",
290*f2a8e57eSGunnar Mills    "release": "2024.1",
291*f2a8e57eSGunnar Mills    "title": "#NetworkAdapterMetrics.v1_1_0.NetworkAdapterMetrics"
292*f2a8e57eSGunnar Mills}