]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
9 years agoMerge "ovs_neutron_agent should exit gracefully"
Jenkins [Mon, 2 Mar 2015 17:25:57 +0000 (17:25 +0000)]
Merge "ovs_neutron_agent should exit gracefully"

9 years agoovs_neutron_agent should exit gracefully
Gandharva [Thu, 5 Feb 2015 05:45:19 +0000 (11:15 +0530)]
ovs_neutron_agent should exit gracefully

In this patch set if any error occurs during agent initialization
phase, then it terminates ovs neutron agent gracefully.

Closes-Bug: #1351135

Co-Authored-By: Aman Kumar <amank@hp.com>
Co-Authored-By: Neethi Shasidhar <neethi209@gmail.com>

Change-Id: I14d091c73c8f8f4dfe70e7f9a7f7683b5fb0fd7f

9 years agoMerge "Capture progress chart for vendor decomposition"
Jenkins [Sun, 1 Mar 2015 16:53:18 +0000 (16:53 +0000)]
Merge "Capture progress chart for vendor decomposition"

9 years agoMerge "Password config options should be marked secret"
Jenkins [Sun, 1 Mar 2015 14:32:47 +0000 (14:32 +0000)]
Merge "Password config options should be marked secret"

9 years agoMerge "remove unused code in metadata agent code"
Jenkins [Sun, 1 Mar 2015 10:50:10 +0000 (10:50 +0000)]
Merge "remove unused code in metadata agent code"

9 years agoCapture progress chart for vendor decomposition
armando-migliaccio [Sat, 28 Feb 2015 08:51:41 +0000 (00:51 -0800)]
Capture progress chart for vendor decomposition

This patch proposes a way to capture the current status of affairs
for the core/vendor decomposition to help developers and distributors
understand where the Neutron team is in the effort of implementing
the specification.

Initially this was being captured in a Google Doc, but it became
evident that it is best to keep this information as close to the code
as possible. This is very much a collective effort and everyone is
welcome to contribute to keeping this chart current and accurate. In
fact, patches targeting decomposition work will have to address this
table in the same context of the patch that affects the code being
decomposed.

This is not intended to be a documentation tool, or a user reference to
what is and is not a Neutron driver or plugin.

Partial-implements: blueprint core-vendor-decomposition

Change-Id: Ib9a5fa1c06edc837625d55f0ed71d814ee9f7913

9 years agoMerge "devref: added guidelines to maintain service entry points"
Jenkins [Sun, 1 Mar 2015 05:12:07 +0000 (05:12 +0000)]
Merge "devref: added guidelines to maintain service entry points"

9 years agoMerge "Revert "Remove port from ovsdb after its deletion""
Jenkins [Sat, 28 Feb 2015 19:33:51 +0000 (19:33 +0000)]
Merge "Revert "Remove port from ovsdb after its deletion""

9 years agoMerge "Make del_fdb_flow() idempotent."
Jenkins [Sat, 28 Feb 2015 18:53:51 +0000 (18:53 +0000)]
Merge "Make del_fdb_flow() idempotent."

9 years agoMerge "Imported Translations from Transifex"
Jenkins [Sat, 28 Feb 2015 18:34:34 +0000 (18:34 +0000)]
Merge "Imported Translations from Transifex"

9 years agoMerge "Fixes formatting errors in devref documentation"
Jenkins [Sat, 28 Feb 2015 17:50:12 +0000 (17:50 +0000)]
Merge "Fixes formatting errors in devref documentation"

9 years agoMerge "Check whether sudo is enabled in BaseSudoTestCase.setUpClass"
Jenkins [Sat, 28 Feb 2015 11:16:21 +0000 (11:16 +0000)]
Merge "Check whether sudo is enabled in BaseSudoTestCase.setUpClass"

9 years agoFixes formatting errors in devref documentation
armando-migliaccio [Sat, 28 Feb 2015 09:18:24 +0000 (01:18 -0800)]
Fixes formatting errors in devref documentation

The rendering for the FAQ section of the callbacks doc is
a bit messed up. This patch fixes the issue.

Change-Id: I82a2205a93fe0957c8ba0b5e281374373fbb47eb

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Sat, 28 Feb 2015 06:12:42 +0000 (06:12 +0000)]
Imported Translations from Transifex

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I20af1e13453ea5e95f93fb74ef5c579f432afa6e

9 years agoMerge "Fix retrieval of shared firewall_policies"
Jenkins [Sat, 28 Feb 2015 05:52:43 +0000 (05:52 +0000)]
Merge "Fix retrieval of shared firewall_policies"

9 years agoMerge "Allow AsyncProcess to block on process start and stop"
Jenkins [Sat, 28 Feb 2015 01:05:18 +0000 (01:05 +0000)]
Merge "Allow AsyncProcess to block on process start and stop"

9 years agoMerge "Add filter for provider network attributes in ML2"
Jenkins [Sat, 28 Feb 2015 00:41:22 +0000 (00:41 +0000)]
Merge "Add filter for provider network attributes in ML2"

9 years agoMerge "Don't mock plugin in L3SchedulerTestBaseMixin"
Jenkins [Sat, 28 Feb 2015 00:13:45 +0000 (00:13 +0000)]
Merge "Don't mock plugin in L3SchedulerTestBaseMixin"

9 years agoFix retrieval of shared firewall_policies
Sumit Naiksatam [Fri, 27 Feb 2015 23:39:59 +0000 (15:39 -0800)]
Fix retrieval of shared firewall_policies

Incorrect rule in the policy.json prevents the visibility
of shared firewall_policies.

Change-Id: I6541d363f1ca4ae89b9dddab41a8f20522e50df8
Closes-bug: 1426586

9 years agoPassword config options should be marked secret
Eric Brown [Wed, 25 Feb 2015 23:36:59 +0000 (15:36 -0800)]
Password config options should be marked secret

If passwords are not marked secret, there is the potential for
them to be logged in a world readable location.

Link to the OSSG guideline (may change in the future):
https://github.com/hyakuhei/OSSG-Security-Practices/blob/master/sensitive_config_file_options.md

Oslo.config descriptions:
http://docs.openstack.org/developer/oslo.config/cfg.html#special-handling-instructions

SecImpact

Change-Id: I6d5c80b7610d593fdd331c726039f1456d2c5bf7

9 years agoCheck whether sudo is enabled in BaseSudoTestCase.setUpClass
Cedric Brandily [Wed, 25 Feb 2015 17:13:10 +0000 (17:13 +0000)]
Check whether sudo is enabled in BaseSudoTestCase.setUpClass

Currently functional test classes requiring invocation of commands via a
root helper inherit from BaseSudoTestCase[1] and should call explicitly
check_sudo_enabled in order to skip the test if sudo is disabled[2].

This change performs such check during BaseSudoTestCase.setUp in order
to ensure the check is done and replaces parent class for functional
test cases not requiring invocation of commands via a root helper.

This change prepares to transform BaseOVSLinuxTestCase[3] methods into
helper methods.

[1] in neutron.tests.functional.base
[2] sudo is enabled if OS_SUDO_TESTING is set to '1' or 'True'
[3] in neutron.tests.functional.agent.linux.base

Change-Id: I91a3506524352211729ac8b3b07cf3082fd8f13a

9 years agoRevert "Remove port from ovsdb after its deletion"
armando-migliaccio [Fri, 27 Feb 2015 18:08:56 +0000 (10:08 -0800)]
Revert "Remove port from ovsdb after its deletion"

Sentinel patch to establish whether commit [1] is at
fault of the sudden spike of DBDeadlock errors.

[1] d6a55c17360d1aa8ca91849199987ae71e8600ee

Change-Id: I021e94e322f9b5eca665ea3aede41e034d3047cc
Closed-Bug: #1426543

9 years agoMerge "wsgi: remove explicit monkey_patch() call"
Jenkins [Fri, 27 Feb 2015 20:01:33 +0000 (20:01 +0000)]
Merge "wsgi: remove explicit monkey_patch() call"

9 years agoAdd filter for provider network attributes in ML2
Manish Godara [Thu, 22 Jan 2015 00:24:15 +0000 (16:24 -0800)]
Add filter for provider network attributes in ML2

Added code to implement filters for provider network attributes
in ML2 plugin. There was a todo item in code but never got done.
It is needed to lookup networks based on provider network attributes.

Change-Id: I9eaa8bd8fa35cfe2b94551f9c27336503f118ce6
Closes-Bug: 1333475

9 years agoAllow AsyncProcess to block on process start and stop
Assaf Muller [Sun, 22 Feb 2015 00:27:44 +0000 (19:27 -0500)]
Allow AsyncProcess to block on process start and stop

* Move utility functions from the test tree to the non-test tree
* Add tests for the newly moved functions
* Use these functions in AsyncProcess

This will allow the ip monitor in the following patch to start
and stop in a synchronous manner.

Related-Bug: #1402010
Change-Id: I03727d8acc17e561d3473b0ebecfbe49cb5523b1

9 years agoDon't mock plugin in L3SchedulerTestBaseMixin
rossella [Thu, 26 Feb 2015 15:23:32 +0000 (15:23 +0000)]
Don't mock plugin in L3SchedulerTestBaseMixin

There's no need to mock the plugin in L3SchedulerTestBaseMixin, since
the plugin is defined by the classes that mix in L3SchedulerTestBaseMixin.

Change-Id: Ia447936ba0d6696968acaf0edc26c7194be8d4d8
Closes-bug: 1425988

9 years agoMerge "Remove port from ovsdb after its deletion"
Jenkins [Fri, 27 Feb 2015 11:59:38 +0000 (11:59 +0000)]
Merge "Remove port from ovsdb after its deletion"

9 years agoMerge "test_l2population: Use a fake mech driver instead of ofagent"
Jenkins [Fri, 27 Feb 2015 11:49:58 +0000 (11:49 +0000)]
Merge "test_l2population: Use a fake mech driver instead of ofagent"

9 years agoMake del_fdb_flow() idempotent.
Dermot Tynan [Fri, 20 Feb 2015 16:57:33 +0000 (16:57 +0000)]
Make del_fdb_flow() idempotent.

Addresses an issue where del_fdb_flow() gets a duplicate call for
the same port, which results in a KeyError. This change makes the
call more idempotent, so that it doesn't cause other follow-on
errors as a result of the uncaught exception.

Change-Id: I7a3a34dd654e143dee06c3e4642e859211a312ca
Closes-bug: #1421105

9 years agoMerge "Added a policy for retrieving the agent hosting a load balancer"
Jenkins [Fri, 27 Feb 2015 00:32:03 +0000 (00:32 +0000)]
Merge "Added a policy for retrieving the agent hosting a load balancer"

9 years agoMerge "l2population_rpc: Make fdb_add_tun/fdb_remove_tun more flexible"
Jenkins [Thu, 26 Feb 2015 20:55:17 +0000 (20:55 +0000)]
Merge "l2population_rpc: Make fdb_add_tun/fdb_remove_tun more flexible"

9 years agoMerge "Passes the plugin context variable in the ML2 Extension Driver API"
Jenkins [Thu, 26 Feb 2015 20:23:47 +0000 (20:23 +0000)]
Merge "Passes the plugin context variable in the ML2 Extension Driver API"

9 years agoMerge "Create/Delete FIP Agent gateway port only if DVR Routers"
Jenkins [Thu, 26 Feb 2015 20:21:08 +0000 (20:21 +0000)]
Merge "Create/Delete FIP Agent gateway port only if DVR Routers"

9 years agoMerge "Change L3 agent AdvancedService class to be non-singleton"
Jenkins [Thu, 26 Feb 2015 20:19:36 +0000 (20:19 +0000)]
Merge "Change L3 agent AdvancedService class to be non-singleton"

9 years agoMerge "Add callbacks-based system to Neutron"
Jenkins [Thu, 26 Feb 2015 19:41:36 +0000 (19:41 +0000)]
Merge "Add callbacks-based system to Neutron"

9 years agoMerge "Move pylint checks to pep8 testenv"
Jenkins [Thu, 26 Feb 2015 19:41:22 +0000 (19:41 +0000)]
Merge "Move pylint checks to pep8 testenv"

9 years agoMerge "Remove discover from test requirements"
Jenkins [Thu, 26 Feb 2015 19:20:47 +0000 (19:20 +0000)]
Merge "Remove discover from test requirements"

9 years agoAdded a policy for retrieving the agent hosting a load balancer
Brandon Logan [Thu, 26 Feb 2015 17:03:28 +0000 (11:03 -0600)]
Added a policy for retrieving the agent hosting a load balancer

LBaaS V2 needs a separate policy from V1 that will allow only an admin
to retrieve the agent hosting a particular load balancer.

Change-Id: Ida9c3ce15cf14431072d5505396bca11aa92b276

9 years agoMerge "Correct db functional tests to support oslo.db 1.50"
Jenkins [Thu, 26 Feb 2015 12:02:00 +0000 (12:02 +0000)]
Merge "Correct db functional tests to support oslo.db 1.50"

9 years agoCorrect db functional tests to support oslo.db 1.50
Cedric Brandily [Thu, 26 Feb 2015 10:33:19 +0000 (10:33 +0000)]
Correct db functional tests to support oslo.db 1.50

Currently test_migrations[1] uses _cleanup private method defined in
oslo_db.sqlalchemy.test_migrations which has been removed in oslo.db
1.5.0. This change corrects test_migrations[1] based on oslo.db
change I16bfa3af0e1ad6a9231ea38dea7cd76092347f55.

[1] neutron.tests.functional.db package

Change-Id: I35676ca2e5900d7fd95a11d6c7dd3ad1c9a686e2
Closes-Bug: #1425890

9 years agoremove unused code in metadata agent code
gong yong sheng [Thu, 26 Feb 2015 07:43:30 +0000 (15:43 +0800)]
remove unused code in metadata agent code

Change-Id: Ia5b1449dd952e26de3ee651a30258f0b66080e09
Closes-bug: #1425833

9 years agoMerge "Ensure arping always exits"
Jenkins [Thu, 26 Feb 2015 07:06:18 +0000 (07:06 +0000)]
Merge "Ensure arping always exits"

9 years agoMove pylint checks to pep8 testenv
armando-migliaccio [Wed, 25 Feb 2015 17:07:18 +0000 (09:07 -0800)]
Move pylint checks to pep8 testenv

This change proposes to move pylint violation checks to the pep8
testenv. This changes make pylint gating within Neutron as it would
participate in the vote.  Having pylint executed on a separate job makes
it difficult to handle potential unexpected breakages, because we need
to get infra involved. When we need to renable the job, it is equally
painful.

Furthermore, it also causes us to spin an extra node, when the checks
can easily be handled by the node for the pep8 job.

Finally, having pylint running with tox -epep8 "helps" developers
become aware of pylint violations sooner rather than later, if they
"forget" to run the pylint testenv too before submitting the change.

In order to make this patch succeed, a couple of pylint violation
checks were skipped, as they slipped in, whilst the job was non-voting.

We'll tackle them in due course.

Change-Id: Ida6ae44a837d1761f5ce3e8a92f8850407f5cd16

9 years agoChange L3 agent AdvancedService class to be non-singleton
Assaf Muller [Mon, 23 Feb 2015 22:07:30 +0000 (17:07 -0500)]
Change L3 agent AdvancedService class to be non-singleton

The idea behind the AdvancedServices (Metadata, *aaS) services
to be singletons was to (1) offer a way to get an instance of such
a service in a convinient manner, and to (2) ensure that only one
service registered per service type.

(1) Since the AdvancedService.instance method required an instance
of a L3 agent, this point was kind of missed. If you have a L3 agent
instance in your hand, just use it to access the service you're looking
for.

(2) This is now fulfilled by asserting that only one driver is registered
(per type) in the .add method.

The motivation to make them non-singletons is that:
a) They don't need to be
b) The code is simplified this way
c) I've been facing crazy issues during functional testing where we're
   constantly instantiating L3 agents, and the (singleton) metadata
   service was referencing the wrong configuration object. The service
   was re-initialized during a test, screwing up the configuration of
   other mid-run tests.

Closes-Bug: #1425759
Depends-On: I155aece9b7028f1bdd3d9709facef392b38aec27
Depends-On: I199f6a967c64e921624b397fa5b7dfc56572d63a
Change-Id: I192e4d12380346c53c8ae0246371ccc41a836c4c

9 years agoMerge "Nuage core plugin decomposition"
Jenkins [Wed, 25 Feb 2015 23:37:27 +0000 (23:37 +0000)]
Merge "Nuage core plugin decomposition"

9 years agoMerge "VMware NSXv: Added router-type to database model"
Jenkins [Wed, 25 Feb 2015 23:07:11 +0000 (23:07 +0000)]
Merge "VMware NSXv: Added router-type to database model"

9 years agoPasses the plugin context variable in the ML2 Extension Driver API
Shweta P [Wed, 4 Feb 2015 01:23:31 +0000 (20:23 -0500)]
Passes the plugin context variable in the ML2 Extension Driver API

Many neutron extensions(like portsecurity) use the plugin_context
variable instead of just the database session. This change
modifies the extension driver api to pass the plugin_context

Change request also modifies the extend_XXX resource api to use the
respective data model(network/subnet/port) passed to it.

Implements: blueprint extensions-in-ml2
Partially Implements: blueprint ml2-ovs-portsecurity
Closes-Bug: 1382448
Change-Id: Icf84615e5fee8b59cbc95ab9b634f1a49f4b56a3

9 years agoMerge "Refactor Pinger class"
Jenkins [Wed, 25 Feb 2015 18:15:57 +0000 (18:15 +0000)]
Merge "Refactor Pinger class"

9 years agoMerge "Fix misspellings words in neutron"
Jenkins [Wed, 25 Feb 2015 17:57:17 +0000 (17:57 +0000)]
Merge "Fix misspellings words in neutron"

9 years agodevref: added guidelines to maintain service entry points
Ihar Hrachyshka [Thu, 19 Feb 2015 16:56:42 +0000 (17:56 +0100)]
devref: added guidelines to maintain service entry points

Change-Id: I56b3ec90045f50ba707c0b32f8ec00925dbff644

9 years agoVMware NSXv: Added router-type to database model
Roey Chen [Wed, 25 Feb 2015 16:00:31 +0000 (08:00 -0800)]
VMware NSXv: Added router-type to database model

NSXv supports 'exclusive' and 'shared' router types, this patch adds
support for different router types to the plugin database model.
This doesn't add an additional migration script,
but overrides the existing one, adding a migration script isn't needed
since the plugin is still under development.

Change-Id: I05a595e5e12c8384612e0cc6eb0abc8e72ce3dc0
Signed-off-by: Roey Chen <roeyc@vmware.com>
9 years agoRemove discover from test requirements
Ihar Hrachyshka [Wed, 25 Feb 2015 14:20:31 +0000 (15:20 +0100)]
Remove discover from test requirements

The package is used to provide new unittest module features for python
installations older than 2.7. Since we don't support py26 target
anymore, the dependency is safe to kill.

Change-Id: Icb238d577d0dd30e091bdb65dcec5f695749dc7b

9 years agoAdd callbacks-based system to Neutron
armando-migliaccio [Tue, 3 Feb 2015 09:23:26 +0000 (01:23 -0800)]
Add callbacks-based system to Neutron

This system helps Neutron entities to cooperate in a loose manner.

This is especially important in face of the advanced service split, where each
service gets to live independently from the core. This is also useful to clean
up some of the tight coupling between ML2 and L3, or L3 and VPN/FW.

This work was touted to be part of the effort on the v3 plugin API design.
(aka perestroika), however that is not going to bear the expected fruits
in time for the Kilo release. This framework is instead pretty crucial to
cleaning up the split between the various Neutron components and some of
the coupling between ML2 and DVR.

Subsequent patches will show how this framework is put into practice in relation
to cleaning up/decoupling the various Neutron components, however, a devref
how-to is added in the context of this patch to further clarify how the proposed
mechanism works and can be used.

Related-blueprint: services-split
Related-blueprint: plugin-interface-perestroika

Change-Id: I498aeb0773822707e82763f1f0022c580308bde0

9 years agoMerge "Make nova notifier work with sessions"
Jenkins [Wed, 25 Feb 2015 13:08:20 +0000 (13:08 +0000)]
Merge "Make nova notifier work with sessions"

9 years agoRefactor Pinger class
Cedric Brandily [Sat, 20 Dec 2014 22:27:30 +0000 (23:27 +0100)]
Refactor Pinger class

This change refactors Pinger class by:
* removing testcase attribute in order to reduce coupling between
  testcases and Pinger instances,
* defining client namespace in Pinger.__init__ instead of assert_*
  methods because it's required by daughter change.

Change-Id: I3aefbcaaa96bcd86319b2fb938b7c87f05cc882b

9 years agoCreate/Delete FIP Agent gateway port only if DVR Routers
Swaminathan Vasudevan [Thu, 19 Feb 2015 00:10:25 +0000 (16:10 -0800)]
Create/Delete FIP Agent gateway port only if DVR Routers

A recent patch for creating FloatingIP Agent gateway
port without RPC dependency was trying to create
FloatingIP Agent Gateway port for both Legacy and
DVR routers.
"Change-id: Ieaa79c8bf2b1e03bc352f9252ce22286703e3715"

This patch fixes the problem by checking for the router,
before it tries to create or delete a FloatingIP Agent
Gateway Port.

Change-Id: I588b518d2fffd3943abe6d70fb0308adbe46e974
Closes-Bug: #1423422

9 years agoMerge "Updated from global requirements"
Jenkins [Tue, 24 Feb 2015 21:42:05 +0000 (21:42 +0000)]
Merge "Updated from global requirements"

9 years agoFix misspellings words in neutron
Edgar Magana [Sat, 21 Feb 2015 07:31:56 +0000 (23:31 -0800)]
Fix misspellings words in neutron

All misspelled words found in neutron code have been fixed

Change-Id: I3872b8b08d6b8ea9c3973b32cdc9897a94b4cbbc
Closes-Bug: #1424139

9 years agoEnsure arping always exits
Terry Wilson [Tue, 24 Feb 2015 01:31:02 +0000 (19:31 -0600)]
Ensure arping always exits

It is possible for the arping process to hang if the interface is
removed while it is running. This patch adds a timeout to ensure
that the process eventually exits no matter what.

Change-Id: I60458b91e88b3fbd9fbc19c004e47a005b0ed408
Closes-Bug: #1425173

9 years agoMerge "Return 404 when executing router-list-on-l3-agent with invalid agent_id"
Jenkins [Tue, 24 Feb 2015 17:20:55 +0000 (17:20 +0000)]
Merge "Return 404 when executing router-list-on-l3-agent with invalid agent_id"

9 years agoMerge "Default route missing for IPv6 subnets in HA Router"
Jenkins [Tue, 24 Feb 2015 17:20:39 +0000 (17:20 +0000)]
Merge "Default route missing for IPv6 subnets in HA Router"

9 years agoMerge "OVS UT: Change misleading constants in veth tests"
Jenkins [Tue, 24 Feb 2015 16:25:39 +0000 (16:25 +0000)]
Merge "OVS UT: Change misleading constants in veth tests"

9 years agoMerge "test_ovs_dvr_neutron_agent: Use consistent variable names"
Jenkins [Tue, 24 Feb 2015 16:25:24 +0000 (16:25 +0000)]
Merge "test_ovs_dvr_neutron_agent: Use consistent variable names"

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Tue, 24 Feb 2015 16:15:57 +0000 (16:15 +0000)]
Updated from global requirements

Change-Id: Ie0f782d8e0f185c041b169f4831f33723840e8db

9 years agowsgi: remove explicit monkey_patch() call
Ihar Hrachyshka [Thu, 19 Feb 2015 11:58:17 +0000 (12:58 +0100)]
wsgi: remove explicit monkey_patch() call

All module consumers already monkey_patch() stdlib thru dummy entry
points located in neutron/cmd/eventlet/... There is no need to patch it
here.

Change-Id: I8c747f166aeb903ee8e69b3076c447f4fd9bc495

9 years agoMerge "Avoid fetching network in _commit_port_binding"
Jenkins [Tue, 24 Feb 2015 09:59:43 +0000 (09:59 +0000)]
Merge "Avoid fetching network in _commit_port_binding"

9 years agoMerge "VMware: Router Type Extension Support"
Jenkins [Tue, 24 Feb 2015 08:54:39 +0000 (08:54 +0000)]
Merge "VMware: Router Type Extension Support"

9 years agotest_ovs_dvr_neutron_agent: Use consistent variable names
YAMAMOTO Takashi [Tue, 24 Feb 2015 03:30:32 +0000 (12:30 +0900)]
test_ovs_dvr_neutron_agent: Use consistent variable names

Stop using expected_in_xxx_br.
Use expected_on_xxx_br consistently.

Change-Id: I5eb66eca6396cbf5a3e3384a442b211576371328

9 years agoNuage core plugin decomposition
ronak [Sat, 14 Feb 2015 00:11:02 +0000 (16:11 -0800)]
Nuage core plugin decomposition

Taking out Nuage's core plugin out of tree and putting
it at nuage's github repository.
https://github.com/nuage-networks/nuage-openstack-neutron

Change-Id: I6d02df85c7a2c307ad11442d0afdd50c64210af4
Partially-implements: blueprint core-vendor-decomposition
Closes-bug: #1422930

9 years agodevref: consider sphinx warnings as failures
Ihar Hrachyshka [Fri, 20 Feb 2015 14:05:07 +0000 (15:05 +0100)]
devref: consider sphinx warnings as failures

We previously introduced issues in our documentation due to not checking
for sphinx warnings [1], so let's enforce documentation validation.

This commit also fixes minor syntax issues caught by sphinx. Among
those, contribute.rst is now properly attached to ToC.

[1]: I48ab899077458d99eee6f643577d574106c1ca88

Change-Id: I9170883a20137c343f03d8b052399eacab4ae130

9 years agodevref: don't link to nonlocal images
Ihar Hrachyshka [Fri, 20 Feb 2015 14:01:46 +0000 (15:01 +0100)]
devref: don't link to nonlocal images

External images generate warnings for build-sphinx, and are not
supported for output formats other than html.

Change-Id: I9310577473982884897915dd29e09a2e4aaf51c7

9 years agodevref: fixed class name for test_migrations autodocumentation
Ihar Hrachyshka [Fri, 20 Feb 2015 13:54:43 +0000 (14:54 +0100)]
devref: fixed class name for test_migrations autodocumentation

The file name is different, so documentation was not properly generated
before.

Also fixed a docstring not to issue sphinx warning due to incorrect
indentation.

Change-Id: I48ab899077458d99eee6f643577d574106c1ca88

9 years agodevref: updated documentation for oslo-incubator
Ihar Hrachyshka [Fri, 20 Feb 2015 13:53:38 +0000 (14:53 +0100)]
devref: updated documentation for oslo-incubator

The project now has another name (oslo-incubator, not openstack-common).

Include the page into devref index.

Change-Id: I779d7cf35e0ec3f80fa6a53f12ed3ee98dd8c5cb

9 years agodevref: updated documentation for advanced services
Ihar Hrachyshka [Fri, 20 Feb 2015 13:51:08 +0000 (14:51 +0100)]
devref: updated documentation for advanced services

Now that we don't maintain the code for the services, we should not ship
documentation to it, but just refer to it.

Change-Id: Id0ced1196718204dda8d51b26715e2f845792ca1

9 years agoAvoid fetching network in _commit_port_binding
rossella [Thu, 12 Feb 2015 15:51:03 +0000 (16:51 +0100)]
Avoid fetching network in _commit_port_binding

There's no need to get the network from the DB in
_commit_port_binding since it's stored in the PortContext

Change-Id: Icd5200746dc8fbba336bd4e5714b90b9f89704c0

9 years agoVMware: Router Type Extension Support
Gary Kotton [Thu, 19 Feb 2015 13:55:14 +0000 (05:55 -0800)]
VMware: Router Type Extension Support

Provide a router type extension. This will enable defining the
type of edge appliance. That is, an exclusive edge or a shared
edge for routing services.

DocImpact

Change-Id: I1464d0390c0b3ee7658e7955e6433f2ac078a5fe

9 years agoOVS UT: Change misleading constants in veth tests
YAMAMOTO Takashi [Mon, 23 Feb 2015 05:28:02 +0000 (14:28 +0900)]
OVS UT: Change misleading constants in veth tests

Make them consistent with test_setup_physical_bridges case.

Change-Id: Ia1d39b498d563142b59cca2ff491bee7385ca3cf

9 years agotest_l2population: Use a fake mech driver instead of ofagent
YAMAMOTO Takashi [Tue, 27 Jan 2015 02:03:47 +0000 (11:03 +0900)]
test_l2population: Use a fake mech driver instead of ofagent

As ofagent mech driver is subject to be moved out of neutron tree
for vendor code decomposition, use a fake mech driver for UTs
instead.

An alternative to remove the relevant test cases was considered.
But it's still nice to have test cases involving multiple drivers.

Anyway using fake drivers rather than real ones for UTs like this
is a good thing.

Partial-Bug: #1412653
Related: blueprint core-vendor-decomposition
Change-Id: I4b0d344da9ccbda79482f64535396fcc1a495d0f

9 years agol2population_rpc: Make fdb_add_tun/fdb_remove_tun more flexible
YAMAMOTO Takashi [Thu, 23 Oct 2014 02:51:05 +0000 (11:51 +0900)]
l2population_rpc: Make fdb_add_tun/fdb_remove_tun more flexible

It's a preparation for the following ofagent changes.

Related: blueprint ofagent-flow-based-tunneling
Change-Id: I21318bd9f3b07ccc0ac026d7220d2f826a3325cf

9 years agoMake nova notifier work with sessions
Jamie Lennox [Wed, 17 Dec 2014 03:57:35 +0000 (13:57 +1000)]
Make nova notifier work with sessions

This allows a variety of additional authentication methods and gives us
keystone V3 auth for free.

DocImpact: Deprecates the nova_admin_* config options in favour of
putting nova config options in the [nova] section.

Closes-Bug: #1403686
Change-Id: Ia9941cd3e85f21cbd4db9eb3cef8b200131af9ce

9 years agoMerge "Remove remaining do_delete from unit tests"
Jenkins [Sun, 22 Feb 2015 10:39:58 +0000 (10:39 +0000)]
Merge "Remove remaining do_delete from unit tests"

9 years agoMerge "VMware NSXv: Add configuration options to nsx.ini"
Jenkins [Sun, 22 Feb 2015 08:48:37 +0000 (08:48 +0000)]
Merge "VMware NSXv: Add configuration options to nsx.ini"

9 years agoMerge "Move Floating IP processing to Router classes"
Jenkins [Sun, 22 Feb 2015 06:11:26 +0000 (06:11 +0000)]
Merge "Move Floating IP processing to Router classes"

9 years agoMerge "Improve exception handling in _process_router_update()"
Jenkins [Sat, 21 Feb 2015 08:54:12 +0000 (08:54 +0000)]
Merge "Improve exception handling in _process_router_update()"

9 years agoMerge "adopt namespace-less oslo imports"
Jenkins [Sat, 21 Feb 2015 05:32:54 +0000 (05:32 +0000)]
Merge "adopt namespace-less oslo imports"

9 years agoadopt namespace-less oslo imports
ronak [Thu, 19 Feb 2015 00:50:29 +0000 (16:50 -0800)]
adopt namespace-less oslo imports

Changing the leftovers that I found with latest code.
link: https://review.openstack.org/#/c/147215/
Change-Id: I5adbed9bbe9cb6e819dd2a8a72e7fbeee06fbf00
Closes-bug: #1423389

9 years agoMerge "Remove reference to self.services_sync"
Jenkins [Sat, 21 Feb 2015 00:08:16 +0000 (00:08 +0000)]
Merge "Remove reference to self.services_sync"

9 years agoMerge "VMWare NSXv: Add configuration params to nsx.ini"
Jenkins [Sat, 21 Feb 2015 00:07:06 +0000 (00:07 +0000)]
Merge "VMWare NSXv: Add configuration params to nsx.ini"

9 years agoMerge "VMWare NSXv: id fields should be nullable"
Jenkins [Sat, 21 Feb 2015 00:04:56 +0000 (00:04 +0000)]
Merge "VMWare NSXv: id fields should be nullable"

9 years agoMerge "Remove remaining uses of passing root_helper"
Jenkins [Sat, 21 Feb 2015 00:04:41 +0000 (00:04 +0000)]
Merge "Remove remaining uses of passing root_helper"

9 years agoMerge "Remove versioning import of novaclient"
Jenkins [Fri, 20 Feb 2015 23:23:08 +0000 (23:23 +0000)]
Merge "Remove versioning import of novaclient"

9 years agoMerge "Stale VXLAN and GRE tunnel port/flow deletion"
Jenkins [Fri, 20 Feb 2015 21:25:45 +0000 (21:25 +0000)]
Merge "Stale VXLAN and GRE tunnel port/flow deletion"

9 years agoMerge "Refactor to facilitate DVR scale performance"
Jenkins [Fri, 20 Feb 2015 21:22:28 +0000 (21:22 +0000)]
Merge "Refactor to facilitate DVR scale performance"

9 years agoMerge "Cisco Nexus ML2 Vendor decomposition"
Jenkins [Fri, 20 Feb 2015 21:02:15 +0000 (21:02 +0000)]
Merge "Cisco Nexus ML2 Vendor decomposition"

9 years agoMerge "Updated from global requirements"
Jenkins [Fri, 20 Feb 2015 18:35:22 +0000 (18:35 +0000)]
Merge "Updated from global requirements"

9 years agoMove Floating IP processing to Router classes
Carl Baldwin [Thu, 18 Dec 2014 17:48:19 +0000 (17:48 +0000)]
Move Floating IP processing to Router classes

Change-Id: Id0822f1c3d586c813a09e4b442a21d3cb52943d0
Partially-Implements: bp/restructure-l3-agent

9 years agoMerge "Enable pylint unnecessary-pass"
Jenkins [Fri, 20 Feb 2015 16:42:45 +0000 (16:42 +0000)]
Merge "Enable pylint unnecessary-pass"

9 years agoMerge "Enable pylint no-value-for-parameter"
Jenkins [Fri, 20 Feb 2015 16:38:53 +0000 (16:38 +0000)]
Merge "Enable pylint no-value-for-parameter"

9 years agoMerge "Enable pylint bad-super-call"
Jenkins [Fri, 20 Feb 2015 16:30:16 +0000 (16:30 +0000)]
Merge "Enable pylint bad-super-call"

9 years agoMerge "Enable 'free' pylint checks"
Jenkins [Fri, 20 Feb 2015 16:29:59 +0000 (16:29 +0000)]
Merge "Enable 'free' pylint checks"