incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tong Li <liton...@us.ibm.com>
Subject Re: CIMI Machine Admin model
Date Wed, 16 Nov 2011 20:14:04 GMT

In our implementation, we should use metadata to indicate actual
MachineAdmin uses username and password, not certificate.  I believe in the
response to Cloud Entry Point, there should be a section for EntityMetadata
which should have something like this.

      <EntityMetadata xmlns="http://www.dmtf.org/cimi">



      <self>http://example.org/types/machine_admin/machine_admin_01</self>


        <typeURI>http://www.dmtf.org/cimi/MachineAdmin</typeURI>


        <name>Machine Admin #1</name>


        <attribute name="username" namespace="http://example.org/"
      type="string" required="true" />


        <attribute name="password" namespace="http://example.org/"
      type="string" required="true" />


      </EntityMetadata>



That piece of information should be part of the CloudEntryPoint response
(also depends on driver, where EC2, or Mock driver requires different
things), with that, client will know how to deal with MachineAdmin. Also
notice the first child element of EntityMetadata has been changed to <self>
from <uri> in the latest spec, which I think makes the spec worse.
Everybody knows what URI means, element <self> makes very little sense.

Thanks.

Tong Li
Emerging Technologies & Standards
Building 501/B205
litong01@us.ibm.com

marios@redhat.com wrote on 11/16/2011 12:28:00 PM:

> From: marios@redhat.com
> To: deltacloud-dev@incubator.apache.org
> Date: 11/16/2011 02:54 PM
> Subject: CIMI Machine Admin model
>
>
> Adds the MachineAdmin model and spec.. the CIMI spec MachineAdmin is
> used when creating a new Machine to define the initial superuser
> credentials. The spec is doesn't mandate a set of attributes for
> MachineAdmin but suggests either username/password or key type
> credentials. Providers are meant to extend the spec using the
> EntityMetadata to define the type of MachineAdmin attributes they
> expect. The examples xml and json included here have username/password,
>
> marios
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message