deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Fojtik (JIRA)" <>
Subject [jira] [Resolved] (DTACLOUD-343) Can't pass realm id when creating a new machine via the CIMI API
Date Tue, 08 Jan 2013 13:02:12 GMT


Michal Fojtik resolved DTACLOUD-343.

    Resolution: Fixed
      Assignee: Michal Fojtik

commit 29a4ad3f242e634545ae78cf60c7aaeab037860d
Author: Michal Fojtik <>
Date:   Mon Jan 7 13:54:42 2013 +0100

    CIMI: Added 'constraints' to resourceMetadata attributes for realms
    Currently there is now way how to advertise available 'realms to
    the client. This patch will make it possible through 'constraints'
    defined for the 'realm' resourceMetadata atrribute defined for
    the Machine resource.
    This will allow to pass ':constraints' option to 'resource_attr' like:
      resource_attr :realm, :required => false,
        :constraints => lambda { |c| c.driver.realms(c.credentials).map { |r| } }
    The 'lamda' function must always return 'array' of possible values.

commit ca903d600de4d8ed3c376a8a9a2d10d02d5ed5b4
Author: Michal Fojtik <>
Date:   Fri Jan 4 14:00:52 2013 +0100

    CIMI: Initial implementation of 'attributes' in ResourceMetadata
    Provider can define an extra attributes for each resource. In case
    of Deltacloud API we do need provide Consumer a way how to define
    the 'realm_id' when creating Machine.
    This patch will add 'realm' attribute that hold information about
    the 'realm' (eg. where Machine is located).
    This patch also add 'machineImage' attribute to Machine that point
    client to MachineImage that was used for creating Machine

> Can't pass realm id when creating a new machine via the CIMI API
> ----------------------------------------------------------------
>                 Key: DTACLOUD-343
>                 URL:
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: CIMI/Frontend, Server
>         Environment: ovirt driver, cimi frontend
>            Reporter: Oved Ourfali
>            Assignee: Michal Fojtik
> When trying to create a new machine, there is no property to set the realm id (ovirt
cluster id), that we want the machine to be created in.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message