Ask Your Question
0

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 192.168.56.0/24 --name pub-subnet --gateway 192.168.56.1 --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
0

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

zaneb gravatar image

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

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

Seen: 453 times

Last updated: Feb 19 '18