Ask Your Question
1

Neutron with existing external network

asked 2015-12-23 08:22:51 -0500

luckyyd gravatar image

Hi All, I want to build an openstack host that allow external access, for example the vm can access external network.

I use RDO openstack and CentOS7.

Followed the rdo procedures: "Neutron with existing external network". It says

  1. "make /etc/sysconfig/network-scripts/ifcfg-br-ex resemble".

In centos7 after install openstack I did not find ifcfg-br-ex file. Only ifcfg-enp0s3 and ifcfg-lo. So should I create ifcfg-br-ex file. Is it right?

  1. "set /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini..."

There is no such file in my system. What should I do? I just simple want to establish the network to allow vm use my external network. Anyone might help?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-12-23 12:01:55 -0500

  1. Yes, you should create ifcfg-br-ex on your own.
  2. File /etc/neutron/plugins/ml2/openvswitch_agent.ini already contains (RDO Liberty)

    bridge_mapping = physnet1:br-ex

edit flag offensive delete link more

Comments

At least in my case packstack hasn't added bridge_mapping(s) to openvswitch_agent.ini. Should I add this as well, or is it enough to modify ovs_neutron_plugin.ini as described below?

JariK gravatar imageJariK ( 2016-01-13 04:22:06 -0500 )edit
0

answered 2015-12-23 09:33:23 -0500

mvazquezc gravatar image

It seems like RDO documentation is not updated to liberty release yet.

You have to create the ifcfg-br-ex config file with the required configuration.

Instead of /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini you have to add to the end of the file /etc/neutron/plugins/ml2/ml2_conf.ini the configuration below:

[ovs]

bridge_mappings = extnet:br-ex

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

1 follower

Stats

Asked: 2015-12-23 08:22:51 -0500

Seen: 321 times

Last updated: Dec 23 '15