On 10/28/26 3:52 PM, Eelco Chaudron via dev wrote:
>
>
> On 15 Oct 2026, at 14:17, Timothy Redaelli via dev wrote:
>
>> When --format json is passed to ovs-appctl, fdb/stats-show returns a
>> JSON object keyed by bridge name. Each bridge contains two sub-objects:
>> "entries" (with "current", "maximum", and "static" counts) and "events"
>> (with "evicted", "expired", "learned", and "moved" counters).
>>
>> The output is keyed by bridge name even though the command accepts only
>> one bridge. This matches fdb/show, dpif/show and dpif/offload/show,
>> which all use entity names as top-level keys, and the format does not
>> need to change if the command ever reports more than one bridge.
>>
>> The implementation is split into separate text and JSON helper functions
>> to keep the main handler simple.
>>
>> Example output:
>> {"br0": {"entries": {"current": 17, "maximum": 8192, "static": 17},
>> "events": {"evicted": 0, "expired": 0,
>> "learned": 17, "moved": 0}}}
>>
>> Reported-at: https://issues.redhat.com/browse/FDP-2444
>> Signed-off-by: Timothy Redaelli <[email protected]>
>
> Thanks Timothy, for sending out the new revision. The changes look good to me.
>
> Acked-by: Eelco Chaudron <[email protected]>
Thanks, Timothy and Eelco. Applied this one to main.
Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev