incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Lutterkort <lut...@redhat.com>
Subject Re: [PATCH] added ability to scp one or more files to a running instance
Date Tue, 03 Aug 2010 23:00:50 GMT
On Tue, 2010-08-03 at 16:10 -0400, Mohammed Morsi wrote:
> On 08/02/2010 09:02 PM, David Lutterkort wrote:
> > On Thu, 2010-07-29 at 19:23 -0400, Mohammed Morsi wrote:
> >>
> >> +  operation :copy_files, :method =>  :post, :member =>  true do
> >> +    description "Securely copy one or more files to an instance"
> >> +    param :id,           :string, :required
> >> +    param :files,        :string, :required # FIXME should be array of strings
> > That explains the above - only one file per copy. Would be nice to allow
> > a number of files with their contents.
> >
> > David
> 
> Since the core wui has jquery support I can easily add more file 
> selection boxes. The only thing is, I'm not sure how to specify the 
> 'files' param to this operation, as being able to accept an array of 
> string file names (no other operation params seem to take :array as the 
> type). Is there an easy way to do this? Or does the rabbit module need 
> to be expanded?

No other operation needs that (yet), so it would need to be an extension
of the rabbit module. But we'll also need that for RAX-style file
injection.

David



Mime
View raw message