[ovs-dev] [PATCH v2] ovs-vtep: Support userspace datapaths.

Daniele Di Proietto diproiettod at vmware.com
Tue Jun 16 15:29:11 UTC 2015


On 16/06/2015 15:39, "Gurucharan Shetty" <shettyg at nicira.com> wrote:

>
>>
>> +    global ps_type
>> +    ps_type = ovs_vsctl("get Bridge %s datapath_type" % ps_name)
>> +    if ps_type == "\"\"":
>> +        ps_type = ""
>Else where in the code, this is handled by calling strip().
>e.g: port_type = ovs_vsctl("get Interface %s type"
>                                      % port).strip('"')
>It sort of looks cleaner to me and provides a little more consistency.
>Otherwise, I am happy with the change.

Makes sense, thanks

I've sent a v3 to the list.




More information about the dev mailing list