On 16/06/2015 15:39, "Gurucharan Shetty" <shet...@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.

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to