Re: [Openstack] Heat template - get port ID of 'external' instance

2016-08-01 Thread Turbo Fredriksson
Dang! Never mind. I was sure I've tried a 'string' type as the input to volume, but apparently not.. Changing that, now it works. -- Choose a job you love, and you will never have to work a day in your life. ___ Mailing list:

Re: [Openstack] Heat template - get port ID of 'external' instance

2016-08-01 Thread Turbo Fredriksson
On Aug 1, 2016, at 4:41 PM, Turbo Fredriksson wrote: >> You actually need to explicitly export the attributes you want as outputs >> from the instance.yaml template, just as you defined parameters to accept >> the property values. This seems to mostly working, but i'm not sure how to 'export'

Re: [Openstack] Heat template - get port ID of 'external' instance

2016-08-01 Thread Turbo Fredriksson
On Aug 1, 2016, at 3:53 PM, Zane Bitter wrote: > BTW I really wouldn't recommend using the OS:: namespace for your own custom > types. Thanx. I'll change that 'eventually' :). >> floating_network_id: physical >> # port_id: { get_attr: [admin, networks, { get_param: network }, 0, >>

Re: [Openstack] Heat template - get port ID of 'external' instance

2016-08-01 Thread Zane Bitter
On 31/07/16 10:39, Turbo Fredriksson wrote: I've created a environment file: resource_registry: "OS::Nova::Server::Instance": "https://raw.githubusercontent.com/FransUrbo/Openstack-Bayour.COM/master/instance.yaml; BTW I really wouldn't recommend using the OS:: namespace for your own

[Openstack] Heat template - get port ID of 'external' instance

2016-07-31 Thread Turbo Fredriksson
I've created a environment file: resource_registry: "OS::Nova::Server::Instance": "https://raw.githubusercontent.com/FransUrbo/Openstack-Bayour.COM/master/instance.yaml; I then create an instance from the template: admin_floating: type: OS::Neutron::FloatingIP description: