Re: [ovs-dev] [PATCH v3 5/6] ovs-vtep: Use shlex module to split args.

2014-09-25 Thread Justin Pettit
Acked-by: Justin Pettit On Fri, Sep 19, 2014 at 7:29 AM, Gurucharan Shetty wrote: > 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"'

Re: [ovs-dev] [PATCH v3 5/6] ovs-vtep: Use shlex module to split args.

2014-09-19 Thread Ariel Tubaltsev
Acked-by: Ariel Tubaltsev On 9/19/14 7:29 AM, "Gurucharan Shetty" wrote: >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.s

[ovs-dev] [PATCH v3 5/6] ovs-vtep: Use shlex module to split args.

2014-09-19 Thread Gurucharan Shetty
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(). vt