]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoDon't allow user to set firewall rule with port and no protocol
Bertrand Lallau [Tue, 9 Sep 2014 12:56:59 +0000 (14:56 +0200)]
Don't allow user to set firewall rule with port and no protocol

Creating firewall rules specifying a destination port and/or a source
port without a protocol, generates rules without src or dest port
restriction. This was a real security issue for cloud users.

This patch generates a 400 Bad request "Source/destination port
requires a protocol" in case of creation/update of firewall rules
specifying a destination port and/or a source port and without protocol.

DocImpact
Closes-Bug: #1365961

Change-Id: I4a3a1d9ae7ec4b2a864b3edc83d65ef7f80cbba5

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 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 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 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 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 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 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 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

10 years agoofagent: Enable local arp responder for TYPE_LOCAL
YAMAMOTO Takashi [Thu, 14 Aug 2014 18:20:05 +0000 (03:20 +0900)]
ofagent: Enable local arp responder for TYPE_LOCAL

Related: blueprint ofagent-l2pop
Related: blueprint ofagent-merge-bridges
Change-Id: I838917ffffff8fd52c68b4633bd84dccdfe656de

10 years agoofagent: Enable local arp responder for TYPE_FLAT
YAMAMOTO Takashi [Thu, 14 Aug 2014 03:06:53 +0000 (12:06 +0900)]
ofagent: Enable local arp responder for TYPE_FLAT

handling TYPE_FLAT is particularly useful because,
as stated in README, a flat provider network is
the recommended way to provide public network connectivity
for ofagent.

Related: blueprint ofagent-l2pop
Related: blueprint ofagent-merge-bridges
Change-Id: I4f9145ecb6ade44fc884ce7f8842f5e33385391e

10 years agoMerge "ofagent: Local arp responder for VLAN"
Jenkins [Tue, 2 Sep 2014 05:02:59 +0000 (05:02 +0000)]
Merge "ofagent: Local arp responder for VLAN"

10 years agoImplements ProcessMonitor to watch over external processes
Miguel Angel Ajo [Mon, 18 Aug 2014 10:59:32 +0000 (12:59 +0200)]
Implements ProcessMonitor to watch over external processes

This class takes care of all the spawned external processes,
taking the administrator configured action in the case of any
of the external processes die unexpectedly.

Implements: blueprint agent-child-processes-status

Change-Id: I6bc7a415dde5723dac07589859796c2ffeef5b54

10 years agoMerge "Fix a recent ipv6 UT regression"
Jenkins [Tue, 2 Sep 2014 01:58:00 +0000 (01:58 +0000)]
Merge "Fix a recent ipv6 UT regression"

10 years agoMerge "ML2: Fix release of network segments to allocation pools"
Jenkins [Tue, 2 Sep 2014 01:54:01 +0000 (01:54 +0000)]
Merge "ML2: Fix release of network segments to allocation pools"

10 years agoSkip functional l3 agent test
Maru Newby [Tue, 2 Sep 2014 01:02:23 +0000 (03:02 +0200)]
Skip functional l3 agent test

Since this test merged there have been periodic failures that
seem to be related to SystemExit being raised.  Skipping for now
to give us time to fix.

Change-Id: Ia857835102a9c4c74820cf5eb3c529a3c2fb421e
Related-bug: 1364171

10 years agoofagent: Local arp responder for VLAN
YAMAMOTO Takashi [Thu, 26 Jun 2014 07:07:23 +0000 (16:07 +0900)]
ofagent: Local arp responder for VLAN

Implement local arp responder for non-tunnel network types.
Enable it for VLAN by requesting l2pop for VLAN.

Related: blueprint ofagent-l2pop
Related: blueprint ofagent-merge-bridges
Change-Id: I2f200a1ae2bd769ea1f83fe65e58e82325ed92b0

10 years agoMerge "Apic drivers enhancements (second approach): Topology"
Jenkins [Tue, 2 Sep 2014 00:27:44 +0000 (00:27 +0000)]
Merge "Apic drivers enhancements (second approach): Topology"

10 years agoMerge "Improve some plugins help strings"
Jenkins [Tue, 2 Sep 2014 00:27:30 +0000 (00:27 +0000)]
Merge "Improve some plugins help strings"

10 years agoMerge "Add functional test for IptablesManager"
Jenkins [Tue, 2 Sep 2014 00:27:12 +0000 (00:27 +0000)]
Merge "Add functional test for IptablesManager"

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Tue, 2 Sep 2014 00:27:01 +0000 (00:27 +0000)]
Merge "Imported Translations from Transifex"

10 years agoPrevent SystemExits when running tests
Kevin Benton [Mon, 1 Sep 2014 20:03:27 +0000 (13:03 -0700)]
Prevent SystemExits when running tests

Adds a check for SystemExit exceptions during tests
to convert them into a test failure rather than an exit.
Includes the traceback in the failure so the source of
the exit can be located.

Related-Bug: #1364171
Change-Id: I2c7d9010ebf935d39ed58fe7a6fc4a1a867e2548

10 years agoMerge "Remove reference to cisco_cfg_agent.ini from setup.cfg again"
Jenkins [Mon, 1 Sep 2014 21:14:42 +0000 (21:14 +0000)]
Merge "Remove reference to cisco_cfg_agent.ini from setup.cfg again"

10 years agoMerge "l2pop: Allow network types overridable"
Jenkins [Mon, 1 Sep 2014 20:26:06 +0000 (20:26 +0000)]
Merge "l2pop: Allow network types overridable"

10 years agoBig Switch: Separate L3 functions into L3 service
Kevin Benton [Tue, 12 Aug 2014 21:04:24 +0000 (14:04 -0700)]
Big Switch: Separate L3 functions into L3 service

Separate the L3 functions from the core Big Switch
plugin into an L3 service plugin. This is will allow
the L3 functions to be used in ML2 deployments that
use the Big Switch ML2 driver.

DocImpact

Implements: blueprint bsn-l3-service-plugin
Change-Id: I889db0047fb9a85f02d1fb95b9c099e9243a5bb5

10 years agoApic drivers enhancements (second approach): Topology
Mandeep Dhami [Tue, 26 Aug 2014 04:07:48 +0000 (21:07 -0700)]
Apic drivers enhancements (second approach): Topology

    - Handle topology dynamically

Implements blueprint: apic-driver-enhancements

Change-Id: I80ae799bf7c18939e58cb5c1ea8eb441633285df

10 years agoBig Switch: Bind IVS ports in ML2 driver
Kevin Benton [Wed, 13 Aug 2014 02:02:51 +0000 (19:02 -0700)]
Big Switch: Bind IVS ports in ML2 driver

Add support to bind IVS ports in the Big Switch ML2
mechanism driver. The backend controller will be checked
to determine if a host is connected using the Indigo vswitch.
If so, the mechanism driver will mark it as bound since
it will be provisioned by the backend controller.

Implements: blueprint bsn-ml2-bind-ivs
Change-Id: Ic481fc31c8c123899fddf8185c32f127dff53b7a

10 years agoMerge "Remove old policies from policy.json"
Jenkins [Mon, 1 Sep 2014 17:45:10 +0000 (17:45 +0000)]
Merge "Remove old policies from policy.json"

10 years agoAdd functional test for IptablesManager
Jakub Libosvar [Fri, 29 Aug 2014 16:50:13 +0000 (18:50 +0200)]
Add functional test for IptablesManager

Introduce test of IptablesManager using filtering of ICMP packets in
namespaces.

Partial-bug: #1243216

Change-Id: I90ab0d397780247de619bd90f5febd0e59b84fc7

10 years agoMerge "Apic drivers enhancements (second approach): Sync"
Jenkins [Mon, 1 Sep 2014 14:15:22 +0000 (14:15 +0000)]
Merge "Apic drivers enhancements (second approach): Sync"

10 years agoRemove reference to cisco_cfg_agent.ini from setup.cfg again
Motohiro OTSUKA [Mon, 1 Sep 2014 06:50:06 +0000 (15:50 +0900)]
Remove reference to cisco_cfg_agent.ini from setup.cfg again

No sample .ini file is included, causing install to fail.
Remove the reference again.

Change-Id: I97ffe464e4eb9689ee290c3c95ac19d4e09029e2
Closes-bug: #1351466

10 years agoMerge "Introduces a keepalived manager for HA"
Jenkins [Mon, 1 Sep 2014 13:48:17 +0000 (13:48 +0000)]
Merge "Introduces a keepalived manager for HA"

10 years agoFix a bug in Mellanox plugin RPC caused by secgroup RPC refactoring
Akihiro Motoki [Mon, 1 Sep 2014 13:24:54 +0000 (22:24 +0900)]
Fix a bug in Mellanox plugin RPC caused by secgroup RPC refactoring

SecurityGroupsRpcCallback RPC refactoring patch (commit 2781fce238)
moves get_port_from_device method from plugin RPC callback class to
plugin layer, but Mellanox plugin RPC callback was forgot to update
and as a result RPC calls from agents to Mellanox plugin fails.

Change-Id: I1aa82ac00c16a53a59a93087f0ca4ef281ee3f2b
Related-Bug: #1359416

10 years agoDon't spawn metadata-proxy for non-isolated nets
John Schwarz [Tue, 26 Aug 2014 08:43:11 +0000 (11:43 +0300)]
Don't spawn metadata-proxy for non-isolated nets

If the configuation option "enable_isolated_metadata = True" for the
DHCP agent is set, the neutron-ns-metadata-proxy process is spawned
for all networks, regardless if they are isolated or not. In case
the network is not isolated (ie. connected to a neutron router), the
L3 agent also spawns a proxy process, and the DHCP's proxy is left
unused. This patch adds a check prior to the spawning of new proxies:
if a network is not isolated, no proxy is spawned.

Change-Id: I9bdb8c3d37997b22435bca33ec47a67db08efa51
Closes-bug: #1361545

10 years agol2pop: Allow network types overridable
YAMAMOTO Takashi [Wed, 7 May 2014 05:57:57 +0000 (14:57 +0900)]
l2pop: Allow network types overridable

Currently "tunnel_types" is used for two different purposes; l2pop and
check_segment_for_agent.  This commit introduces a new agent
configuration "l2pop_network_types" to allow overriding the former.

This will be used by ofagent, which wants l2pop info for TYPE_VLAN
as well.

Related: blueprint ofagent-l2pop
Related: blueprint ofagent-merge-bridges
Change-Id: Ia83a94b6661aa36afa8bfeb073101171ffde62a9

10 years agoML2: Fix release of network segments to allocation pools
Robert Kukura [Mon, 1 Sep 2014 11:27:10 +0000 (07:27 -0400)]
ML2: Fix release of network segments to allocation pools

The recent merge of https://review.openstack.org/#/c/115025/ broke the
release of network segments to allocation pools on network delete,
resulting in network creates eventually failing with
NoNetworkAvailable exceptions. The network_delete() code is rearranged
to properly release the network segments, and a unit test is updated
to verify that the type drivers' release_segment() method is called.

Partially implements: Blueprint ml2-type-driver-refactor

Change-Id: Ica5f11b2012dedfcc097f34f1515f5f3ca208fd2

10 years agoMerge "ofagent: Enable local arp responder for local VMs"
Jenkins [Mon, 1 Sep 2014 11:20:50 +0000 (11:20 +0000)]
Merge "ofagent: Enable local arp responder for local VMs"

10 years agoMerge "ofagent: merge br-tun into br-int"
Jenkins [Mon, 1 Sep 2014 11:20:36 +0000 (11:20 +0000)]
Merge "ofagent: merge br-tun into br-int"

10 years agoMerge "Apic drivers enhancements (second approach): L3 refactor"
Jenkins [Mon, 1 Sep 2014 07:21:44 +0000 (07:21 +0000)]
Merge "Apic drivers enhancements (second approach): L3 refactor"

10 years agoFix a recent ipv6 UT regression
YAMAMOTO Takashi [Mon, 1 Sep 2014 04:39:12 +0000 (13:39 +0900)]
Fix a recent ipv6 UT regression

This fixes UT failures on systems without the procfs entry
by adding appropriate mocking.  The problem introduced by
the following change:
    https://review.openstack.org/#/c/116826/
    commit 0c963f6140237d8d3f361c6aaa7d2a6b656504db

Also, add a test for the case which the change in question fixed.

Closes-Bug: #1363805
Related-Bug: #1361542
Change-Id: I72842c3446f3275e2288adc411540ab036025ed0

10 years agoMerge "Provide a quick way to run flake8"
Jenkins [Mon, 1 Sep 2014 06:46:55 +0000 (06:46 +0000)]
Merge "Provide a quick way to run flake8"

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Mon, 1 Sep 2014 06:19:19 +0000 (06:19 +0000)]
Imported Translations from Transifex

Change-Id: I8676cc834921e62620d914c15755102fc637f7d3

10 years agoRemove chain for correct router during update_routers()
Angus Lees [Thu, 28 Aug 2014 07:26:01 +0000 (17:26 +1000)]
Remove chain for correct router during update_routers()

The existing code incorrectly used the stale value from a previous list
comprehension - and deleted the chains for the wrong router :(
(Found via pylint)

Also: change to using a set() rather than a list(), since it is used for
repeated membership tests.

Also: refactor test cases to remove test case duplication.

Closes-Bug: #1362466
Change-Id: I4df400d57bab5427362db47a715576faa6340173

10 years agoMerge "Networks are not scheduled to DHCP agents for Cisco N1KV plugin"
Jenkins [Mon, 1 Sep 2014 02:17:28 +0000 (02:17 +0000)]
Merge "Networks are not scheduled to DHCP agents for Cisco N1KV plugin"

10 years agoofagent: Enable local arp responder for local VMs
YAMAMOTO Takashi [Mon, 11 Aug 2014 00:02:22 +0000 (09:02 +0900)]
ofagent: Enable local arp responder for local VMs

Because ofagent makes every arp requests packet-in and
perform packet-out anyway, just make it respond arp requests
for local VMs.  It would be simpler and more effective than
forwarding requests to the network as it did before this change.

Before this change:
    request: src VM -> switch -> controller -> switch -> target VM
    reply: target VM -> switch -> src VM

After this change:
    request: src VM -> switch -> controller
    reply: controller -> switch -> src VM

As a bonus, now we can test l2pop and local arp responder with
a single node setup, at least for some extents.

Related: blueprint ofagent-l2pop
Related: blueprint ofagent-merge-bridges
Change-Id: I606a238d8c2021ed908fbd89d3488768497f57c5

10 years agoofagent: merge br-tun into br-int
YAMAMOTO Takashi [Fri, 18 Apr 2014 06:48:20 +0000 (15:48 +0900)]
ofagent: merge br-tun into br-int

Highlights:
- Deprecate br-tun.
- Reduce the use of OFPP_NORMAL action.  Use mac address info
  obtained from get_device_details and l2-pop to reduce flooding.
- Use OpenFlow metadata instead of "internal" VLANs.
  Now tenant networks are VLAN transparent.

Implements: blueprint ofagent-port-monitor
Implements: blueprint ofagent-merge-bridges
Change-Id: I21ee1c6d141863182b487e10c7bfe911b1a472ab

10 years agoApic drivers enhancements (second approach): Sync
Ivar Lazzaro [Tue, 26 Aug 2014 01:49:47 +0000 (18:49 -0700)]
Apic drivers enhancements (second approach): Sync

    - Model synchronization

Implements blueprint: apic-driver-enhancements

Change-Id: I4264afe5c140c3576951c1a5a28a8d7666481147

10 years agoApic drivers enhancements (second approach): L3 refactor
Ivar Lazzaro [Fri, 22 Aug 2014 01:35:02 +0000 (18:35 -0700)]
Apic drivers enhancements (second approach): L3 refactor

- refactor to leverage Client's transactional capabilities
- General refactor to improve the driver's reliability

Implements blueprint: apic-driver-enhancements

Change-Id: I5a19039e82988a0570622bc1ddb1429e9833d478

10 years agoML2 Type Driver refactor part 2
Arvind Somya [Mon, 18 Aug 2014 15:59:44 +0000 (08:59 -0700)]
ML2 Type Driver refactor part 2

This commit builds on top of part 1 to introduce support for creating
dynamic network segments in ML2.

Change-Id: I399e1569baae6f24054aac15c4c51a2e44a20e5b
Partially implements: Blueprint ml2-type-driver-refactor

10 years agoAdds router service plugin for CSR1kv
Bob Melander [Wed, 25 Dec 2013 13:08:01 +0000 (14:08 +0100)]
Adds router service plugin for CSR1kv

Implements: blueprint cisco-routing-service-vm

Change-Id: Ifd021fa06ce34d622e61734aab94b4da32649c4a