jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Everett Toews (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-381) Allow creating nodes through ComputeService with explicitly specified names
Date Wed, 15 Jan 2014 16:46:20 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13872256#comment-13872256

Everett Toews commented on JCLOUDS-381:

[~abayer] Can you please provide a code snippet here on how to use this new feature?

> Allow creating nodes through ComputeService with explicitly specified names
> ---------------------------------------------------------------------------
>                 Key: JCLOUDS-381
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-381
>             Project: jclouds
>          Issue Type: Improvement
>          Components: jclouds-compute
>            Reporter: Andrew Bayer
>            Assignee: Andrew Bayer
>             Fix For: 1.7.0
> Currently, instance naming for nodes created through ComputeService.createNodesInGroup()
etc uses a combination of the specified group name and GroupNamingConvention's unique suffix
- generally that's a three character random string, but for EC2 it's the id string for the
instance. While this is fine for many cases where the instance name doesn't need to be referenced
directly by actual humans, say, it's a pain for those cases. Currently, you can work around
this by creating instances through the per-api/provider clients/apis, or through some hacks
for single instance creation through ComputeService utilizing provider-specific TemplateOptions
classes, but there's no generalized way to get real control over the names given to instances
through ComputeService. This should be possible.

This message was sent by Atlassian JIRA

View raw message