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

Ben Pfaff blp at ovn.org
Sun Apr 10 17:34:38 UTC 2016


On Fri, Apr 08, 2016 at 05:38:16PM +0800, Xiao Liang 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>

This seems like a reasonable feature and based on skimming the code it's
a reasonable implementation.

It needs tests to demonstrate that it works.  Please include some corner
cases (e.g. duplicate ofnames, ofnames that duplicate regular names of
ports that don't have ofnames, changing ofnames, ...).

Please add an item to NEWS as well.

Thanks,

Ben.



More information about the dev mailing list