133 Commits

Author SHA1 Message Date
Jenkins
a726cc08ad Merge "ovs_base: Fix debug-agent config for Q_USE_PROVIDERNET_FOR_PUBLIC=True" 2014-11-26 04:20:05 +00:00
mathieu-rohon
50187eec28 Restore linuxbridge-agent compatibility
This patch partially reverts commit
15130cd5fd1688b8984d78136b97bb8de7c32b64.

This commit was desupporting ovs and linuxbridge plugins.
But the ML2 plugin can be deployed with the linuxbridge agent.

The current patch restores the linuxbridge agent configuration
file.

Closes-Bug: #1393429

Change-Id: If824185b22e22a1de6498f1f0f2742a279235675
2014-11-21 22:31:52 +01:00
Jenkins
15ab23b565 Merge "Remove neutron ryu-plugin support" 2014-11-21 03:08:35 +00:00
YAMAMOTO Takashi
98a0ad4472 ovs_base: Fix debug-agent config for Q_USE_PROVIDERNET_FOR_PUBLIC=True
Set up external_network_bridge correctly for the case
of Q_USE_PROVIDERNET_FOR_PUBLIC=True.

This is an oversight in commit 6a633fd024347aade777ecd6545fa3efde5a959c.

Closes-Bug: #1394826
Change-Id: I33f0fe15bafb7071d8a09899d636471f49031606
2014-11-21 11:27:53 +09:00
Jenkins
94f8bea9e4 Merge "Devstack Nuage Plugin correct the ovs_bridge parameter" 2014-11-13 16:55:38 +00:00
YAMAMOTO Takashi
b2631211ab Remove neutron ryu-plugin support
Ryu plugin was marked deprecated in Juno and will be removed for Kilo.

We (Ryu team) recommend users to migrate to ofagent, on which
we aim to concentrate our development resources by this deprecation.

Partial-Bug: #1391714
Change-Id: I1ef28818e9400664ae3d83758dc2dcf71c02f185
2014-11-12 02:25:23 +00:00
sailajay
a12dee433c Devstack Nuage Plugin correct the ovs_bridge parameter
This commit fixes the name of ovs_bridge parameter and the section it is set in nova.conf by the nuage plugin

Closes-Bug: 1390256

Change-Id: I63c929e827db10d0cf5450907a273d880fc757f6
2014-11-07 00:23:09 +00:00
yunhong jiang
73d32161df Passing config for flat type network
Add support to passing the flat_network configuration. User can
either passing the physical network name, or use the physical
network definition

Change-Id: Ie42679f207eb14620883778314f74abf378b5cbc
2014-11-05 03:31:29 -07:00
YAMAMOTO Takashi
d16197b689 Stop setting deprecated OVS.enable_tunneling option
The option has been deprecated in IceHouse and now being removed.

Related-Bug: #1195374
Change-Id: I38d962551173892144c369df71e0524b43e1fc89
2014-10-29 02:27:55 +00:00
YAMAMOTO Takashi
15130cd5fd Desupport neutron openvswitch and linuxbridge monolithic plugins
These plugins were removed in Juno.
Note: this doesn't affect the corresponding ML2 mechanism drivers.

Partial-Bug: #1323729
Change-Id: Ia8da1e20a03fef5657ba1584bf83ddd224b5d5f2
2014-10-28 11:55:19 +09:00
Rob
2a6215dd11 Fix empty functions causing stack failure
This patch adds a return value to several empty functions that are causing stack.sh to fail when the
Cisco Neutron plugin is enabled.

Change-Id: I43987d9cc5edc53de41c27354c3a737643d1cd43
Closes-bug: 1383273
2014-10-20 13:37:30 +01:00
YAMAMOTO Takashi
0f18c23de8 ofagent: Support physical_interface_mappings
Also, add a knob to create a veth pair instead of a bridge
to provide host connectivity for l3-agent.  (Q_USE_PUBLIC_VETH)

Related: blueprint ofagent-physical-interface-mappings
Change-Id: I4c2538f0fd3fb05bfdb69e7e4c3a8462af42ba10
2014-10-17 01:18:40 +00:00
Jenkins
e5dbec252a Merge "Fix docs build errors" 2014-10-08 22:14:51 +00:00
Dean Troyer
3324f19f5a Fix docs build errors
Fix shocco errors during docs generation

Closes-Bug: 1362691
Change-Id: I2b7fb008c89f0b4e7280b2d0a054320765e83e47
2014-10-02 15:30:50 -05:00
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