Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-133

need a method to get the intance type (eg. m1.tiny) from the computeMetadata

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.6.0
    • None
    • jclouds-labs-openstack
    • Openstack

    Description

      When I dump the contents of an instance of ComputeMetadata, I see that the instance type - in this case m1.tiny, exists as a part of "hardware" . I'd like to have a method to get to the "hardware"
      Here is an example :
      {id=......, hardware={id=RegionOne/1, providerId=1, name=m1.tiny, location=

      {scope=ZONE, id=RegionOne, description=RegionOne, parent=openstack-nova}

      , ......}

      Can we have a method as shown below :
      getHardware.getName();

      Attachments

        Activity

          People

            Unassigned Unassigned
            shankar_lyatiss Shankar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: