Ask Your Question
0

how to configure vlan neutron network with physical_network

asked 2015-03-05 12:57:50 -0500

siefgred gravatar image

Hi there,

I try to make an openstack lab with this tutorial : http://docwiki.cisco.com/wiki/OpenStack:_Icehouse_All-in-One (http://docwiki.cisco.com/wiki/OpenSta...) (Model 3) and I've a problem when I try to create a vlan network (described in this procedure : http://docwiki.cisco.com/wiki/CreatingAVLANnetwork (http://docwiki.cisco.com/wiki/Creatin...) ) I run the following command and I get an error

#neutron net-create vlan5 --provider:network_type vlan --provider:physical_network physnet1 --provider:segmentation_id 5 --shared --router:external=True
400-{u'NeutronError': {u'message': u'Invalid input for operation: Unknown provider:physical_network physnet1.', u'type': u'InvalidInput', u'detail': u''}}
root@all-in-one:/etc/neutron/plugins/openvswitch#

below there is the content of my /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini

[OVS]
vxlan_udp_port=4789
enable_tunneling=False
integration_bridge=br-int
tunnel_type=gre
tunnel_id_ranges=1:1000
tenant_network_type=vlan
bridge_mappings=physnet1:br-ex
network_vlan_ranges=physnet1:5:6

[AGENT]
polling_interval=2

[SECURITYGROUP]
firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

I don't understand why I've this issue, may I've missed something ... How should I do to make it work ?

Thanks in advance for your help !

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-03-09 02:28:38 -0500

foster gravatar image

I don't think the --provider:physical_network physnet1 is correct...Can you post neutron net-list?

edit flag offensive delete link more

Comments

Thanks for your reply ! My net-list is empty, beacause it's the first network i try to build. And

siefgred gravatar imagesiefgred ( 2015-03-09 03:54:28 -0500 )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: 2015-03-05 12:57:50 -0500

Seen: 734 times

Last updated: Mar 09 '15