deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "marios@redhat.com" <mandr...@redhat.com>
Subject Re: [PATCH core 1/2] CIMI: Fixed formatting in machine_template model
Date Tue, 22 Nov 2011 10:54:07 GMT
ACK
On 21/11/11 17:02, mfojtik@redhat.com wrote:
> From: Michal Fojtik <mfojtik@redhat.com>
> 
> 
> Signed-off-by: Michal fojtik <mfojtik@redhat.com>
> ---
>  server/lib/cimi/model/machine_template.rb |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/server/lib/cimi/model/machine_template.rb b/server/lib/cimi/model/machine_template.rb
> index 458f365..5f1ebfe 100644
> --- a/server/lib/cimi/model/machine_template.rb
> +++ b/server/lib/cimi/model/machine_template.rb
> @@ -17,19 +17,23 @@ class CIMI::Model::MachineTemplate < CIMI::Model::Base
>    href :machine_config
>    href :machine_image
>    href :machine_admin
> +
>    array :volumes do
>      scalar :href
>      scalar :protocol
>      scalar :attachment_point
>    end
> +
>    array :volume_templates do
>      scalar :href, :attachment_point, :protocol
>    end
> +
>    array :network_interfaces do
>      href :vsp
>      text :hostname, :mac_address, :state, :protocol, :allocation
>      text :address, :default_gateway, :dns, :max_transmission_unit
>    end
> +
>    array :operations do
>      scalar :rel, :href
>    end


Mime
View raw message