Ask Your Question

Specifying Neutron network type when a network created

asked 2014-12-29 03:20:12 -0500

wojtylacz gravatar image

There are mupltiple network types configured by default in neutron in /ml2/ml2_conf.ini

type_drivers = gre,vxlan,vlan,flat

tenant_network_types = gre,vxlan,vlan,flat

When i create a new network in openstack env., how do i specify which network type it will be used? Of course i can delete the list and let only vlan for example there, but thats not intented, i guess.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-12-29 03:38:57 -0500

dbaxps gravatar image

updated 2015-01-06 13:38:19 -0500

image description View :

$ neutron net-create --tenant-id $tenant net01 \
 --provider:network_type vlan \
 --provider:physical_network physnet2 \
 --provider:segmentation_id 101
$ neutron subnet-create --tenant-id $tenant --name net01_subnet01 net01
$ neutron router-interface-add router01 net01_subnet01
edit flag offensive delete link more


Och yes. Thank you. And when using horizon GUI?

wojtylacz gravatar imagewojtylacz ( 2014-12-29 03:50:20 -0500 )edit

Login as admin. Networks => Create Network gives drop down menu.

dbaxps gravatar imagedbaxps ( 2014-12-29 06:25:05 -0500 )edit

Scroll down to "Networks".

dbaxps gravatar imagedbaxps ( 2014-12-30 06:31:39 -0500 )edit

Yes im in admin sectin of network and there is nothing like that.

wojtylacz gravatar imagewojtylacz ( 2015-01-06 06:38:05 -0500 )edit

answered 2014-12-30 06:01:59 -0500

wojtylacz gravatar image

Really? I have there only name, project, admin state, shared, external type...

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-12-29 03:20:12 -0500

Seen: 335 times

Last updated: Jan 06 '15