Feature #2435
Add more information to Hybrid VMs (EC2)
| Status: | Closed | Start date: | 11/07/2013 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100%  | ||
| Category: | Drivers - VM | |||
| Target version: | Release 4.4 | |||
| Resolution: | fixed | Pull request: | 
Description
More information can be extracted from AWS when a VM is deployed in a hybrid setting. In particular we have selected the following attributes, that will be incorporated to the user template and defined:
EC2DRIVER_MONITOR=[ DNSNAME, PRIVATEDNSNAME, KEYNAME, AVAILABILITYZONE, PLATFORM, VPCID, PRIVATEIPADDRESS, IPADDRESS, SUBNETID, ] EC2DRIVER_TAGS=[ KEY_NAME = KEY_VALUE, ... ]
Every attribute is obtained from the corresponding XML element returned from the API, i.e. DNSNAME from <dnsName/>, KEYNAME from <keyName/>, PRIVATEIPADDRESS from <privateIpAddress/>...
Tags are extracted from the AWS tags:
  <item>
    <key>Description</key>
    <value>Windows Instance</value>
  </item>
	in this example we will generate:
EC2DRIVER_TAGS=[ DESCRIPTION = "Windows Instance" ]
Related issues
Associated revisions
feature #2435: TOTALMEMORY should be an integer instead of a float
feature #2435: Change poll hostname argument
feature #2435: Add extra monitoring information for EC2 VMs
    New tags:
        AWS_DNS_NAME
        AWS_PRIVATE_DNS_NAME
        AWS_KEY_NAME
        AWS_AVAILABILITY_ZONE
        AWS_PLATFORM
        AWS_VPC_ID
        AWS_PRIVATE_IP_ADDRESS
        AWS_IP_ADDRESS
        AWS_SUBNET_ID
        AWS_SECURITY_GROUPS
        AWS_INSTANCE_TYPE
feature #2435: Add BLOCKDEVICEMAPPING support
feature #2435: TOTALMEMORY should be an integer instead of a float
feature #2435: Change poll hostname argument
feature #2435: Add extra monitoring information for EC2 VMs
    New tags:
        AWS_DNS_NAME
        AWS_PRIVATE_DNS_NAME
        AWS_KEY_NAME
        AWS_AVAILABILITY_ZONE
        AWS_PLATFORM
        AWS_VPC_ID
        AWS_PRIVATE_IP_ADDRESS
        AWS_IP_ADDRESS
        AWS_SUBNET_ID
        AWS_SECURITY_GROUPS
        AWS_INSTANCE_TYPE
feature #2435: Add BLOCKDEVICEMAPPING support
feature #2435: Remove unused function. Minor optimizations
feature #2435: PUBLIC_CLOUD is not case sensitive
feature #2435: Remove unused function. Minor optimizations
(cherry picked from commit eb56f526a69a675730f265ee2488617dfa05b171)
feature #2435: PUBLIC_CLOUD is not case sensitive
(cherry picked from commit a385eb773c80701ea84745545e67e14c8df150c3)
History
#1
    
    Updated by Tino Vázquez over 7 years ago
    - Description updated (diff)
 
#2
    
    Updated by Tino Vázquez over 7 years ago
    - Status changed from Pending to Closed
 
#3
    
    Updated by Tino Vázquez over 7 years ago
    - Status changed from Closed to New
 
#4
    
    Updated by Daniel Molina over 7 years ago
    - Assignee set to Daniel Molina
 - Target version changed from Release 4.6 to Release 4.4
 
#5
    
    Updated by OpenNebula Systems Support Team over 7 years ago
    Add the following as well
+SECURITYGROUP, 
+INSTANCETYPE,
#6
    
    Updated by Daniel Molina over 7 years ago
    New tags included in the TEMPLATE section of the VM:
AWS_DNS_NAME AWS_PRIVATE_DNS_NAME AWS_KEY_NAME AWS_AVAILABILITY_ZONE AWS_PLATFORM AWS_VPC_ID AWS_PRIVATE_IP_ADDRESS AWS_IP_ADDRESS AWS_SUBNET_ID AWS_SECURITY_GROUPS AWS_INSTANCE_TYPE
IPADDRESS has been renamed to AWS_IP_ADDRESS
#7
    
    Updated by Ruben S. Montero over 7 years ago
    - Assignee changed from Daniel Molina to Tino Vázquez
 
#8
    
    Updated by Tino Vázquez over 7 years ago
    - Status changed from New to Closed
 - % Done changed from 0 to 100
 - Resolution set to fixed