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

Xiao Liang shaw.leon at gmail.com
Sat Oct 22 05:05:33 UTC 2016


On Fri, Oct 21, 2016 at 1:46 AM, Flavio Leitner <fbl at sysclose.org> wrote:
> On Tue, Jun 14, 2016 at 10:53:36AM +0800, Xiao Liang wrote:
>> 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.
>
> Hi Xiao,
>
> I wonder what would be your plans for this patch?
> Thanks,
> --
> Flavio
>

This patch works. But I don't see a way to eliminate the smap. Any ideas?

Thanks,
Xiao



More information about the dev mailing list