]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoL3 Metering label as shared
Sylvain Afchain [Thu, 30 Jan 2014 10:42:08 +0000 (11:42 +0100)]
L3 Metering label as shared

With this patch metering labels can be set
as shared so that the rules associated with
this label will be applied to all routers for
all tenants.

Also changed all attributes on metering labels
to not allow updates ('allow_put': False),
since there are no update methods.

Partially implements
blueprint l3-metering-mgnt-ext

DocImpact

Change-Id: Ice405585fc50786d52eecc35c01605ac0e9550ac

10 years agoMerge "Remove useless check in _rpc_update_firewall"
Jenkins [Fri, 12 Sep 2014 17:41:35 +0000 (17:41 +0000)]
Merge "Remove useless check in _rpc_update_firewall"

10 years agoMerge "Passing admin tenant name to EOS"
Jenkins [Fri, 12 Sep 2014 17:33:06 +0000 (17:33 +0000)]
Merge "Passing admin tenant name to EOS"

10 years agoMerge "Use renamed _fail_second_call() in cisco nexus tests"
Jenkins [Fri, 12 Sep 2014 17:32:49 +0000 (17:32 +0000)]
Merge "Use renamed _fail_second_call() in cisco nexus tests"

10 years agoMerge "Add L3 VRRP HA base classes"
Jenkins [Fri, 12 Sep 2014 13:12:30 +0000 (13:12 +0000)]
Merge "Add L3 VRRP HA base classes"

10 years agoMerge "UTs: Disable auto deletion of ports/subnets/nets"
Jenkins [Fri, 12 Sep 2014 12:51:41 +0000 (12:51 +0000)]
Merge "UTs: Disable auto deletion of ports/subnets/nets"

10 years agoMerge "ofagent: Remove broken XenAPI support"
Jenkins [Fri, 12 Sep 2014 12:30:57 +0000 (12:30 +0000)]
Merge "ofagent: Remove broken XenAPI support"

10 years agoMerge "ofagent: Clean up logging"
Jenkins [Fri, 12 Sep 2014 12:30:42 +0000 (12:30 +0000)]
Merge "ofagent: Clean up logging"

10 years agoMerge "Remove binding:profile update from Mellanox ML2 MD"
Jenkins [Fri, 12 Sep 2014 01:07:02 +0000 (01:07 +0000)]
Merge "Remove binding:profile update from Mellanox ML2 MD"

10 years agoMerge "Add the unit tests for ml2.rpc module"
Jenkins [Thu, 11 Sep 2014 19:14:57 +0000 (19:14 +0000)]
Merge "Add the unit tests for ml2.rpc module"

10 years agoMerge "Remove absolute path in KillFilter for metadata-proxy"
Jenkins [Thu, 11 Sep 2014 18:22:16 +0000 (18:22 +0000)]
Merge "Remove absolute path in KillFilter for metadata-proxy"

10 years agoMerge "NSX: Correct allowed_address_pair return value on create_port"
Jenkins [Thu, 11 Sep 2014 15:34:26 +0000 (15:34 +0000)]
Merge "NSX: Correct allowed_address_pair return value on create_port"

10 years agoMerge "Fix comments in api.rpc.handlers"
Jenkins [Thu, 11 Sep 2014 09:51:00 +0000 (09:51 +0000)]
Merge "Fix comments in api.rpc.handlers"

10 years agoMerge "Remove second call to get_subnets in delete_subnet"
Jenkins [Thu, 11 Sep 2014 09:32:01 +0000 (09:32 +0000)]
Merge "Remove second call to get_subnets in delete_subnet"

10 years agoMerge "Avoid auto-scheduling for distributed routers"
Jenkins [Thu, 11 Sep 2014 07:25:36 +0000 (07:25 +0000)]
Merge "Avoid auto-scheduling for distributed routers"

10 years agoofagent: Remove broken XenAPI support
YAMAMOTO Takashi [Thu, 11 Sep 2014 03:00:13 +0000 (12:00 +0900)]
ofagent: Remove broken XenAPI support

ofagent has code for agent-on-DomU support inherited from OVS agent.
However, it's incomplete and broken.  Because ofagent uses a direct
OpenFlow channel instead of ovs-ofctl command to program a switch,
the method to use the special rootwrap can not work.

Closes-Bug: #1368006
Change-Id: I0bb25a296d1f1e65c233ece6deaef6c095d78707

10 years agoMerge "Changes to support FWaaS in a DVR based environment"
Jenkins [Thu, 11 Sep 2014 00:28:51 +0000 (00:28 +0000)]
Merge "Changes to support FWaaS in a DVR based environment"

10 years agoPassing admin tenant name to EOS
Shashank Hegde [Mon, 8 Sep 2014 22:05:30 +0000 (15:05 -0700)]
Passing admin tenant name to EOS

The Arista ML2 plugin was not passing the admin tenant name to EOS without which
it is not possible to authenticate with keystone using just the admin name
and password. This patch passes the admin tenant name along with the admin
credentials.

Change-Id: I6c8b872087d17da2c3de43186d1916fc368dd786
Closes-Bug: 1359417

10 years agoRemove useless check in _rpc_update_firewall
Cedric Brandily [Wed, 27 Aug 2014 09:35:41 +0000 (11:35 +0200)]
Remove useless check in _rpc_update_firewall

Firewall_db_mixin.update_firewall returns an updated firewall or raises
an error (if the firewall is not found), that's why checking if its
result is evaluated to False is not required

Change-Id: Ib4e2fa0920783728b8e1cc8597b3edf78e098b52

10 years agoUse renamed _fail_second_call() in cisco nexus tests
Henry Gessau [Wed, 10 Sep 2014 03:50:09 +0000 (23:50 -0400)]
Use renamed _fail_second_call() in cisco nexus tests

In commit 5e4b0c6fc6670ea036d801ce53444272bc311929 NeutronDbPluginV2TestCase
_do_side_effect() was renamed to _fail_second_call(), but the nexus test cases
were not updated. The tests still worked because they check for
HTTPInternalServerError which is the end result of the server encountering
"AttributeError: object has no attribute '_do_side_effect'". So the fault
injection still worked, but not in the way intended.

Note: the monolithic nexus plugin is not updated here since it is being
removed from the tree.

Closes-bug: #1367552

Change-Id: I083285fff5144d8dc35bd5b64faa7e400c68bcff

10 years agoAdd L3 VRRP HA base classes
Sylvain Afchain [Mon, 26 May 2014 12:28:06 +0000 (14:28 +0200)]
Add L3 VRRP HA base classes

Add L3 HA base classes on the plugin side. A new admin-only ha
attribute is added to the API router resource. Conversion from
or to HA router is possible. Each tenant gets a single network
used for HA traffic. The tenant_id for that network is set to
'' so that it isn't visible via the CLI or GUI. A new table
is added to map a tenant to its HA network. Specific HA
attributes are added to the extra router attributes table.
Finally, each HA router gets a port on the HA network, per
l3 agent it is scheduled on. A new table is added to track
these bindings. A new table is added in order to track
VRID allocations.

DVR integration is not expected to work. Any issues will
be reported as bugs and handled after the feature merges.
Migrating a router to HA or from HA works server side
but is not expected to work (Yet) agent side. This will be
dealt with as a bug in the future.

DocImpact
Partially-implements: blueprint l3-high-availability
Change-Id: I9d935cf5e0c231e8cb7af5f61b9a9fc552c3521e
Co-Authored-By: Assaf Muller <amuller@redhat.com>
10 years agoMerge "Imported Translations from Transifex"
Jenkins [Wed, 10 Sep 2014 09:31:53 +0000 (09:31 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Neutron should not use the neutronclient utils module for import_class"
Jenkins [Wed, 10 Sep 2014 07:22:11 +0000 (07:22 +0000)]
Merge "Neutron should not use the neutronclient utils module for import_class"

10 years agoFix comments in api.rpc.handlers
Akihiro Motoki [Sat, 30 Aug 2014 16:47:24 +0000 (01:47 +0900)]
Fix comments in api.rpc.handlers

Follow-up patch of RPC refactoring of bug 1359416.
It addresses minor comments in the above patch series.

Change-Id: I2d6268db777f0f73fda61a5a7d0967a91bcb292b
Closes-Bug: #1359416

10 years agoofagent: Clean up logging
YAMAMOTO Takashi [Mon, 8 Sep 2014 02:29:05 +0000 (11:29 +0900)]
ofagent: Clean up logging

- Use _LI, _LW, _LE
- Remove localization from debug logs
- Replace LOG.debug calls with @log.log decorator where appropriate

Change-Id: I9c80c556003db7b0b8e99da0340a26beb1e00e16

10 years agoMerge "ofagent: Remove @author tags and update copyright notices"
Jenkins [Tue, 9 Sep 2014 16:06:06 +0000 (16:06 +0000)]
Merge "ofagent: Remove @author tags and update copyright notices"

10 years agoMerge "Fix AttributeError when setting external gateway on DVR router"
Jenkins [Tue, 9 Sep 2014 16:05:48 +0000 (16:05 +0000)]
Merge "Fix AttributeError when setting external gateway on DVR router"

10 years agoMerge "Call unbind_snat_servicenode from schedule router"
Jenkins [Tue, 9 Sep 2014 15:57:08 +0000 (15:57 +0000)]
Merge "Call unbind_snat_servicenode from schedule router"

10 years agoMerge "Fix metadata agent's auth info caching"
Jenkins [Tue, 9 Sep 2014 15:52:56 +0000 (15:52 +0000)]
Merge "Fix metadata agent's auth info caching"

10 years agoUTs: Disable auto deletion of ports/subnets/nets
Kevin Benton [Wed, 25 Jun 2014 06:12:43 +0000 (06:12 +0000)]
UTs: Disable auto deletion of ports/subnets/nets

Change the behavior of the unit test context managers
for ports, networks, and subnets to skip the deletion
of the objects they create.

Adds explicit delete calls to the tests that require
deletion of the objects.

This is the first patch in a series to eliminate the
automatic deletion of objects created during tests to
improve test performance and make testing more explicit.

Implements: blueprint remove-unit-test-autodeletion
Change-Id: Ifc4490b121310ad64e18936e6fd94a2c9a1e36f2

10 years agoRemove second call to get_subnets in delete_subnet
Sam Betts [Fri, 5 Sep 2014 15:16:01 +0000 (16:16 +0100)]
Remove second call to get_subnets in delete_subnet

delete_subnet made calls to both get_subnet and _get_subnet,
get_subnet uses _get_subnet so multiple database requests were being
made, this patch removes the call to get_subnet and directly calls
_make_subnet_dict using the result of _get_subnet

Change-Id: I9982821dbb9447e35a4b6e50bc5ad31cec417ca5
Closes-Bug: 1366056

10 years agoChanges to support FWaaS in a DVR based environment
Sridar Kandaswamy [Mon, 11 Aug 2014 19:39:13 +0000 (12:39 -0700)]
Changes to support FWaaS in a DVR based environment

Implementation of Spec to address the changes required for FWaaS
to work with DVR to handle:
* Perimeter Firewall support on N - S traffic
* Ensure that E - W DVR traffic is not broken.

DocImpact

Change-Id: Iba78e534ccf347ea6270aabc939a489dd40a7b9e
Implements: blueprint neutron-dvr-fwaas

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Tue, 9 Sep 2014 06:04:37 +0000 (06:04 +0000)]
Imported Translations from Transifex

Change-Id: I3350b2fb82e1c95ec7e9b1860c85de5c6f00f802

10 years agoMerge "Remove subnet_id from check_ports_exist_on_l3agent"
Jenkins [Tue, 9 Sep 2014 03:16:09 +0000 (03:16 +0000)]
Merge "Remove subnet_id from check_ports_exist_on_l3agent"

10 years agoMerge "Removed direct access to MessagingServer"
Jenkins [Tue, 9 Sep 2014 03:15:55 +0000 (03:15 +0000)]
Merge "Removed direct access to MessagingServer"

10 years agoMerge "Update DVR Binding when router_id changes"
Jenkins [Tue, 9 Sep 2014 03:04:36 +0000 (03:04 +0000)]
Merge "Update DVR Binding when router_id changes"

10 years agoCall unbind_snat_servicenode from schedule router
Michael Smith [Tue, 2 Sep 2014 17:07:04 +0000 (17:07 +0000)]
Call unbind_snat_servicenode from schedule router

Refactor to move the call to plugin.unbind_snat_servicenode from
schedule_snat_router to _schedule_router.  This is a move to pave the
way for removing hints from schedule router.

Partial-bug: #1353266
Partial-bug: #1356639
Co-Authored-By: Swaminathan Vasudevan <swaminathan.vasudevan@hp.com>
Change-Id: I062d8cc3cb870bbaa033d5b107a7dd868dfafa19

10 years agoMerge "Throw exception instances instead of classes"
Jenkins [Mon, 8 Sep 2014 22:25:04 +0000 (22:25 +0000)]
Merge "Throw exception instances instead of classes"

10 years agoMerge "Add scheduler unit tests to enable bug fixes and refactoring"
Jenkins [Mon, 8 Sep 2014 22:09:59 +0000 (22:09 +0000)]
Merge "Add scheduler unit tests to enable bug fixes and refactoring"

10 years agoMerge "Layer 3 service plugin to support hardware based routing"
Jenkins [Mon, 8 Sep 2014 20:33:27 +0000 (20:33 +0000)]
Merge "Layer 3 service plugin to support hardware based routing"

10 years agoNSX: Correct allowed_address_pair return value on create_port
Aaron Rosen [Mon, 8 Sep 2014 18:23:50 +0000 (11:23 -0700)]
NSX: Correct allowed_address_pair return value on create_port

This patch fixes the NSX plugin to return [] rather than None for a
port does not have any allowed_address_pairs when a create_port api
call is made. Currently the NSX plugin is failing every patch because
now tempest is checking for this value to be [].

Change-Id: Ic82c564ff62000c367c544f44a76694be9375790
Closes-bug: 1366921

10 years agoAdd the unit tests for ml2.rpc module
Sergey Vilgelm [Fri, 5 Sep 2014 19:05:10 +0000 (21:05 +0200)]
Add the unit tests for ml2.rpc module

Increase coverage of unit tests until 100% for ml2.rpc module.

Closes-bug: #1269136

Change-Id: I87c40e6462018df6a4dc70c6a1285de55f827877

10 years agoNeutron should not use the neutronclient utils module for import_class
Aaron Rosen [Mon, 8 Sep 2014 18:00:44 +0000 (11:00 -0700)]
Neutron should not use the neutronclient utils module for import_class

Fixes code to use openstack.common.importutils instead.

Change-Id: Ia449f8b1d7d03f37483cfdc595ad77e71ea6598c
Closes-bug: 1366917

10 years agoRemoved direct access to MessagingServer
Alexei Kornienko [Thu, 31 Jul 2014 19:08:54 +0000 (22:08 +0300)]
Removed direct access to MessagingServer

Factory method provided by the library should be used to create a server
object. This allows to change servers internal implementation without
touching end users.

Also removed custom dispatcher. Its only purpose was to log messages.
If logging is configured accordingly all incoming messages will be
logged from oslo/messaging/_drivers/amqpdriver.py [1]

[1] http://goo.gl/nV9tcu

Closes-Bug: #1357236

Change-Id: Ic208994c5a64fd48528cb41d30a975d68d84af05

10 years agoRemove subnet_id from check_ports_exist_on_l3agent
Michael Smith [Tue, 2 Sep 2014 17:05:12 +0000 (17:05 +0000)]
Remove subnet_id from check_ports_exist_on_l3agent

Refactor check_ports_exist_on_l3agent so that subnet_id no longer
needs to be passed.  Instead it calls get_subnet_ids_on_router.  This
helps to pave the way for removing hints from schedule router.

Partial-bug: #1353266
Partial-bug: #1356639
Co-Authored-By: Swaminathan Vasudevan <swaminathan.vasudevan@hp.com>
Change-Id: I6e9dcb0b899294bb4cf3e3d616a0a690049c338e

10 years agoMerge "BSN: Bind external ports in ML2 driver"
Jenkins [Sun, 7 Sep 2014 12:59:38 +0000 (12:59 +0000)]
Merge "BSN: Bind external ports in ML2 driver"

10 years agoFix metadata agent's auth info caching
Chengli XU [Wed, 3 Sep 2014 06:52:34 +0000 (14:52 +0800)]
Fix metadata agent's auth info caching

metadata agent does not implement auth info cache correctly but
retrieves from keystone every time

Change-Id: Ifc1f580185d7600b48aaf80d112fc80e0c4253f2
Closes-bug: #1365352

10 years agoThrow exception instances instead of classes
Eugene Nikanorov [Tue, 2 Sep 2014 13:22:34 +0000 (17:22 +0400)]
Throw exception instances instead of classes

Prefer single style of throwing instances and not classes.

Change-Id: If159afcd092de5381309cbe217d64145ed5b45b4
Closes-Bug: #1364392

10 years agoMerge "Implements sync mechanism between Neutron and Nuage VSD"
Jenkins [Sun, 7 Sep 2014 08:26:52 +0000 (08:26 +0000)]
Merge "Implements sync mechanism between Neutron and Nuage VSD"

10 years agoMerge "Big Switch: Bind IVS ports in ML2 driver"
Jenkins [Sun, 7 Sep 2014 05:48:27 +0000 (05:48 +0000)]
Merge "Big Switch: Bind IVS ports in ML2 driver"

10 years agoMerge "Stop tracking connections in DVR FIP Namespace"
Jenkins [Sun, 7 Sep 2014 02:53:58 +0000 (02:53 +0000)]
Merge "Stop tracking connections in DVR FIP Namespace"

10 years agoMerge "Avoid testing code duplication which introduced testing bugs"
Jenkins [Sun, 7 Sep 2014 02:50:32 +0000 (02:50 +0000)]
Merge "Avoid testing code duplication which introduced testing bugs"

10 years agoMerge "Revert "Skip functional l3 agent test""
Jenkins [Sun, 7 Sep 2014 00:00:05 +0000 (00:00 +0000)]
Merge "Revert "Skip functional l3 agent test""

10 years agoMerge "Fixes formatting for debug output in neutron/agent/l3_agent.py"
Jenkins [Sat, 6 Sep 2014 21:36:53 +0000 (21:36 +0000)]
Merge "Fixes formatting for debug output in neutron/agent/l3_agent.py"

10 years agoAdd scheduler unit tests to enable bug fixes and refactoring
Michael Smith [Tue, 2 Sep 2014 16:59:36 +0000 (16:59 +0000)]
Add scheduler unit tests to enable bug fixes and refactoring

Improves the coverage for DVR scheduling and will allow safer bug
fixes and refactoring in follow-on patches.

Change-Id: I02d0126e31adcab88a7ee82ba1cb76f952c9a68c
Partial-bug: #1353266
Partial-bug: #1356639
Co-Authored-By: Swaminathan Vasudevan <swaminathan.vasudevan@hp.com>
10 years agoMerge "Remove SELECT FOR UPDATE use in delete_firewall"
Jenkins [Sat, 6 Sep 2014 15:24:19 +0000 (15:24 +0000)]
Merge "Remove SELECT FOR UPDATE use in delete_firewall"

10 years agoMerge "Remove unused arg to config.setup_logging()"
Jenkins [Sat, 6 Sep 2014 15:24:04 +0000 (15:24 +0000)]
Merge "Remove unused arg to config.setup_logging()"

10 years agoMerge "Cleanup rename of get_compute_ports_on_host_by_subnet"
Jenkins [Sat, 6 Sep 2014 15:23:49 +0000 (15:23 +0000)]
Merge "Cleanup rename of get_compute_ports_on_host_by_subnet"

10 years agoMerge "Updated from global requirements"
Jenkins [Sat, 6 Sep 2014 14:29:59 +0000 (14:29 +0000)]
Merge "Updated from global requirements"

10 years agoMerge "Fix leftover Timeout effecting most eventlet calls"
Jenkins [Fri, 5 Sep 2014 23:29:43 +0000 (23:29 +0000)]
Merge "Fix leftover Timeout effecting most eventlet calls"

10 years agoFix AttributeError when setting external gateway on DVR router
armando-migliaccio [Tue, 5 Aug 2014 19:35:37 +0000 (12:35 -0700)]
Fix AttributeError when setting external gateway on DVR router

DVR routers will have this manager initialized only after one
or more subnets have been attached to the router. To address
the issue, make sure the manager is defined and handle the snat
rules appropriately.

This patch also makes _update_arp_entry more defensive; this is
because the arp update process can be affected by the same issue:
the router may not have internal ports at the time the request
come in. This is likely when VM's port creation and router
configuration overlap slightly.

Closes-bug: #1353006

Change-Id: Ib46852f5b264e5ef2e2d499d3351f8974e393011
Co-authored-by: Rajeev Grover <rajeev.grover@hp.com>
10 years agoStop tracking connections in DVR FIP Namespace
rajeev [Fri, 22 Aug 2014 22:54:46 +0000 (18:54 -0400)]
Stop tracking connections in DVR FIP Namespace

For DVR, connections to external network using floating IPs do not
need to be tracked in FIP namespace because they are being
already tracked in router namespace.
This fix adds iptable rules to not track connections.

Change-Id: I378039e311763d114860cb70ded7349d6580855a
Closes-bug: #1360395

10 years agoMerge "Reset IPv6 detection flag after IPv6 tests"
Jenkins [Fri, 5 Sep 2014 19:10:52 +0000 (19:10 +0000)]
Merge "Reset IPv6 detection flag after IPv6 tests"

10 years agoFixes formatting for debug output in neutron/agent/l3_agent.py
Miguel Angel Ajo [Fri, 5 Sep 2014 16:05:34 +0000 (18:05 +0200)]
Fixes formatting for debug output in neutron/agent/l3_agent.py

The %s format type was missing.

Change-Id: I4efba513f7b0a6e4a21908bf0b05407e74b524c7
Closes-bug: #1366105

10 years agoAvoid testing code duplication which introduced testing bugs
Miguel Angel Ajo [Fri, 5 Sep 2014 12:10:35 +0000 (14:10 +0200)]
Avoid testing code duplication which introduced testing bugs

SecurityGroupAgentEnhancedRpcTestCase duplicated code in
SecurityGroupAgentRpcTestCase setUp, also
TestSecurityGroupAgentEnhancedRpcWithIptables duplicated
code from TestSecurityGroupAgentWithIptables setUp()
introducing bugs by improper initialization, like a missing
    self.iptables.use_ipv6 = True
which in combination with tests.unit.test_ipv6.TestIsEnabled
produced inconsistent testing results.

Change-Id: Ic0b596b6fe1d8273df197e9426abad818832c00a
Closes-bug: #1365829

10 years agoReset IPv6 detection flag after IPv6 tests
Kevin Benton [Fri, 5 Sep 2014 04:55:47 +0000 (21:55 -0700)]
Reset IPv6 detection flag after IPv6 tests

Resets a module level flag that was being left in the
state that the previous test set it to. This was causing
unrelated tests to fail if the last state was left disabled.

Closes-Bug: #1365829
Change-Id: Id3f6cb680f5d832e21966de7d4fa335c0c59697c

10 years agoRemove unused arg to config.setup_logging()
Angus Lees [Thu, 31 Jul 2014 03:27:57 +0000 (13:27 +1000)]
Remove unused arg to config.setup_logging()

The cfg.CFG argument is ignored and misleading.  This change removes it
and updates all callers.

Closes-Bug: #1355565
Change-Id: I2fcece85d1abe848e5c01125cfb62c02f2dcbc86

10 years agoMerge "Fix a bug in Mellanox plugin RPC caused by secgroup RPC refactoring"
Jenkins [Thu, 4 Sep 2014 23:41:02 +0000 (23:41 +0000)]
Merge "Fix a bug in Mellanox plugin RPC caused by secgroup RPC refactoring"

10 years agoMerge "Fixes Hyper-V agent issue on Hyper-V 2008 R2"
Jenkins [Thu, 4 Sep 2014 21:15:47 +0000 (21:15 +0000)]
Merge "Fixes Hyper-V agent issue on Hyper-V 2008 R2"

10 years agoUpdated from global requirements
OpenStack Proposal Bot [Thu, 4 Sep 2014 17:50:32 +0000 (17:50 +0000)]
Updated from global requirements

Change-Id: Id4037028812b11e088897c6cb1ff3108c0d4e85d

10 years agoRevert "Skip functional l3 agent test"
John Schwarz [Thu, 4 Sep 2014 11:11:26 +0000 (14:11 +0300)]
Revert "Skip functional l3 agent test"

This reverts commit 0918ce91e5af5100ee3a4fcd6861741c4f00ac41. The
specified commit skipped a test which caused non-deterministic gate
failures, but the actual reason for the failures was found and fixed
so the skip is no longer needed.

Related-bug: #1358206
Related-bug: #1364171
Change-Id: I9b0d9ad9ad8b62ee92877fc0a6db0323604433ac

10 years agoMerge "Revert "Cisco DFA ML2 Mechanism Driver""
Jenkins [Thu, 4 Sep 2014 12:36:29 +0000 (12:36 +0000)]
Merge "Revert "Cisco DFA ML2 Mechanism Driver""

10 years agoFix leftover Timeout effecting most eventlet calls
John Schwarz [Thu, 4 Sep 2014 08:34:29 +0000 (11:34 +0300)]
Fix leftover Timeout effecting most eventlet calls

When registering a new eventlet.timeout.Timeout object, eventlet
automatically starts a timer for most (if not all) future eventlet
calls. Normally, eventlet codes do not hold a timeout unless such a
timeout is used or a specific timeout length is specified through
the API, but once a Timeout object is initialized, it is left there
unless canceled.

This change fixes an un-canceled Timeout which causes some
functional tests to fail, reintroduces a fix for bug #1358206,
which was written prior to discovering the uncanceled timeout, and
increases the timeout of a test that depended on this timeout.

Closes-bug: #1358206
Related-bug: #1364171
Change-Id: I1bfc5af6917c525894eecd8b477d787763edbd02

10 years agoMerge "Refactor security group rpc call"
Jenkins [Thu, 4 Sep 2014 08:18:11 +0000 (08:18 +0000)]
Merge "Refactor security group rpc call"

10 years agoMerge "Don't spawn metadata-proxy for non-isolated nets"
Jenkins [Thu, 4 Sep 2014 06:40:54 +0000 (06:40 +0000)]
Merge "Don't spawn metadata-proxy for non-isolated nets"

10 years agoofagent: Remove @author tags and update copyright notices
YAMAMOTO Takashi [Thu, 4 Sep 2014 03:27:06 +0000 (12:27 +0900)]
ofagent: Remove @author tags and update copyright notices

When writing these modules, ofagent team (kakuma, yamamoto) thought
that @author tag was OpenStack's style to represent authorships.
But it turned out to be wrong.  Acutally there seems to be a consensus
not to use them.  So, replace them back to the original Ryu-style
copyright notices.

Change-Id: Icc9fdd1850c0c1dbd354bb3312199a7f6849925a

10 years agoCleanup rename of get_compute_ports_on_host_by_subnet
Carl Baldwin [Tue, 2 Sep 2014 16:49:45 +0000 (16:49 +0000)]
Cleanup rename of get_compute_ports_on_host_by_subnet

A recent merge [1] renamed this method to remove "compute_" from the
name.  Unfortunately, the rename was not done thoroughly.  This patch
cleans that up.  No bug is referenced since this is an obvious
ommission in a recent patch.

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

Change-Id: I8320bc8deb6dcda586ccff01120270b3ce257ea2

10 years agoMerge "Remove status initialization from plugin's create_firewall"
Jenkins [Wed, 3 Sep 2014 17:49:00 +0000 (17:49 +0000)]
Merge "Remove status initialization from plugin's create_firewall"

10 years agoMerge "Fix interface IP address for DVR with gateway"
Jenkins [Wed, 3 Sep 2014 16:52:17 +0000 (16:52 +0000)]
Merge "Fix interface IP address for DVR with gateway"

10 years agoMerge "Skip functional l3 agent test"
Jenkins [Wed, 3 Sep 2014 16:34:40 +0000 (16:34 +0000)]
Merge "Skip functional l3 agent test"

10 years agoMerge "Implements ProcessMonitor to watch over external processes"
Jenkins [Wed, 3 Sep 2014 16:27:24 +0000 (16:27 +0000)]
Merge "Implements ProcessMonitor to watch over external processes"

10 years agoMerge "Big Switch: Separate L3 functions into L3 service"
Jenkins [Wed, 3 Sep 2014 16:27:08 +0000 (16:27 +0000)]
Merge "Big Switch: Separate L3 functions into L3 service"

10 years agoMerge "Fixed template of IPsecSiteConnectionNotFound message"
Jenkins [Wed, 3 Sep 2014 05:21:40 +0000 (05:21 +0000)]
Merge "Fixed template of IPsecSiteConnectionNotFound message"

10 years agoMerge "ofagent: Implement physical_interface_mappings"
Jenkins [Wed, 3 Sep 2014 01:59:32 +0000 (01:59 +0000)]
Merge "ofagent: Implement physical_interface_mappings"

10 years agoMerge "Cisco VPN with in-band CSR (interim solution)"
Jenkins [Wed, 3 Sep 2014 01:59:16 +0000 (01:59 +0000)]
Merge "Cisco VPN with in-band CSR (interim solution)"

10 years agoRevert "Cisco DFA ML2 Mechanism Driver"
mark mcclain [Tue, 2 Sep 2014 20:02:06 +0000 (20:02 +0000)]
Revert "Cisco DFA ML2 Mechanism Driver"

This reverts commit 3680fd61c9a1cceaa011b4d0d37d235abf490c50.

The reverted patch incorrectly ties with Keystone and should have never been
approved since the approved version only partially addressed review concerns.

This revert also ensure migration timeline integrity.

Change-Id: If5fbdade72c762b21a477676ded816ce5be97ca5

10 years agoMerge "Make log level in linux.utils.execute configurable"
Jenkins [Tue, 2 Sep 2014 21:17:49 +0000 (21:17 +0000)]
Merge "Make log level in linux.utils.execute configurable"

10 years agoRefactor security group rpc call
shihanzhang [Mon, 4 Aug 2014 08:44:31 +0000 (16:44 +0800)]
Refactor security group rpc call

Refactor rpc call of 'security_group_rules_for_devices' into
'security_group_info_for_devices' to reduce the response
message size and server side processing time. Includes
agent-side auto detection of rpc version, and fall back
to the old one.

Change-Id: If19be8579ca734a899cdd673c919eee8165aaa0e
Implements: blueprint security-group-rules-for-devices-rpc-call-refactor
DocImpact
Co-Authored-By: Miguel Angel Ajo <mangelajo@redhat.com>
10 years agoAvoid auto-scheduling for distributed routers
armando-migliaccio [Wed, 20 Aug 2014 19:15:42 +0000 (12:15 -0700)]
Avoid auto-scheduling for distributed routers

The reason for this is twofold:

- It may relieve contention on DB access while
  both servers and l3 agents are busy setting up
  and syncing routers down respectively.

- It prevents accidental placement of namespaces
  during the L3 sync_routers process, as auto
  scheduling without taking into account the state
  of the L3 agents, as well as the state of the
  routers being processed, may overrule the placement
  decision made during router operations.

Partial-bug: #1356121
Partial-bug: #1359326

Change-Id: Ia677ce212145d6cee65adeb1d8ae594e6ac5e34d

10 years agoFix interface IP address for DVR with gateway
rajeev [Tue, 2 Sep 2014 15:06:25 +0000 (11:06 -0400)]
Fix interface IP address for DVR with gateway

when an interface is added to a router with gateway, the method
internal_network_added(..) incorrectly configures the IP address
of the new snat interface same as the IP address of the new
subnet interface.

Change-Id: I00d4ff1105a443b89b28359249b8e83fb4c1d157
Closes-bug: #1355087

10 years agoBSN: Bind external ports in ML2 driver
Kevin Benton [Thu, 21 Aug 2014 16:12:15 +0000 (09:12 -0700)]
BSN: Bind external ports in ML2 driver

Add a binding capability to the Big Switch ML2 mechanism
driver to mark external ports as bound. Ports with the
owner type 'neutron:external_port' will be assigned to the first
VLAN segment available in the network. The port update operation
will then carry the HOST ID with the identifier to the backend
for the necessary fabric configuration.

Implements: blueprint bsn-ml2-ext-attach
Change-Id: I7b749ba5ef9a47b45be24f77656a10ed38e5e6ae

10 years agoMerge "ofagent: Enable local arp responder for TYPE_LOCAL"
Jenkins [Tue, 2 Sep 2014 12:39:19 +0000 (12:39 +0000)]
Merge "ofagent: Enable local arp responder for TYPE_LOCAL"

10 years agoMerge "ofagent: Enable local arp responder for TYPE_FLAT"
Jenkins [Tue, 2 Sep 2014 12:39:03 +0000 (12:39 +0000)]
Merge "ofagent: Enable local arp responder for TYPE_FLAT"

10 years agoRemove SELECT FOR UPDATE use in delete_firewall
Cedric Brandily [Tue, 26 Aug 2014 18:23:04 +0000 (20:23 +0200)]
Remove SELECT FOR UPDATE use in delete_firewall

SELECT FOR UPDATE expression, which is triggered with the use of the
SQLAlchemy Query object's with_lockmode('update') method, is
detrimental to performance and scalability of the database
performance code in Neutron due to the lock contention it produces.

SELECT FOR UPDATE can be entirely avoided in delete_firewall method
with the use of single-shot DELETE expressions.

Partial-Bug: #1364358
Change-Id: Ia8db73312f5dff6a5bd573694a60a798279834cb

10 years agoRemove absolute path in KillFilter for metadata-proxy
Han Zhou [Tue, 2 Sep 2014 09:54:05 +0000 (09:54 +0000)]
Remove absolute path in KillFilter for metadata-proxy

This commit fix the problem of killing neutron-ns-metadata-proxy
when running in Virtual Environment.

Change-Id: I987dd87e19c218846a48e58b61679b4153d97f66
Closes-bug: #1363773

10 years agoMerge "Remove chain for correct router during update_routers()"
Jenkins [Tue, 2 Sep 2014 09:25:39 +0000 (09:25 +0000)]
Merge "Remove chain for correct router during update_routers()"

10 years agoMerge "Remove SELECT FOR UPDATE use in update_firewall"
Jenkins [Tue, 2 Sep 2014 09:18:38 +0000 (09:18 +0000)]
Merge "Remove SELECT FOR UPDATE use in update_firewall"

10 years agoImplements sync mechanism between Neutron and Nuage VSD
Sayaji [Tue, 12 Aug 2014 01:16:12 +0000 (18:16 -0700)]
Implements sync mechanism between Neutron and Nuage VSD

This will sync resources between Neutron and VSD based on
the configuration parameters. "enable_sync" will enable/disable
the sync and "sync_interval" will control the time interval
between consecutive sync cycles.

DocImpact

Change-Id: I6730bf0166dfd1e35795b679293a2831b5afbc75
Implements: blueprint nuage-neutron-sync

10 years agoMerge "Prevent SystemExits when running tests"
Jenkins [Tue, 2 Sep 2014 06:07:28 +0000 (06:07 +0000)]
Merge "Prevent SystemExits when running tests"

10 years agoofagent: Implement physical_interface_mappings
YAMAMOTO Takashi [Mon, 11 Aug 2014 04:41:13 +0000 (13:41 +0900)]
ofagent: Implement physical_interface_mappings

Mark bridge_mappings as deprecated for ofagent.
Document that it will be removed in Kilo.

Implements: blueprint ofagent-physical-interface-mappings
Change-Id: I38e3b6aad2914dc5425435dd7775f66306375cd2