Hi,

We notice that ovs-vsctl command does not return the output in a valid json
format in the latest ovs version, e.g. strings in the output are not
double-quote-enclosed, while it was working for ovs 2.11. I am wondering if
there is any fix for this?


For ovs 2.11

# ovs-vsctl --version

ovs-vsctl (Open vSwitch) 2.11.8

DB Schema 7.16.1


# sudo ovs-vsctl --format=json get bridge br0 protocols | jq .

[

  "OpenFlow11"

]



For ovs 2.16

# ovs-vsctl --version

ovs-vsctl (Open vSwitch) 2.16.90

DB Schema 8.3.0


# sudo ovs-vsctl --format=json get bridge br0 protocols

[OpenFlow11]


# sudo ovs-vsctl --format=json get bridge br0 protocols | jq .

parse error: Invalid numeric literal at line 1, column 12


Thanks,

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

Reply via email to