[ovs-dev] [PATCH v2] Add configurable OpenFlow port name.

Xiao Liang shaw.leon at gmail.com
Mon Apr 11 08:30:04 UTC 2016


On Mon, Apr 11, 2016 at 3:42 PM, Takashi Yamamoto <yamamoto at midokura.com> wrote:
> hi,
>
> have you considered the opposite way?
> ie. have an ability to specify the device name.
>
> netdev-bsd already has a distinction between "kernel name" and "ovs name".
>

Hi,

I'm not familiar with netdev-bsd code, but I think this approach will
make ports more difficult to manage and need much more effort.

Thanks,
Xiao

> On Mon, Apr 11, 2016 at 4:23 PM, Xiao Liang <shaw.leon at gmail.com> wrote:
>> Add new column "ofname" in Interface table to configure port name reported
>> to controllers with OpenFlow protocol, thus decouple OpenFlow port name from
>> device name.
>>
>> For example:
>>     # ovs-vsctl set Interface eth0 ofname=wan
>>     # ovs-vsctl set Interface eth1 ofname=lan0
>> then controllers can recognize ports by their names.
>>
>> Signed-off-by: Xiao Liang <shaw.leon at gmail.com>
>> ---
>> v2: Added test for ofname
>>     Increased db schema version



More information about the dev mailing list