ó ¡ôXc@sFddlmZddlmZmZmZdefd„ƒYZdS(iÿÿÿÿ(t EC2Request(tArgtFiltertGenericTagFiltertDescribeInstancescPBsµeZdZedddddddƒgZeddd ƒed dd ƒed dd ƒedddƒedddƒedƒedddƒedddƒedddƒedddƒedddƒedddƒeddd ƒed!dd"ƒed#dd$ƒed%dd&ƒed'dd(ƒed)dd*ƒed+dd"ƒed,dd$ƒed-ƒed.dd/ƒed0d1edd2ƒed3dd4ƒed5ƒed6dd7ƒed8dd9ƒed:dd;ƒed<dd=ƒed>dd?ƒed@ddAƒedBddCƒedDddEƒedFddGƒedHddIƒedJd1eddKƒedLddMƒedNddOƒedPddQƒedRddSƒedTddUƒedVddWƒedXddYƒedZdd[ƒed\dd]ƒed^dd_ƒed`ddaƒedbddcƒeddddeƒedfddgƒedhddiƒedjddkƒedlddmƒednddoƒedpddqƒedrddsƒedtƒeduddvƒedwƒedxƒedyƒedzdd{ƒed|dd}ƒed~ddƒed€ddƒed‚ddƒƒed„dd…ƒed†dd‡ƒedˆƒed‰ddŠƒed‹ddŒƒedddŽƒedddƒed‘dd’ƒed“dd”ƒed•ƒed–dd—ƒgMZd˜d™dšd›dœddždŸgZ d „Z RS(¡s Show information about instancest InstanceIdtmetavartINSTANCEtnargst*thelps#limit results to specific instancest architecturesCPU architecturesassociation.allocation-ids`[VPC only] allocation ID bound to a network interface's elastic IP addresssassociation.association-ids‰[VPC only] association ID returned when an elastic IP was associated with a network interfacesassociation.ip-owner-idsn[VPC only] ID of the owner of the elastic IP address associated with a network interfacesassociation.public-ips_[VPC only] address of the elastic IP address bound to a network interfacesavailability-zones block-device-mapping.attach-timesvolume attachment times*block-device-mapping.delete-on-terminationsKwhether a volume is deleted upon instance terminations block-device-mapping.device-names"volume device name (e.g. /dev/sdf)sblock-device-mapping.statuss volume statussblock-device-mapping.volume-ids volume IDs client-tokens/idempotency token provided at instance run timesdns-namespublic DNS namesgroup-idssecurity group IDs group-namessecurity group namet hypervisorshypervisor typesiam-instance-profile.arns&ARN of the instance's instance profilesimage-idsmachine image IDsinstance.group-idsinstance.group-names instance-idsinstance-lifecycleswhether this is a spot instancesinstance-state-codettypes'numeric code identifying instance statesinstance-state-namesinstance states instance-types ip-addressspublic IP addresss kernel-idskernel image IDskey-names.key pair name provided at instance launch times launch-indexs!launch index within a reservations launch-timesinstance launch timesmonitoring-states*monitoring state ("enabled" or "disabled")s3network-interface.addresses.association.ip-owner-idsn[VPC only] ID of the owner of the private IP address associated with a network interfaces1network-interface.addresses.association.public-ipsh[VPC only] ID of the association of an elastic IP address with a network interfaces#network-interface.addresses.primarys [VPC only] whether the IP address of the VPC network interface is the primary private IP address ("true" or "false")s.network-interface.addresses.private-ip-addresssG[VPC only] network interface's private IP addresss)network-interface.attachment.device-indexsV[VPC only] device index to which a network interface is attacheds(network-interface.attachment.attach-timesU[VPC only] time a network interface was attached to an instances*network-interface.attachment.attachment-idsG[VPC only] ID of a network interface's attachments2network-interface.attachment.delete-on-terminations›[VPC only] whether a network interface attachment is deleted when an instance is terminated ("true" or "false")s.network-interface.attachment.instance-owner-ids\[VPC only] ID of the instance to which a network interface is attacheds#network-interface.attachment.statuss0[VPC only] network interface's attachment statuss#network-interface.availability-zones0[VPC only] network interface's availability zonesnetwork-interface.descriptions-[VPC only] description of a network interfacesnetwork-interface.group-ids0[VPC only] network interface's security group IDsnetwork-interface.group-namesH[VPC only] network interface's security group namesnetwork-interface.mac-addresss/[VPC only] network interface's hardware addresss&network-interface.network-interface.ids$[VPC only] ID of a network interfacesnetwork-interface.owner-ids,[VPC only] ID of a network interface's owners"network-interface.private-dns-names/[VPC only] network interface's private DNS namesnetwork-interface.requester-ids+[VPC only] network interface's requester IDs#network-interface.requester-managedsX[VPC only] whether the network interface is managed by the services*network-interface.source-destination-checks{[VPC only] whether source/destination checking is enabled for a network interface ("true" or "false")snetwork-interface.statuss%[VPC only] network interface's statussnetwork-interface.subnet-ids-[VPC only] ID of a network interface's subnetsnetwork-interface.vpc-ids*[VPC only] ID of a network interface's VPCsowner-idsinstance owner's account IDsplacement-group-nametplatforms"windows" for Windows instancessprivate-dns-namesprivate-ip-addresss product-codesproduct-code.types0type of product code ("devpay" or "marketplace")s ramdisk-idsramdisk image IDtreasons'reason for the instance's current states requester-ids*ID of the entity that launched an instancesreservation-ids ID of the instance's reservationsroot-device-names!root device name (e.g. /dev/sda1)sroot-device-types,root device type ("ebs" or "instance-store")sspot-instance-request-idsstate-reason-codes,reason code for the most recent state changesstate-reason-messages/message describing the most recent state changes subnet-ids.[VPC only] ID of the subnet the instance is instag-keys(name of any tag assigned to the instances tag-values)value of any tag assigned to the instancestag:KEYs"specific tag key/value combinationsvirtualization-typesvpc-ids+[VPC only] ID of the VPC the instance is intreservationSett instancesSettgroupSetttagSettblockDeviceMappingt productCodestnetworkInterfaceSettprivateIpAddressesSetcCs+x$|jdƒD]}|j|ƒqWdS(NR(tgettprint_reservation(tselftresultt reservation((sL/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeinstances.pyt print_result¼s( t__name__t __module__t DESCRIPTIONRtARGSRtintRtFILTERSt LIST_TAGSR(((sL/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeinstances.pyRs                                                               N(teuca2ools.commands.ec2RtrequestbuilderRRRR(((sL/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeinstances.pyts