Ask Your Question
3

what is provider:physical_network?

asked 2013-07-11 14:15:31 -0600

arindamchoudhury gravatar image

I am really blank on this parameter of quantum/neutron when setting up vlan? How to set this up? Where to find the value of provider:physical_network?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-07-14 22:17:20 -0600

skyrainman gravatar image

Hello there,

In short, it's merely the name of your physical network and you can create several physical networks which are all names of your choice. Whatever name you select, needs to be used used quantum agent plugin file typically located in /etc/quantum/plugin.ini.

For exmaple:

network_vlan_ranges=physnet2:900:999 bridge_mappings=physnet1:br-ex,physnet2:br-prv integration_bridge=br-int enable_tunneling=False tenant_network_type=vlan

In this example, I have 2 physical networks, physnet1 and physnet2. physnet1 is mapped to my external bridge (br-ex) that is connected to my outside interface, while physnet2 is mapped to my private VM/Data bridge.

Then let's say a tenant creates a private VLAN, Quantum will allocate a new VLAN in the physnet2 physical network with an ID ranging from 900 to 999.

Furthermore, I want to share with you a document that I believe is the best on the net. Don't be shy to read it a few times to really understand itas it gives you an overview of how Quantum works:

http://docs.openstack.org/trunk/openstack-network/admin/content/under_the_hood_openvswitch.html

You can find more definitions at: http://docs.openstack.org/trunk/openstack-network/admin/content/provider_attributes.html

edit flag offensive delete link more

Comments

Thanks a lot. How to find out the name of my physical network and how to create new ones?

arindamchoudhury gravatar imagearindamchoudhury ( 2013-07-15 10:02:04 -0600 )edit

run: quantum net-list - then run quantum net-show [network-id] and it will provide you the details of your network. Also, you can view it online by going to your networks page and clicking on the network. To create new one, you set it in the OVS config file. See next comment.

skyrainman gravatar imageskyrainman ( 2013-07-15 11:26:51 -0600 )edit

To create a new one, set it in your plugin.ini file like: network_vlan_ranges=[new-name]:1000:1099, bridge_mappings=[new-name]:br-prv

skyrainman gravatar imageskyrainman ( 2013-07-15 11:28:27 -0600 )edit

Thanks a lot for the clarification

arindamchoudhury gravatar imagearindamchoudhury ( 2013-07-15 15:25:21 -0600 )edit

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

1 follower

Stats

Asked: 2013-07-11 14:15:31 -0600

Seen: 7,142 times

Last updated: Jul 14 '13