Viewing File: /usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeimageattribute.pyo

ó
¡ôXc@s@ddlmZmZddlmZdefd„ƒYZdS(iÿÿÿÿ(tArgtMutuallyExclusiveArgList(t
EC2RequesttDescribeImageAttributecBseZdZedddddƒeedddd	d
ddd
ddƒedddd	d
dddddƒedddd	d
dddddƒeddd	d
dddddƒeddd	d
dddddƒeddd	d
dddddƒƒjƒgZdd
dgZd „ZRS(!s/Show information about an attribute of an imagetImageIdtmetavartIMAGEthelpsimage to describes-ls--launch-permissiontdestt	Attributetactiontstore_consttconsttlaunchPermissionsdisplay launch permissionss-ps--product-codestproductCodesslist associated product codess-Bs--block-device-mappingtblockDeviceMappingsdescribe block device mappingss--kerneltkernelsshow associated kernel image IDs	--ramdisktramdisks show associated ramdisk image IDs
--descriptiontdescriptionsshow the image's descriptioncCs|jdƒ}xQ|jdgƒD]=}x4|jƒD]&\}}|jd|||fƒGHq5Wq"Wxq|jdgƒD]]}d|krªdj|d|jdƒƒ}n|jdƒ}|jd|d|fƒGHqvWxy|jdgƒD]e}|jdƒp|jd	iƒjd
ƒ}	dj|jdƒ|	ƒ}
|jd|d
|
fƒGHqêW|jdƒrŒ|jd|d|djdƒfƒGHn|jdƒrÅ|jd|d|djdƒfƒGHn|jdƒrþ|jd|d|djdƒfƒGHndS(NtimageIdR
Rttypes
[{0}: {1}]tproductCodeRtvirtualNametebst
snapshotIds{0}: {1}t
deviceNametblockDeviceMapRtvalueRR(tgettitemsttabifytformattNone(tselftresulttimage_idtpermtentity_typetentity_nametcodetcode_strtblockdevtblockdev_srctblockdev_str((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeimageattribute.pytprint_result5s8
	(	t__name__t
__module__tDESCRIPTIONRRtrequiredtARGSt	LIST_TAGSR,(((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeimageattribute.pyRs(N(trequestbuilderRRteuca2ools.commands.ec2RR(((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeimageattribute.pyt<module>s
Back to Directory File Manager