On 11/30/22 16:55, Ilya Maximets wrote:
> On 5/12/21 19:44, Timothy Redaelli wrote:
>> Currently it's not possible to use ovs-dpctl-top via pipe (eg:
>> ovs-dpctl dump-flows | ovs-dpctl-top --script --verbose) since Python3
>> doesn't allow to open a file (stdin in our case) in binary mode without
>> buffering enabled.
>>
>> This commit changes the behaviour in order to directly pass stdin to
>> flows_read instead of re-opening it without buffering.
>>
>> Signed-off-by: Timothy Redaelli <[email protected]>
>> ---
>>  utilities/ovs-dpctl-top.in | 6 +-----
>>  1 file changed, 1 insertion(+), 5 deletions(-)
> 
> Applied.  Thanks!

Also, backported down to 2.17.

> 
> Best regards, Ilya Maximets.
> 

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to