[
https://issues.apache.org/jira/browse/WHIRR-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cosmin Dumitrache updated WHIRR-494:
------------------------------------
Attachment: jclouds-byon-nodes-config-property.patch
Here is a very small patch that might also be useful. It is related to this
[comment|https://issues.apache.org/jira/browse/WHIRR-285?focusedCommentId=13020369&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13020369].
Currently you can provide the BYON configuration like this:
{code}jclouds.byon.endpoint=file:///Users/tom/whirr-byon.yaml{code}
This change allows you to provide the yaml configuration programmatically like
this:
{code}
config.setProperty("jclouds.byon.nodes", stringWithYamlConfig);
clusterSpec = new ClusterSpec(config);
cluster = controller.launchCluster(clusterSpec);
{code}
It eliminates the need to create a temporary .yaml file when you don't need to.
> Update the BYON cluster controller to support all the operations the regular
> controller supports
> ------------------------------------------------------------------------------------------------
>
> Key: WHIRR-494
> URL: https://issues.apache.org/jira/browse/WHIRR-494
> Project: Whirr
> Issue Type: Bug
> Components: core
> Affects Versions: 0.8.0
> Reporter: Andrei Savu
> Assignee: David Alves
> Priority: Blocker
> Labels: byon, newbie, patch
> Fix For: 0.8.0
>
> Attachments: fixing-whirr-494.patch,
> jclouds-byon-nodes-config-property.patch
>
>
> I have just realised that the BYON cluster controller is a bit out of sync
> and needs to be updated. I'm also thinking about defining an abstract base
> clase (e.g. AbstractClusterController).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira