On Mar 19, 2011, at 1:03 AM, [email protected] wrote: ACK this feature.
-- Michal > From: David Lutterkort <[email protected]> > > --- > server/lib/deltacloud/base_driver/features.rb | 12 ++++++++++++ > 1 files changed, 12 insertions(+), 0 deletions(-) > > diff --git a/server/lib/deltacloud/base_driver/features.rb > b/server/lib/deltacloud/base_driver/features.rb > index 1f07843..c5f9cca 100644 > --- a/server/lib/deltacloud/base_driver/features.rb > +++ b/server/lib/deltacloud/base_driver/features.rb > @@ -173,6 +173,18 @@ module Deltacloud > end > end > > + declare_feature :instances, :user_files do > + description "Accept up to 5 files to be placed into the instance > before launch." > + operation :create do > + 1.upto(5) do |i| > + param :"path#{i}", :string, :optional, nil, > + "Path where to place the #{i.ordinalize} file, up to 255 > characters" > + param :"content#{i}", :string, :optional, nil, > + "Contents for the #{i.ordinalize} file, up to 10 kB, Base64 > encoded" > + end > + end > + end > + > declare_feature :instances, :security_group do > description "Put instance in one or more security groups on launch" > operation :create do > -- > 1.7.4 >
