Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovn-sbctl: fix lflow-list when uuid has leading 0s.
When uuid starts with 0s, lflow-list will fail if leading 0s are not included in command argument. This leads to unexpected results considering that leading 0s are usually not shown up in cookies of OpenFlow outputs of tools such as ovs-ofctl dump-flows and ovs-appctl ofproto/trace. E.g. lflow uuid: 0c16ceb4-0409-484b-8297-a6e7f264ac2d $ ovn-nbctl lflow-list 0c16ceb4 # works fine $ ovn-nbctl lflow-list c16ceb4 # doesn't work This patch fixes the problem. Signed-off-by: Han Zhou <[email protected]> Signed-off-by: Ben Pfaff <[email protected]>
- Loading branch information