Rupesh029 / typica

Automatically exported from code.google.com/p/typica
Apache License 2.0
0 stars 0 forks source link

ReservationDescription returned by RunInstances does not contain IpAddress and PrivateIpAddress fields #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. call RunInstances
2. examine the returned ReservationDescription
3.

What is the expected output? What do you see instead?
Amazon API as of 15 July 2009 returns IpAddress and PrivateIpAddress
fields. They do not appear in ReservationDescription.

What version of the product are you using? On what operating system?
1.5.1 on Windows.

Please provide any additional information below.
From the source trunk, the problem still exists in 1.5.2.
Thanks very much!!

Original issue reported on code.google.com by alexandr...@gmail.com on 21 Sep 2009 at 9:47

GoogleCodeExporter commented 9 years ago
I too would like this change. Of course it the change would need to be for
DescribeInstances since the IP addresses are not known until they are running. 
But
this would save me from needing to do a DNS resolution, as I am forced to do 
now.

Original comment by gabriel....@gmail.com on 27 Sep 2009 at 9:50

GoogleCodeExporter commented 9 years ago
definitely. I'd like to be complete with the implementation. Looking at the 
WSDL, this IP addresses don't seem 
to be returned! Here's the appropriate portion of the WSDL;
  <xs:complexType name="RunningInstancesItemType">
    <xs:sequence>
      <xs:element name="instanceId" type="xs:string"/>
      <xs:element name="imageId" type="xs:string"/>
      <xs:element name="instanceState" type="tns:InstanceStateType"/>
      <xs:element name="privateDnsName" type="xs:string"/>
      <xs:element name="dnsName" type="xs:string"/>
      <xs:element name="reason" type="xs:string" minOccurs="0"/>
      <xs:element name="keyName" type="xs:string" minOccurs="0"/>
      <xs:element name="amiLaunchIndex" type="xs:string" minOccurs="0" maxOccurs="1"/>
      <xs:element name="productCodes" type="tns:ProductCodesSetType" minOccurs="0" maxOccurs="1" />
      <xs:element name="instanceType" type="xs:string"/>
      <xs:element name="launchTime" type="xs:dateTime" />
      <xs:element name="placement" type="tns:PlacementResponseType" minOccurs="0"/>
      <xs:element name="kernelId" type="xs:string" minOccurs="0"/>
      <xs:element name="ramdiskId" type="xs:string" minOccurs="0"/>
      <xs:element name="platform" type="xs:string" minOccurs="0"/>
      <xs:element name="monitoring" type="tns:InstanceMonitoringStateType" minOccurs="0" 
maxOccurs="1" />
    </xs:sequence>
  </xs:complexType>

Original comment by dkavan...@gmail.com on 13 Oct 2009 at 1:36

GoogleCodeExporter commented 9 years ago
I see that the newer WSDL I'm integrating does contain public and private IP. 
I'll get this added in.

Original comment by dkavan...@gmail.com on 16 Oct 2009 at 2:25

GoogleCodeExporter commented 9 years ago
included in SVN r294

Original comment by dkavan...@gmail.com on 16 Oct 2009 at 5:45