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

Xiao Liang shaw.leon at gmail.com
Tue Jun 14 02:53:36 UTC 2016


On Mon, Jun 6, 2016 at 9:35 AM, Ben Pfaff <blp at ovn.org> wrote:
> On Sun, Jun 05, 2016 at 12:57:02AM +0800, Xiao Liang wrote:
>> On Sat, Jun 4, 2016 at 1:15 AM, Ben Pfaff <blp at ovn.org> wrote:
>> > On Tue, May 24, 2016 at 03:07:23PM +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.
>
> ...
>
>> > I'd like ovs-ofctl to report an error if a user attempts to refer to a
>> > port by name but there is more than one port with the name.  That could
>> > be in a separate patch.
>>
>> And what do you think of also adding an option (say, "--all") to
>> select all ports with the name?
>
> Do you think that users would find that option to be useful in practice?
> If you do, and it can be implemented cleanly in ovs-ofctl, then I think
> it would be OK to add an --all option.
>

Maybe useful if someone intentionally sets duplicate names and wants
to configure them by group.

And about the implementation... it would be great if you can give some
suggestions.

Thanks,
Xiao



More information about the dev mailing list