deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dies Koper (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DTACLOUD-366) CIMI: machine name update operation
Date Thu, 24 Jan 2013 04:03:13 GMT

    [ https://issues.apache.org/jira/browse/DTACLOUD-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13561402#comment-13561402
] 

Dies Koper commented on DTACLOUD-366:
-------------------------------------

I've looked at implementing this method for fgcp:

  def update_instance(credentials, opts={})
    safely do
      client = new_client(credentials)
      if opts[:name]
        client.update_vserver_attribute(opts[:id], 'vserverName', opts[:name])
      end
    end
  end

I'm assuming I get the instance id from opts[:id].
Questions:
- Do I need to return the instance (e.g. instances(credentials, opts).first) ?
- Fgcp allows change of instance name and type (i.e. hwp): what if the specified attribute
is unmodifiable or does not exist on the fgcp?
- Is this operation intended to also be able to change an instance's hwp?
                
> CIMI: machine name update operation
> -----------------------------------
>
>                 Key: DTACLOUD-366
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-366
>             Project: DeltaCloud
>          Issue Type: Improvement
>          Components: CIMI/Frontend
>            Reporter: Dies Koper
>            Assignee: Michal Fojtik
>
> cimi allows machine attribute updating. fgcp supports changing of the instance name.
Please add support for this operation in the core part so I can add a mapping for it to the
fgcp driver. Cheers!

--
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: http://www.atlassian.com/software/jira

Mime
View raw message