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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 1.6.0
    • Fix Version/s: None
    • Component/s: jclouds-labs-openstack
    • Labels:
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: