Part of libcloud.common.gandi View Source View In Hierarchy
Known subclasses: libcloud.common.gandi.Disk, libcloud.common.gandi.IPAddress, libcloud.common.gandi.NetworkInterface
Base class for objects not conventional
Unique hash for this object @return: C{string} The hash is a function of an SHA1 hash of prefix, the object's ID and its driver which means that it should be unique between all interfaces. TODO : to review >>> from libcloud.compute.drivers.dummy import DummyNodeDriver >>> driver = DummyNodeDriver(0) >>> vif = driver.create_interface() >>> vif.get_uuid() 'd3748461511d8b9b0e0bfa0d4d3383a619a2bb9f' Note, for example, that this example will always produce the same UUID!