[ovs-dev] [PATCH 1/2] odp-util: Reuse UUID marshalling for UFID.

Joe Stringer joestringer at nicira.com
Tue Jun 9 20:29:52 UTC 2015


On 9 June 2015 at 12:33, Ben Pfaff <blp at nicira.com> wrote:
> On Tue, Jun 09, 2015 at 11:41:04AM -0700, Joe Stringer wrote:
>> On 7 June 2015 at 11:03, Ben Pfaff <blp at nicira.com> wrote:
>> > On Mon, Jun 01, 2015 at 06:22:19PM -0700, Joe Stringer wrote:
>> >> Unique flow identifiers are really a UUID of sorts, so it makes sense to
>> >> reuse the UUID string representations for UFID.
>> >>
>> >> Suggested-by: Ben Pfaff <blp at nicira.com>
>> >> Signed-off-by: Joe Stringer <joestringer at nicira.com>
>> >
>> > Acked-by: Ben Pfaff <blp at nicira.com>
>>
>> It strikes me that it may be somewhat misleading to print UFIDs as
>> UUIDs, given that there are specific bits with particular meaning in
>> the UUID standards. One way to resolve this would be to tweak the UFID
>> generation to create variant 4 UUIDs ("random") by overwriting the
>> appropriate bits after hashing.
>
> The same did occur to me.  It's probably a good idea, if you're up for
> it.

Sure. It should be a minor patch on top of this.



More information about the dev mailing list