1# This file is part of Eclat -*- Autotest -*- 2# Copyright (C) 2012-2018 Sergey Poznyakoff 3# 4# Eclat is free software; you can redistribute it and/or modify 5# it under the terms of the GNU General Public License as published by 6# the Free Software Foundation; either version 3, or (at your option) 7# any later version. 8# 9# Eclat is distributed in the hope that it will be useful, 10# but WITHOUT ANY WARRANTY; without even the implied warranty of 11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12# GNU General Public License for more details. 13# 14# You should have received a copy of the GNU General Public License 15# along with Eclat. If not, see <http://www.gnu.org/licenses/>. 16 17ECLAT_TEST_FORMAT([DescribeInstances], 18[DescribeInstances], 19[describe-instances.fln], 20[<DescribeInstancesResponse xmlns='http://ec2.amazonaws.com/doc/2012-08-15/'> 21 <requestId>fdcdcab1-ae5c-489e-9c33-4637c5dda355</requestId> 22 <reservationSet> 23 <item> 24 <reservationId>r-0ece705a</reservationId> 25 <ownerId>053230519467</ownerId> 26 <groupSet/> 27 <instancesSet> 28 <item> 29 <instanceId>i-7a00642e</instanceId> 30 <imageId>ami-1cd4924e</imageId> 31 <instanceState> 32 <code>16</code> 33 <name>running</name> 34 </instanceState> 35 <privateDnsName/> 36 <dnsName/> 37 <reason/> 38 <keyName>VPCKey</keyName> 39 <amiLaunchIndex>0</amiLaunchIndex> 40 <productCodes/> 41 <instanceType>c1.medium</instanceType> 42 <launchTime>2012-06-28T17:41:48.000Z</launchTime> 43 <placement> 44 <availabilityZone>ap-southeast-1b</availabilityZone> 45 <groupName/> 46 <tenancy>default</tenancy> 47 </placement> 48 <platform>windows</platform> 49 <monitoring> 50 <state>disabled</state> 51 </monitoring> 52 <subnetId>subnet-c53c87ac</subnetId> 53 <vpcId>vpc-cc3c87a5</vpcId> 54 <privateIpAddress>10.0.0.12</privateIpAddress> 55 <ipAddress>46.51.219.63</ipAddress> 56 <sourceDestCheck>true</sourceDestCheck> 57 <groupSet> 58 <item> 59 <groupId>sg-374b565b</groupId> 60 <groupName>quick-start-3</groupName> 61 </item> 62 </groupSet> 63 <architecture>x86_64</architecture> 64 <rootDeviceType>ebs</rootDeviceType> 65 <rootDeviceName>/dev/sda1</rootDeviceName> 66 <blockDeviceMapping> 67 <item> 68 <deviceName>/dev/sda1</deviceName> 69 <ebs> 70 <volumeId>vol-9e151bfc</volumeId> 71 <status>attached</status> 72 <attachTime>2012-06-28T17:42:05.000Z</attachTime> 73 <deleteOnTermination>true</deleteOnTermination> 74 </ebs> 75 </item> 76 </blockDeviceMapping> 77 <virtualizationType>hvm</virtualizationType> 78 <clientToken>JNlxa1340905307390</clientToken> 79 <tagSet> 80 <item> 81 <key>Name</key> 82 <value>SingleENI</value> 83 </item> 84 </tagSet> 85 <hypervisor>xen</hypervisor> 86 <networkInterfaceSet> 87 <item> 88 <networkInterfaceId>eni-d83388b1</networkInterfaceId> 89 <subnetId>subnet-c53c87ac</subnetId> 90 <vpcId>vpc-cc3c87a5</vpcId> 91 <description>Primary network interface</description> 92 <ownerId>053230519467</ownerId> 93 <status>in-use</status> 94 <privateIpAddress>10.0.0.12</privateIpAddress> 95 <sourceDestCheck>true</sourceDestCheck> 96 <groupSet> 97 <item> 98 <groupId>sg-374b565b</groupId> 99 <groupName>quick-start-3</groupName> 100 </item> 101 </groupSet> 102 <attachment> 103 <attachmentId>eni-attach-31b87358</attachmentId> 104 <deviceIndex>0</deviceIndex> 105 <status>attached</status> 106 <attachTime>2012-06-28T17:41:48.000Z</attachTime> 107 <deleteOnTermination>true</deleteOnTermination> 108 </attachment> 109 <association> 110 <publicIp>46.51.219.63</publicIp> 111 <ipOwnerId>053230519467</ipOwnerId> 112 </association> 113 <privateIpAddressesSet> 114 <item> 115 <privateIpAddress>10.0.0.12</privateIpAddress> 116 <primary>true</primary> 117 <association> 118 <publicIp>46.51.219.63</publicIp> 119 <ipOwnerId>053230519467</ipOwnerId> 120 </association> 121 </item> 122 <item> 123 <privateIpAddress>10.0.0.14</privateIpAddress> 124 <primary>false</primary> 125 <association> 126 <publicIp>46.51.221.177</publicIp> 127 <ipOwnerId>053230519467</ipOwnerId> 128 </association> 129 </item> 130 </privateIpAddressesSet> 131 </item> 132 </networkInterfaceSet> 133 </item> 134 </instancesSet> 135 </item> 136 <item> 137 <reservationId>r-58b30a0c</reservationId> 138 <ownerId>053230519467</ownerId> 139 <groupSet> 140 <item> 141 <groupId>sg-aa4170f8</groupId> 142 <groupName>quick-start-5</groupName> 143 </item> 144 </groupSet> 145 <instancesSet> 146 <item> 147 <instanceId>i-507f1804</instanceId> 148 <imageId>ami-70d49222</imageId> 149 <instanceState> 150 <code>16</code> 151 <name>running</name> 152 </instanceState> 153 <privateDnsName>ip-10-139-34-251.ap-southeast-1.compute.internal</privateDnsName> 154 <dnsName>ec2-122-248-233-255.ap-southeast-1.compute.amazonaws.com</dnsName> 155 <reason/> 156 <keyName>EC2Key</keyName> 157 <amiLaunchIndex>0</amiLaunchIndex> 158 <productCodes/> 159 <instanceType>t1.micro</instanceType> 160 <launchTime>2012-06-29T22:53:42.000Z</launchTime> 161 <placement> 162 <availabilityZone>ap-southeast-1a</availabilityZone> 163 <groupName/> 164 <tenancy>default</tenancy> 165 </placement> 166 <platform>windows</platform> 167 <monitoring> 168 <state>disabled</state> 169 </monitoring> 170 <privateIpAddress>10.139.34.251</privateIpAddress> 171 <ipAddress>122.248.233.255</ipAddress> 172 <groupSet> 173 <item> 174 <groupId>sg-aa4170f8</groupId> 175 <groupName>quick-start-5</groupName> 176 </item> 177 </groupSet> 178 <architecture>x86_64</architecture> 179 <rootDeviceType>ebs</rootDeviceType> 180 <rootDeviceName>/dev/sda1</rootDeviceName> 181 <blockDeviceMapping> 182 <item> 183 <deviceName>/dev/sda1</deviceName> 184 <ebs> 185 <volumeId>vol-a22b3ac0</volumeId> 186 <status>attached</status> 187 <attachTime>2012-06-29T22:54:02.000Z</attachTime> 188 <deleteOnTermination>true</deleteOnTermination> 189 </ebs> 190 </item> 191 </blockDeviceMapping> 192 <virtualizationType>hvm</virtualizationType> 193 <clientToken>clNwH1341010421443</clientToken> 194 <tagSet> 195 <item> 196 <key>Name</key> 197 <value>EC2 Instance</value> 198 </item> 199 </tagSet> 200 <hypervisor>xen</hypervisor> 201 <networkInterfaceSet/> 202 </item> 203 </instancesSet> 204 </item> 205 </reservationSet> 206</DescribeInstancesResponse> 207], 208[Reservation ID: r-0ece705a 209Owner ID: 053230519467 210 211Instance: i-7a00642e 212 Image ID: ami-1cd4924e 213 State: running 214 Kernel ID: 215 Architecture: x86_64 216 Private DNS: 217 Public DNS: 218 Key: VPCKey 219 Type: c1.medium 220 Launch Time: 2012-06-28T17:41:48.000Z 221 Availability Zone: ap-southeast-1b 222 Group Name: 223 Tenancy: default 224 Private IP: 10.0.0.12 225 Public IP: 46.51.219.63 226 Groups: 227 sg-374b565b -- quick-start-3 228 Root Device Type: ebs 229 Root Device Name: /dev/sda1 230 Device mapping: 231 /dev/sda1 vol-9e151bfc attached 2012-06-28T17:42:05.000Z true 232 Virtualization: hvm 233 Tag Set: 234 Name=SingleENI 235 Hypervisor: xen 236 EBS Optimized: 237End of instance 238 239Reservation ID: r-58b30a0c 240Owner ID: 053230519467 241Groups: 242 sg-aa4170f8 quick-start-5 243 244Instance: i-507f1804 245 Image ID: ami-70d49222 246 State: running 247 Kernel ID: 248 Architecture: x86_64 249 Private DNS: ip-10-139-34-251.ap-southeast-1.compute.internal 250 Public DNS: ec2-122-248-233-255.ap-southeast-1.compute.amazonaws.com 251 Key: EC2Key 252 Type: t1.micro 253 Launch Time: 2012-06-29T22:53:42.000Z 254 Availability Zone: ap-southeast-1a 255 Group Name: 256 Tenancy: default 257 Private IP: 10.139.34.251 258 Public IP: 122.248.233.255 259 Groups: 260 sg-aa4170f8 -- quick-start-5 261 Root Device Type: ebs 262 Root Device Name: /dev/sda1 263 Device mapping: 264 /dev/sda1 vol-a22b3ac0 attached 2012-06-29T22:54:02.000Z true 265 Virtualization: hvm 266 Tag Set: 267 Name="EC2 Instance" 268 Hypervisor: xen 269 EBS Optimized: 270End of instance 271 272]) 273 274