[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] Xen Management API draft

On Mon, Jun 26, 2006 at 04:46:43PM +0100, Ewan Mellor wrote:
> On Fri, Jun 23, 2006 at 09:36:33AM -0400, Mike D. Day wrote:
> > 2.6.1 VM class
> > 
> > 
> > Need an addition field "profile" that allows the user to classify VMs
> > for particular purposes. For example, "web server," "sendmail switch,"
> > "dbms host," "devel workstation," etc.
> > 
> > This should be a list attribute. Might be good to supply some
> > enumerated values but also allow values that are not enumerated.
> What would you do with this "profile"?

This sounds like its getting into area of arbitrary metadata - rather
than denoting a bunch of explicit metadata fields, it might be useful
to consider a general purpose metadata field - for example a string
containing an XML doc following Dublin Core metadata schema, which would
allow either the administrator, or management tools to define these kind
of tags &/ categorization as required

> > VM needs a migrate method:
> > 
> > Bool migrate(session id s, vm ref vm, host ref current, host ref
> > destination, Bool test)
> D'oh!  We probably want a migrate command in there ;-)

How would authentication operate - the destination host must have some
kind of  authentication process before accepting migration of a VM from
another host. So would this API assume that authentication credentials
have been previoously set up behind the scenes ? If not then the migrate
API would need some way to request / receive authenitcation credentials.

|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

xen-api mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.