Ask Your Question

Heat Resource OS::Neutron::Router property for attached network?

asked 2015-05-14 08:32:54 -0500

fhussain gravatar image


Is there any property for defining the network name/ID to which the router should be attached?

The one described here is only useful if the router is attached to an external/public network.

In a Heat yaml template, how can I mention the network name/ID to which the router should be attached, when the network is not an external/public network?


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-05-14 08:43:05 -0500

jdexter gravatar image

The link OS::Neutron::Router is for the creation of the router. If this is not going to be router that has a gateway, that data is optional.

external_gateway_info External network gateway configuration for a router. Can be updated without replacement. Optional property.

If you take a look at OS::Neutron::RouterInterface You will see how to attach the interface to you network.

HeatTemplateFormatVersion: '2012-12-12'
    Type: OS::Neutron::RouterInterface
      port: String
      router: String
      subnet: String

In the above example you are providing the router UUID or name that you have already created, as well as a port and subnet that have been created.

In heat you are building you infrastructure in very small precise parts. Hope this helps. -JD

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-05-14 08:32:54 -0500

Seen: 954 times

Last updated: May 14 '15