X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=python%2Fovs%2Fovsuuid.py;h=56fdad05ee55ade305cc026167557a62ffaa053c;hb=9387b97098afe90403cc139ad2b55ce7e02bc4a2;hp=5739fcfaf5bada293d1703a1b4cfd7677045ff55;hpb=4ad07e6063e68eeb1768fc751ddd4833bdb8f3c1;p=openvswitch diff --git a/python/ovs/ovsuuid.py b/python/ovs/ovsuuid.py index 5739fcfa..56fdad05 100644 --- a/python/ovs/ovsuuid.py +++ b/python/ovs/ovsuuid.py @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2010, 2011 Nicira Networks +# Copyright (c) 2009, 2010, 2011 Nicira, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ import ovs.db.parser uuidRE = re.compile("^xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx$" .replace('x', '[0-9a-fA-F]')) + def zero(): return uuid.UUID(int=0)