I'm working with libcloud but meet the difficulty:
I can use the method deploy_node() to deploy file/shell command to the cloud node. It work perfectly except that I have to pass the create node data inside the function. That means I cannot deploy to the existing node.
For example, now I can :
node = driver.deploy_node(name='myname', size='s1', image='i1', deployment='deployment1'...)
But what I want:
node = driver.create_node(name='myname', size='s1', image='i1')
node.deploy(deployment = 'deployment1)
OR:
driver.deploy(node, deployment = 'deployment1')
This is quite important because we can get the existing node with libcloud via list_nodes() but we cannot deploy via libcloud independently.
If anyone of you have idea with this matter, please help me.
Thank you very much!!!