Ask Your Question

How to write hot to create external/provider network?

asked 2018-02-17 17:09:01 -0500

udayutkarsh gravatar image

updated 2018-02-19 08:20:59 -0500

zaneb gravatar image

From Dashboard, I can create a vxlan network from tenant level privilege and later using admin tab, can make it "external" and use this network to assign floating ip address.

Similar thing i can achieve using below CLI:

neutron net-create public --provider:network_type vxlan --router:external=true
neutron subnet-create public --name pub-subnet --gateway --disable-dhcp --allocation-pool*

When am trying to write a heat template to create external/provider network or rather simulate above things. I am struggling.

Basically, I just wanted to modify network from internal type to external using HOT the way I did through CLI.

I am using liberty version of openstack.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-02-19 08:20:23 -0500

zaneb gravatar image

Use the OS::Neutron::ProviderNet resource type.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2018-02-17 17:09:01 -0500

Seen: 861 times

Last updated: Feb 19 '18