xref: /openbmc/bmcweb/features/redfish/schema/dmtf/json-schema/NetworkDeviceFunctionMetrics.v1_2_0.json (revision f2a8e57ede74a8252100b2281e3f4d170aa69391)
1*f2a8e57eSGunnar Mills{
2*f2a8e57eSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/NetworkDeviceFunctionMetrics.v1_2_0.json",
3*f2a8e57eSGunnar Mills    "$ref": "#/definitions/NetworkDeviceFunctionMetrics",
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                "#NetworkDeviceFunctionMetrics.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        "Ethernet": {
38*f2a8e57eSGunnar Mills            "additionalProperties": false,
39*f2a8e57eSGunnar Mills            "description": "The network function metrics for an Ethernet interface.",
40*f2a8e57eSGunnar Mills            "longDescription": "This type shall describe the Ethernet-related network function metrics.",
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                "NumOffloadedIPv4Conns": {
57*f2a8e57eSGunnar Mills                    "description": "The total number of offloaded TCP/IPv4 connections.",
58*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of offloaded TCP/IPv4 connections.",
59*f2a8e57eSGunnar Mills                    "readonly": true,
60*f2a8e57eSGunnar Mills                    "type": [
61*f2a8e57eSGunnar Mills                        "integer",
62*f2a8e57eSGunnar Mills                        "null"
63*f2a8e57eSGunnar Mills                    ]
64*f2a8e57eSGunnar Mills                },
65*f2a8e57eSGunnar Mills                "NumOffloadedIPv6Conns": {
66*f2a8e57eSGunnar Mills                    "description": "The total number of offloaded TCP/IPv6 connections.",
67*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of offloaded TCP/IPv6 connections.",
68*f2a8e57eSGunnar Mills                    "readonly": true,
69*f2a8e57eSGunnar Mills                    "type": [
70*f2a8e57eSGunnar Mills                        "integer",
71*f2a8e57eSGunnar Mills                        "null"
72*f2a8e57eSGunnar Mills                    ]
73*f2a8e57eSGunnar Mills                }
74*f2a8e57eSGunnar Mills            },
75*f2a8e57eSGunnar Mills            "type": "object"
76*f2a8e57eSGunnar Mills        },
77*f2a8e57eSGunnar Mills        "FibreChannel": {
78*f2a8e57eSGunnar Mills            "additionalProperties": false,
79*f2a8e57eSGunnar Mills            "description": "The network function metrics for a Fibre Channel interface.",
80*f2a8e57eSGunnar Mills            "longDescription": "This type shall describe the Fibre Channel-related network function metrics.",
81*f2a8e57eSGunnar Mills            "patternProperties": {
82*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
83*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
84*f2a8e57eSGunnar Mills                    "type": [
85*f2a8e57eSGunnar Mills                        "array",
86*f2a8e57eSGunnar Mills                        "boolean",
87*f2a8e57eSGunnar Mills                        "integer",
88*f2a8e57eSGunnar Mills                        "number",
89*f2a8e57eSGunnar Mills                        "null",
90*f2a8e57eSGunnar Mills                        "object",
91*f2a8e57eSGunnar Mills                        "string"
92*f2a8e57eSGunnar Mills                    ]
93*f2a8e57eSGunnar Mills                }
94*f2a8e57eSGunnar Mills            },
95*f2a8e57eSGunnar Mills            "properties": {
96*f2a8e57eSGunnar Mills                "PortLoginAccepts": {
97*f2a8e57eSGunnar Mills                    "description": "The total number of port login (PLOGI) accept (ACC) responses.",
98*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of PLOGI ACC responses received by this Fibre Channel function.",
99*f2a8e57eSGunnar Mills                    "readonly": true,
100*f2a8e57eSGunnar Mills                    "type": [
101*f2a8e57eSGunnar Mills                        "integer",
102*f2a8e57eSGunnar Mills                        "null"
103*f2a8e57eSGunnar Mills                    ],
104*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
105*f2a8e57eSGunnar Mills                },
106*f2a8e57eSGunnar Mills                "PortLoginRejects": {
107*f2a8e57eSGunnar Mills                    "description": "The total number of port login (PLOGI) reject (RJT) responses.",
108*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of PLOGI RJT responses received by this Fibre Channel function.",
109*f2a8e57eSGunnar Mills                    "readonly": true,
110*f2a8e57eSGunnar Mills                    "type": [
111*f2a8e57eSGunnar Mills                        "integer",
112*f2a8e57eSGunnar Mills                        "null"
113*f2a8e57eSGunnar Mills                    ],
114*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
115*f2a8e57eSGunnar Mills                },
116*f2a8e57eSGunnar Mills                "PortLoginRequests": {
117*f2a8e57eSGunnar Mills                    "description": "The total number of port login (PLOGI) requests transmitted.",
118*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of PLOGI requests sent by this function.",
119*f2a8e57eSGunnar Mills                    "readonly": true,
120*f2a8e57eSGunnar Mills                    "type": [
121*f2a8e57eSGunnar Mills                        "integer",
122*f2a8e57eSGunnar Mills                        "null"
123*f2a8e57eSGunnar Mills                    ],
124*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
125*f2a8e57eSGunnar Mills                },
126*f2a8e57eSGunnar Mills                "RXCongestionFPINs": {
127*f2a8e57eSGunnar Mills                    "description": "The total number of Congestion Fabric Performance Impact Notifications (FPINs) received.",
128*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of Congestion FPINs received by this Fibre Channel function.",
129*f2a8e57eSGunnar Mills                    "readonly": true,
130*f2a8e57eSGunnar Mills                    "type": [
131*f2a8e57eSGunnar Mills                        "integer",
132*f2a8e57eSGunnar Mills                        "null"
133*f2a8e57eSGunnar Mills                    ],
134*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
135*f2a8e57eSGunnar Mills                },
136*f2a8e57eSGunnar Mills                "RXDeliveryFPINs": {
137*f2a8e57eSGunnar Mills                    "description": "The total number of Delivery Fabric Performance Impact Notifications (FPINs) received.",
138*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of Delivery FPINs received by this Fibre Channel function.",
139*f2a8e57eSGunnar Mills                    "readonly": true,
140*f2a8e57eSGunnar Mills                    "type": [
141*f2a8e57eSGunnar Mills                        "integer",
142*f2a8e57eSGunnar Mills                        "null"
143*f2a8e57eSGunnar Mills                    ],
144*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
145*f2a8e57eSGunnar Mills                },
146*f2a8e57eSGunnar Mills                "RXExchanges": {
147*f2a8e57eSGunnar Mills                    "description": "The total number of Fibre Channel exchanges received.",
148*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of Fibre Channel exchanges received.",
149*f2a8e57eSGunnar Mills                    "readonly": true,
150*f2a8e57eSGunnar Mills                    "type": [
151*f2a8e57eSGunnar Mills                        "integer",
152*f2a8e57eSGunnar Mills                        "null"
153*f2a8e57eSGunnar Mills                    ],
154*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
155*f2a8e57eSGunnar Mills                },
156*f2a8e57eSGunnar Mills                "RXLinkIntegrityFPINs": {
157*f2a8e57eSGunnar Mills                    "description": "The total number of Link Integrity Fabric Performance Impact Notifications (FPINs) received.",
158*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of Link Integrity FPINs received by this Fibre Channel function.",
159*f2a8e57eSGunnar Mills                    "readonly": true,
160*f2a8e57eSGunnar Mills                    "type": [
161*f2a8e57eSGunnar Mills                        "integer",
162*f2a8e57eSGunnar Mills                        "null"
163*f2a8e57eSGunnar Mills                    ],
164*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
165*f2a8e57eSGunnar Mills                },
166*f2a8e57eSGunnar Mills                "RXPeerCongestionFPINs": {
167*f2a8e57eSGunnar Mills                    "description": "The total number of Peer Congestion Fabric Performance Impact Notifications (FPINs) received.",
168*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of Peer Congestion FPINs received by this Fibre Channel function.",
169*f2a8e57eSGunnar Mills                    "readonly": true,
170*f2a8e57eSGunnar Mills                    "type": [
171*f2a8e57eSGunnar Mills                        "integer",
172*f2a8e57eSGunnar Mills                        "null"
173*f2a8e57eSGunnar Mills                    ],
174*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
175*f2a8e57eSGunnar Mills                },
176*f2a8e57eSGunnar Mills                "RXSequences": {
177*f2a8e57eSGunnar Mills                    "description": "The total number of Fibre Channel sequences received.",
178*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of Fibre Channel sequences received.",
179*f2a8e57eSGunnar Mills                    "readonly": true,
180*f2a8e57eSGunnar Mills                    "type": [
181*f2a8e57eSGunnar Mills                        "integer",
182*f2a8e57eSGunnar Mills                        "null"
183*f2a8e57eSGunnar Mills                    ],
184*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
185*f2a8e57eSGunnar Mills                },
186*f2a8e57eSGunnar Mills                "TXCongestionFPINs": {
187*f2a8e57eSGunnar Mills                    "description": "The total number of Congestion Fabric Performance Impact Notifications (FPINs) sent.",
188*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of Congestion FPINs sent by this Fibre Channel function.",
189*f2a8e57eSGunnar Mills                    "readonly": true,
190*f2a8e57eSGunnar Mills                    "type": [
191*f2a8e57eSGunnar Mills                        "integer",
192*f2a8e57eSGunnar Mills                        "null"
193*f2a8e57eSGunnar Mills                    ],
194*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
195*f2a8e57eSGunnar Mills                },
196*f2a8e57eSGunnar Mills                "TXDeliveryFPINs": {
197*f2a8e57eSGunnar Mills                    "description": "The total number of Delivery Fabric Performance Impact Notifications (FPINs) sent.",
198*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of Delivery FPINs sent by this Fibre Channel function.",
199*f2a8e57eSGunnar Mills                    "readonly": true,
200*f2a8e57eSGunnar Mills                    "type": [
201*f2a8e57eSGunnar Mills                        "integer",
202*f2a8e57eSGunnar Mills                        "null"
203*f2a8e57eSGunnar Mills                    ],
204*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
205*f2a8e57eSGunnar Mills                },
206*f2a8e57eSGunnar Mills                "TXExchanges": {
207*f2a8e57eSGunnar Mills                    "description": "The total number of Fibre Channel exchanges transmitted.",
208*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of Fibre Channel exchanges transmitted.",
209*f2a8e57eSGunnar Mills                    "readonly": true,
210*f2a8e57eSGunnar Mills                    "type": [
211*f2a8e57eSGunnar Mills                        "integer",
212*f2a8e57eSGunnar Mills                        "null"
213*f2a8e57eSGunnar Mills                    ],
214*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
215*f2a8e57eSGunnar Mills                },
216*f2a8e57eSGunnar Mills                "TXLinkIntegrityFPINs": {
217*f2a8e57eSGunnar Mills                    "description": "The total number of Link Integrity Fabric Performance Impact Notifications (FPINs) sent.",
218*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of Link Integrity FPINs sent by this Fibre Channel function.",
219*f2a8e57eSGunnar Mills                    "readonly": true,
220*f2a8e57eSGunnar Mills                    "type": [
221*f2a8e57eSGunnar Mills                        "integer",
222*f2a8e57eSGunnar Mills                        "null"
223*f2a8e57eSGunnar Mills                    ],
224*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
225*f2a8e57eSGunnar Mills                },
226*f2a8e57eSGunnar Mills                "TXPeerCongestionFPINs": {
227*f2a8e57eSGunnar Mills                    "description": "The total number of Peer Congestion Fabric Performance Impact Notifications (FPINs) sent.",
228*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of Peer Congestion FPINs sent by this Fibre Channel function.",
229*f2a8e57eSGunnar Mills                    "readonly": true,
230*f2a8e57eSGunnar Mills                    "type": [
231*f2a8e57eSGunnar Mills                        "integer",
232*f2a8e57eSGunnar Mills                        "null"
233*f2a8e57eSGunnar Mills                    ],
234*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
235*f2a8e57eSGunnar Mills                },
236*f2a8e57eSGunnar Mills                "TXSequences": {
237*f2a8e57eSGunnar Mills                    "description": "The total number of Fibre Channel sequences transmitted.",
238*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of Fibre Channel sequences transmitted.",
239*f2a8e57eSGunnar Mills                    "readonly": true,
240*f2a8e57eSGunnar Mills                    "type": [
241*f2a8e57eSGunnar Mills                        "integer",
242*f2a8e57eSGunnar Mills                        "null"
243*f2a8e57eSGunnar Mills                    ],
244*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
245*f2a8e57eSGunnar Mills                }
246*f2a8e57eSGunnar Mills            },
247*f2a8e57eSGunnar Mills            "type": "object"
248*f2a8e57eSGunnar Mills        },
249*f2a8e57eSGunnar Mills        "NetworkDeviceFunctionMetrics": {
250*f2a8e57eSGunnar Mills            "additionalProperties": false,
251*f2a8e57eSGunnar Mills            "description": "The `NetworkDeviceFunctionMetrics` schema contains usage and health statistics for a network function of a network adapter.",
252*f2a8e57eSGunnar Mills            "longDescription": "This resource shall represent the network metrics for a single network function of a network adapter in a Redfish implementation.",
253*f2a8e57eSGunnar Mills            "patternProperties": {
254*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
255*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
256*f2a8e57eSGunnar Mills                    "type": [
257*f2a8e57eSGunnar Mills                        "array",
258*f2a8e57eSGunnar Mills                        "boolean",
259*f2a8e57eSGunnar Mills                        "integer",
260*f2a8e57eSGunnar Mills                        "number",
261*f2a8e57eSGunnar Mills                        "null",
262*f2a8e57eSGunnar Mills                        "object",
263*f2a8e57eSGunnar Mills                        "string"
264*f2a8e57eSGunnar Mills                    ]
265*f2a8e57eSGunnar Mills                }
266*f2a8e57eSGunnar Mills            },
267*f2a8e57eSGunnar Mills            "properties": {
268*f2a8e57eSGunnar Mills                "@odata.context": {
269*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
270*f2a8e57eSGunnar Mills                },
271*f2a8e57eSGunnar Mills                "@odata.etag": {
272*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
273*f2a8e57eSGunnar Mills                },
274*f2a8e57eSGunnar Mills                "@odata.id": {
275*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
276*f2a8e57eSGunnar Mills                },
277*f2a8e57eSGunnar Mills                "@odata.type": {
278*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
279*f2a8e57eSGunnar Mills                },
280*f2a8e57eSGunnar Mills                "Actions": {
281*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Actions",
282*f2a8e57eSGunnar Mills                    "description": "The available actions for this resource.",
283*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource."
284*f2a8e57eSGunnar Mills                },
285*f2a8e57eSGunnar Mills                "Description": {
286*f2a8e57eSGunnar Mills                    "anyOf": [
287*f2a8e57eSGunnar Mills                        {
288*f2a8e57eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
289*f2a8e57eSGunnar Mills                        },
290*f2a8e57eSGunnar Mills                        {
291*f2a8e57eSGunnar Mills                            "type": "null"
292*f2a8e57eSGunnar Mills                        }
293*f2a8e57eSGunnar Mills                    ],
294*f2a8e57eSGunnar Mills                    "readonly": true
295*f2a8e57eSGunnar Mills                },
296*f2a8e57eSGunnar Mills                "Ethernet": {
297*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Ethernet",
298*f2a8e57eSGunnar Mills                    "description": "The network function metrics specific to Ethernet adapters.",
299*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain network function metrics specific to Ethernet adapters."
300*f2a8e57eSGunnar Mills                },
301*f2a8e57eSGunnar Mills                "FibreChannel": {
302*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/FibreChannel",
303*f2a8e57eSGunnar Mills                    "description": "The network function metrics specific to Fibre Channel adapters.",
304*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain network function metrics specific to Fibre Channel adapters.",
305*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
306*f2a8e57eSGunnar Mills                },
307*f2a8e57eSGunnar Mills                "Id": {
308*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
309*f2a8e57eSGunnar Mills                    "readonly": true
310*f2a8e57eSGunnar Mills                },
311*f2a8e57eSGunnar Mills                "Name": {
312*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
313*f2a8e57eSGunnar Mills                    "readonly": true
314*f2a8e57eSGunnar Mills                },
315*f2a8e57eSGunnar Mills                "Oem": {
316*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
317*f2a8e57eSGunnar Mills                    "description": "The OEM extension property.",
318*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."
319*f2a8e57eSGunnar Mills                },
320*f2a8e57eSGunnar Mills                "RXAvgQueueDepthPercent": {
321*f2a8e57eSGunnar Mills                    "description": "The average RX queue depth as the percentage.",
322*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the average RX queue depth as a percentage, typically `0` to `100`.",
323*f2a8e57eSGunnar Mills                    "minimum": 0,
324*f2a8e57eSGunnar Mills                    "readonly": true,
325*f2a8e57eSGunnar Mills                    "type": [
326*f2a8e57eSGunnar Mills                        "number",
327*f2a8e57eSGunnar Mills                        "null"
328*f2a8e57eSGunnar Mills                    ],
329*f2a8e57eSGunnar Mills                    "units": "%"
330*f2a8e57eSGunnar Mills                },
331*f2a8e57eSGunnar Mills                "RXBytes": {
332*f2a8e57eSGunnar Mills                    "description": "The total number of bytes received on a network function.",
333*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of bytes received on a network function, inclusive of all protocol overhead.",
334*f2a8e57eSGunnar Mills                    "readonly": true,
335*f2a8e57eSGunnar Mills                    "type": [
336*f2a8e57eSGunnar Mills                        "integer",
337*f2a8e57eSGunnar Mills                        "null"
338*f2a8e57eSGunnar Mills                    ],
339*f2a8e57eSGunnar Mills                    "units": "By"
340*f2a8e57eSGunnar Mills                },
341*f2a8e57eSGunnar Mills                "RXFrames": {
342*f2a8e57eSGunnar Mills                    "description": "The total number of frames received on a network function.",
343*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of frames received on a network function.",
344*f2a8e57eSGunnar Mills                    "readonly": true,
345*f2a8e57eSGunnar Mills                    "type": [
346*f2a8e57eSGunnar Mills                        "integer",
347*f2a8e57eSGunnar Mills                        "null"
348*f2a8e57eSGunnar Mills                    ]
349*f2a8e57eSGunnar Mills                },
350*f2a8e57eSGunnar Mills                "RXMulticastFrames": {
351*f2a8e57eSGunnar Mills                    "description": "The total number of good multicast frames received on a network function since reset.",
352*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of good multicast frames received on a network function since reset, including host and remote management passthrough traffic.",
353*f2a8e57eSGunnar Mills                    "readonly": true,
354*f2a8e57eSGunnar Mills                    "type": [
355*f2a8e57eSGunnar Mills                        "integer",
356*f2a8e57eSGunnar Mills                        "null"
357*f2a8e57eSGunnar Mills                    ]
358*f2a8e57eSGunnar Mills                },
359*f2a8e57eSGunnar Mills                "RXQueuesEmpty": {
360*f2a8e57eSGunnar Mills                    "description": "Whether nothing is in a network function's RX queues to DMA.",
361*f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate whether nothing is in a network function's RX queues to DMA.",
362*f2a8e57eSGunnar Mills                    "readonly": true,
363*f2a8e57eSGunnar Mills                    "type": [
364*f2a8e57eSGunnar Mills                        "boolean",
365*f2a8e57eSGunnar Mills                        "null"
366*f2a8e57eSGunnar Mills                    ]
367*f2a8e57eSGunnar Mills                },
368*f2a8e57eSGunnar Mills                "RXQueuesFull": {
369*f2a8e57eSGunnar Mills                    "description": "The number of RX queues that are full.",
370*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of RX queues that are full.",
371*f2a8e57eSGunnar Mills                    "readonly": true,
372*f2a8e57eSGunnar Mills                    "type": [
373*f2a8e57eSGunnar Mills                        "integer",
374*f2a8e57eSGunnar Mills                        "null"
375*f2a8e57eSGunnar Mills                    ]
376*f2a8e57eSGunnar Mills                },
377*f2a8e57eSGunnar Mills                "RXUnicastFrames": {
378*f2a8e57eSGunnar Mills                    "description": "The total number of good unicast frames received on a network function since reset.",
379*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of good unicast frames received on a network function since reset.",
380*f2a8e57eSGunnar Mills                    "readonly": true,
381*f2a8e57eSGunnar Mills                    "type": [
382*f2a8e57eSGunnar Mills                        "integer",
383*f2a8e57eSGunnar Mills                        "null"
384*f2a8e57eSGunnar Mills                    ]
385*f2a8e57eSGunnar Mills                },
386*f2a8e57eSGunnar Mills                "TXAvgQueueDepthPercent": {
387*f2a8e57eSGunnar Mills                    "description": "The average TX queue depth as the percentage.",
388*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the average TX queue depth as a percentage, typically `0` to `100`.",
389*f2a8e57eSGunnar Mills                    "minimum": 0,
390*f2a8e57eSGunnar Mills                    "readonly": true,
391*f2a8e57eSGunnar Mills                    "type": [
392*f2a8e57eSGunnar Mills                        "number",
393*f2a8e57eSGunnar Mills                        "null"
394*f2a8e57eSGunnar Mills                    ],
395*f2a8e57eSGunnar Mills                    "units": "%"
396*f2a8e57eSGunnar Mills                },
397*f2a8e57eSGunnar Mills                "TXBytes": {
398*f2a8e57eSGunnar Mills                    "description": "The total number of bytes sent on a network function.",
399*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of bytes sent on a network function, inclusive of all protocol overhead.",
400*f2a8e57eSGunnar Mills                    "readonly": true,
401*f2a8e57eSGunnar Mills                    "type": [
402*f2a8e57eSGunnar Mills                        "integer",
403*f2a8e57eSGunnar Mills                        "null"
404*f2a8e57eSGunnar Mills                    ],
405*f2a8e57eSGunnar Mills                    "units": "By"
406*f2a8e57eSGunnar Mills                },
407*f2a8e57eSGunnar Mills                "TXFrames": {
408*f2a8e57eSGunnar Mills                    "description": "The total number of frames sent on a network function.",
409*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of frames sent on a network function.",
410*f2a8e57eSGunnar Mills                    "readonly": true,
411*f2a8e57eSGunnar Mills                    "type": [
412*f2a8e57eSGunnar Mills                        "integer",
413*f2a8e57eSGunnar Mills                        "null"
414*f2a8e57eSGunnar Mills                    ]
415*f2a8e57eSGunnar Mills                },
416*f2a8e57eSGunnar Mills                "TXMulticastFrames": {
417*f2a8e57eSGunnar Mills                    "description": "The total number of good multicast frames transmitted on a network function since reset.",
418*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of good multicast frames transmitted on a network function since reset, including host and remote management passthrough traffic.",
419*f2a8e57eSGunnar Mills                    "readonly": true,
420*f2a8e57eSGunnar Mills                    "type": [
421*f2a8e57eSGunnar Mills                        "integer",
422*f2a8e57eSGunnar Mills                        "null"
423*f2a8e57eSGunnar Mills                    ]
424*f2a8e57eSGunnar Mills                },
425*f2a8e57eSGunnar Mills                "TXQueuesEmpty": {
426*f2a8e57eSGunnar Mills                    "description": "Whether all TX queues for a network function are empty.",
427*f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate whether all TX queues for a network function are empty.",
428*f2a8e57eSGunnar Mills                    "readonly": true,
429*f2a8e57eSGunnar Mills                    "type": [
430*f2a8e57eSGunnar Mills                        "boolean",
431*f2a8e57eSGunnar Mills                        "null"
432*f2a8e57eSGunnar Mills                    ]
433*f2a8e57eSGunnar Mills                },
434*f2a8e57eSGunnar Mills                "TXQueuesFull": {
435*f2a8e57eSGunnar Mills                    "description": "The number of TX queues that are full.",
436*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of TX queues that are full.",
437*f2a8e57eSGunnar Mills                    "readonly": true,
438*f2a8e57eSGunnar Mills                    "type": [
439*f2a8e57eSGunnar Mills                        "integer",
440*f2a8e57eSGunnar Mills                        "null"
441*f2a8e57eSGunnar Mills                    ]
442*f2a8e57eSGunnar Mills                },
443*f2a8e57eSGunnar Mills                "TXUnicastFrames": {
444*f2a8e57eSGunnar Mills                    "description": "The total number of good unicast frames transmitted on a network function since reset.",
445*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the total number of good unicast frames transmitted on a network function since reset, including host and remote management passthrough traffic.",
446*f2a8e57eSGunnar Mills                    "readonly": true,
447*f2a8e57eSGunnar Mills                    "type": [
448*f2a8e57eSGunnar Mills                        "integer",
449*f2a8e57eSGunnar Mills                        "null"
450*f2a8e57eSGunnar Mills                    ]
451*f2a8e57eSGunnar Mills                }
452*f2a8e57eSGunnar Mills            },
453*f2a8e57eSGunnar Mills            "required": [
454*f2a8e57eSGunnar Mills                "@odata.id",
455*f2a8e57eSGunnar Mills                "@odata.type",
456*f2a8e57eSGunnar Mills                "Id",
457*f2a8e57eSGunnar Mills                "Name"
458*f2a8e57eSGunnar Mills            ],
459*f2a8e57eSGunnar Mills            "type": "object"
460*f2a8e57eSGunnar Mills        },
461*f2a8e57eSGunnar Mills        "OemActions": {
462*f2a8e57eSGunnar Mills            "additionalProperties": true,
463*f2a8e57eSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
464*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
465*f2a8e57eSGunnar Mills            "patternProperties": {
466*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
467*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
468*f2a8e57eSGunnar Mills                    "type": [
469*f2a8e57eSGunnar Mills                        "array",
470*f2a8e57eSGunnar Mills                        "boolean",
471*f2a8e57eSGunnar Mills                        "integer",
472*f2a8e57eSGunnar Mills                        "number",
473*f2a8e57eSGunnar Mills                        "null",
474*f2a8e57eSGunnar Mills                        "object",
475*f2a8e57eSGunnar Mills                        "string"
476*f2a8e57eSGunnar Mills                    ]
477*f2a8e57eSGunnar Mills                }
478*f2a8e57eSGunnar Mills            },
479*f2a8e57eSGunnar Mills            "properties": {},
480*f2a8e57eSGunnar Mills            "type": "object"
481*f2a8e57eSGunnar Mills        },
482*f2a8e57eSGunnar Mills        "ResetMetrics": {
483*f2a8e57eSGunnar Mills            "additionalProperties": false,
484*f2a8e57eSGunnar Mills            "description": "This action resets the summary metrics related to this device.",
485*f2a8e57eSGunnar Mills            "longDescription": "This action shall reset any time intervals or counted values for this device.",
486*f2a8e57eSGunnar Mills            "parameters": {},
487*f2a8e57eSGunnar Mills            "patternProperties": {
488*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
489*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
490*f2a8e57eSGunnar Mills                    "type": [
491*f2a8e57eSGunnar Mills                        "array",
492*f2a8e57eSGunnar Mills                        "boolean",
493*f2a8e57eSGunnar Mills                        "integer",
494*f2a8e57eSGunnar Mills                        "number",
495*f2a8e57eSGunnar Mills                        "null",
496*f2a8e57eSGunnar Mills                        "object",
497*f2a8e57eSGunnar Mills                        "string"
498*f2a8e57eSGunnar Mills                    ]
499*f2a8e57eSGunnar Mills                }
500*f2a8e57eSGunnar Mills            },
501*f2a8e57eSGunnar Mills            "properties": {
502*f2a8e57eSGunnar Mills                "target": {
503*f2a8e57eSGunnar Mills                    "description": "Link to invoke action",
504*f2a8e57eSGunnar Mills                    "format": "uri-reference",
505*f2a8e57eSGunnar Mills                    "type": "string"
506*f2a8e57eSGunnar Mills                },
507*f2a8e57eSGunnar Mills                "title": {
508*f2a8e57eSGunnar Mills                    "description": "Friendly action name",
509*f2a8e57eSGunnar Mills                    "type": "string"
510*f2a8e57eSGunnar Mills                }
511*f2a8e57eSGunnar Mills            },
512*f2a8e57eSGunnar Mills            "type": "object",
513*f2a8e57eSGunnar Mills            "versionAdded": "v1_2_0"
514*f2a8e57eSGunnar Mills        }
515*f2a8e57eSGunnar Mills    },
516*f2a8e57eSGunnar Mills    "language": "en",
517*f2a8e57eSGunnar Mills    "owningEntity": "DMTF",
518*f2a8e57eSGunnar Mills    "release": "2024.1",
519*f2a8e57eSGunnar Mills    "title": "#NetworkDeviceFunctionMetrics.v1_2_0.NetworkDeviceFunctionMetrics"
520*f2a8e57eSGunnar Mills}