Skip to content

Commit

Permalink
Add new g2.8xlarge instance type for EC2
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy committed Apr 21, 2015
1 parent cf27753 commit 594c44e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
23 changes: 23 additions & 0 deletions lib/Amazon/MiqEc2InstanceTypes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,29 @@ module MiqEc2InstanceTypes
:cluster_networking => true,
},

"g2.8xlarge" => {
:name => "g2.8xlarge",
:family => "GPU Instances",
:description => "G2 Eight Extra Large",
:memory => 60.gigabytes,
:vcpu => 32,
:ebs_only => false,
:instance_store_size => 240.gigabytes,
:instance_store_volumes => 2, # SSD
:architecture => [:x86_64],
:virtualization_type => [:hvm],
:network_performance => :very_high,
:physical_processor => "Intel Xeon E5-2670",
:processor_clock_speed => 2.6, # GHz
:intel_aes_ni => true,
:intel_avx => true,
:intel_avx2 => nil,
:intel_turbo => true,
:ebs_optimized_available => nil,
:enhanced_networking => nil,
:cluster_networking => true,
},

"r3.large" => {
:name => "r3.large",
:family => "Memory Optimized",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

def assert_table_counts
ExtManagementSystem.count.should == 1
Flavor.count.should == 47
Flavor.count.should == 48
AvailabilityZone.count.should == 3
FloatingIp.count.should == 1
AuthPrivateKey.count.should == 2
Expand Down Expand Up @@ -61,7 +61,7 @@ def assert_ems
:uid_ems => nil
)

@ems.flavors.size.should == 47
@ems.flavors.size.should == 48
@ems.availability_zones.size.should == 3
@ems.floating_ips.size.should == 1
@ems.key_pairs.size.should == 2
Expand Down
4 changes: 2 additions & 2 deletions vmdb/spec/models/ems_refresh/refreshers/ec2_refresher_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

def assert_table_counts
ExtManagementSystem.count.should == 1
Flavor.count.should == 47
Flavor.count.should == 48
AvailabilityZone.count.should == 5
FloatingIp.count.should == 5
AuthPrivateKey.count.should == 7
Expand Down Expand Up @@ -76,7 +76,7 @@ def assert_ems
:uid_ems => nil
)

@ems.flavors.size.should == 47
@ems.flavors.size.should == 48
@ems.availability_zones.size.should == 5
@ems.floating_ips.size.should == 5
@ems.key_pairs.size.should == 7
Expand Down

0 comments on commit 594c44e

Please sign in to comment.