1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-29 18:50:08 +03:00

bug #3743: Add support for security group ids, to use vpcs providing a subnet in EC2

This commit is contained in:
Daniel Molina 2015-09-15 15:17:41 +02:00
parent 8790dee278
commit de34c04d4f
2 changed files with 9 additions and 0 deletions

View File

@ -99,6 +99,11 @@ define(function(require) {
label: Locale.tr("Security Groups"),
tooltip: Locale.tr("Name of the security group. You can specify more than one security group (comma separated).")
},
{
name: "SECURITYGROUPIDS",
label: Locale.tr("Security Group Ids"),
tooltip: Locale.tr("Id of the security group. You can specify more than one security group (comma separated).")
},
{
name: "SUBNETID",
label: Locale.tr("Subnet ID"),

View File

@ -124,6 +124,10 @@ class EC2Driver
:opt => 'security_groups',
:proc => lambda {|str| str.split(',')}
},
"SECURITYGROUPIDS" => {
:opt => 'security_group_ids',
:proc => lambda {|str| str.split(',')}
},
"AVAILABILITYZONE" => {
:opt => 'placement/availability_zone'
},