Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
contego / home / tvault / .virtenv / lib / python2.7 / site-packages / nova / objects / migration_context.pyc
Size: Mime:
ó
±EYc@sddlmZddlmZddlmZddlmZddlmZddlm	Z	ej
jdejej
fd„ƒYƒZd	S(
iÿÿÿÿ(t	jsonutils(tversionutils(tdb(t	exception(tbase(tfieldstMigrationContextcBsèeZdZdZiejƒd6ejƒd6ejddeƒd6ejddeƒd6ejddeƒd	6ejddeƒd
6ejddeƒd6ejddeƒd
6Ze	d„ƒZ
e	d„ƒZej
d„ƒZRS(sàData representing additional resources related to a migration.

    Some resources cannot be calculated from knowing the flavor alone for the
    purpose of resources tracking, but need to be persisted at the time the
    claim was made, for subsequent resource tracking runs to be consistent.
    MigrationContext objects are created when the claim is done and are there
    to facilitate resource tracking and final provisioning of the instance on
    the destination host.
    s1.1t
instance_uuidtmigration_idtInstanceNUMATopologytnullabletnew_numa_topologytold_numa_topologyt
PciDeviceListtnew_pci_devicestold_pci_devicestInstancePCIRequeststnew_pci_requeststold_pci_requestscCsbtj|ƒ}|dkr^|jddƒ|jddƒ|jddƒ|jddƒndS(NiRRRR(ii(Rtconvert_version_to_tupletpoptNone(tclst	primitivettarget_version((sS/home/tvault/.virtenv/lib/python2.7/site-packages/nova/objects/migration_context.pytobj_make_compatible9scCstj|ƒ}|j|ƒS(N(Rtloadstobj_from_primitive(Rtdb_objR((sS/home/tvault/.virtenv/lib/python2.7/site-packages/nova/objects/migration_context.pytobj_from_db_objBscCs[tj||ddgƒ}|s6tjd|ƒ‚n|ddkrJdS|j|dƒS(Ntcolumnstmigration_contextR(Rt#instance_extra_get_by_instance_uuidRtMigrationContextNotFoundRR(RtcontextRtdb_extra((sS/home/tvault/.virtenv/lib/python2.7/site-packages/nova/objects/migration_context.pytget_by_instance_uuidGs	(t__name__t
__module__t__doc__tVERSIONRt	UUIDFieldtIntegerFieldtObjectFieldtTruetclassmethodRRRtremotable_classmethodR$(((sS/home/tvault/.virtenv/lib/python2.7/site-packages/nova/objects/migration_context.pyRs(








	N(toslo_serializationRt
oslo_utilsRtnovaRRtnova.objectsRRtNovaObjectRegistrytregistertNovaPersistentObjectt
NovaObjectR(((sS/home/tvault/.virtenv/lib/python2.7/site-packages/nova/objects/migration_context.pyt<module>s