]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
9 years agoMerge "Revert "Add the rebinding chance in _bind_port_if_needed""
Jenkins [Fri, 6 Mar 2015 22:31:55 +0000 (22:31 +0000)]
Merge "Revert "Add the rebinding chance in _bind_port_if_needed""

9 years agoMerge "oslo: sync all modules that depend on incubator log module"
Jenkins [Fri, 6 Mar 2015 22:28:36 +0000 (22:28 +0000)]
Merge "oslo: sync all modules that depend on incubator log module"

9 years agoMerge "Refactor the ProcessMonitor API"
Jenkins [Fri, 6 Mar 2015 22:24:06 +0000 (22:24 +0000)]
Merge "Refactor the ProcessMonitor API"

9 years agoMerge "Fix DB2 upgrade problem for Remove Hyper-V plugin"
Jenkins [Fri, 6 Mar 2015 21:43:30 +0000 (21:43 +0000)]
Merge "Fix DB2 upgrade problem for Remove Hyper-V plugin"

9 years agoMerge "Remove 'free' exclusions from pylint"
Jenkins [Fri, 6 Mar 2015 20:15:40 +0000 (20:15 +0000)]
Merge "Remove 'free' exclusions from pylint"

9 years agoMerge "Remove references to 0.0.0.0/0 in iptable rules"
Jenkins [Fri, 6 Mar 2015 17:22:04 +0000 (17:22 +0000)]
Merge "Remove references to 0.0.0.0/0 in iptable rules"

9 years agoRemove 'free' exclusions from pylint
Assaf Muller [Fri, 6 Mar 2015 14:35:39 +0000 (09:35 -0500)]
Remove 'free' exclusions from pylint

This is a comprehensive list of current pylint exclusions that
don't actually appear in the code.

Change-Id: Ifaeb4c9d3ed7cf2f85a35555004c830559ba2d2b

9 years agoRefactor the ProcessMonitor API
Miguel Angel Ajo [Tue, 10 Feb 2015 12:59:03 +0000 (12:59 +0000)]
Refactor the ProcessMonitor API

Refactor the ProcessMonitor API to reduce coupling to
ProcessManager, and stop replicating the whole API and
behavior of ProcessManager.

We introduced an abstract MonitoredProcess class to reduce
coupling, and allow other kinds of external processes
to be monitored too.

Partially Implements: blueprint agent-child-processes-status
Co-Authored-By: Mike Kolesnik <mkolesni@redhat.com>
Change-Id: I0da6071037f9728cc20403324e36c32116bcf00d

9 years agoFix DB2 upgrade problem for Remove Hyper-V plugin
Xu Han Peng [Fri, 6 Mar 2015 10:30:30 +0000 (18:30 +0800)]
Fix DB2 upgrade problem for Remove Hyper-V plugin

The recently added upgrade script to remove hyperv
neutron plugin breaks upgrade on DB2. This fix solves
this problme by using "1" instead of "true" in sql
when db2 is engine.

Change-Id: I1afdf66c25dbea46588ee7b205fa6394b08c1de8
Closes-Bug: 1429058

9 years agoMerge "Updated from global requirements"
Jenkins [Fri, 6 Mar 2015 09:43:11 +0000 (09:43 +0000)]
Merge "Updated from global requirements"

9 years agoMerge "Adding DB model changes for Nuage Plugin post decomposition"
Jenkins [Fri, 6 Mar 2015 09:41:26 +0000 (09:41 +0000)]
Merge "Adding DB model changes for Nuage Plugin post decomposition"

9 years agoMerge "Decouple L3 and VPN service plugins during router operations"
Jenkins [Fri, 6 Mar 2015 03:59:22 +0000 (03:59 +0000)]
Merge "Decouple L3 and VPN service plugins during router operations"

9 years agoMerge "Move Neutron Policy pages into the tree"
Jenkins [Fri, 6 Mar 2015 01:18:03 +0000 (01:18 +0000)]
Merge "Move Neutron Policy pages into the tree"

9 years agoMerge "Move _set_subnet_arp_info to dvr_router"
Jenkins [Fri, 6 Mar 2015 01:13:25 +0000 (01:13 +0000)]
Merge "Move _set_subnet_arp_info to dvr_router"

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Thu, 5 Mar 2015 23:44:09 +0000 (23:44 +0000)]
Updated from global requirements

Change-Id: If75799dc4c4e92f1bb2bd58a2604a82a9d7c4e59

9 years agoMerge "ofagent: Vendor code decomposition"
Jenkins [Thu, 5 Mar 2015 23:19:45 +0000 (23:19 +0000)]
Merge "ofagent: Vendor code decomposition"

9 years agoMerge "contribute.rst: Fill in the current status of ofagent"
Jenkins [Thu, 5 Mar 2015 23:19:32 +0000 (23:19 +0000)]
Merge "contribute.rst: Fill in the current status of ofagent"

9 years agoMerge "Add cisco decomposition progress to chart"
Jenkins [Thu, 5 Mar 2015 21:52:11 +0000 (21:52 +0000)]
Merge "Add cisco decomposition progress to chart"

9 years agoMerge "Decompose the VMware plugin"
Jenkins [Thu, 5 Mar 2015 21:44:56 +0000 (21:44 +0000)]
Merge "Decompose the VMware plugin"

9 years agoMerge "Add ability to run pylint check on modified files only"
Jenkins [Thu, 5 Mar 2015 21:19:24 +0000 (21:19 +0000)]
Merge "Add ability to run pylint check on modified files only"

9 years agoMerge "Add InvalidIpForNetwork and InvalidIpForSubnet exception"
Jenkins [Thu, 5 Mar 2015 21:15:29 +0000 (21:15 +0000)]
Merge "Add InvalidIpForNetwork and InvalidIpForSubnet exception"

9 years agoMove Neutron Policy pages into the tree
Kyle Mestery [Thu, 5 Mar 2015 17:34:05 +0000 (17:34 +0000)]
Move Neutron Policy pages into the tree

The information from the NeutronPolicies wiki page [1] is useful. But
having it in a static wiki is less so. Moving this into the Neutron
documentation in-tree will allow for an easier maintenance of this
information.

[1] https://wiki.openstack.org/wiki/NeutronPolicies

Change-Id: I23cada04031e00f48c0f6dc26a992ed204195526

9 years agoAdding DB model changes for Nuage Plugin post decomposition
ronak [Wed, 25 Feb 2015 22:55:18 +0000 (14:55 -0800)]
Adding DB model changes for Nuage Plugin post decomposition

Due to decomposition of plugin work initiated during K release,
nuage plugin have gone through much changes without them being
incorporated upstream. But as per the decomp spec guideline,
we need to keep migration and model definition upstream.
So adding new schema along with migration script into K release.

Change-Id: Ia825c764917b15910bae232edc340fa315b9ffab
Closes-bug: #1424113

9 years agoMerge "Refactor DVR _arp_entry methods"
Jenkins [Thu, 5 Mar 2015 19:33:51 +0000 (19:33 +0000)]
Merge "Refactor DVR _arp_entry methods"

9 years agoMerge "Fix test tautology for DVR"
Jenkins [Thu, 5 Mar 2015 17:49:47 +0000 (17:49 +0000)]
Merge "Fix test tautology for DVR"

9 years agoAdd ability to run pylint check on modified files only
armando-migliaccio [Thu, 26 Feb 2015 05:53:27 +0000 (21:53 -0800)]
Add ability to run pylint check on modified files only

Change c0aa0b fused pylint with the checks done with the pep8 testenv.
This has the drawback of increasing the execution time of the command
'tox -epep8' fourfold.

This change introduces the ability to execute the pylint check on just
the list of python files affected by a specific patch. For instance,
this can be done with the following command:

   tox -epep8 HEAD~1

A kind reminder is added, so that folks who end up noticing the spike of
time execution when they run tox -epep8 without posargs, can learn how
they can get their precious minutes back.

Change-Id: Ie2a2b3a0171908d8d8aa8713baaa875adccb7efe

9 years agoFix test tautology for DVR
armando-migliaccio [Thu, 5 Mar 2015 16:37:24 +0000 (08:37 -0800)]
Fix test tautology for DVR

Change 17cae2c added tests that pass regardless of whatever code they
are supposed to validate. If one asked for a bad example of how not to
write/review test, change 17cae2c would be one of it.

This fix is my way to repent.

Change-Id: Ibb27f24380beab99388c0a6dc187b75e0852761e

9 years agoMerge "Change metadata driver unit tests to use monitored spawn"
Jenkins [Thu, 5 Mar 2015 15:51:02 +0000 (15:51 +0000)]
Merge "Change metadata driver unit tests to use monitored spawn"

9 years agoDecompose the VMware plugin
Salvatore Orlando [Mon, 2 Mar 2015 18:14:38 +0000 (10:14 -0800)]
Decompose the VMware plugin

This patch remove all the business logic pertaining to the VMware
plugin. The following modules are left in openstack/neutron:
- plugin-specific API extension declarations
- database models (and a module with constants they use)
- integration module pointing to the external repository

Change-Id: I8a01a977889b36015a9cfa900173c05bfd516457
Partially-Implements: blueprint core-vendor-decomposition

9 years agoRemove references to 0.0.0.0/0 in iptable rules
vijaychundury [Wed, 4 Mar 2015 13:41:14 +0000 (13:41 +0000)]
Remove references to 0.0.0.0/0 in iptable rules

Iptables removes 0.0.0.0/0 as rule source (-s) because any packet
matches the filter. Based on the discussion in the patch [1],
references to 0.0.0.0/0 are removed in the current patch.

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

Closes-Bug: #1428127
Change-Id: I8cd96438ef21edfd75483eec3ebfebcee24a8300

9 years agoMerge "Refactor management of namespaces in the L3 Agent"
Jenkins [Thu, 5 Mar 2015 14:40:52 +0000 (14:40 +0000)]
Merge "Refactor management of namespaces in the L3 Agent"

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Thu, 5 Mar 2015 04:51:43 +0000 (04:51 +0000)]
Updated from global requirements

Change-Id: I60c3f61075530c74eb062ec6437078e6deba289e

9 years agoMerge "Metaplugin decomposition"
Jenkins [Thu, 5 Mar 2015 04:49:15 +0000 (04:49 +0000)]
Merge "Metaplugin decomposition"

9 years agoChange metadata driver unit tests to use monitored spawn
Assaf Muller [Wed, 11 Feb 2015 21:11:33 +0000 (16:11 -0500)]
Change metadata driver unit tests to use monitored spawn

The modified unit test is currently the sole user of the
unmonitored _spawn_metadata_proxy. We must remove this usage so that
when the L3 agent manages the metadata proxy for HA routers,
the unmanaged methods may be removed.

Related-Bug: #1402010
Change-Id: Ib57e63dcadc378ac51702949ed24901d403002dd

9 years agoMerge "ml2 extension driver: more tests, fix data argument inconsistency"
Jenkins [Thu, 5 Mar 2015 02:07:23 +0000 (02:07 +0000)]
Merge "ml2 extension driver: more tests, fix data argument inconsistency"

9 years agoDecouple L3 and VPN service plugins during router operations
armando-migliaccio [Fri, 6 Feb 2015 20:06:31 +0000 (12:06 -0800)]
Decouple L3 and VPN service plugins during router operations

This change leverages the event registry to decouple L3 and VPN
when checking whether certain router operations can be permitted
or not. Follow-up changes will clean up the rest of the coupling.

This clean-up is required because the existing code couples the two
service plugins together, as L3 needs to know about a higher-level
service, like VPN. A similar coupling would be needed for any other
service that might be using or interested in knowning about router
resources; in a world where advanced services have a life of their
own this hardly works or it leads to the tight coupling
experienced so far, which is not the right way to go about it.

Depends-on: I6ac366b329466df6c79a3683e6374feca76773a0
Related-blueprint: services-split
Related-blueprint: plugin-interface-perestroika

Change-Id: Iada03606982670111ae911549a3aad85ed358bea

9 years agoMerge "Use oslo_config choices support"
Jenkins [Thu, 5 Mar 2015 01:27:22 +0000 (01:27 +0000)]
Merge "Use oslo_config choices support"

9 years agoMerge "Introduce ip address monitor"
Jenkins [Thu, 5 Mar 2015 01:14:11 +0000 (01:14 +0000)]
Merge "Introduce ip address monitor"

9 years agoMerge "Remove HyperVNeutronPlugin"
Jenkins [Thu, 5 Mar 2015 01:12:13 +0000 (01:12 +0000)]
Merge "Remove HyperVNeutronPlugin"

9 years agoMove _set_subnet_arp_info to dvr_router
Carl Baldwin [Mon, 23 Feb 2015 20:57:02 +0000 (20:57 +0000)]
Move _set_subnet_arp_info to dvr_router

Further teasing DVR apart from the agent and other router types.  This
change illustrates the need to use plugin_rpc and context from the
agent.  It leaves this as a dependence of dvr_router on the instance
of the agent.  So, when the agent creates a dvr_router, it passes
itself in as an argument.  It doesn't do this with other router types.

I would like to eliminate the dependence of RPC while processing a
router.  However, this is just a refactor and at least decouples it as
much as possible and isolates the dependence to DVR only.

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

9 years agoRefactor DVR _arp_entry methods
Carl Baldwin [Mon, 23 Feb 2015 20:20:24 +0000 (20:20 +0000)]
Refactor DVR _arp_entry methods

This should decouple the DVR stuff from the agent.  This moves some
methods to dvr_router to encapulate them better.  It removes a
reference to fullsync from DVR to better separate concerns.

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

9 years agoMerge "Fix parameters in exception handling"
Jenkins [Wed, 4 Mar 2015 22:14:37 +0000 (22:14 +0000)]
Merge "Fix parameters in exception handling"

9 years agoMerge "Progress chart for MidoNet"
Jenkins [Wed, 4 Mar 2015 21:37:15 +0000 (21:37 +0000)]
Merge "Progress chart for MidoNet"

9 years agoRefactor management of namespaces in the L3 Agent
Miguel Lavalle [Fri, 16 Jan 2015 04:16:01 +0000 (22:16 -0600)]
Refactor management of namespaces in the L3 Agent

Creates classes representing the 3 types of namespaces handled by the L3 agent:
router, snat and fip.

The scope of this change is:

- Creation and deletion methods are provided for each namespace class
- Creation and deletion of router and snat namespaces are moved to the router
  classes. These namespaces are now members of the corresponding router class
- Invocation of Fip namespace creation and deletion is left in the agent, since
  the agent owns it
- A context manager is provided to move the namespaces (router and snat)
  cleanup code out of the agent

A follow up patchset will add methods to create and delete interfaces in the
namespaces. These methods are intended to be used by the router classes

Change-Id: I54b14e593ded6b2990d57a3ae9d598a699ae133e
Partially-Implements: bp restructure-l3-agent

9 years agoMerge "Prevent direct port-delete of FIP Agent GW and CSNAT"
Jenkins [Wed, 4 Mar 2015 21:04:54 +0000 (21:04 +0000)]
Merge "Prevent direct port-delete of FIP Agent GW and CSNAT"

9 years agoMerge "Default the Linuxbridge agent to enabling VXLAN"
Jenkins [Wed, 4 Mar 2015 21:04:37 +0000 (21:04 +0000)]
Merge "Default the Linuxbridge agent to enabling VXLAN"

9 years agoMerge "Imported Translations from Transifex"
Jenkins [Wed, 4 Mar 2015 19:35:19 +0000 (19:35 +0000)]
Merge "Imported Translations from Transifex"

9 years agoMerge "Do not run neutron-ns-metadata-proxy as root on dhcp agent"
Jenkins [Wed, 4 Mar 2015 17:20:49 +0000 (17:20 +0000)]
Merge "Do not run neutron-ns-metadata-proxy as root on dhcp agent"

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Wed, 4 Mar 2015 06:14:39 +0000 (06:14 +0000)]
Imported Translations from Transifex

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

Change-Id: Icea9a7657461ad5e7b44402696dda9a64fdd5e19

9 years agoMerge "test_metadata_agent: don't check implementation details"
Jenkins [Wed, 4 Mar 2015 04:00:08 +0000 (04:00 +0000)]
Merge "test_metadata_agent: don't check implementation details"

9 years agoIntroduce ip address monitor
Assaf Muller [Sun, 22 Feb 2015 00:28:54 +0000 (19:28 -0500)]
Introduce ip address monitor

In Juno, we used keepalived notifier scripts to report the local
state of an HA router's state. These have been found to be
unreliable. The proposed approach is to not use them altogether.
Instead, monitor the omnipresent VIP on the HA device - It is
only configured on the master instance. In order to do that,
we'll use the 'ip monitor address' wrapper introduced in this patch
to get address change events as they happen to avoid polling.

Related-Bug: #1402010
Change-Id: Icc2c07efb7e20008ff5b07d7df2104e6099091d7

9 years agoMerge "Simplify prepare_veth_pairs in functional tests"
Jenkins [Wed, 4 Mar 2015 00:12:14 +0000 (00:12 +0000)]
Merge "Simplify prepare_veth_pairs in functional tests"

9 years agoMerge "Removing a router twice from the same agent shouldn't cause an error"
Jenkins [Tue, 3 Mar 2015 23:12:37 +0000 (23:12 +0000)]
Merge "Removing a router twice from the same agent shouldn't cause an error"

9 years agoMerge "Extend test coverage for iptables_firewall.py"
Jenkins [Tue, 3 Mar 2015 22:36:19 +0000 (22:36 +0000)]
Merge "Extend test coverage for iptables_firewall.py"

9 years agoAdd cisco decomposition progress to chart
Henry Gessau [Sun, 1 Mar 2015 15:47:41 +0000 (10:47 -0500)]
Add cisco decomposition progress to chart

Change-Id: I6bb923ebf1f80a8287f2beade9f57a24da66b79d
Partially-implements: blueprint core-vendor-decomposition

9 years agoMerge "Log tenant ports if subnet could not be deleted"
Jenkins [Tue, 3 Mar 2015 18:44:22 +0000 (18:44 +0000)]
Merge "Log tenant ports if subnet could not be deleted"

9 years agooslo: sync all modules that depend on incubator log module
Ihar Hrachyshka [Thu, 26 Feb 2015 23:00:24 +0000 (00:00 +0100)]
oslo: sync all modules that depend on incubator log module

We're going to switch to oslo.log, so we need to untangle incubator
modules from the old log module. This is achieved by synchronizing all
the modules that used the module before from oslo-incubator.

Note that incubator modules now use standard logging module (and not
e.g. oslo.log).

The following modules (and their dependencies) are synced:
- eventlet_backdoor
- fileutils
- loopingcall
- periodic_task
- policy
- service
- systemd
- threadgroup
- versionutils

The latest commit in oslo-incubator at the moment of sync is:
f989c4397d7e83c3e73e8da01a9f27bf4ca38b73

Changes to modules are minor and hence are not expected to break
anything.

Change-Id: I360863a5a4fa6a179c6884cff84553a35d889719
Related-Bug: #1425013

9 years agotest_metadata_agent: don't check implementation details
Ihar Hrachyshka [Fri, 27 Feb 2015 12:35:22 +0000 (13:35 +0100)]
test_metadata_agent: don't check implementation details

TestUnixDomainMetadataProxy tests too many implementation details when
checking cases of existing and non-existing socket file. Reduce mock
checks to the minimum needed to test for expected behaviour.

Otherwise test may catch wrong isdir() calls (f.e. when policies are
initialized) and fail (I experienced it in local checkout).

Change-Id: I0f85730e5611a71290542f23f8bdcaaaadbef42c

9 years agoProgress chart for MidoNet
Jaume Devesa [Mon, 2 Mar 2015 12:54:10 +0000 (13:54 +0100)]
Progress chart for MidoNet

This patch filles the progress chart for MidoNet plugin decompositon.

Change-Id: I4444b88b253cf13b04916164c65c41c614f41e95

9 years agoMerge "Provide routes for neighbor IPv4 subnets"
Jenkins [Tue, 3 Mar 2015 15:54:54 +0000 (15:54 +0000)]
Merge "Provide routes for neighbor IPv4 subnets"

9 years agoMerge "Adds migration script for Hyper-V Plugin tables"
Jenkins [Tue, 3 Mar 2015 15:30:30 +0000 (15:30 +0000)]
Merge "Adds migration script for Hyper-V Plugin tables"

9 years agoExtend test coverage for iptables_firewall.py
Miguel Angel Ajo [Fri, 6 Feb 2015 12:10:52 +0000 (12:10 +0000)]
Extend test coverage for iptables_firewall.py

Before refactoring _remove_unused_security_group_info, we
found a few corner cases that were not tested. We ensure
with this test that sg_rules and sg_members of the firewall
object are properly cleaned up when the objects they
keep are not referenced anymore.

Partially implements blueprint refactor-iptables-firewall-driver

Change-Id: I44da9ddddf7ba85ba4b76ecc835155c8fb813d90

9 years agoDefault the Linuxbridge agent to enabling VXLAN
Kyle Mestery [Tue, 3 Mar 2015 14:57:31 +0000 (14:57 +0000)]
Default the Linuxbridge agent to enabling VXLAN

Linux kernels from 3.7 and up have supported VXLAN with Linuxbridge.
I think it's time we default to enabling this support in the
Linuxbridge agent in Neutron as well.

DocImpact

Change-Id: I8a99c973b4816e3a2845cdb8abd71d6250bc4800

9 years agoMerge "Make listing security groups faster"
Jenkins [Tue, 3 Mar 2015 14:29:29 +0000 (14:29 +0000)]
Merge "Make listing security groups faster"

9 years agoRemove HyperVNeutronPlugin
Claudiu Belu [Thu, 5 Feb 2015 20:08:27 +0000 (22:08 +0200)]
Remove HyperVNeutronPlugin

HyperVNeutronPlugin is hereby removed, as it is outdated
and it is no longer needed, thanks to Ml2Plugin. All of its
users should switch to Ml2Plugin.

The database tables 'hyperv_vlan_allocations' and
'hyperv_network_bindings' will no longer be used, since their
consumer will be removed.

Adds database migration script which will move all the existent
entries in the mentioned tables to their Ml2 equivalent ones.

Partially-implements: blueprint core-vendor-decomposition

Change-Id: If02c4761d9653dcd81fc0043ecce86a3b149dd99

9 years agoMerge "Avoid DetachedInstanceError after session rollback"
Jenkins [Tue, 3 Mar 2015 11:42:08 +0000 (11:42 +0000)]
Merge "Avoid DetachedInstanceError after session rollback"

9 years agoMerge "Avoid ObjectDeletedError while accessing deleted binding"
Jenkins [Tue, 3 Mar 2015 07:59:34 +0000 (07:59 +0000)]
Merge "Avoid ObjectDeletedError while accessing deleted binding"

9 years agoml2 extension driver: more tests, fix data argument inconsistency
Isaku Yamahata [Fri, 17 Oct 2014 08:35:55 +0000 (17:35 +0900)]
ml2 extension driver: more tests, fix data argument inconsistency

This patch adds more tests for ML2 extension driver.
It also fixes a minor bug which was revealed.

The data argument for process/update method of extension driver
was inconsist. some are given data like
{'resource': {'arg': 'value'...}}. But some are given one like
{'arg': 'value'}.
This inconsistency needs to be fixed so that argument is
{'arg': 'value'}. Given the argument is known to be network,
there is no point to carry outer dictionary.

Partially Implements: blueprint ml2-ovs-portsecurity
Change-Id: I4614c3ba5eff0ace46cc928517e31c14b7b2e448

9 years agoUse oslo_config choices support
Eric Brown [Wed, 25 Feb 2015 23:32:50 +0000 (15:32 -0800)]
Use oslo_config choices support

The oslo_config library added support for a choices keyword argument in
version 1.2.0a3.  This commit leverages the use of choices for StrOpts in
Neutron's configuration.

References:
http://docs.openstack.org/developer/oslo.config/#a3
https://bugs.launchpad.net/oslo-incubator/+bug/1123043

Change-Id: I2f935731ed7e1dea6d297dd72960d01cb8859656

9 years agoMetaplugin decomposition
Itsuro Oda [Wed, 21 Jan 2015 06:12:10 +0000 (15:12 +0900)]
Metaplugin decomposition

The main code of Metaplugin is available here:
https://github.com/ntt-sic/networking-metaplugin

Change-Id: I9bf6609df4bbe5ed679fb42156f8dea4c87303c6
Partially-implements: blueprint core-vendor-decomposition
Closes-bug: #1415304

9 years agoofagent: Vendor code decomposition
YAMAMOTO Takashi [Mon, 26 Jan 2015 07:41:24 +0000 (16:41 +0900)]
ofagent: Vendor code decomposition

networking-ofagent is now available on StackForge.
(http://git.openstack.org/cgit/stackforge/networking-ofagent)

Partially-implements: blueprint core-vendor-decomposition
Closes-Bug: #1412653
Change-Id: I8a5bd10a346df5ec726635c47f18bb5c472823ed

9 years agocontribute.rst: Fill in the current status of ofagent
YAMAMOTO Takashi [Mon, 2 Mar 2015 21:45:17 +0000 (06:45 +0900)]
contribute.rst: Fill in the current status of ofagent

Partially-implements: blueprint core-vendor-decomposition
Partial-Bug: #1412653
Change-Id: I2bc9a8aa0d4036f2cc15f49e73a019fcd9b4215c

9 years agoMerge "PLUMgrid plugin decomposition"
Jenkins [Mon, 2 Mar 2015 19:37:32 +0000 (19:37 +0000)]
Merge "PLUMgrid plugin decomposition"

9 years agoMerge "Improve structure of Vendor Decomposition progress chart"
Jenkins [Mon, 2 Mar 2015 19:37:15 +0000 (19:37 +0000)]
Merge "Improve structure of Vendor Decomposition progress chart"

9 years agoPrevent direct port-delete of FIP Agent GW and CSNAT
Swaminathan Vasudevan [Thu, 26 Feb 2015 21:29:26 +0000 (13:29 -0800)]
Prevent direct port-delete of FIP Agent GW and CSNAT

FloatingIP Agent GW Port and Centralized SNAT port
that are currently used by DVR in FloatingIP and
SNAT Namespaces respectively should not be allowed
to delete directly using the Port-delete command by
an admin.

This patch fixes the above stated issue by adding the
respective device-owners to the router_device_owners
list in l3_dvr_db.py

Change-Id: Ibdddf2af348907d2ec7513693d546739e16437dc
Closes-Bug: #1425504

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 agoPLUMgrid plugin decomposition
Fawad Khaliq [Sat, 28 Feb 2015 19:30:04 +0000 (11:30 -0800)]
PLUMgrid plugin decomposition

As part of the plugin decomposition work, this change
removes PLUMgrid plugin code from Neutron and moves it
to networking-plumgrid repo [1]. Plugin code, config,
drivers and unit test cases are all moved to
networking-plumgrid.

Updated vendor decomposition progress chart

[1] https://github.com/stackforge/networking-plumgrid

Partially-implements: blueprint core-vendor-decomposition
Closes-bug: #1426752
Change-Id: I34c952d1c259f44ed8028ded0b58a5db908dd245

9 years agoImprove structure of Vendor Decomposition progress chart
armando-migliaccio [Mon, 2 Mar 2015 12:05:01 +0000 (04:05 -0800)]
Improve structure of Vendor Decomposition progress chart

After a few commits started being proposed, it became clear that, in
order to minimize merge conflicts, or potential errors with hyperlinks,
the structure had to change/improve slightly.

This patch proposes a different structure that aims at addressing
this concern.

Partial-implements: blueprint core-vendor-decomposition

Change-Id: I47ab4f946b88f0e4450908aedb1718d99435ff1d

9 years agoRemoving a router twice from the same agent shouldn't cause an error
Yoni Shafrir [Wed, 21 Jan 2015 06:25:50 +0000 (08:25 +0200)]
Removing a router twice from the same agent shouldn't cause an error

When we remove a router from an agent that has already been
unscheduled from we raise an exception that eventually causes an error.
The method '_unbind_router' raises a 'RouterNotHostedByL3Agent' exception
on failure. In both cases the actual removal of the router
from the same agent has no effect.

The solution is to stop raising 'RouterNotHostedByL3Agent' so
that _unbind_router() being invoked without error can indicate that
the router is no longer bound.

This solution matches the behaviour found when trying
to schedule a router to the same agent twice.

This change is a result of the discussion in:

https://review.openstack.org/#/c/144681/2

Closes-Bug: #1406705

Change-Id: I015bfc0fde11ba4f39417e4c134faa8132cb3eac

9 years agoSimplify prepare_veth_pairs in functional tests
Cedric Brandily [Fri, 27 Feb 2015 20:54:06 +0000 (20:54 +0000)]
Simplify prepare_veth_pairs in functional tests

This change simplifies prepare_veth_pairs[1] as optional arguments are
never used by prepare_veth_pairs callers and uses create_veth.

This changes prepares to transform BaseLinuxTestCase[1] and
BaseOVSLinuxTestCase[1] methods in to helper methods.

[1] in neutron.tests.functional.agent.linux.base

Change-Id: I2e50057023bbf7575051f04b65cacc093338938a

9 years agoAdd InvalidIpForNetwork and InvalidIpForSubnet exception
Qin Zhao [Tue, 16 Sep 2014 07:17:44 +0000 (15:17 +0800)]
Add InvalidIpForNetwork and InvalidIpForSubnet exception

When posting an 'attach interface' request to Nova with an invalid
ip for defined network, Nova returns an HTTP 500 error. In fact,
Neutron returns 'InvalidInput' error, but Neutron client is not able
to translate this error to a specific exception. So that a general
'BadRequest' exception is thrown. Neutron client and Nova need a more
specific Neutron error type, in order to address and translate the
error in to a proper Nova exception.

APIImpact

Change-Id: Id4d3108234a198c0eb75237ea8991a72bd3cc4bb
Partial-Bug: 1369871

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