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

This commit is contained in:
Daniel Molina committed 2015-09-15 15:18:25 +02:00
1 parent 8790dee278
commit de34c04d4f
2 files changed
+9

No files matched your search

@@ -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"),
+4
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'
},