Ask Your Question

tamirko's profile - activity

2013-10-15 16:05:24 -0500 received badge  Famous Question (source)
2013-09-05 07:37:40 -0500 received badge  Notable Question (source)
2013-08-28 04:07:58 -0500 received badge  Popular Question (source)
2013-08-11 08:45:39 -0500 asked a question Heat Rest API for OpenStack Grizzly

I need to write code that accesses Heat via a Rest API to invoke Heat commands (i.e. : a Heat Rest client) I found only a python client, but I need java/groovy code. - Where can I find Java/Groovy client docs and/or libs that I can use to do that ? Where can I find such examples ? I want to be able to invoke the following commands (from a remote machine) : (These are some examples of what I need)

heat stack-create myAppName .... heat stack-list heat event-list myAppName heat stack-delete myApp3

I already managed to invoke these commands when I am on a VM where the Heat client is installed, but as I wrote above, I need to be able to invoke these via Rest from a remote VM.

Thanks in advance

2013-08-11 08:40:22 -0500 commented answer Get a list of virtual machines from stack using heat API

I need to write code that accesses Heat via a Rest API to invoke Heat commands (i.e. : a Heat Rest client) I found only a python client, but I need java/groovy code. - Where can I find Java/Groovy client docs and/or libs that I can use to do that ? Where can I find such examples ? I want to be able to invoke the following commands (from a remote machine) : (These are some examples of what I need) heat stack-create myAppName .... heat stack-list heat event-list myAppName heat stack-delete myApp3 Thanks

2013-08-11 08:36:49 -0500 commented answer Tenant credentials for heat auto-scale

I need to write code that accesses Heat via a Rest API to invoke Heat commands (i.e. : a Heat Rest client) I found only a python client, but I need java/groovy code. - Where can I find Java/Groovy client docs and/or libs that I can use to do that ? Do you have such examples ? I want to be able to invoke the following commands (from a remote machine) : (These are some examples of what I need) heat stack-create myAppName .... heat stack-list heat event-list myAppName heat stack-delete myApp3 Thanks

2013-07-01 14:57:01 -0500 received badge  Enlightened (source)
2013-07-01 11:50:34 -0500 received badge  Good Answer (source)
2013-07-01 09:20:10 -0500 received badge  Nice Answer (source)
2013-06-30 04:28:55 -0500 received badge  Teacher (source)
2013-06-28 15:04:38 -0500 answered a question cloudify openstack grizzly

Hi ,

You can configure private and public IP addresses in Cloudify as described http://www.cloudifysource.org/guide/2.6/clouddrivers/cloud_driver#ipfilter (here).

(This works only on Cloudify 2.6).

You also need to :

1) Make sure that your Openstack provider supports auto assignment of floating IPs and that it has a default floating IPs pool name.

i.e. : The following two properties must be set in the nova.conf of your openstack cloud : default_floating_pool="nova"

auto_assign_floating_ip = True

2) Pass "autoAssignFloatingIp" : true in the options of the computeTemplate in the openstack cloud driver.

Here's a working example of an Openstack cloud driver : You can use the https://gist.github.com/tamirko/5887406 (cloud driver) and its corresponding https://gist.github.com/tamirko/5887423 (properties file) "as is".

HTH,

Tamir Korem

Cloudify Community Manager