On Mon, 2010-04-12 at 10:40 -0400, Scott Seago wrote: > [email protected] wrote: > > From: David Lutterkort <[email protected]> > > > > * Define hardware profiles equivalent to the flavors > > * Expect parameter hwp_id to be passed in for create_instance > > * Store InstanceProfile with instance > > --- > > server/lib/deltacloud/drivers/ec2/ec2_driver.rb | 50 > > ++++++++++++++--------- > > 1 files changed, 31 insertions(+), 19 deletions(-) > > > > diff --git a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb > > b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb > > index 7f73666..11cd41b 100644 > > --- a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb > > +++ b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb > > @@ -64,39 +64,53 @@ class EC2Driver < Deltacloud::BaseDriver > > > > define_hardware_profile('m1-small') do > > cpu 1 > > - memory 1.7 > > + memory 1.7 * 1024 > > storage 160 > > architecture 'i386' > > end > > > I guess there's no way to query ec2 for these like we do for the other > object types?
No, there's no API for them. David _______________________________________________ deltacloud-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/deltacloud-devel
