]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
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 "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 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 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 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

10 years agoignore build directory for pep8
Sean Dague [Thu, 3 Apr 2014 13:56:14 +0000 (09:56 -0400)]
ignore build directory for pep8

this mirrors the excludes from nova.

Change-Id: I0ca5f02918842fc708c704fcf2845936dc1c5965

10 years agoMerge "Restore NOT NULL constraint lost by earlier migrations"
Jenkins [Thu, 3 Apr 2014 09:52:37 +0000 (09:52 +0000)]
Merge "Restore NOT NULL constraint lost by earlier migrations"

10 years agoMerge "Remove invalid copyright headers under API module"
Jenkins [Thu, 3 Apr 2014 08:15:56 +0000 (08:15 +0000)]
Merge "Remove invalid copyright headers under API module"

10 years agoMerge "Changed the message line of RouterInUse class"
Jenkins [Thu, 3 Apr 2014 07:35:11 +0000 (07:35 +0000)]
Merge "Changed the message line of RouterInUse class"

10 years agoMerge "Use os.uname() instead of calling uname in subprocess"
Jenkins [Thu, 3 Apr 2014 07:31:04 +0000 (07:31 +0000)]
Merge "Use os.uname() instead of calling uname in subprocess"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 3 Apr 2014 06:32:23 +0000 (06:32 +0000)]
Imported Translations from Transifex

Change-Id: Ifcadfb837fc2864214c6d070d90388110742b537

10 years agoMerge "Explicitly import state_path opt in tests.base"
Jenkins [Thu, 3 Apr 2014 01:35:50 +0000 (01:35 +0000)]
Merge "Explicitly import state_path opt in tests.base"

10 years agoMerge "Remove last parts of Quantum compatibility shim"
Jenkins [Thu, 3 Apr 2014 01:04:53 +0000 (01:04 +0000)]
Merge "Remove last parts of Quantum compatibility shim"

10 years agoMerge "Revert changes removing OVSBridge return"
Jenkins [Wed, 2 Apr 2014 22:44:37 +0000 (22:44 +0000)]
Merge "Revert changes removing OVSBridge return"

10 years agoExplicitly import state_path opt in tests.base
Joe Gordon [Wed, 2 Apr 2014 18:25:27 +0000 (11:25 -0700)]
Explicitly import state_path opt in tests.base

This wasn't explicitly needed in the unit tests because
neutron.common.config was already loaded, but this broke for the
functional tests (which are non-voting) so add a CONF.import_opt line so
functional tests know where to find the definition for state_path.

Change-Id: I5b87a75317e2ba670adaa59b251bfa860920fd61

10 years agoMerge "Enable hacking H301 check"
Jenkins [Wed, 2 Apr 2014 20:39:05 +0000 (20:39 +0000)]
Merge "Enable hacking H301 check"

10 years agoMerge "Fixing Arista CLI command"
Jenkins [Wed, 2 Apr 2014 20:38:57 +0000 (20:38 +0000)]
Merge "Fixing Arista CLI command"

10 years agofixes tests using called_once_ without assert
Miguel Angel Ajo [Mon, 31 Mar 2014 13:50:55 +0000 (15:50 +0200)]
fixes tests using called_once_ without assert

A few tests were using mock's called_once, or called_once_with_args
instead of assert_called_once or assert_called_once_with_args. Those
methods return a bool that needs to be actively checked.

The tests are fixed to avoid them from passing if the call condition
is not met.

Change-Id: I21e5257b26b2a08cc8f0b108233d1d5cc0b97b89
Closes-bug: #1297875

10 years agoMerge "update doc string - correct typo"
Jenkins [Wed, 2 Apr 2014 19:22:17 +0000 (19:22 +0000)]
Merge "update doc string - correct typo"

10 years agoMerge "NSX: Fix pagination support"
Jenkins [Wed, 2 Apr 2014 18:47:44 +0000 (18:47 +0000)]
Merge "NSX: Fix pagination support"

10 years agoRemove invalid copyright headers under API module
Doug Hellmann [Wed, 2 Apr 2014 18:09:03 +0000 (11:09 -0700)]
Remove invalid copyright headers under API module

Change-Id: I629b639f6c94654117fbafb8b21840f7ba6b045a
Partial-bug: #1262424

10 years agoupdate doc string - correct typo
Manish Godara [Wed, 2 Apr 2014 16:30:43 +0000 (09:30 -0700)]
update doc string - correct typo

Change-Id: I70503293cdd17a520dd9ec66ee297f2d36added6

10 years agoMerge "Only send notifications on uuid device_id's"
Jenkins [Wed, 2 Apr 2014 16:29:45 +0000 (16:29 +0000)]
Merge "Only send notifications on uuid device_id's"

10 years agoRevert changes removing OVSBridge return
Kyle Mestery [Wed, 2 Apr 2014 14:39:13 +0000 (14:39 +0000)]
Revert changes removing OVSBridge return

This reverts changes from this review [1] which incorrectly removed
the return of the OVSBridge object when calling BaseOVS.add_bridge.
This broke all functional tests relying on this return.

[1] https://review.openstack.org/#/c/71142/

Related-Bug: #1301363

Change-Id: If32e155cc2bd368b2e842f14b1d1da0827ccfeff

10 years agofixes broken neutron-netns-cleanup
Miguel Angel Ajo [Tue, 18 Mar 2014 12:33:19 +0000 (13:33 +0100)]
fixes broken neutron-netns-cleanup

Some configuration parameters used in neutron.agent.linux.utils
were missing. The namespace attribute in the FakeNetwork object
was missing, and used in neutron.agent.linux.dhcp. Also, the
plugin object was missing for release_dhcp_port operation.

We provide a fake plugin object to accept current and any future
plugin calls as this is meant to be an standalone tool that
should work without any RPC connectivity.

FakeNetwork was switched for neutron.agent.linux.dhcp.NetModel
to follow any future changes in NetModel.

Two wrong called_once_with_args calls without assert were fixed.

Change-Id: Ia51ea9bd4c8eea6b250858964ad5286c933702e0
Closes-Bug: #1291915
Partial-Bug: #1297875

10 years agoMerge "Update BigSwitch Name to its correct name"
Jenkins [Wed, 2 Apr 2014 10:57:52 +0000 (10:57 +0000)]
Merge "Update BigSwitch Name to its correct name"

10 years agoMerge "Return 409 for second firewall creation"
Jenkins [Wed, 2 Apr 2014 10:12:58 +0000 (10:12 +0000)]
Merge "Return 409 for second firewall creation"

10 years agoMerge "Stop using portbindings_db in BSN ML2 driver"
Jenkins [Wed, 2 Apr 2014 10:06:32 +0000 (10:06 +0000)]
Merge "Stop using portbindings_db in BSN ML2 driver"

10 years agoMerge "Removing vim header lines"
Jenkins [Wed, 2 Apr 2014 08:57:02 +0000 (08:57 +0000)]
Merge "Removing vim header lines"

10 years agoMerge "NSX plugin: return 400 for invalid gw certificate"
Jenkins [Wed, 2 Apr 2014 08:56:01 +0000 (08:56 +0000)]
Merge "NSX plugin: return 400 for invalid gw certificate"

10 years agoPermit ICMPv6 RAs only from known routers
Xuhan Peng [Mon, 10 Feb 2014 03:02:33 +0000 (22:02 -0500)]
Permit ICMPv6 RAs only from known routers

Currently ingress ICMPv6 RAs are permitted from any IPs by
default to allow VMs to accept ICMPv6 RA from provider network.
In this way, VM can accept RAs from attacker VM and configure
a network prefix specified by the attacher VM.

Remove permitting ICMPv6 RAs from any IPs and add security rule
to only permit ICMPv6 RA from:

1. If the port's subnet is configured with ipv6_ra_mode value
(i.e.value is slaac, dhcpv6-stateful, or dhcpv6-stateless), RA
is sending from dnsmasq controlled by OpenStack. In this case,
allow RA from the link local address of gateway port (if the
gateway port is created).

2. If the subnet's gateway port is not managed by OpenStack, allow
the ICMPv6 RA sent from the subnet gateway IP if it's a link local
address. The administrator needs to configure the gateway IP as
link local address in this case to make the RA rule work.

Change-Id: I1d5c7aaa8e4cf057204eb746c0faab2c70409a94
Closes-Bug: 1262759

10 years agoReturn 409 for second firewall creation
Akihiro Motoki [Wed, 2 Apr 2014 02:34:01 +0000 (11:34 +0900)]
Return 409 for second firewall creation

Second firewall creation returns 500, but it is an expected behavior
of firewall reference implementation and an internal server error
should not be returned.

Change-Id: I9f537b238007d35172e2504591d9d3568ba3a41a
Closes-Bug: #1301105

10 years agoMerge "Log configuration values for OFA agent"
Jenkins [Wed, 2 Apr 2014 05:45:18 +0000 (05:45 +0000)]
Merge "Log configuration values for OFA agent"

10 years agoFixing Arista CLI command
sukhdev [Wed, 2 Apr 2014 02:01:50 +0000 (19:01 -0700)]
Fixing Arista CLI command

A minor change is made to the Arista API between ML2 Driver and the
back-end. This fix addresses this change to align Icehouse release with
Arista EOS releases.

Change-Id: Ia7cd3701c76d920a7e0d1334290c73ce7e8e5576
Closes-Bug: 1301093

10 years agouse floatingip's ID as key instead of itself
Yong Sheng Gong [Wed, 19 Mar 2014 08:14:33 +0000 (16:14 +0800)]
use floatingip's ID as key instead of itself

Change-Id: I267f174a0e2e611ec007404c7b44e2c73a359c38
Closes-Bug: 1294526

10 years agoUse a temp dir for CONF.state_path
Joe Gordon [Tue, 1 Apr 2014 22:06:36 +0000 (15:06 -0700)]
Use a temp dir for CONF.state_path

external_pids will defaults to $state_path(/var/lib/neutron)/external/pids
which isn't accessible when running unit tests so use a tempdir for
CONF.state_path. This bug arose when oslo.config 1.3.0 came out which
fixed bug #1282250 (I4324bda6f3de3cdf05f8eb3cf16052c04018dec8) and
caused this issue.

Change-Id: I253c5ea85c51eff94399da0b9462d10a9c509a0f
Closes-Bug: #1301027

10 years agoUse os.uname() instead of calling uname in subprocess
Jakub Libosvar [Tue, 1 Apr 2014 14:41:38 +0000 (16:41 +0200)]
Use os.uname() instead of calling uname in subprocess

Related-Bug: #1291535

Change-Id: I57e18c0b95904f318e3fff08cd18b32e28f48834

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Tue, 1 Apr 2014 18:13:39 +0000 (18:13 +0000)]
Merge "Imported Translations from Transifex"

10 years agoEnable hacking H301 check
Matthew Treinish [Mon, 31 Mar 2014 21:17:44 +0000 (17:17 -0400)]
Enable hacking H301 check

This commit enables the H301 hacking rule by removing all the
multiple imports in a single line from neutron.

Partial-Bug: #1291032

Change-Id: I7ba7f82fb36a433d73190eb3d568b6961ccb57c6

10 years agoMerge "Move test_ovs_lib to tests/unit/agent/linux"
Jenkins [Tue, 1 Apr 2014 16:33:29 +0000 (16:33 +0000)]
Merge "Move test_ovs_lib to tests/unit/agent/linux"

10 years agoMerge "Fix function parsing the kernel version"
Jenkins [Tue, 1 Apr 2014 16:27:45 +0000 (16:27 +0000)]
Merge "Fix function parsing the kernel version"

10 years agoStop using portbindings_db in BSN ML2 driver
Kevin Benton [Tue, 1 Apr 2014 08:05:29 +0000 (01:05 -0700)]
Stop using portbindings_db in BSN ML2 driver

Avoids using the portbindings_db in the Big Switch
ML2 driver since ML2 has deprecated that database for
its own version that tracks the same information.

Also eliminates unnecessary 'binding_host' field since
it is now always the same as as the 'portbinding:host_id'
field.

Closes-Bug: #1300628
Change-Id: I17d47cb446cdd2e989c3e0d01b797a81309faaa7

10 years agoMerge "Add missing DB migrations for BSN ML2 plugin"
Jenkins [Tue, 1 Apr 2014 15:34:05 +0000 (15:34 +0000)]
Merge "Add missing DB migrations for BSN ML2 plugin"

10 years agoNSX: Fix pagination support
armando-migliaccio [Fri, 21 Mar 2014 21:48:19 +0000 (14:48 -0700)]
NSX: Fix pagination support

Add pagination support to the base plugin,
leaving the service plugin unaltered.

Minor tweaks to the UT where required to
avoid intermittent failures caused by random
ordering.

Closes-bug: 1295854

Change-Id: I03e9e104967716046909d6120426e879f714a5c8

10 years agoRemoving vim header lines
Mohammad Banikazemi [Mon, 31 Mar 2014 17:01:47 +0000 (13:01 -0400)]
Removing vim header lines

Simply removes the vim header line and the empty line
following it (when present) for files in the api, db, and
extenssions base directories. In one single _init_ file in
this patchset, all comment lines are removed.

Change-Id: I81b7168dc2ad74b8c30a87e50a531e157851499e
Partial-Bug: 1229324

10 years agoFix function parsing the kernel version
Simon Pasquier [Tue, 1 Apr 2014 13:55:55 +0000 (15:55 +0200)]
Fix function parsing the kernel version

Change-Id: Id56efb476144a18cd9eb7279bc0f602760a86173
Closes-Bug: #1300808

10 years agoMerge "Updated from global requirements"
OpenStack Jenkins [Tue, 1 Apr 2014 14:00:43 +0000 (14:00 +0000)]
Merge "Updated from global requirements"

10 years agoMerge "Add unit test for add_vxlan in test_linux_ip_lib"
Jenkins [Tue, 1 Apr 2014 12:21:55 +0000 (12:21 +0000)]
Merge "Add unit test for add_vxlan in test_linux_ip_lib"

10 years agoUpdated from global requirements
OpenStack Jenkins [Tue, 1 Apr 2014 11:51:30 +0000 (11:51 +0000)]
Updated from global requirements

Change-Id: I920146bc6ea4eb490f42e1293552536f62949316

10 years agoMerge "Open Juno development"
Jenkins [Tue, 1 Apr 2014 11:47:30 +0000 (11:47 +0000)]
Merge "Open Juno development"

10 years agoMerge "Invoke _process_l3_create within plugin session"
Jenkins [Tue, 1 Apr 2014 11:47:19 +0000 (11:47 +0000)]
Merge "Invoke _process_l3_create within plugin session"

10 years agoRestore NOT NULL constraint lost by earlier migrations
AKamyshnikova [Thu, 6 Mar 2014 12:09:08 +0000 (16:09 +0400)]
Restore NOT NULL constraint lost by earlier migrations

Bring back nullable=False for columns in tables poolstatisticss
and ipsec_site_connections that disapeared because of
migrations abc88c33f74f and 338d7508968c correspondingly.

Closes-bug: #1288681

Change-Id: Idc4608616c2b4c06e7404157b2f708d46e91accc

10 years agoBigSwitch: Semaphore on port status update
Kevin Benton [Tue, 1 Apr 2014 06:32:41 +0000 (23:32 -0700)]
BigSwitch: Semaphore on port status update

Adds a semaphore to the _set_port_status
function used by the Big Switch ML2 driver and
plugin. Without it, the async threads are
susceptible to deadlocking and causing the
known eventlet/mysql timeout exception.

Closes-Bug: #1300607
Change-Id: Ie89213a0bef37f9e7a30945df39c0f1b87a33b82

10 years agoRemove last parts of Quantum compatibility shim
Dan Wendlandt [Tue, 1 Apr 2014 06:31:00 +0000 (23:31 -0700)]
Remove last parts of Quantum compatibility shim

Goodbye Quantum!

Change-Id: Idbd0384a892beaff3a937444f04cfc433cb805eb
Closes-Bug:1299046

10 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 1 Apr 2014 06:30:53 +0000 (06:30 +0000)]
Imported Translations from Transifex

Change-Id: I58a1436d1e987e24423eba5d5b7c501fd86c9da9

10 years agoFix quota_health_monitor opt name in neutron.conf
Pierre RAMBAUD [Sun, 30 Mar 2014 10:06:53 +0000 (12:06 +0200)]
Fix quota_health_monitor opt name in neutron.conf

Reasons:
- quota_healt_monitor does not exist

Changes:
- Use quota_health_monitor instead of quota_health_monitors

Change-Id: I31d6a0394a786d26f7a063afbd3b6e07fae49b9b

10 years agoAdd missing DB migrations for BSN ML2 plugin
Kevin Benton [Tue, 1 Apr 2014 02:58:31 +0000 (19:58 -0700)]
Add missing DB migrations for BSN ML2 plugin

Adds missing database migrations for the Big Switch
ML2 driver and plugin.

Closes-Bug: #1298459
Change-Id: I6a46a53e069353501d85c4c8400f98514d6f0162

10 years agoMerge "Add Icehouse no-op migration"
Jenkins [Mon, 31 Mar 2014 22:58:16 +0000 (22:58 +0000)]
Merge "Add Icehouse no-op migration"

10 years agoMerge "Cancelling thread start while unit tests running"
Jenkins [Mon, 31 Mar 2014 20:31:00 +0000 (20:31 +0000)]
Merge "Cancelling thread start while unit tests running"

10 years agoMerge "Synced rpc and gettextutils modules from oslo-incubator"
Jenkins [Mon, 31 Mar 2014 19:30:57 +0000 (19:30 +0000)]
Merge "Synced rpc and gettextutils modules from oslo-incubator"

10 years agoOnly send notifications on uuid device_id's
Aaron Rosen [Mon, 31 Mar 2014 18:03:48 +0000 (11:03 -0700)]
Only send notifications on uuid device_id's

Neutron assumes that all ports with the device_owner that start with
'compute:' are ports created by nova compute. Thus, when the debug agent
creates a port with device_owner = compute:probe the nova notifier
feature tells nova when this port is wired even though nova does not know
about it (doesn't really matter we just log an error). This patch adds a check
to make sure the device_id is a uuid as nova only uses uuids and the debug
agent uses the hostname for device_id.

Change-Id: I04e7195a1fb30bc37e1c0141315c053174f8722c
Closes-bug: #1288582

10 years agoMerge "Delete duplicate external devices in router namespace"
Jenkins [Mon, 31 Mar 2014 17:56:11 +0000 (17:56 +0000)]
Merge "Delete duplicate external devices in router namespace"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 31 Mar 2014 15:02:24 +0000 (15:02 +0000)]
Merge "Imported Translations from Transifex"