xenanetworks / open-automation-chimera-core

XOA Chimera Core
https://docs.xenanetworks.com/projects/xoa-chimera-core
Apache License 2.0
0 stars 0 forks source link

Missing api to clear the port statistics and all its flow stats #18

Closed leonardhyu closed 1 year ago

leonardhyu commented 1 year ago

✅ It is great that we have flow statistics clear api that clear the stats on a specific flow on a port await flow.statistics.clear.set(), which corresponds to the BXMP command PE_FLOWCLEAR

🚩 However, we are missing an API to clear stats on the port level. The API should look like: await port.statistics.clear(). This corresponds to the BXMP command PE_CLEAR

leonardhyu commented 1 year ago

Merged to #19