119 Commits

Author SHA1 Message Date
Jenkins
14c8b0c43e Merge "Install haproxy on SUSE distros" 2014-09-29 07:05:29 +00:00
Jenkins
e419746ec0 Merge "Enable security group extension in PLUMgrid plugin" 2014-09-27 17:54:55 +00:00
Thomas Bechtold
cbd892b436 Install haproxy on SUSE distros
haproxy package is available for SUSE distros, so install it.

Change-Id: If363dbf439dbea9aafd265c2c665ff4c2b733738
2014-09-24 14:53:30 +02:00
Pritesh Kothari
107278fa5b Remove the Cisco Nexus monolithic plugin support
The Cisco Nexus monolithic plugin does not work without the Open
vSwitch plugin. The Open vSwitch plugin is scheduled to be removed
as per #1323729. This patch removes the Nexus Hardware switch
related code from devstack. The N1KV virtual switch related code
will still remain in the tree as it doesn't depend on Open vSwitch
plugin.

Closes-Bug: #1350387
Change-Id: I82ebb09c64589fc9b7bb790982541bc87c66e6e3
2014-09-23 09:53:01 -07:00
YAMAMOTO Takashi
fec7b15cf7 ofagent: Switch to IptablesFirewallDriver
The latest version of ofagent
(ie. after blueprint ofagent-port-monitor)
follows IptablesFirewallDriver naming scheme.

Closes-Bug: #1364731
Related: blueprint ofagent-port-monitor
Change-Id: I690aab71b1cb222ffb8b458c90740ba623b0b37e
2014-09-14 01:26:10 +00:00
Sean M. Collins
d738a9ecf7 Ubuntu: Start openvswitch-switch service after install
Change-Id: I73a7cec67d0f0782de1598c4ebb1815726e38199
Closes-Bug: #1362782
2014-08-28 15:54:40 -04:00
Jenkins
3224f602f9 Merge "XenApi: Fix domu typo in neutron setup" 2014-08-23 10:54:12 +00:00
Jenkins
b939caea45 Merge "Avoid using deprecated Q_AGENT_EXTRA_AGENT_OPTS in ML2 setup" 2014-08-19 23:48:41 +00:00
Jenkins
3c24a21c5b Merge "Allow to use flat providernet for public network" 2014-08-13 23:17:06 +00:00
Akihiro Motoki
2307f9de75 Avoid using deprecated Q_AGENT_EXTRA_AGENT_OPTS in ML2 setup
Q_AGENT_EXTRA_AGENT_OPTS is deprecated now and stack.sh displays
the warning that it will be removed early in "K" cycle.
Neutron ML2 devstack uses Q_AGENT_EXTRA_AGENT_OPTS to pass tunnel
configurations to Neutron plugin agents.

This commit removes the usage of Q_AGENT_EXTRA_AGENT_OPTS and
configures these config options directly.

Change-Id: I7fc1613ff78c0a8b1e80cc041b06f5d4680c34f2
Closes-Bug: #1354670
2014-08-14 08:11:56 +09:00
Jenkins
fe3be5c38e Merge "Don't set tunnel_types on VLAN network type" 2014-08-12 09:32:51 +00:00
Kevin Benton
e3cfbf1580 Don't set tunnel_types on VLAN network type
The current code sets tunnel types for the neutron agent
even when the network type is 'vlan'. This results in the
agent not starting because 'vlan' is not a valid tunnel type.
This patch changes it so tunnel_types is not populated when
vlans are used.

This bug just now surfaced because of commit
8feaf6c9516094df58df84479d73779e87a79264 requiring Q_ML2_TENANT_NETWORK_TYPE
to be set to avoid being set to the 'local' type.

Change-Id: If2bc57b36dad2bfb34df573581acce176604812e
2014-08-07 04:56:24 -07:00
Yong Sheng Gong
5988e623c3 Makes vpn plugin configurable
Currently, it is hardcoded and not good for those who have their
own vpn plugin developed.

Change-Id: I6244040dd2abea016556cd515e06f53edbb993a0
Closes-bug: 1339977
2014-08-07 04:07:15 +00:00
Aaron Rosen
2988497b5d NSX: remove req_timeout as it's not longer used
This patch removes req_timeout from devstack as it's no longer used.
This was removed from neutron here:
    Id7244cd4d9316931f4f7df1c3b41b3a894f2909a

Change-Id: Ife901479605323e32f24e11266a232fddbd6bdca
2014-08-05 12:20:54 -07:00
Mate Lakat
1a247e8393 XenApi: Fix domu typo in neutron setup
A typo has been introduced during a previous refactor, leaving us with
two neutron config files, one with domu and one with domU extension.
This fix corrects the mistake, thus always the .domU file is used.

Change-Id: Iffb6e2f70915f50ee590c375494c6f642412b543
2014-08-05 14:39:10 +01:00
Jenkins
a0c6d1e954 Merge "vxlan default ml2 tenant network type" 2014-08-02 02:09:52 +00:00
YAMAMOTO Takashi
6a633fd024 Allow to use flat providernet for public network
The support of ancillary bridges (aka br-ex) is planned to be
dropped for ofagent.  This commit prepares the deprecation by
providing devstack support for an alternative way to connect
public network.

Related to blueprint ofagent-port-monitor
Change-Id: I6c2ce646070db0ed248665216071499a9b5567ab
2014-08-01 14:26:28 +09:00
Jenkins
9d47135531 Merge "Configure the OVS datapath type with devstack." 2014-07-31 00:14:35 +00:00
Attila Fazekas
8feaf6c951 vxlan default ml2 tenant network type
ovs vxlan become supported on most distribution and provides
isolated `multi tenant` networking without special `vlan` aware switch.

In single node deployment you will just see the br-tun ovs bridge
created.

In multi-node setup you might need to adjust the MTU settings.

If your physical switch supports >=1550 MTU size
 probably you will not see any issue.

If your guest image honors the MTU size offered via dhcp,
you can adjust your dnsmask settings with the correct (likely 1450 byte)
MTU size.

cirros (udhcp) does not honors these setting, you might need to
set lower MTU size on br-ex and/or adjust network_device_mtu option
in your local.conf.

The default changed, because it will be used with the multi-node neutron
jobs.

If you want the original behavior for whatever reason add these to your
`local.conf`:
ENABLE_TENANT_TUNNELS=False
Q_ML2_TENANT_NETWORK_TYPE=local

Change-Id: Id33ff0eca44905b3996618f1035ad984a6819b5b
2014-07-30 11:36:44 +02:00
Jenkins
368c45467b Merge "Use one name for neutron database after healing" 2014-07-26 19:38:10 +00:00
Henry Gessau
0fc1cc29ac Use one name for neutron database after healing
Now that the Neutron database is healed we no longer need a
plugin-specific name for it.

Related Blueprint: db-migration-refactor

Change-Id: If25e77444f115817e5570bb447bde5b9c8d6e686
2014-07-15 21:29:29 -04:00
Fawad Khaliq
242c098498 Enable security group extension in PLUMgrid plugin
Implements: blueprint plumgrid-neutron-security-groups
Change-Id: I30392adff5e3250a1c4f9f1f04fc7e0587007226
2014-07-15 17:52:05 -07:00
Brian Haley
eea7621d23 Add DVR support to DevStack
This patch introduces a new Neutron  config option: Q_DVR_MODE.

The possible values are:

- legacy  : No DVR functionality
- dvr_snat: Controller/single node DVR
- dvr     : Compute node in multi-node DVR

When DVR is enabled the following configuration changes will be
in place:

- neutron.conf
  - router_distributed=True

- l3_agent.ini
  - agent_mode=$Q_DVR_MODE

- ovs_neutron_plugin.ini:
  - enable_distributed_routing=True
  - l2_population=True
  - tunnel_types=vxlan

Supports-blueprint: neutron-ovs-dvr

Change-Id: I669e054a8489fe7ac7f5c00df6535349d477e8c4
2014-07-15 12:07:21 -07:00
James Chapman
c83cc75e61 Configure the OVS datapath type with devstack.
This feature provides the user with a means of easily configuring
the required Openvswitch datapath type. (Netdev, dpdk, etc)

Define the OVS_DATAPATH_TYPE variable in the devstack configuration file
local.conf.

This feature enables Intel(R) DPDK vSwitch and netdev DPDK vhost.

Implements blueprint config-ovs-datapath-type

Change-Id: I5698720960b1ac532c790d3e5735c5cef36d5e3d
2014-07-14 21:40:27 +00:00
Edgar Magana
6f335b9a4b Add a Tunnel end-point variable for Neutron configuration
The HOST_IP address is being used as IP address
for end-point tunnel configruation. A new variable is
needed to specify a different IP address for the tunnel
end-point that Neutron will use

Change-Id: Ic7fb4853df167e78bf882af6a712b903db754dc2
Closes-bug: #1340433
2014-07-10 15:49:44 -07:00
Kyle Mestery
86af4a0e5d Don't install openvswitch-datapath-dkms on newer kernels
On kernels >= 3.13 for Ubuntu, there is no need to install the
openvswitch-datapath-dkms package anymore. Consequently we don't need the
dkms package anymore, nor the linux headers.

Update the opendaylight devstack code to correctly check for this and make
the right decision.

While here, also utilize get_packages() and common code where possible.

Change-Id: Idd6a71951f6f77b6e3c4e536e735dfead6a40bc1
Closes-Bug: #1331111
2014-06-25 10:31:44 -04:00
Henry Gessau
c48afe4bc0 Do not install openvswitch-datapath-dkms on Ubuntu 14.04
Change-Id: I8c58d998011427a202c79c45b87b5eca5ceaaa71
Closes-bug: #1331111
2014-06-22 16:10:56 -04:00
Jenkins
0099487f18 Merge "Wait for OVS to reconfigure when creating PUBLIC_BRIDGE" 2014-06-18 11:14:36 +00:00
Dave Tucker
f60e8c0fbe Wait for OVS to reconfigure when creating PUBLIC_BRIDGE
The '--no-wait' flag will not wait for ovs-vswitchd to reconfigure after
changes have been made to the database. This causes a race condition as
the bridge may or may not be up when 'ip addr flush dev $PUBLIC_BRIDGE' is
called. This commit removes the '--no-wait' flag which is safe as the
openvswitch services are already started earlier in stack.sh

Change-Id: I73ef1b731295d03b0f064c5f786196284c3e39ce
Closes-bug: #1328962
2014-06-12 00:09:06 +01:00
Gary Kotton
b405256309 VMware NSX: fix typo
Fix typo in the Neutron VMware NSX driver

Change-Id: I0519e30469c5cfbf285b2ad1032d110f8e9fdbb4
2014-06-11 04:18:08 -07:00
Jenkins
8cedabcea8 Merge "stack.sh fails for Cisco plugin with missing cisco_plugins.ini error" 2014-05-10 12:24:16 +00:00
Kyle Mestery
bd0855056b Fix incorrect comparisions
The files changed in this commit had incorrect bash syntax in that they were
assigning variables (=) instead of checking if they were equal (==). The
incorrect checks were preventing the configuration of VLANs with the Neutron
ML2 plugin.

Change-Id: I4b54bb5c69cc836c22900bd7a966197e9c616076
2014-05-08 10:29:34 +00:00
Edgar Magana
41a4f27ef7 Add driver parameter for PLUMgrid configuration file
PLUMgrid plugin for Neutron supports to load dynamically a back-end driver.
This parameter has been added in the plugin configuration file.

Change-Id: I1698a8fa558841aeb94476bc8c7f103b21f2a2d3
Closes-bug: #1315466
2014-05-01 16:38:10 -07:00
Gary Kotton
51c681d605 Add support for deprecated configuration vars in Juno
Just like the beginning of every other release, remove the deprecated
config option aliases that were marked as deprecated in Icehouse.

Nova patch - https://review.openstack.org/#/c/88456/

Change-Id: Idd051c516002030e8e191c7b8d31f1ff408e1c7d
2014-04-26 01:45:27 -07:00
Jenkins
d191ade014 Merge "Add missing function neutron_plugin_configure_service to brocade specific file" 2014-04-23 16:57:21 +00:00
Shiv Haris
815ef98fa2 Add missing function neutron_plugin_configure_service to
brocade specific file

Closes bug: 1304701

Change-Id: I18f90865a015b9dc6db4123d46492140ca67a38f
2014-04-08 17:22:35 -07:00
Ralf Haferkamp
ce03d10287 Fix openvswitch package and service names for openSUSE
Change-Id: Iaf173422e4d009bdd7ed7ed79af2269c44039060
2014-04-07 17:02:39 +02:00
Dean Troyer
e3a9160c0d Fix Neutron plugin XTRACE handling
The various Neutron plugin files need to have unique variables for the
xtrace state as they are sometimes nested more than two levels deep
and MY_XTRACE is getting stomped.  This gives each of the neutron_plugin
and neutron_thirdparty include files a unique XTRACE state variable.

I don't think this is a problem with any of the other plugin include
files (yet) so this just handles Neutron for now.

Change-Id: I7c272a48e7974edecaff5f431ff7443dd6622588
2014-03-28 12:40:59 -05:00
Jenkins
2923e6072b Merge "Use neutron security groups in BigSwitch plugin" 2014-03-21 01:18:08 +00:00
Dane LeBlanc
c68a8f67a7 stack.sh fails for Cisco plugin with missing cisco_plugins.ini error
When the Cisco Nexus monolithic plugin is configured in the localrc,
stack.sh fails with the error message:
     sed: can't read /etc/neutron/plugins/cisco/cisco_plugins.ini:
          No such file or directory

This failure was introduced with the merge of change set 76992
(bug #1285884). Change set 76992 removed the copying of
Q_PLUGIN_EXTRA_CONF_FILES from the neutron project area to directories
under /etc/neutron. This copy from neutron to /etc is required by the
Cisco Nexus monolithic plugin, since this plugin follows the original
model for generating extra config files based on localrc settings:
 - Copy default config file(s) from neutron project to /etc using
   a relative path (relative to neutron and relative to /)
 - Modify the copies of the config file(s) using localrc settings
 - Add a --config-file command line setting for neutron server which
   points to the modified config file(s) under /etc

The fix is to add the copying of the default versions of the extra
config files from neutron to /etc into the cisco devstack script.

Change-Id: Ifbae197ed591f7cccfd6d51eae2b21e31eb0a409
Closes-Bug: #1295411
2014-03-20 19:25:03 -04:00
Jenkins
78de586217 Merge "Supporting Nuage Networks' Plugin through devstack" 2014-03-14 06:36:43 +00:00
Hemanth Ravi
d78c4057d4 Install script for One Convergence Neutron plugin.
Change-Id: I1dcc625a7c986e7533820b01af9eee5b8addcffe
Implements: install for blueprint oc-nvsd-neutron-plugin
2014-03-11 14:29:04 -07:00
Jenkins
f0d3027500 Merge "NCCLIENT_REPO is using the wrong url" 2014-03-06 03:20:54 +00:00
ronak
ae17289173 Supporting Nuage Networks' Plugin through devstack
Nuage networks' plugin specific configuration setting file for devstack

Change-Id: I936f87b8fbc6f90130514b2fc0d111eab861da7c
Implements: blueprint nuage-networks-plugin
2014-03-04 20:43:05 -08:00
Jenkins
a98721da9c Merge "Add configurations for the OpenFlow Agent mechanism driver" 2014-03-04 01:05:25 +00:00
Kevin Benton
753afeba74 Use neutron security groups in BigSwitch plugin
Configures the Big Switch third-party plugin to
use neutron security groups instead of nova
security groups.

Change-Id: I6bc3046ff0e70b8288a7c3f3d6f975376adc081a
Implements: blueprint bigswitch-neutron-security
2014-03-03 11:53:51 -08:00
Jenkins
20e176dc3a Merge "Adds support for IBM SDN-VE Neutron plugin" 2014-03-03 19:52:50 +00:00
Shweta P
de3b82037d NCCLIENT_REPO is using the wrong url
NCCLIENT_REPO value in lib/neutron_plugins/cisco is pointing to a repo
that does not exist. This fix corrects the url.

Closes-Bug #1286302

Change-Id: I42db0b3f7a4bbf5d1d053e3da8b4fbb67d47de94
2014-03-03 13:46:10 -05:00
Mohammad Banikazemi
729236ca1a Adds support for IBM SDN-VE Neutron plugin
This provides the support for the monolithic plugin
for IBM SDN-VE that is being added to Neutron here:
https://review.openstack.org/#/c/66453/

Implements: blueprint ibm-sdnve-plugin-support
Depends-On: I92619a95bca2ae0c37e7fdd39da30119b43d1ad6
DocImpact

Change-Id: I0958457355036fdab93156cd7fb4afd1a458918b
2014-03-03 09:50:03 -05:00
Jenkins
3de8607a4c Merge "Replace NvpPluginV2 with NsxPlugin" 2014-03-01 18:40:41 +00:00