Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovs-vtep: Use shlex module to split args.
string.split() function splits a quoted string if there is a whitespace inside the quote. ex: The following code snippet will output ['printing', '"No', 'Diagnostic"'] args = 'printing "No Diagnostic"' print args.split() The above is a problem if we run the following command through vtep_ctl(). vtep-ctl set tunnel $uuid bfd_status:diagnostic="No Diagnostic" The workaround is to use the split() function from shlex module. Signed-off-by: Gurucharan Shetty <[email protected]> Acked-by: Ariel Tubaltsev <[email protected]> Acked-by: Justin Pettit <[email protected]>
- Loading branch information