]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 25 Oct 2013 06:35:53 +0000 (06:35 +0000)]
Imported Translations from Transifex

Change-Id: Ibf9a7c3cdf6725807a2a3183937f0d8e99273744

11 years agoMerge "Handle 405 error codes correctly in NVP plugin"
Jenkins [Fri, 25 Oct 2013 02:57:16 +0000 (02:57 +0000)]
Merge "Handle 405 error codes correctly in NVP plugin"

11 years agoMerge "Fix argument mismatch failure for neutron-check-nvp-config"
Jenkins [Fri, 25 Oct 2013 02:46:36 +0000 (02:46 +0000)]
Merge "Fix argument mismatch failure for neutron-check-nvp-config"

11 years agoMerge "Updated from global requirements"
OpenStack Jenkins [Fri, 25 Oct 2013 02:46:27 +0000 (02:46 +0000)]
Merge "Updated from global requirements"

11 years agoMerge "Fix TypeError: <MagicMock name='LinuxBridgeManager().local_ip'"
Jenkins [Fri, 25 Oct 2013 02:42:08 +0000 (02:42 +0000)]
Merge "Fix TypeError: <MagicMock name='LinuxBridgeManager().local_ip'"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 24 Oct 2013 18:19:50 +0000 (18:19 +0000)]
Merge "Imported Translations from Transifex"

11 years agoUpdated from global requirements
OpenStack Jenkins [Thu, 24 Oct 2013 13:16:21 +0000 (13:16 +0000)]
Updated from global requirements

Change-Id: Ifbcffab245f7dee50f5a84489011e220a3f8fea8

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 24 Oct 2013 06:35:52 +0000 (06:35 +0000)]
Imported Translations from Transifex

Change-Id: Iacabec05e369340634cd36231d4e2ced64e0543c

11 years agochange assertEquals to assertEqual
Christian Berendt [Thu, 24 Oct 2013 05:34:40 +0000 (07:34 +0200)]
change assertEquals to assertEqual

According to http://docs.python.org/2/library/unittest.html
assertEquals is a deprecated alias of assertEqual.

Change-Id: I4030e9f9b184af60eb9253b3a1d7e1cc929d502d

11 years agoFix TypeError: <MagicMock name='LinuxBridgeManager().local_ip'
Aaron Rosen [Tue, 22 Oct 2013 22:33:45 +0000 (15:33 -0700)]
Fix TypeError: <MagicMock name='LinuxBridgeManager().local_ip'

This patch fixes an error that does not result in a test failure but
causes the following error to be logged in the test logs:

TypeError: <MagicMock name='LinuxBridgeManager().local_ip' id='666599248'>
is not JSON serializable

Related-Bug: #1234857

Change-Id: I65cdd997745d8b760031f8f32e3c10682ad2288e

11 years agoMerge "Spawn arping in thread to speed-up floating IP"
Jenkins [Wed, 23 Oct 2013 21:23:38 +0000 (21:23 +0000)]
Merge "Spawn arping in thread to speed-up floating IP"

11 years agoFix argument mismatch failure for neutron-check-nvp-config
armando-migliaccio [Wed, 23 Oct 2013 19:13:39 +0000 (12:13 -0700)]
Fix argument mismatch failure for neutron-check-nvp-config

Use sys.argv directly.

Fix bug #1243888

Change-Id: I9cb6ca841d004baf72dd68e44be673c361c2ed05

11 years agoHandle 405 error codes correctly in NVP plugin
armando-migliaccio [Tue, 22 Oct 2013 21:08:59 +0000 (14:08 -0700)]
Handle 405 error codes correctly in NVP plugin

When NVP returns a 405 error code no exception is
raised, causing the plugin to assume that everything
went well when it didn't.

Fixes bug #1243411

Change-Id: If70db05b8c6950bfa88a36c4f0c20ee80419d31d

11 years agoMerge "change NetworkVxlanPortRangeError to base NeutronException"
Jenkins [Tue, 22 Oct 2013 19:52:30 +0000 (19:52 +0000)]
Merge "change NetworkVxlanPortRangeError to base NeutronException"

11 years agoMerge "Update send_arp_for_ha default in l3_agent.ini"
Jenkins [Tue, 22 Oct 2013 18:51:56 +0000 (18:51 +0000)]
Merge "Update send_arp_for_ha default in l3_agent.ini"

11 years agoUpdate send_arp_for_ha default in l3_agent.ini
Darragh O'Reilly [Mon, 21 Oct 2013 17:09:28 +0000 (17:09 +0000)]
Update send_arp_for_ha default in l3_agent.ini

The default for send_arp_for_ha was 3 and is now 0.
This patch changes the comment in l3_agent.ini to
show the new default.

Change-Id: I77370350ffee6ad7b94aa7db341c062ebc0b7d89

11 years agochange NetworkVxlanPortRangeError to base NeutronException
Yong Sheng Gong [Mon, 21 Oct 2013 15:34:53 +0000 (23:34 +0800)]
change NetworkVxlanPortRangeError to base NeutronException

Closes-Bug #1242756

Change-Id: I902fa12795cda5ca70defaeb3b6959e3a0824565

11 years agochange seld into self
Yong Sheng Gong [Mon, 21 Oct 2013 15:15:46 +0000 (23:15 +0800)]
change seld into self

Closes-Bug #1242745

Change-Id: If5cc2864dc966eacd4cf30757fd1de15d9992629

11 years agoMerge "Fix lb doesn't remove vxlan int. if no int. map"
Jenkins [Sat, 19 Oct 2013 21:17:33 +0000 (21:17 +0000)]
Merge "Fix lb doesn't remove vxlan int. if no int. map"

11 years agoMerge "Add error log for SystemExit in dhcp-agent"
Jenkins [Sat, 19 Oct 2013 20:04:46 +0000 (20:04 +0000)]
Merge "Add error log for SystemExit in dhcp-agent"

11 years agoMerge "Updated from global requirements"
OpenStack Jenkins [Sat, 19 Oct 2013 19:36:44 +0000 (19:36 +0000)]
Merge "Updated from global requirements"

11 years agoMerge "Fix to not send fdb updates when no port changes"
Jenkins [Sat, 19 Oct 2013 19:21:07 +0000 (19:21 +0000)]
Merge "Fix to not send fdb updates when no port changes"

11 years agoUpdated from global requirements
OpenStack Jenkins [Sat, 19 Oct 2013 15:38:27 +0000 (15:38 +0000)]
Updated from global requirements

Change-Id: Ica7315effe308bd739e90f885849fac27a3c542b

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 19 Oct 2013 06:34:33 +0000 (06:34 +0000)]
Imported Translations from Transifex

Change-Id: If712213da453f2263b7c5f7fec5bf9f644f5b70a

11 years agoFix to not send fdb updates when no port changes
Sylvain Afchain [Fri, 18 Oct 2013 23:12:58 +0000 (01:12 +0200)]
Fix to not send fdb updates when no port changes

Fixes bug: 1241874
Change-Id: Ibba11db0d7972dfba819347f7cb1397e1d34f218

11 years agoMerge "avoid changing the rule's own action"
Jenkins [Fri, 18 Oct 2013 13:39:49 +0000 (13:39 +0000)]
Merge "avoid changing the rule's own action"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 18 Oct 2013 06:34:11 +0000 (06:34 +0000)]
Imported Translations from Transifex

Change-Id: I682bf1fe6796b7bf894dc6e2968fe424b08178ff

11 years agoMerge "Set wsgi logger to use __name__"
Jenkins [Fri, 18 Oct 2013 04:42:51 +0000 (04:42 +0000)]
Merge "Set wsgi logger to use __name__"

11 years agoMerge "Fix L2pop to not send updates for unrelated networks"
Jenkins [Fri, 18 Oct 2013 01:41:19 +0000 (01:41 +0000)]
Merge "Fix L2pop to not send updates for unrelated networks"

11 years agoMerge "nvp:log only in rm router iface if port not found"
Jenkins [Fri, 18 Oct 2013 00:03:33 +0000 (00:03 +0000)]
Merge "nvp:log only in rm router iface if port not found"

11 years agoDetect and process live-migration in Cisco plugin
Baodong Li [Tue, 8 Oct 2013 15:19:32 +0000 (15:19 +0000)]
Detect and process live-migration in Cisco plugin

With Cisco/Nexus plugin, migration is not fully supported. Logic to detect
port binding change needs to be added in update_port(), and provisioning of
nexus switch(es) should be done accordingly

added test code for update_port() in the model layer and the db layer

Closes-Bug: #1229217

Change-Id: I2bd76030711c9d15462e91da9e4c0836a424834f

11 years agoSpawn arping in thread to speed-up floating IP
Brian Haley [Fri, 27 Sep 2013 14:57:40 +0000 (10:57 -0400)]
Spawn arping in thread to speed-up floating IP

Change _send_gratuitous_arp_packet() to spawn a thread to call
arping after a floating IP is assigned.  This way it doesn't
stall _process_routers() from returning quickly due to calling
pool.waitall().

Fixes Bug: 1233391

Change-Id: Id1f5eb75c222ba6a0935a294e3973292f50d0559

11 years agonvp:log only in rm router iface if port not found
Salvatore Orlando [Wed, 16 Oct 2013 22:11:34 +0000 (15:11 -0700)]
nvp:log only in rm router iface if port not found

The code currently raises when it's not able to find the port to be
deleted on the backend. This might happen, for instance, when the
port is manually removed or, in some cases, if port creation failed
in the first place.

There's little sense in raising when a resource to be removed is not
found; therefore this patch replaces the raise statement with a log
statement.

Bug 1240720

Change-Id: Ifa756b07ef41346a44325341c8e0e8994dc64dde

11 years agoavoid changing the rule's own action
Yong Sheng Gong [Thu, 17 Oct 2013 05:54:25 +0000 (13:54 +0800)]
avoid changing the rule's own action

fixes Bug #1240812

When iterating through the rule list, we should not change the rule itself.
So that we can use the rule data for the second router.

Change-Id: I613438507949007bec41416e7f8530693e4d5129

11 years agoFix L2pop to not send updates for unrelated networks
Sylvain Afchain [Wed, 16 Oct 2013 21:28:44 +0000 (23:28 +0200)]
Fix L2pop to not send updates for unrelated networks

With this patch L2 population mechanism driver
sends updates only with ports related to the
network id of the port which is being updated.

Fixes bug: 1240744
Change-Id: If7d51ce26bf0d0837a00da07fe85f48d55e681c6

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 17 Oct 2013 06:34:13 +0000 (06:34 +0000)]
Imported Translations from Transifex

Change-Id: Ide68c511286feddf695153369c8bed007c528932

11 years agoFix lb doesn't remove vxlan int. if no int. map
Sylvain Afchain [Thu, 17 Oct 2013 00:16:15 +0000 (02:16 +0200)]
Fix lb doesn't remove vxlan int. if no int. map

LinuxBridge agent doesn't remove vxlan interfaces
if interface_mappings is not set.

Fixes bug: 1240742
Change-Id: I163f1ac8cbd46b8d8836152e2be8cb7608a8ca22

11 years agoMerge "Cleanup and make HACKING.rst DRYer"
Jenkins [Wed, 16 Oct 2013 17:17:12 +0000 (17:17 +0000)]
Merge "Cleanup and make HACKING.rst DRYer"

11 years agoMerge "Update Cisco N1KV plugin to VSM REST api calls"
Jenkins [Wed, 16 Oct 2013 15:42:47 +0000 (15:42 +0000)]
Merge "Update Cisco N1KV plugin to VSM REST api calls"

11 years agoMerge "Fix IP recycling on exhausted pool"
Jenkins [Wed, 16 Oct 2013 15:42:35 +0000 (15:42 +0000)]
Merge "Fix IP recycling on exhausted pool"

11 years agoMerge "use proxy mode on vxlan interface only when l2-population is activated"
Jenkins [Wed, 16 Oct 2013 15:31:21 +0000 (15:31 +0000)]
Merge "use proxy mode on vxlan interface only when l2-population is activated"

11 years agoFix IP recycling on exhausted pool
Salvatore Orlando [Wed, 16 Oct 2013 10:14:16 +0000 (03:14 -0700)]
Fix IP recycling on exhausted pool

When recycling an IP, allocation pools are loaded with an inner
join with ip avaiblity ranges. However, if the pool is exhausted,
there will be no availability ranges and the query will return
no results because of the inner join. It will therefore be
impossible to reuse IP addresses once the pool has been exhausted.

This patch tries to reload allocation pools without joining on
IP avaiability ranges if the first query did not return any result.
Replacing an inner join with an outer join will not be possible
as postgresql backend does not support 'SELECT ... FOR UPDATE' with
outer joins (for more info see bug 1215350).

The patch also contains unit tests for verifying IP are recycled
correctly even when the pool is exhausted.

Bug 1240353

Change-Id: I87f274bd759cb47be77717f0760d3704f9f34ade

11 years agoCleanup and make HACKING.rst DRYer
Keshava Bharadwaj [Wed, 16 Oct 2013 11:00:23 +0000 (16:30 +0530)]
Cleanup and make HACKING.rst DRYer

Reference the OpenStack hacking guide in HACKING.rst and remove
duplicate entries. Adds placeholder section for neutron specific
rules.

Change-Id: I4bfbab50b77e7592178dda44c7f4f52edc7fdc21

11 years agoMerge "Add port bindings to ports created in Midonet"
Jenkins [Wed, 16 Oct 2013 05:45:59 +0000 (05:45 +0000)]
Merge "Add port bindings to ports created in Midonet"

11 years agoMerge "Handle VLAN interfaces with Linux IP wrapper"
Jenkins [Wed, 16 Oct 2013 03:43:13 +0000 (03:43 +0000)]
Merge "Handle VLAN interfaces with Linux IP wrapper"

11 years agoMerge "Removing rpc communication from db transaction"
Jenkins [Wed, 16 Oct 2013 02:59:39 +0000 (02:59 +0000)]
Merge "Removing rpc communication from db transaction"

11 years agoUpdate Cisco N1KV plugin to VSM REST api calls
Abhishek Raut [Thu, 3 Oct 2013 06:32:02 +0000 (23:32 -0700)]
Update Cisco N1KV plugin to VSM REST api calls

Modify the existing REST calls from the plugin to VSM to update the
attributes and use UUIDs as index, instead of string names, for all
the resources.

Change-Id: Icb4950ea7c6f036e9a25ee79e3f5fe30d40f47de
Closes-Bug: 1233802

11 years agoSet wsgi logger to use __name__
Joe Gordon [Tue, 15 Oct 2013 01:46:14 +0000 (18:46 -0700)]
Set wsgi logger to use __name__

Although underneath this is the eventlet.wsgi.server server, Other
OpenStack projects, don't use that logger instead they use there own.

This will also mean the wsgi server will stop logging on just the
warning level.  We want wsgi server to at least log on info level
so it will log when a request is processed and what the return code is.

Change-Id: I96fd73b84b4550f85ad96030fea815376901813a

11 years agoMerge "Fix access to lifetime dict in update_ipsecpolicy method"
Jenkins [Tue, 15 Oct 2013 20:40:39 +0000 (20:40 +0000)]
Merge "Fix access to lifetime dict in update_ipsecpolicy method"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Tue, 15 Oct 2013 18:06:24 +0000 (18:06 +0000)]
Merge "Imported Translations from Transifex"

11 years agoHandle VLAN interfaces with Linux IP wrapper
Édouard Thuleau [Tue, 15 Oct 2013 15:41:32 +0000 (15:41 +0000)]
Handle VLAN interfaces with Linux IP wrapper

Check if the interface name contains '@' character and use the part
before that character as interface name.

Change-Id: I09eb52f4d41054a76fd140d3a3476c6cfe05226b
Closes-Bug: #1240125

11 years agoMerge "Avoid suppressing underlying error when deploy.loadapp fails"
Jenkins [Tue, 15 Oct 2013 15:15:45 +0000 (15:15 +0000)]
Merge "Avoid suppressing underlying error when deploy.loadapp fails"

11 years agoMerge "Add the option to minimize ovs l2 polling"
Jenkins [Tue, 15 Oct 2013 11:03:27 +0000 (11:03 +0000)]
Merge "Add the option to minimize ovs l2 polling"

11 years agoMerge "Improve ovs_lib bridge management"
Jenkins [Tue, 15 Oct 2013 11:00:34 +0000 (11:00 +0000)]
Merge "Improve ovs_lib bridge management"

11 years agoAdd error log for SystemExit in dhcp-agent
Hui HX Xiang [Sat, 12 Oct 2013 04:45:45 +0000 (21:45 -0700)]
Add error log for SystemExit in dhcp-agent

The SystemExit exception should be logged in dhcp-agent, the
operator may miss the useful exception messages to debug.

* Add error log for SystemExit in dhcp-agent.
* Add addCleanup(mock.patch.stopall) in setup()
* Remove teardown()
* Add unit test for None and nonexistent interface_driver.

Closes-Bug #1239030

Change-Id: I01bef69adecaaf8d8a919034d33c60a43e4469a7

11 years agoRemoving rpc communication from db transaction
Jakub Libosvar [Thu, 3 Oct 2013 17:45:09 +0000 (19:45 +0200)]
Removing rpc communication from db transaction

In a transaction context of ExtraRoute_db_mixin.update_router() was
called super method that uses subtransaction and communication with l3
agent. In case of agent's heartbeat happens while there is running
transaction, update heartbeat in agents table gets stuck in a deadlock.

Closes-Bug: #1211915
Change-Id: I96e6a9d7172d5a0e3e720a81fcd10f04c40aef07

11 years agoAdd port bindings to ports created in Midonet
Joe Mills [Thu, 3 Oct 2013 16:55:18 +0000 (01:55 +0900)]
Add port bindings to ports created in Midonet

Currently Midokura uses its own script (mm-ctl) to bind ports. However, support
for using this script is left out of the nova and neutron projects. This causes
confusion and makes deployments unnecessarily complicated for customers using
Havana. This fix is to change Neutron to properly set up port bindings to use
the "midonet" vif driver when creating a port. Corresponding changes will be
submitted to the devstack and Nova projects.

Change-Id: I91f2e4fe7135da0c22fb408081efdc63fff748df
Closes-Bug: 1235134

11 years agoMerge "Remove obsolete redhat-eventlet.patch"
Jenkins [Tue, 15 Oct 2013 08:11:11 +0000 (08:11 +0000)]
Merge "Remove obsolete redhat-eventlet.patch"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 15 Oct 2013 06:34:31 +0000 (06:34 +0000)]
Imported Translations from Transifex

Change-Id: Iff70e2ff357cea655ec8ccf0374540db9ee47668

11 years agoUpdating address pairs with xml doesn't work
zhhuabj [Sat, 12 Oct 2013 09:31:38 +0000 (17:31 +0800)]
Updating address pairs with xml doesn't work

Below command can't work because list element
"allowed_address_pairs" hasn't been updated
into the varaiable "attr.PLURALS"
"neutron port-update <port-uuid> \
--allowed-address-pairs list=true type=dict \
ip_address=10.0.0.1 --request-format xml"

Change-Id: I0d7dcca5f4848bc968f5c86fbeb46569c70c8fcd
Closes-Bug: #1229954

11 years agoAdd the option to minimize ovs l2 polling
Maru Newby [Mon, 9 Sep 2013 10:06:49 +0000 (10:06 +0000)]
Add the option to minimize ovs l2 polling

This change adds the ability to monitor the local ovsdb for
interface changes so that the l2 agent can avoid unnecessary
polling.  Minimal changes are made to the agent so the risk
of breakage should be low.  Future efforts to make the agent
entirely event-based may be able to use OvsdbMonitor as a
starting point.

By default polling minimization is not done, and can only be
enabled by setting 'minimize_polling = True' in the ovs
section of the l2 agent's config file.

Closes-Bug: #1177973

Change-Id: I26c035b48a74df2148696869c5a9affae5ab3d27

11 years agoMerge "Add support for managing async processes"
Jenkins [Mon, 14 Oct 2013 22:18:49 +0000 (22:18 +0000)]
Merge "Add support for managing async processes"

11 years agoImprove ovs_lib bridge management
Maru Newby [Mon, 9 Sep 2013 09:58:12 +0000 (09:58 +0000)]
Improve ovs_lib bridge management

Add the ability to add and remove bridges, check for bridge
existence, and lookup the bridge associated with a port.

This change is in support of functional testing for an ovsdb
monitor.

Partial-Bug: #1177973

Change-Id: I419923d8d77983997cd347fcf063b0bc367c0bbc

11 years agoAvoid suppressing underlying error when deploy.loadapp fails
armando-migliaccio [Mon, 14 Oct 2013 19:37:24 +0000 (12:37 -0700)]
Avoid suppressing underlying error when deploy.loadapp fails

Raise log level at the first load attempt. If there is a
fundamental problem with the environment, a Lookup error
is not helpful in troubleshooting the problem further.

Fix bug 1210236

Change-Id: I55aa11a0e5a37dbef3f0c1b55aa4c9c11bbf55d9

11 years agoMerge "cisco/nexus plugin doesn't create port for router interface"
Jenkins [Mon, 14 Oct 2013 19:09:13 +0000 (19:09 +0000)]
Merge "cisco/nexus plugin doesn't create port for router interface"

11 years agoAdd support for managing async processes
Maru Newby [Mon, 9 Sep 2013 08:29:54 +0000 (01:29 -0700)]
Add support for managing async processes

Interacting with a long-running asynchronous process requires the
use of non-blocking io.  This change adds a helper class that can
launch a long-running process and read stdout and stderr in a
non-blocking fashion via eventlet.

This functionality is intended to support monitoring ovsdb via
a long-running and root-privileged invocation of ovsdb-client.

The complexity of the system interaction in this patch suggested
the addition of a functional test that validated actual behaviour.
The test was added under the neutron/tests/functional path which
is now included in the testr search path.

Partial-Bug: #1177973

Change-Id: I9969e556acecf7a9e77d873371cc2ec2647be011

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 14 Oct 2013 06:16:53 +0000 (06:16 +0000)]
Imported Translations from Transifex

Change-Id: Iaf08109b1abaeb5bea4489bd559da5224bcfbc5b

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 13 Oct 2013 06:16:45 +0000 (06:16 +0000)]
Imported Translations from Transifex

Change-Id: If1ba48b442712d6b5467df39abad0ce2e36a0a49

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 12 Oct 2013 06:17:15 +0000 (06:17 +0000)]
Imported Translations from Transifex

Change-Id: I7f3cd275f90661f52310abf0f353ed87a81f6db1

11 years agoMerge "Use L3 api from vpn ipsec driver via service plugin"
Jenkins [Sat, 12 Oct 2013 01:58:20 +0000 (01:58 +0000)]
Merge "Use L3 api from vpn ipsec driver via service plugin"

11 years agoMerge "DB migration upgrade/downgrade not employed for brocade-plugin"
Jenkins [Sat, 12 Oct 2013 01:47:04 +0000 (01:47 +0000)]
Merge "DB migration upgrade/downgrade not employed for brocade-plugin"

11 years agocisco/nexus plugin doesn't create port for router interface
Dane LeBlanc [Fri, 11 Oct 2013 21:07:00 +0000 (17:07 -0400)]
cisco/nexus plugin doesn't create port for router interface

Fixes bug 1234826

This fix adds a "nexus_l3_enable" configuration boolean for the
Cisco Nexus plugin. When this config boolean is set to False (default),
then the Nexus switches are only used for L2 switching/segmentation, and
layer 3 functionality is deferred to the OVS subplugin / network
control node. If this config boolean is set to True, layer 3
functionality, e.g. switch virtual interfaces, are supported on
the Nexus switches. (Note that layer 3 functionality is not supported
on all versions/models Nexus switches.)

Some other things addressed with this fix:
- The l3_port_check keyword argument which is optionally passed to the
  Cisco plugin's delete_port method was not being forwarded on to the
  OVS (sub) plugin. This keyword argument needs to be forwarded to OVS
  e.g. when the delete_port is being done in the context of a
  router interface delete (whereby l3_port_check==False).
- UT test cases are added for new "nexus_l3_enable" config, which
  exercise router interface add/delete.
- The Cisco test_network_plugin.py module is refactored/reorganized
  in order to cleanly add a new router interface test class.
- The test_model_update_port_rollback test case was yielding a false
  positive result (device_owner was not being passed to self.port).

Change-Id: I994b2b82769ea5e10e50dbe3a223d1518e99f714

11 years agoDB migration upgrade/downgrade not employed for brocade-plugin
Shiv Haris [Fri, 11 Oct 2013 23:27:53 +0000 (16:27 -0700)]
DB migration upgrade/downgrade not employed for brocade-plugin

Fixes bug: 1238921

Change-Id: I441d82a92588d7318a2f3b725643bc1b050a2c9c

11 years agoMerge "Fallback to Quota Conf Driver if Quotas table is not defined"
Jenkins [Fri, 11 Oct 2013 22:19:05 +0000 (22:19 +0000)]
Merge "Fallback to Quota Conf Driver if Quotas table is not defined"

11 years agoMerge "Fix auto-deletion of ports when deleting subnets in ML2"
Jenkins [Fri, 11 Oct 2013 21:21:04 +0000 (21:21 +0000)]
Merge "Fix auto-deletion of ports when deleting subnets in ML2"

11 years agoMerge "Fix migration"
Jenkins [Fri, 11 Oct 2013 21:20:01 +0000 (21:20 +0000)]
Merge "Fix migration"

11 years agoUse L3 api from vpn ipsec driver via service plugin
Nachi Ueno [Fri, 11 Oct 2013 18:46:32 +0000 (11:46 -0700)]
Use L3 api from vpn ipsec driver via service plugin

VPNaaS and ML2 plugin won't work, because ML2 plugin
supports service version of L3.
In this commit, we modify ipsec driver to use L3 plugin.
This is also backward compatible change, because if L2 plugin
supports L3 get_service_plugin API returns L2 plugin.

Fixes bug 1238846

Change-Id: I36e541bb2e3e1df2e01f73a74f3e9005af6c38b7
Note: Exsiting unit test covers this change

11 years agoFix migration
Ann Kamyshnikova [Fri, 11 Oct 2013 08:05:59 +0000 (12:05 +0400)]
Fix migration

In migration 338d7508968c_vpnaas_peer_address_ was mistake in
usage alter_column's parameter type_.

Closes-Bug: #1238561

Change-Id: I6e0eb8260cf5e8d8f557b174c7985e2f7ca1c912

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 11 Oct 2013 06:17:31 +0000 (06:17 +0000)]
Imported Translations from Transifex

Change-Id: Iadb02e0009605ba739d6c7e6ccbe1e62331f94fe

11 years agoMerge "Fixes port status hanging to build status"
Jenkins [Thu, 10 Oct 2013 22:13:30 +0000 (22:13 +0000)]
Merge "Fixes port status hanging to build status"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 10 Oct 2013 19:18:47 +0000 (19:18 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Correct the exception message"
Jenkins [Thu, 10 Oct 2013 19:18:38 +0000 (19:18 +0000)]
Merge "Correct the exception message"

11 years agoFix access to lifetime dict in update_ipsecpolicy method
Eugene Nikanorov [Thu, 10 Oct 2013 09:10:58 +0000 (13:10 +0400)]
Fix access to lifetime dict in update_ipsecpolicy method

Also add corresponding unit test.

Change-Id: Ie1141b5034415ccf3039a71dfedc47cfb2ca7a88
Closes-Bug: #1237912

11 years agoFixes port status hanging to build status
Petrut Lucian [Wed, 25 Sep 2013 17:07:01 +0000 (20:07 +0300)]
Fixes port status hanging to build status

ML2 plugin changes the port status to "build" when get_device_details
is called. For this reason, the port status must be updated once the
port details are processed.

Fixes bug: #1224991

Change-Id: I2c0321073cc07e1764fedbfbecbc844557ac6bc9

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 10 Oct 2013 06:16:46 +0000 (06:16 +0000)]
Imported Translations from Transifex

Change-Id: I923ac8886d037c4d4318fc29b5a9ad8a3367b88f

11 years agoMerge "Fix dhcp_release lease race condition"
Jenkins [Thu, 10 Oct 2013 04:39:02 +0000 (04:39 +0000)]
Merge "Fix dhcp_release lease race condition"

11 years agoMerge "Correct the typo %{edge_id)s"
Jenkins [Thu, 10 Oct 2013 04:23:58 +0000 (04:23 +0000)]
Merge "Correct the typo %{edge_id)s"

11 years agoFix auto-deletion of ports when deleting subnets in ML2
Bob Kukura [Thu, 3 Oct 2013 16:25:24 +0000 (12:25 -0400)]
Fix auto-deletion of ports when deleting subnets in ML2

When a subnet is deleted, certain ports referencing it are
auto-deleted. The implementation of NeutronDBPluginV2.delete_subnet()
does this at the DB level, so ML2's mechanism drivers were not being
called.

Ml2Plugin.delete_subnet() is changed to not use the base class's
method, and to auto-delete ports by calling its own delete_port()
method outside of the transaction. A loop avoids race conditions with
ports being asynchronously added to the subnet.

The logic in Ml2Plugin.delete_network() is also fixed to properly
handle auto-deleting ports and subnets, and debug logging is added to
the various delete methods.

Closes-Bug: 1234195
Partial-Bug: 1235486
Change-Id: I6d74f89d39ea8afe6915f1d2f9afdf66c0076f5a

11 years agoCorrect the exception message
YangLei [Wed, 9 Oct 2013 10:14:18 +0000 (18:14 +0800)]
Correct the exception message

Correct the exception message of class ServiceUnavailable

Change-Id: I8126a83df01199a5af32bd7742fcf0fa511bd598

11 years agoMerge "BigSwitch: correct net to backend on floating IP disassociation"
Jenkins [Thu, 10 Oct 2013 00:40:14 +0000 (00:40 +0000)]
Merge "BigSwitch: correct net to backend on floating IP disassociation"

11 years agoMerge "Add quota table in PLUMgrid plugin"
Jenkins [Wed, 9 Oct 2013 22:44:27 +0000 (22:44 +0000)]
Merge "Add quota table in PLUMgrid plugin"

11 years agoRemove obsolete redhat-eventlet.patch
Mark McLoughlin [Wed, 9 Oct 2013 20:47:48 +0000 (21:47 +0100)]
Remove obsolete redhat-eventlet.patch

See I62ce43a330d7ae94eda4c7498782a655e63747fa for the gorey details on
why this exists.

As of this fix:

  https://github.com/eventlet/eventlet/pull/34

which was released in eventlet 0.13, we no longer need the patch.

This has now been removed from oslo-incubator, so this is really just
syncing that removal.

Change-Id: I84267f3c6726cb2e750f615e107c48b12c6ed353

11 years agoBigSwitch: correct net to backend on floating IP disassociation
Kevin Benton [Wed, 9 Oct 2013 06:02:20 +0000 (23:02 -0700)]
BigSwitch: correct net to backend on floating IP disassociation

The corrects the network that is updated on the backendw when a
floating IP is disassociated. It was incorrectly sending the
tenant's network when the update is to the external network the
floating address belongs to.

Closes-Bug: #1237209
Change-Id: I55211ba3b0062e167843830bb318eb8e46249160

11 years agoMerge "Utilizes assertIn"
Jenkins [Wed, 9 Oct 2013 17:23:09 +0000 (17:23 +0000)]
Merge "Utilizes assertIn"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 9 Oct 2013 16:00:41 +0000 (16:00 +0000)]
Merge "Imported Translations from Transifex"

11 years agouse proxy mode on vxlan interface only when l2-population is activated
mathieu-rohon [Wed, 9 Oct 2013 09:13:04 +0000 (11:13 +0200)]
use proxy mode on vxlan interface only when l2-population is activated

the proxy mode was set by default on every vxlan interfaces
which leads to inaccessibility between VM that are not hosted
on the same host in a vxlan network

Closes-Bug: #1237082

Change-Id: I34028ee0bdfdccda61c6a29f58759259da060b68

11 years agoFallback to Quota Conf Driver if Quotas table is not defined
Akihiro MOTOKI [Wed, 9 Oct 2013 10:50:35 +0000 (19:50 +0900)]
Fallback to Quota Conf Driver if Quotas table is not defined

commit de15e0b9c5 enabled Quota DB driver default considering
production environments, but it breaks plugins without per-tenant
quota extension. In these plugin quotas tables is not loaded.

This commit fallbacks to ConfDriver if Quota model is not loaded by
checking neutron.db.quota_db which defines Quota model is imported.

Change-Id: Idaaaa9810598cfd3e5ce70020f498643b4819d16
Closes-Bug: #1236993

11 years agoCorrect the typo %{edge_id)s
YangLei [Wed, 9 Oct 2013 09:46:35 +0000 (17:46 +0800)]
Correct the typo %{edge_id)s

Use %(edge_id)s instead of %{edge_id)s.

Change-Id: Id8376ff8ec50e3022f9aca9b8954d8044d849f64

11 years agoMerge "Utilizes assertNotIn"
Jenkins [Wed, 9 Oct 2013 08:50:36 +0000 (08:50 +0000)]
Merge "Utilizes assertNotIn"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 9 Oct 2013 06:17:26 +0000 (06:17 +0000)]
Imported Translations from Transifex

Change-Id: I7ff99a23bc300d05d06ffa2d0ccc9f5742216155