[Openstack] Heat template - retrieving a ports ID?

Turbo Fredriksson turbo at bayour.com
Tue Aug 2 10:28:27 UTC 2016


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: { get_attr: [port, port_id] }
      description: The port ID

I get

  The Referenced Attribute (port port_id) is incorrect.

What did I miss?
--
You know, boys, a nuclear reactor is a lot like a woman.
You just have to read the manual and press the right buttons
- Homer Simpson





More information about the Openstack mailing list