On 12 Sep 2023, at 15:19, Robin Jarry wrote:
> Eelco Chaudron, Sep 12, 2023 at 09:17:
>> I feel like if we do need another way of getting (real time)
>> statistics out of OVS, we should use the same communication channel as
>> the other ovs-xxx utilities are using. But rather than returning
>> text-based responses, we might be able to make it JSON (which is
>> already used by the dbase). I know that Adrian is already
>> investigating machine-readable output for some existing utilities,
>> maybe it can be extended for the (pmd) statistics use case.
>>
>> Using something like the DPDK telemetry socket, might not work for
>> other use cases where DPDK is not in play.
>
> Maybe the telemetry socket code could be reused even when DPDK is not in
> play. It already has all the APIs to return structured data and
> serialize it to JSON. It would be nice not to have to reinvent the
> wheel.
But this is a new type of connecting into OVS, and I feel like we should keep
the existing infrastructure, and not add another connection type. This would
make it easy for existing tools to also benefit from the new format over the
existing connection methods.
Any input from others in the community? Adrian maybe you can share your
research, ideas?
//Eelco
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev