Re: [Openstack] Heat template - retrieving a ports ID?

2016-08-02 Thread Turbo Fredriksson
On Aug 2, 2016, at 11:28 AM, Turbo Fredriksson wrote: > outputs: >port: > value: { get_attr: [port, port_id] } > description: The port ID If I try to use (the more obvious) value: { get_resource: port } I get: Value must be a string which I assume is because it's empty (i.

[Openstack] Heat template - retrieving a ports ID?

2016-08-02 Thread Turbo Fredriksson
Looking at http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Neutron::FloatingIP I see that one of the attributes ('exports'?) is: port_id ID of the port associated with this IP. However, when trying to use that in an output: outputs: port: value: {