]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoFix dangling patches in Cisco and Midonet tests
Kevin Benton [Sat, 12 Apr 2014 21:27:36 +0000 (21:27 +0000)]
Fix dangling patches in Cisco and Midonet tests

Cisco Nexus Tests:
Explicitly stops the patch to sys.modules immediately
after use to fix sporadic failures caused by the patch
not being handled correctly by mock.patch.stopall.

Midonet Interface Test:
Removes the double-patch of the 'device_exists' method
in ip_lib.

Closes-Bug: #1307025
Closes-Bug: #1307038
Change-Id: Ie22505bb8e406a61e40819d60c76d229916a6e01

10 years agoMerge "Edge firewall: improve exception handling"
Jenkins [Sat, 12 Apr 2014 19:59:40 +0000 (19:59 +0000)]
Merge "Edge firewall: improve exception handling"

10 years agoMerge "VMware: log backend port creation in the right place"
Jenkins [Fri, 11 Apr 2014 20:50:38 +0000 (20:50 +0000)]
Merge "VMware: log backend port creation in the right place"

10 years agoMerge "Fix typo in comment"
Jenkins [Fri, 11 Apr 2014 20:40:12 +0000 (20:40 +0000)]
Merge "Fix typo in comment"

10 years agoMerge "NSX plugin: fix get_gateway_devices"
Jenkins [Fri, 11 Apr 2014 15:03:04 +0000 (15:03 +0000)]
Merge "NSX plugin: fix get_gateway_devices"

10 years agoMerge "lb-agent: fix get_interfaces_on_bridge returning None"
Jenkins [Fri, 11 Apr 2014 14:09:59 +0000 (14:09 +0000)]
Merge "lb-agent: fix get_interfaces_on_bridge returning None"

10 years agoMerge "Remove mock.patch.stop from tests that inherit from BaseTestCase"
Jenkins [Fri, 11 Apr 2014 13:49:51 +0000 (13:49 +0000)]
Merge "Remove mock.patch.stop from tests that inherit from BaseTestCase"

10 years agoMerge "BigSwitch: Create router ports synchronously"
Jenkins [Fri, 11 Apr 2014 00:11:38 +0000 (00:11 +0000)]
Merge "BigSwitch: Create router ports synchronously"

10 years agoNSX plugin: fix get_gateway_devices
Salvatore Orlando [Thu, 10 Apr 2014 23:55:51 +0000 (16:55 -0700)]
NSX plugin: fix get_gateway_devices

Fixes the error and adds relevant unit tests.
Also fixes get_gateway_devices signature for allowing
paging and sorting.

Closes-Bug: 1306301

Change-Id: Icb52a764e111365beaf4dc4fb4a5b8970a6cf887

10 years agoMerge "Update ensure()/reconnect() to catch MessagingError"
Jenkins [Thu, 10 Apr 2014 16:04:06 +0000 (16:04 +0000)]
Merge "Update ensure()/reconnect() to catch MessagingError"

10 years agoMerge "ML2 Cisco Nexus MD: Support portchannel interfaces"
Jenkins [Thu, 10 Apr 2014 14:29:21 +0000 (14:29 +0000)]
Merge "ML2 Cisco Nexus MD: Support portchannel interfaces"

10 years agoMerge "Fixes Hyper-V agent security group ICMP rules"
Jenkins [Thu, 10 Apr 2014 12:42:10 +0000 (12:42 +0000)]
Merge "Fixes Hyper-V agent security group ICMP rules"

10 years agoRemove mock.patch.stop from tests that inherit from BaseTestCase
rossella [Thu, 10 Apr 2014 09:33:43 +0000 (09:33 +0000)]
Remove mock.patch.stop from tests that inherit from BaseTestCase

The tests that inherit from BaseTestCase don't need to stop their
patches, since this is already done in the base class

Change-Id: Ibb1183e521686d6e948046997b32f4044d91d9e7
Closes-bug: #1305656

10 years agoMerge "Remove "reuse_existing" from setup method in dhcp.py"
Jenkins [Thu, 10 Apr 2014 11:15:55 +0000 (11:15 +0000)]
Merge "Remove "reuse_existing" from setup method in dhcp.py"

10 years agoUpdate ensure()/reconnect() to catch MessagingError
Russell Bryant [Wed, 9 Apr 2014 15:32:44 +0000 (11:32 -0400)]
Update ensure()/reconnect() to catch MessagingError

The error handling code that gets connections reset if necessary
caught ConnectionError. It really needs to catch MessagingError,
which ConnectionError inherits from. There are other types of
MessagingErrors that may occur, such as InternalError, and they need
to cause the connection to reset, as well.

This fix has already been merged into oslo.messaging.

--

Cherry-picked from oslo-incubator 234f64d608266f43d8856ff98c89ceba6699d752
See also https://bugzilla.redhat.com/show_bug.cgi?id=1086077

Closes-bug: #1303890
Change-Id: Ic5082b74a362ded8b35cbc75cf178fe6e0db62d0

10 years agoMerge "Set correct columns' length"
Jenkins [Thu, 10 Apr 2014 10:59:08 +0000 (10:59 +0000)]
Merge "Set correct columns' length"

10 years agoRemove "reuse_existing" from setup method in dhcp.py
rossella [Wed, 9 Apr 2014 14:12:50 +0000 (14:12 +0000)]
Remove "reuse_existing" from setup method in dhcp.py

This flag is never used, it's always set to True by
DhcpLocalProcess.enable()

Change-Id: Ic30e0f2c97679d5919cc4e4afeb38666a6d41392
Closes-bug: #1305083

10 years agoFixes Hyper-V agent security group ICMP rules
Claudiu Belu [Tue, 1 Apr 2014 14:36:50 +0000 (17:36 +0300)]
Fixes Hyper-V agent security group ICMP rules

Converts ICMP protocol to the equivalent protocol number.
Adds default ICMP reject rules.
Adds default ANY protocol rules if the rule does not
contain any protocol.

Closes-Bug: #1299159
Change-Id: Iff51a58fdb532eda0fe7a63abf96004ee74bb073

10 years agoFix typo in ml2 configuration file
whitekid [Wed, 9 Apr 2014 18:26:35 +0000 (03:26 +0900)]
Fix typo in ml2 configuration file

Change-Id: I1d191a2c69d7450584e0ee25a0f5fce237b1c817
Closes-Bug: #1305226

10 years agoMerge "OFAgent: Avoid re-wiring ports unnecessarily"
Jenkins [Wed, 9 Apr 2014 13:50:26 +0000 (13:50 +0000)]
Merge "OFAgent: Avoid re-wiring ports unnecessarily"

10 years agoMerge "Revert "Hide ipv6 subnet API attributes""
Jenkins [Wed, 9 Apr 2014 13:12:57 +0000 (13:12 +0000)]
Merge "Revert "Hide ipv6 subnet API attributes""

10 years agoEdge firewall: improve exception handling
Gary Kotton [Wed, 9 Apr 2014 09:46:52 +0000 (02:46 -0700)]
Edge firewall: improve exception handling

Improve the exception handling in the edge firewall

Partial-Bug: #1305032
Change-Id: Ib095a48dd7cb958c0c5cf5682eeb7fc93f2b55dd

10 years agoFix typo in comment
Gary Kotton [Wed, 9 Apr 2014 09:21:47 +0000 (02:21 -0700)]
Fix typo in comment

Corrects a typo in a comment.

Change-Id: I6f9bef364bf68f376505d7adbe68769239fef502

10 years agoMerge "Set the log level to debug for loading extensions"
Jenkins [Wed, 9 Apr 2014 09:03:52 +0000 (09:03 +0000)]
Merge "Set the log level to debug for loading extensions"

10 years agoMerge "Remove duplicated tests for check_ovs_vxlan_version"
Jenkins [Wed, 9 Apr 2014 08:32:28 +0000 (08:32 +0000)]
Merge "Remove duplicated tests for check_ovs_vxlan_version"

10 years agoMerge "Clean out namespaces even if we don't delete namespaces"
Jenkins [Wed, 9 Apr 2014 07:20:58 +0000 (07:20 +0000)]
Merge "Clean out namespaces even if we don't delete namespaces"

10 years agoMerge "BSN: Remove module-level ref to httplib method"
Jenkins [Wed, 9 Apr 2014 07:20:48 +0000 (07:20 +0000)]
Merge "BSN: Remove module-level ref to httplib method"

10 years agoMerge "Add support for router scheduling in Cisco N1kv Plugin"
Jenkins [Wed, 9 Apr 2014 07:20:39 +0000 (07:20 +0000)]
Merge "Add support for router scheduling in Cisco N1kv Plugin"

10 years agoMerge "Add common base class for agent functional tests"
Jenkins [Wed, 9 Apr 2014 03:06:54 +0000 (03:06 +0000)]
Merge "Add common base class for agent functional tests"

10 years agoNSX: Fix KeyError in sync if nsx_router_id not found
Aaron Rosen [Tue, 8 Apr 2014 20:20:49 +0000 (13:20 -0700)]
NSX: Fix KeyError in sync if nsx_router_id not found

Previously, a KeyError would occur in the sync code which would
cause the sync thread to stop running. This would occur if there
was a router entry in the database but no nsx_router_mapping and
the router was not found in nsx. Note: this should never happen unless
one did not run the db migration which introduced and migrated the data
for the NeutronNsxRouterMapping table.

Change-Id: I44f3e7de9323f594501db63d3ad33e80e617bfdc
Closes-bug: #1304647

10 years agoVMware: log backend port creation in the right place
Salvatore Orlando [Tue, 8 Apr 2014 23:37:43 +0000 (16:37 -0700)]
VMware: log backend port creation in the right place

Change-Id: Ifb8cbb31902193ecf0dde56c46688dcdd637b3bb
Closes-Bug: 1304723

10 years agoMerge "Deals with fails in update_*_postcommit ops"
Jenkins [Tue, 8 Apr 2014 22:16:04 +0000 (22:16 +0000)]
Merge "Deals with fails in update_*_postcommit ops"

10 years agoRevert "Hide ipv6 subnet API attributes"
Mark McClain [Tue, 8 Apr 2014 21:38:49 +0000 (17:38 -0400)]
Revert "Hide ipv6 subnet API attributes"

This reverts commit d739486a3f70cb83f8730cf7201a8b8ccf4b4c70.

Change-Id: I27352ba5442da8c69c2d1ab6d5e333e95dc5ebf7

10 years agoMerge "Hide ipv6 subnet API attributes"
Jenkins [Tue, 8 Apr 2014 21:08:16 +0000 (21:08 +0000)]
Merge "Hide ipv6 subnet API attributes"

10 years agoMerge "OFA agent: use hexadecimal IP address in tunnel port name"
Jenkins [Tue, 8 Apr 2014 20:28:54 +0000 (20:28 +0000)]
Merge "OFA agent: use hexadecimal IP address in tunnel port name"

10 years agoMerge "Correctly inherit __table_args__ from parent class"
Jenkins [Tue, 8 Apr 2014 20:24:32 +0000 (20:24 +0000)]
Merge "Correctly inherit __table_args__ from parent class"

10 years agoMerge "set api.extensions logging to ERROR in unit tests"
Jenkins [Tue, 8 Apr 2014 19:50:35 +0000 (19:50 +0000)]
Merge "set api.extensions logging to ERROR in unit tests"

10 years agoMerge "NSX: ensure dhcp port is setup on metadata network"
Jenkins [Tue, 8 Apr 2014 18:57:25 +0000 (18:57 +0000)]
Merge "NSX: ensure dhcp port is setup on metadata network"

10 years agoMerge "Updated from global requirements"
OpenStack Jenkins [Tue, 8 Apr 2014 18:57:15 +0000 (18:57 +0000)]
Merge "Updated from global requirements"

10 years agoBigSwitch: Create router ports synchronously
Kevin Benton [Tue, 8 Apr 2014 16:04:08 +0000 (09:04 -0700)]
BigSwitch: Create router ports synchronously

Since router ports are created as part of a
long transaction with multiple REST calls, they
need to be created sychronously. This is to prevent
the async thread from deleting them from the backend
if it can't find them in cases where they haven't been
committed to the DB yet.

Closes-Bug: #1305331
Change-Id: I2ab3c862dc6b1760199654bbd0969ac5efdbe704

10 years agoNSX: ensure dhcp port is setup on metadata network
armando-migliaccio [Tue, 8 Apr 2014 15:43:00 +0000 (08:43 -0700)]
NSX: ensure dhcp port is setup on metadata network

Change in scheduling behavior caused a regression
where the dhcp port is no longer provisioned on
the (admin) metadata network created when a subnet
is uplinked to a router.

This change recovers the past behavior and extend UT
coverage to avoid further regression.

Closes-bug: #1304127

Change-Id: I8420203f68a43368f3784adb0c4cbbe55f048662

10 years agoHide ipv6 subnet API attributes
Salvatore Orlando [Mon, 7 Apr 2014 23:29:54 +0000 (16:29 -0700)]
Hide ipv6 subnet API attributes

The attributes for ra mode and address mode should be hidden
until the IPv6 feature is fully implemented.

The changes in this patch will be reverted by another patch
which closes this bug.

Change-Id: I69a1a571b5beb566641200e60b84f0716c1ec138
Related-Bug: 1304093

10 years agoSet correct columns' length
Ann Kamyshnikova [Fri, 14 Mar 2014 11:09:36 +0000 (15:09 +0400)]
Set correct columns' length

In migration 569e98a8132b_metering incorrect length is set for
description column (255 instead of 1024) and in migration
39cf3f799352_fwaas_havana_2_model for firewall_rules table
incorrect length is set  for protocol column (24 instead of 40).

partially implement bp: db-sync-models-with-migrations

Change-Id: I0b2cb00c3bd2cd2ac7e002c861095129e5b5aa96

10 years agoMerge "Enforce required config params for ODL driver"
Jenkins [Tue, 8 Apr 2014 10:31:38 +0000 (10:31 +0000)]
Merge "Enforce required config params for ODL driver"

10 years agoEnforce required config params for ODL driver
Kevin Benton [Sun, 6 Apr 2014 11:29:07 +0000 (04:29 -0700)]
Enforce required config params for ODL driver

Raise a config error during initialization if
there is no URL, username, or password specified
in the config for the OpenDayLight ML2 driver.

Closes-Bug: #1301432
Change-Id: I65fc94d3eaaade3d1402d1c82d2c1edfa7133d5a

10 years agoAdd L2 Agent side handling for non consistent security_group settings
Irena Berezovsky [Tue, 25 Mar 2014 07:30:17 +0000 (09:30 +0200)]
Add L2 Agent side handling for non consistent security_group settings

Add setting of the firewall_driver to NoopDriver when firewall_driver is None and
add warning if driver combination is not valid.
Modify is_valid_driver_combination to verify default settings: enable_security_group (True) and firewall_driver (None).

Change-Id: I841f9cf96ac6ee2ad17a4e8908d6c8a96f368cca
Closes-Bug: #1296957

10 years agoMerge "BigSwitch: Stop HTTP patch before overriding"
Jenkins [Tue, 8 Apr 2014 06:14:06 +0000 (06:14 +0000)]
Merge "BigSwitch: Stop HTTP patch before overriding"

10 years agoMerge "Fix _validate_mac_address method"
Jenkins [Tue, 8 Apr 2014 06:05:09 +0000 (06:05 +0000)]
Merge "Fix _validate_mac_address method"

10 years agoBSN: Remove module-level ref to httplib method
Kevin Benton [Tue, 8 Apr 2014 05:30:09 +0000 (22:30 -0700)]
BSN: Remove module-level ref to httplib method

Removes a module-level variable that was just a
pointer to the httplib.HTTPConnection class. It's
purpose was to give mock.patch a target that wouldn't
affect other code using the httplib.HTTPConnection
library. However, it is unnecessary now that the
root cause of the original patches not being stopped
by mock.patch.stopall was fixed in bug 1303605 (change
Ia5b374c5f8d3a7905d915de4f1f8d4f3a6f0e58d).

Closes-Bug: #1304558
Change-Id: Idf814b075a80245bb9751466c2b58d719a1b81f3

10 years agoBigSwitch: Stop HTTP patch before overriding
Kevin Benton [Tue, 8 Apr 2014 03:25:23 +0000 (20:25 -0700)]
BigSwitch: Stop HTTP patch before overriding

Stops the default HTTPConnection patch used by the
Big Switch tests before patching HTTPConnection with
another substitution. This prevents mock from losing
track of the default patch which was resulting in it
not consistently being stopped by the stopall call in
cleanup.

This also corrects an incorrectly targeted mock for the
HTTP patch in one of the test files.

Closes-Bug: #1303605
Change-Id: Ia5b374c5f8d3a7905d915de4f1f8d4f3a6f0e58d

10 years agoFix wrong section name "security_group" in sample config files
Akihiro Motoki [Tue, 8 Apr 2014 01:31:06 +0000 (10:31 +0900)]
Fix wrong section name "security_group" in sample config files

The section name [security_group] in Sample config files of
ML2 and Big Switch plugins was wrong and it should be
[securitygroup].

Change-Id: I8204b2f37f96a5e46038e117853ac8637a9705fd
Closes-Bug: #1304105

10 years agoSet the log level to debug for loading extensions
Pradeep Kilambi [Mon, 7 Apr 2014 20:48:30 +0000 (16:48 -0400)]
Set the log level to debug for loading extensions

Setting the log level to debug instead of info
for load extension file.

Change-Id: Ia2322a5d62381f15b4bf4e0bb7120813be985786

10 years agoUpdated from global requirements
OpenStack Jenkins [Mon, 7 Apr 2014 21:10:22 +0000 (21:10 +0000)]
Updated from global requirements

Change-Id: I576919f28d7dd1a04ce1a3795bbf940b82d0d76f

10 years agoset api.extensions logging to ERROR in unit tests
Sean Dague [Mon, 7 Apr 2014 21:07:41 +0000 (17:07 -0400)]
set api.extensions logging to ERROR in unit tests

neutron.api.extensions generates a lot of output in a normal
unit test run. It's responsible for > 80% of the lines in the
subunit_log.txt. Logging each file load 10k times slows everything
down, takes up valuable memory, and doesn't really help with testing.

Instead we can set this to ERROR level in a fixture to ignore most
of that logging and help make the unit tests run faster.

Change-Id: I86b41f20342b4080859ee036220ddffa200f0562

10 years agoMerge "Delete routers that are requested but not reported as active"
Jenkins [Mon, 7 Apr 2014 21:06:06 +0000 (21:06 +0000)]
Merge "Delete routers that are requested but not reported as active"

10 years agoMerge "Call policy.init() once per API request"
Jenkins [Mon, 7 Apr 2014 11:03:53 +0000 (11:03 +0000)]
Merge "Call policy.init() once per API request"

10 years agoAdd common base class for agent functional tests
Kyle Mestery [Wed, 2 Apr 2014 07:17:37 +0000 (07:17 +0000)]
Add common base class for agent functional tests

Refactor the functional tests a bit to add a common base class for agent
tests. This is needed an upcoming commit which adds a functional test
for VXLAN version checking.

Closes-Bug: #1301363

Change-Id: I438e401cbfb40e5557e5125f2a409bac5c1fd1c2

10 years agoMerge "Sync service and systemd modules from oslo-incubator"
Jenkins [Mon, 7 Apr 2014 05:34:37 +0000 (05:34 +0000)]
Merge "Sync service and systemd modules from oslo-incubator"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 7 Apr 2014 03:59:25 +0000 (03:59 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Add missing comma in nsx router mappings migration"
Jenkins [Sun, 6 Apr 2014 22:20:56 +0000 (22:20 +0000)]
Merge "Add missing comma in nsx router mappings migration"

10 years agoMerge "BigSwitch: Improves server manager UT coverage"
Jenkins [Sun, 6 Apr 2014 19:29:18 +0000 (19:29 +0000)]
Merge "BigSwitch: Improves server manager UT coverage"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 6 Apr 2014 06:31:46 +0000 (06:31 +0000)]
Imported Translations from Transifex

Change-Id: If8a4e8411119e156943771962b6d959c6936f6af

10 years agoMerge "Fixed TypeError when creating MlnxException"
Jenkins [Sat, 5 Apr 2014 23:25:51 +0000 (23:25 +0000)]
Merge "Fixed TypeError when creating MlnxException"

10 years agoAdd missing comma in nsx router mappings migration
Henry Gessau [Sat, 5 Apr 2014 22:10:52 +0000 (18:10 -0400)]
Add missing comma in nsx router mappings migration

Change-Id: I85bcc9b7fe636f34dbdf6f8c3172352c8e586e2a
Closes-bug: #1303179
Related-bug: #1207402

10 years agoOFAgent: Avoid re-wiring ports unnecessarily
fumihiko kakuma [Fri, 4 Apr 2014 06:20:44 +0000 (15:20 +0900)]
OFAgent: Avoid re-wiring ports unnecessarily

Port the following patch to OFAgent.
commit: a9050757d94009c68f06c9f374de33eefbf06aa9
https://review.openstack.org/#/c/63558/

Partial-Bug: 1293265

Change-Id: I35d58bad104b01136c2502c933475ac85a3752a5

10 years agoMerge "BigSwitch: Don't import portbindings_db until use"
Jenkins [Fri, 4 Apr 2014 22:45:54 +0000 (22:45 +0000)]
Merge "BigSwitch: Don't import portbindings_db until use"

10 years agoMerge "Don't emit log for missing attribute check policy"
Jenkins [Fri, 4 Apr 2014 21:15:52 +0000 (21:15 +0000)]
Merge "Don't emit log for missing attribute check policy"

10 years agoBigSwitch: Improves server manager UT coverage
Kevin Benton [Fri, 7 Mar 2014 04:51:11 +0000 (20:51 -0800)]
BigSwitch: Improves server manager UT coverage

Improves the unit test coverage for the Big Switch
server manager module (100%). Also reorganizes the
capabilities test to avoid duplicating a lot of
router tests that are already covered.

Closes-Bug: #1289027
Change-Id: Ib51e8160f8d95686e86430b0a9c9f54deeda0e84

10 years agoBigSwitch: Don't import portbindings_db until use
Kevin Benton [Thu, 3 Apr 2014 10:00:37 +0000 (10:00 +0000)]
BigSwitch: Don't import portbindings_db until use

The Big Switch ML2 driver re-uses large parts of
code from the Big Switch plugin. However, the plugin
uses the old portbindings_db in its port tracking
code. This db is not created/used by ML2, so it does
not exist when the Big Switch ML2 driver is being used.
This caused a problem when the portbindings_db module
would be imported even though it wasn't being used
since the SQLAlchemy models would create the
relationships during the import.

This patch moves the portbindings_db import down to
the methods that leverage it so it won't be imported
during use by the ML2 driver.

This is a temporary solution which can be back-ported
if disabling auto schema generation is back-ported
to icehouse. An appropriate fix will require some
refactoring to avoid the port tracking code from
being imported for ML2.

Closes-Bug: #1300628
Change-Id: I551abf9d6ec832c423cba0d50bb27715b43c0b1c

10 years agoMerge "Fix test MAC addresses to be valid"
Jenkins [Fri, 4 Apr 2014 19:52:12 +0000 (19:52 +0000)]
Merge "Fix test MAC addresses to be valid"

10 years agoMerge "fixes broken neutron-netns-cleanup"
Jenkins [Fri, 4 Apr 2014 19:33:20 +0000 (19:33 +0000)]
Merge "fixes broken neutron-netns-cleanup"

10 years agoMerge "Move bash whitelisting to pep8 testenv"
Jenkins [Fri, 4 Apr 2014 19:26:37 +0000 (19:26 +0000)]
Merge "Move bash whitelisting to pep8 testenv"

10 years agoMerge "Cisco VPN driver correct reporting for admin state chg"
Jenkins [Fri, 4 Apr 2014 18:13:19 +0000 (18:13 +0000)]
Merge "Cisco VPN driver correct reporting for admin state chg"

10 years agolb-agent: fix get_interfaces_on_bridge returning None
Darragh O'Reilly [Fri, 4 Apr 2014 16:46:30 +0000 (16:46 +0000)]
lb-agent: fix get_interfaces_on_bridge returning None

Change get_interfaces_on_bridge() to return [] instead of None
if the bridge is not found, as callers are expecting an iterator.

Change-Id: I359a2a0cf932c049f6891d4ba3eb8b9b23ab360d
Related-Bug: 1284311

10 years agoClean out namespaces even if we don't delete namespaces
Carl Baldwin [Tue, 1 Apr 2014 22:16:59 +0000 (22:16 +0000)]
Clean out namespaces even if we don't delete namespaces

Even when we don't enable namespace deletion, we still want to run the
code that cleans out the namespaces so that the devices get unplugged,
etc.  Otherwise, routers deleted while the agent is down will continue
to operate as if they were never deleted.

The trade-off to consider here is that if there are many stale
namespaces this will slow down the restart of the L3 agent.  The best
option is to get namespace deletion working correctly.  However, where
that has not been worked out yet, this patch provides the cleaning
service for deleted routers.

Change-Id: Ic7b4608a23c4d9530f521d5faff3f8526200b92e
Closes-Bug: #1301042
Related-Bug: #1052535

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 4 Apr 2014 15:59:58 +0000 (15:59 +0000)]
Merge "Imported Translations from Transifex"

10 years agoCall policy.init() once per API request
Salvatore Orlando [Fri, 4 Apr 2014 10:09:57 +0000 (03:09 -0700)]
Call policy.init() once per API request

This patch changes the policy engine behaviour and the API base
controller in order to ensure policy.init is invoked only once
for each API request.
This will avoid issues arising from policy file updates during
API processing and speed up response generation for list operations,
by about 5%.

This patch also removes an obsolete TODO comment.

Change-Id: I108ebd26fccdea19cb00959f70d87c3bc1587df9
Closes-Bug: 1302611

10 years agoMerge "Redundant SG rule create calls in unit tests"
Jenkins [Fri, 4 Apr 2014 14:13:45 +0000 (14:13 +0000)]
Merge "Redundant SG rule create calls in unit tests"

10 years agoDon't emit log for missing attribute check policy
Salvatore Orlando [Fri, 4 Apr 2014 10:30:12 +0000 (03:30 -0700)]
Don't emit log for missing attribute check policy

A missing policy for validating whether an attribute should
be visible or not is a perfectly normal condition, and
there is no value in logging it.

Writing this information to the log is also having a
considerable performance impact on list operations.

Change-Id: Ie9d3ae6b249a5c49f6d81c1e56915174d8479a07
Closes-Bug: 1302467

10 years agoSync service and systemd modules from oslo-incubator
Jakub Libosvar [Mon, 17 Mar 2014 15:36:01 +0000 (16:36 +0100)]
Sync service and systemd modules from oslo-incubator

This patch make systemd know when neutron-service was started. This is
needed in HA environment, previously systemd returned success even
before neutron-server was able to handle requests.

Current oslo-incubator commit on HEAD:
b7ad6ddab8b1d61bf4f52ccaa461a9d68809747b

Implements: blueprint service-readiness
Change-Id: Ic9e4abd11b614a896fbd7454b9a604a69a248d0f

10 years agoMerge "Advanced Services documentation"
Jenkins [Fri, 4 Apr 2014 09:55:34 +0000 (09:55 +0000)]
Merge "Advanced Services documentation"

10 years agoMerge "Set ns_name in RouterInfo as attribute"
Jenkins [Fri, 4 Apr 2014 09:40:56 +0000 (09:40 +0000)]
Merge "Set ns_name in RouterInfo as attribute"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 4 Apr 2014 06:35:16 +0000 (06:35 +0000)]
Imported Translations from Transifex

Change-Id: I9087690c96e8c0a2e59923eccef33b5934bf4830

10 years agoMove bash whitelisting to pep8 testenv
Henry Gessau [Fri, 4 Apr 2014 03:03:46 +0000 (23:03 -0400)]
Move bash whitelisting to pep8 testenv

Change-Id: If2c3ebf57143cbed04b66a9986d67f91fee89630
Closes-Bug: #1302304

10 years agoFix test MAC addresses to be valid
Brian Haley [Mon, 31 Mar 2014 16:14:59 +0000 (12:14 -0400)]
Fix test MAC addresses to be valid

MAC addresses should have 6 octets - 'ff:ff:ff:ff:ff:ff'.

Change-Id: I9c2457d978ccce15549d3258961093a130375bff
Closes-bug: #1302282

10 years agoML2: ODL driver sets port status
Robert Kukura [Thu, 3 Apr 2014 21:01:00 +0000 (17:01 -0400)]
ML2: ODL driver sets port status

The OpenDaylight mechanism driver does not depend on an L2 agent to
plug the port. Now that nova waits for notification that the port
status is ACTIVE, the ML2 driver API is extended so that the mechanism
driver that binds a port can optionally set the port status, and the
OpenDaylight mechanism driver uses this to set the port status to
ACTIVE.

Closes-Bug: 1301449
Change-Id: I171c405f36b4f2354d9585e8ae3dfa50ddaa9a7e

10 years agoMerge "Permit ICMPv6 RAs only from known routers"
Jenkins [Fri, 4 Apr 2014 00:11:40 +0000 (00:11 +0000)]
Merge "Permit ICMPv6 RAs only from known routers"

10 years agoMerge "Add a note that rpc_workers option is experimental"
Jenkins [Fri, 4 Apr 2014 00:08:42 +0000 (00:08 +0000)]
Merge "Add a note that rpc_workers option is experimental"

10 years agoMerge "Fix Jenkins translation jobs"
Jenkins [Thu, 3 Apr 2014 22:33:43 +0000 (22:33 +0000)]
Merge "Fix Jenkins translation jobs"

10 years agoMerge "Replace HTTPSConnection in NEC plugin"
Jenkins [Thu, 3 Apr 2014 22:33:34 +0000 (22:33 +0000)]
Merge "Replace HTTPSConnection in NEC plugin"

10 years agoAdd a note that rpc_workers option is experimental
Carl Baldwin [Thu, 3 Apr 2014 20:44:49 +0000 (20:44 +0000)]
Add a note that rpc_workers option is experimental

blueprint multiple-rpc-workers

Change-Id: Id354b96fc591752e1e79b072997423b6447d5de9

10 years agoMerge "use floatingip's ID as key instead of itself"
Jenkins [Thu, 3 Apr 2014 18:22:32 +0000 (18:22 +0000)]
Merge "use floatingip's ID as key instead of itself"

10 years agoFix Jenkins translation jobs
Andreas Jaeger [Mon, 31 Mar 2014 20:17:18 +0000 (22:17 +0200)]
Fix Jenkins translation jobs

The job neutron-propose-translation-update
does not update from
transifex since our po files contain duplicate entries where
obsolete entries duplicate normal entries.

Remove all obsolete entries to fix the job.

Add test to pep8 that checks that no new breakages get
introduced.

Change-Id: I9c680eeefecfa124c5b2900b7fa7a0a8f7e8ebd6
Closes-Bug: #1299349

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 3 Apr 2014 18:10:34 +0000 (18:10 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "De-duplicate unit tests for ports in Big Switch"
Jenkins [Thu, 3 Apr 2014 18:08:10 +0000 (18:08 +0000)]
Merge "De-duplicate unit tests for ports in Big Switch"

10 years agoMerge "fixes tests using called_once_ without assert"
Jenkins [Thu, 3 Apr 2014 18:08:00 +0000 (18:08 +0000)]
Merge "fixes tests using called_once_ without assert"

10 years agoMerge "Fix quota_health_monitor opt name in neutron.conf"
Jenkins [Thu, 3 Apr 2014 18:07:48 +0000 (18:07 +0000)]
Merge "Fix quota_health_monitor opt name in neutron.conf"

10 years agoRedundant SG rule create calls in unit tests
sridhargaddam [Thu, 3 Apr 2014 17:59:37 +0000 (23:29 +0530)]
Redundant SG rule create calls in unit tests

This patch removes the redundant calls in the test cases.

Closes-Bug: #1302091
Change-Id: I509843b427dc454c0e6b2fd2cbff1bbbb284337f

10 years agoSet ns_name in RouterInfo as attribute
Jakub Libosvar [Thu, 3 Apr 2014 12:52:59 +0000 (14:52 +0200)]
Set ns_name in RouterInfo as attribute

Closes-Bug: #1302007
Change-Id: I02a9b92eea06010569d3d9c5a987e69f89b23be5

10 years agoReplace HTTPSConnection in NEC plugin
Daniel Gollub [Sun, 2 Mar 2014 08:33:38 +0000 (09:33 +0100)]
Replace HTTPSConnection in NEC plugin

Replace HTTPSConnection in NEC plugin PFC driver with Requests.

SSL Verification is from now on enabled by default.

This changes the default behaviour and is the primary intention of this
change: verify SSL certificates.

This might break existing configuration/setups where the SSL certificate
used by the NEC PFC driver would not pass the verification.

SecurityImpact
DocImpact
Partial-Bug: 1188189

Change-Id: I1e5fdc9c2ed5b812aa6509d1639bd499acc5c337