|
Post by spencerku on Dec 8, 2021 8:27:58 GMT
Hi Everyone, I want to expose some ethernet information through the RedFish interface, like packet count, drop count. My goal is to calculate the bandwidth / drop package rate of the ethernet. But I can't find the suitable property from the schema ( EthernetInterface v1.7.0) to fill the counts. Or should I add those info under the "OEM" property? We are willing to see any suggestions, thanks!
|
|
|
Post by mraineri on Dec 8, 2021 14:38:57 GMT
The closest thing we have to date can be found in the NetworkAdapter model. One thing to keep in mind with that area of the model is it was designed around how BMCs collect adapter information, interface information, and metrics via sideband channels directly to the card. This video gives an overview of that model: www.youtube.com/watch?v=jJeHgvnUc3wIf you're looking for a more simplistic type of approach where all you really have in the model is an EthernetInterface resource, OEM properties would be the only other option at this time. We may need to open discussions further for how to model these sorts of metrics purely under EthernetInterface.
|
|
|
Post by spencerku on Dec 10, 2021 8:02:53 GMT
Hi mraineri, Thanks for your reply! I will do some research to see that if we can use NetworkAdapter model to implement the feature, or it seems we need to add OEM properties if we want to use EthernetInterface model.
It would be great if this topic can be discussed.
Sincerely, Spencer Ku
|
|
|
Post by spencerku on Jan 26, 2022 7:20:37 GMT
Hi All, After we research more about this topic, the Ethernet statistic information is actually what we want to expose, like rx/tx bytes, pockets, dropped...etc. Then we find that there is a newly resource model called "ManagerDiagnosticData", which defined internal diagnostic data for a manager. I think this model might be a good place to put those Ethernet statistic properties, and here is a initial sample output in my mind:
"EthernetStatistics": [ { "RxBytes": 0, "RxDropped": 0, "RxPackets": 0, "TxBytes": 3322200, "TxDropped": 0, "TxPackets": 62067 ... } ]
Is there any chance that let Ethernet statistics as the standard properties under the "ManagerDiagnosticData" model?
Sincerely, Spencer Ku
|
|
|
Post by mraineri on Jan 28, 2022 1:29:16 GMT
I think given that some of these details might be useful in the OS context, we may want to avoid adding this to ManagerDiagnosticData. We do have some of these details reported in a WIP bundle that extends the Redfish model to operating systems, containers, and applications. Part of the proposal is adding an "OperatingSystemMetrics" resource, which includes interface statistics like you have in your comment. I think we might want to consider migrating this info to its own resource so it can be leveraged by EthernetInterface. The WIP bundle can be found here: www.dmtf.org/sites/default/files/standards/documents/DSP-IS0022_.0.5WIP.zip
|
|
|
Post by spencerku on Feb 9, 2022 3:14:37 GMT
This sounds great for us. We will keep track the extend model and if possible please let me know when the model release, thank you!
Sincerely, Spencer Ku
|
|