]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoMerge "Use dict_extend_functions to populate provider network attributes"
Jenkins [Tue, 23 Sep 2014 13:18:43 +0000 (13:18 +0000)]
Merge "Use dict_extend_functions to populate provider network attributes"

10 years agoMerge "Mock out all RPC calls with a fixture"
Jenkins [Tue, 23 Sep 2014 09:51:36 +0000 (09:51 +0000)]
Merge "Mock out all RPC calls with a fixture"

10 years agoMerge "Added TAP_DEVICE_PREFIX info to common/constants"
Jenkins [Tue, 23 Sep 2014 08:01:24 +0000 (08:01 +0000)]
Merge "Added TAP_DEVICE_PREFIX info to common/constants"

10 years agoMerge "DVR to delete router namespaces for service ports"
Jenkins [Mon, 22 Sep 2014 23:13:54 +0000 (23:13 +0000)]
Merge "DVR to delete router namespaces for service ports"

10 years agoMerge "Rework and enable VPNaaS UT for Cisco CSR REST"
Jenkins [Mon, 22 Sep 2014 22:47:32 +0000 (22:47 +0000)]
Merge "Rework and enable VPNaaS UT for Cisco CSR REST"

10 years agoMerge "Remove unnecessary _make_port function in BSN UTs"
Jenkins [Mon, 22 Sep 2014 14:46:33 +0000 (14:46 +0000)]
Merge "Remove unnecessary _make_port function in BSN UTs"

10 years agoMerge "Do not assume order of device_ids set elements"
Jenkins [Mon, 22 Sep 2014 14:46:04 +0000 (14:46 +0000)]
Merge "Do not assume order of device_ids set elements"

10 years agoMock out all RPC calls with a fixture
Kevin Benton [Sat, 20 Sep 2014 17:48:22 +0000 (10:48 -0700)]
Mock out all RPC calls with a fixture

Mock out the rpc proxy calls used by various agents to
prevent unit tests from blocking for 10+ seconds while waiting
for a timeout. This happened with the OVS agent unit tests
recently in Change-ID Idd770a85a9eabff112d9613e75d8bb524020234a.

This change results in a reduction from 330.8 seconds to 2.7 seconds
for the neutron.tests.unit.openvswitch.test_ovs_neutron_agent
test module.

Closes-Bug: #1372076
Change-Id: I5e6794dc33c64c8fe309d8e72a8af3385c7d4442

10 years agoRemove unnecessary _make_port function in BSN UTs
Kevin Benton [Thu, 18 Sep 2014 11:21:05 +0000 (04:21 -0700)]
Remove unnecessary _make_port function in BSN UTs

The Big Switch unit tests had unnecessary copies of the
_make_port function to allow the binding:host_id field to
be set. This was already possible with the existing _make_port
call through the use of kwargs so the extra function wasn't
necessary.

Change-Id: I88679173117739f628ae289636b5cdea10417e6c

10 years agoMerge "Some clean up of code I'm preparing to modify"
Jenkins [Sun, 21 Sep 2014 07:47:09 +0000 (07:47 +0000)]
Merge "Some clean up of code I'm preparing to modify"

10 years agoMerge "Only setup dhcp interface if dhcp is not active on network"
Jenkins [Sun, 21 Sep 2014 00:21:03 +0000 (00:21 +0000)]
Merge "Only setup dhcp interface if dhcp is not active on network"

10 years agoMerge "Fix foreign key constraint error on ml2_dvr_port_bindings"
Jenkins [Sun, 21 Sep 2014 00:20:48 +0000 (00:20 +0000)]
Merge "Fix foreign key constraint error on ml2_dvr_port_bindings"

10 years agoMerge "Delete a broken subnet delete unit test"
Jenkins [Sun, 21 Sep 2014 00:20:33 +0000 (00:20 +0000)]
Merge "Delete a broken subnet delete unit test"

10 years agoMerge "HA routers master state now distributed amongst agents"
Jenkins [Sat, 20 Sep 2014 05:48:39 +0000 (05:48 +0000)]
Merge "HA routers master state now distributed amongst agents"

10 years agoMerge "Deletes FIP agent gw port when last VM is deleted"
Jenkins [Sat, 20 Sep 2014 04:04:42 +0000 (04:04 +0000)]
Merge "Deletes FIP agent gw port when last VM is deleted"

10 years agoMerge "Separate Configuration from Freescale SDN ML2 mechanism Driver"
Jenkins [Sat, 20 Sep 2014 04:04:27 +0000 (04:04 +0000)]
Merge "Separate Configuration from Freescale SDN ML2 mechanism Driver"

10 years agoMerge "Indicate the begin and end of the sync process to EOS"
Jenkins [Fri, 19 Sep 2014 21:55:25 +0000 (21:55 +0000)]
Merge "Indicate the begin and end of the sync process to EOS"

10 years agoUse dict_extend_functions to populate provider network attributes
Divya ChanneGowda [Wed, 3 Sep 2014 21:59:34 +0000 (14:59 -0700)]
Use dict_extend_functions to populate provider network attributes

Use dict_extend_functions mechanism to handle populating additional
provider network attributes into Network model in Nuage plugin.

Change-Id: I72e5afe3d03ae223fcd8e75f1f4f07624c3a7daf
Closes-Bug: #1362308

10 years agoFix foreign key constraint error on ml2_dvr_port_bindings
armando-migliaccio [Fri, 19 Sep 2014 19:11:11 +0000 (12:11 -0700)]
Fix foreign key constraint error on ml2_dvr_port_bindings

Get the port before creating the DVR binding. This should guarantee that, if
the port is found, no foreign key violation is triggered.

Closes-bug: #1371696

Change-Id: I90c3d6460c14ef27823be95bc26aae38eba4879a

10 years agoSome clean up of code I'm preparing to modify
rossella [Tue, 16 Sep 2014 22:30:03 +0000 (22:30 +0000)]
Some clean up of code I'm preparing to modify

This patch has a few benign changes that should be easily reviewed.
The purpose of this patch is to allow me to make cleaner edits in
follow on patches so that they're more easily reviewed in their
specific contexts.

Change-Id: Ia3dd49c7b39f9ca07d5bb117972d934813c0cd67

10 years agoMerge "Use call to report state when ovs_agent starts up"
Jenkins [Fri, 19 Sep 2014 11:02:09 +0000 (11:02 +0000)]
Merge "Use call to report state when ovs_agent starts up"

10 years agoMerge "Access correct key for template name"
Jenkins [Fri, 19 Sep 2014 09:14:45 +0000 (09:14 +0000)]
Merge "Access correct key for template name"

10 years agoIndicate the begin and end of the sync process to EOS
Sukhdev [Fri, 19 Sep 2014 00:15:10 +0000 (17:15 -0700)]
Indicate the begin and end of the sync process to EOS

Send a trigger to EOS when a sync operation is initiated, and,
another trigger when the sync operation is complete.
Additionally, sync_interval value (from ml2_conf_arista.ini)
is passed down to EOS. This is used by EOS to timeout the
transaction.

Change-Id: I5110b24380ad848d03719e94283d69a7bc0ce972
Closes-Bug: 1371324

10 years agoDVR to delete router namespaces for service ports
Vivekanandan Narasimhan [Wed, 3 Sep 2014 08:48:39 +0000 (01:48 -0700)]
DVR to delete router namespaces for service ports

Earlier merge that enabled LBaaS in DVR with review #114141
had not covered the removal of DVR router namespace on
VIP Port deletion in ml2 plugin.

Here we fix the ml2 plugin to attempt namespace removal for
all dvr serviced ports.

Change-Id: Ie7930ebedb12212886d45294132fefff7296e104
Closes-Bug: #1364839

10 years agoDo not assume order of device_ids set elements
Bradley Jones [Wed, 6 Aug 2014 13:16:23 +0000 (14:16 +0100)]
Do not assume order of device_ids set elements

This fixes the test_ancillary_bridges_multiple unit test that breaks with a randomized
PYTHONHASHSEED (see the bug report).
The test assumed that the device_ids set had
elements in a particular order. Found with PYTHONHASHSEED=2455351445.

The fix refactors the pullup_side_effect function so that it checks if the
device_id exists before returning the bridge.

Partial-bug: #1348818

Note: There are several other unrelated unit tests that also break with a
randomized PYTHONHASHSEED, but they are not addressed here. They will be
addressed in separate patches.

Change-Id: Ie6b44d1d820ebb186036ffcd04ea2104dd384e94

10 years agoMerge "Check for ports in subnet before deleting it from Nuage VSD"
Jenkins [Thu, 18 Sep 2014 22:53:10 +0000 (22:53 +0000)]
Merge "Check for ports in subnet before deleting it from Nuage VSD"

10 years agoOnly setup dhcp interface if dhcp is not active on network
Oleg Bondarev [Thu, 18 Sep 2014 14:39:43 +0000 (18:39 +0400)]
Only setup dhcp interface if dhcp is not active on network

When enabling (DhcpLocalProcess.enable()) dhcp for a network the agent
first sets dhcp interface, then checks if dhcp is curently active and
if it's true then the agent restarts dhcp.
Restart (DhcpBase.restart()) first disables dhcp and then enables it again
by calling DhcpLocalProcess.enable() recursively which in turn sets
dhcp interface again (it doesn't see the port created earlier as network
is not re-fetched from db). This leads to duplicate dhcp interface
for the network.

The fix is to only setup dhcp interface if dhcp is not active.

Closes-Bug: #1339968

Change-Id: I3a6d2fd5b18a97138ac5b699ecd4d4b30dbdbacb

10 years agoHA routers master state now distributed amongst agents
Assaf Muller [Mon, 15 Sep 2014 15:11:17 +0000 (18:11 +0300)]
HA routers master state now distributed amongst agents

We're currently running with no pre-emption, meaning that
the first router in a cluster to go up will be the master,
regardless of priority. Since the order in which we sent
notifications was constant, the same agent hosted the
master instances of all HA routers, defeating the idea
of load sharing.

Closes-Bug: #1365429
Change-Id: Ia6fe2bd0317c241bf7eb55915df7650dfdc68210

10 years agoRework and enable VPNaaS UT for Cisco CSR REST
Paul Michali [Tue, 16 Sep 2014 15:22:17 +0000 (11:22 -0400)]
Rework and enable VPNaaS UT for Cisco CSR REST

The Cisco CSR REST client library unit tests were developed in
Icehouse, using the httmock library. However, the community did
not want to add this library to global requirements, as there was
a similar httpretty library available (albeit with some short-
comings). As a result, the test module was renamed with a "no"
prefix, to prevent inclusion in automated tests.

Since then, a new library, requests-mock, has been added to global
requirements, to replace httpretty, and is being used on several
other projects.

This commit reworks the unit test to use requests-mock, instead of
httmock. The functionality is the same, but the mechanism (a
fixture with URI registration vs context manager) is different.

This commit provides coverage for the REST client code, by using a
mock for the Cisco CSR VM. The unit test module can be subclassed,
and used with a real CSR VM, for 3rd party CI testing, in the
future.

Change-Id: I55c8a253eb32985bc2016ae748b1ded58d021e1a
Closes-Bug: 1358470

10 years agoMerge "Update URL of Ryu official site in ofagent README files"
Jenkins [Thu, 18 Sep 2014 08:14:57 +0000 (08:14 +0000)]
Merge "Update URL of Ryu official site in ofagent README files"

10 years agoMerge "NSX plugin: set VNIC_TYPE port binding attribute"
Jenkins [Thu, 18 Sep 2014 07:26:52 +0000 (07:26 +0000)]
Merge "NSX plugin: set VNIC_TYPE port binding attribute"

10 years agoMerge "Add endpoint_type parameter to MetaInterfaceDriver"
Jenkins [Thu, 18 Sep 2014 07:25:26 +0000 (07:25 +0000)]
Merge "Add endpoint_type parameter to MetaInterfaceDriver"

10 years agoUpdate URL of Ryu official site in ofagent README files
YAMAMOTO Takashi [Fri, 5 Sep 2014 06:03:09 +0000 (15:03 +0900)]
Update URL of Ryu official site in ofagent README files

Change-Id: I1e9bdc3dffb8be705c0fcaf88bd914d27e10936d

10 years agoSet dsvm-functional job to use system packages
Maru Newby [Wed, 17 Sep 2014 19:48:41 +0000 (19:48 +0000)]
Set dsvm-functional job to use system packages

The functional job was breaking due to the interaction between
devstack installing neutron system-wide in editable mode (pip install
-e) and tox packaging in the same path.  Installing in editable
mode meant that neutron.egg-info/PKG_INFO could be updated (in this
case by tox) to change the installed version of the neutron package
without updating scripts that depended on the installed version
(e.g. rootwrap).  This fix is to set the dsvm-functional env to
use system packages and avoid having tox update PKG_INFO.

Change-Id: Icc38cacd69bc5843ccfcc60237a7102df6d8597f
Closes-bug: #1370347

10 years agoDelete a broken subnet delete unit test
Kevin Benton [Thu, 18 Sep 2014 20:46:51 +0000 (13:46 -0700)]
Delete a broken subnet delete unit test

A test to delete a subnet in use was incorrectly
calling 'subnet' instead of 'subnets' in the API request
and asserting a 404 instead of a 409. Even the correct
version of this test is already covered by the
'test_port_prevents_subnet_deletion' method so this
commit just removes the broken test.

Change-Id: I3eac35abbb1d6f8429b4331948aecfc952284219

10 years agoDeletes FIP agent gw port when last VM is deleted
Swaminathan Vasudevan [Thu, 11 Sep 2014 19:51:14 +0000 (12:51 -0700)]
Deletes FIP agent gw port when last VM is deleted

This patch deletes the FIP agent gateway port in
the plugin, when the last VM with FIP using this
FIP agent gw port on a Compute node gets deleted.

Closes-bug: #1367588

Change-Id: I71a9fa48544fa4bbd08ac6d83c99e6542c818009

10 years agoSeparate Configuration from Freescale SDN ML2 mechanism Driver
Trinath Somanchi [Wed, 17 Sep 2014 07:22:14 +0000 (12:52 +0530)]
Separate Configuration from Freescale SDN ML2 mechanism Driver

- In the current implementation, CRD configuration is existing
  within the code of ML2 mechanism driver.

- When any other plugin/driver (like, Freescale FWaaS Plugin) need
  to use this configuration, it needs to duplicate the complete configuration.

- So the CRD configuration is moved to a separate file for use
  in other plugin/drivers.

- Unit testing of this MD is also updated.

Closes-Bug: #1368033

Change-Id: I488fee47803a494aae9df42f9c59fffa9843e727

10 years agoNSX plugin: set VNIC_TYPE port binding attribute
Salvatore [Tue, 16 Sep 2014 15:28:55 +0000 (17:28 +0200)]
NSX plugin: set VNIC_TYPE port binding attribute

A recent change has made this attribute required for nova
integration.
This patch adds this attribute to responses generated by the NSX
plugin, and also ensures relevant unit tests are executed for the
vmware NSX plugin.

Change-Id: Ieebab01b406909f66a40cc683763292a9ef6f218
Closes-Bug: #1370112

10 years agoMerge "Remove @author(s) from copyright statements"
Jenkins [Tue, 16 Sep 2014 13:30:38 +0000 (13:30 +0000)]
Merge "Remove @author(s) from copyright statements"

10 years agoMerge "Fix DVR to service DHCP Ports"
Jenkins [Tue, 16 Sep 2014 13:26:05 +0000 (13:26 +0000)]
Merge "Fix DVR to service DHCP Ports"

10 years agoMerge "Fail on None before iteration attempt"
Jenkins [Tue, 16 Sep 2014 12:17:25 +0000 (12:17 +0000)]
Merge "Fail on None before iteration attempt"

10 years agoAccess correct key for template name
Paul Michali [Fri, 12 Sep 2014 18:16:35 +0000 (14:16 -0400)]
Access correct key for template name

When an exception occurs while loading the config agent driver, the
handler tries to log a message, but accesses the wrong key to get the
template name. This causes another exception, which masks the original
exception.

This change accesses the correct key and performs logging inside a
with block to (defensively) preserve the exception context.

Change-Id: I3991bc4c509bbd8d68f7a1c8c8314404f2e0eafa
Closes-Bug: #1368900

10 years agoMerge "Allow DHCPv6 reply from server to client"
Jenkins [Tue, 16 Sep 2014 07:52:52 +0000 (07:52 +0000)]
Merge "Allow DHCPv6 reply from server to client"

10 years agoMerge "Avoid an extra database query in schedule_snat_router"
Jenkins [Tue, 16 Sep 2014 06:42:21 +0000 (06:42 +0000)]
Merge "Avoid an extra database query in schedule_snat_router"

10 years agoMerge "Tunnel ID range validation for VXLAN/GRE networks"
Jenkins [Tue, 16 Sep 2014 00:39:53 +0000 (00:39 +0000)]
Merge "Tunnel ID range validation for VXLAN/GRE networks"

10 years agoFix DVR to service DHCP Ports
Vivekanandan Narasimhan [Wed, 27 Aug 2014 09:07:37 +0000 (02:07 -0700)]
Fix DVR to service DHCP Ports

This fix ensures that DHCP Ports that are
available on DVR routed subnets, are serviced
by DVR neutron infrastructure.

Here servicing by DVR means, creation of
DVR namespaces on such nodes holding DHCP
Ports and also applying DVR specific OVS
Rules to the br-int and br-tun bridges on
such nodes, to enable traffic to be routed
via DVR to such DHCP Ports.

Closes-Bug: #1358718

Change-Id: Ib6d5fbf883d6698f34f3a3b722e426e3285a5736

10 years agoMerge "use TRUE in SQL for boolean var"
Jenkins [Mon, 15 Sep 2014 17:32:36 +0000 (17:32 +0000)]
Merge "use TRUE in SQL for boolean var"

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Mon, 15 Sep 2014 17:23:40 +0000 (17:23 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Remove faulty .assert_has_calls([])"
Jenkins [Mon, 15 Sep 2014 16:53:20 +0000 (16:53 +0000)]
Merge "Remove faulty .assert_has_calls([])"

10 years agoTunnel ID range validation for VXLAN/GRE networks
yangxurong [Thu, 24 Apr 2014 01:26:22 +0000 (09:26 +0800)]
Tunnel ID range validation for VXLAN/GRE networks

Currently, there is no check which validates the values of
tunnel range for VXLAN/GRE networks. The VXLAN VNI is 24 bit
which have range between 1 to 2^24 - 1. Similarly, GRE key field
is 32 bit which have range between 1 to 2^32 - 1.

Closes-Bug: #1306488

Co-Authored-By: romilg romilg@hp.com
Change-Id: Idb3d0f41166df589a1e90394d9319901b5f9b439

10 years agoMerge "shared policy shouldn't have unshared rules"
Jenkins [Mon, 15 Sep 2014 15:09:33 +0000 (15:09 +0000)]
Merge "shared policy shouldn't have unshared rules"

10 years agoMerge "Add unit-test assert to check dict is superset of dict"
Jenkins [Mon, 15 Sep 2014 14:33:01 +0000 (14:33 +0000)]
Merge "Add unit-test assert to check dict is superset of dict"

10 years agoMerge "Don't create unused ipset chain"
Jenkins [Mon, 15 Sep 2014 14:28:07 +0000 (14:28 +0000)]
Merge "Don't create unused ipset chain"

10 years agoRemove @author(s) from copyright statements
Gary Kotton [Wed, 6 Aug 2014 15:19:54 +0000 (08:19 -0700)]
Remove @author(s) from copyright statements

We have git to track authorship, so let's not pad source files
with it as well.

A hacking check has been added for this. The value is N322.

Change-Id: Iab0b64d417e0bb41a6b455e2ac377deee64ec3ee

10 years agoMerge "BSN: Add context to backend request for debugging"
Jenkins [Mon, 15 Sep 2014 12:34:12 +0000 (12:34 +0000)]
Merge "BSN: Add context to backend request for debugging"

10 years agoMerge "Remove logic for conditional migrations"
Jenkins [Mon, 15 Sep 2014 10:40:58 +0000 (10:40 +0000)]
Merge "Remove logic for conditional migrations"

10 years agoMerge "Stop using intersphinx"
Jenkins [Mon, 15 Sep 2014 09:09:48 +0000 (09:09 +0000)]
Merge "Stop using intersphinx"

10 years agoBSN: Add context to backend request for debugging
Kevin Benton [Tue, 2 Sep 2014 18:27:51 +0000 (11:27 -0700)]
BSN: Add context to backend request for debugging

Include the request context with calls to the backend
Big Switch controllers to assist with event correlation
and debugging object provenance. The auth token is
stripped since this information is sensitive and
these requests will appear in debug logs.

This also removes mutable objects from default arguments
in some of the server manager function definitions that
were interferring with the new use of the headers dict.

Closes-Bug: #1364696
Change-Id: I5b80b1596cc145742457b3603cbcd67f6e0d9f36

10 years agoMerge "Fix for floating ip association and deletion"
Jenkins [Mon, 15 Sep 2014 08:07:46 +0000 (08:07 +0000)]
Merge "Fix for floating ip association and deletion"

10 years agoMerge "Big Switch: Check for 'id' in port before lookup"
Jenkins [Mon, 15 Sep 2014 08:07:32 +0000 (08:07 +0000)]
Merge "Big Switch: Check for 'id' in port before lookup"

10 years agoMerge "Add requests_mock to test-requirements.txt"
Jenkins [Mon, 15 Sep 2014 08:07:18 +0000 (08:07 +0000)]
Merge "Add requests_mock to test-requirements.txt"

10 years agoDon't create unused ipset chain
shihanzhang [Mon, 15 Sep 2014 06:46:31 +0000 (14:46 +0800)]
Don't create unused ipset chain

when a security group don't have members, it should not create corresponding
ipset chain.

Change-Id: Ia04ffb3ac539c9a89a882e6dd91f373cb67c6f8b
Closes-bug: #1369431

10 years agoMerge "Cleanup floatingips also on router delete"
Jenkins [Mon, 15 Sep 2014 07:23:40 +0000 (07:23 +0000)]
Merge "Cleanup floatingips also on router delete"

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

Change-Id: I6aacdfe6ced9645aaec56b5a2a0516c167a7b5fd

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Mon, 15 Sep 2014 06:09:37 +0000 (06:09 +0000)]
Merge "Imported Translations from Transifex"

10 years agoAvoid an extra database query in schedule_snat_router
Michael Smith [Tue, 2 Sep 2014 17:09:12 +0000 (17:09 +0000)]
Avoid an extra database query in schedule_snat_router

bind_snat_servicenode already knows the chosen_agent.  By waiting
until after it is called, we can use it to avoid another db query.

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

10 years agoMerge "Make Juno migrations config independent"
Jenkins [Mon, 15 Sep 2014 04:04:55 +0000 (04:04 +0000)]
Merge "Make Juno migrations config independent"

10 years agoMerge "Introduce havana initial state"
Jenkins [Mon, 15 Sep 2014 04:04:45 +0000 (04:04 +0000)]
Merge "Introduce havana initial state"

10 years agoMerge "Fix a test_db_plugin unit test side_effect usage"
Jenkins [Mon, 15 Sep 2014 04:04:30 +0000 (04:04 +0000)]
Merge "Fix a test_db_plugin unit test side_effect usage"

10 years agoAdd HA support to the l3 agent
Sylvain Afchain [Wed, 6 Aug 2014 12:32:51 +0000 (15:32 +0300)]
Add HA support to the l3 agent

* Add HA mixins used by RouterInfo and LNAT3Agent
* For HA routers: Internal, external and floating IP addresses are no
  longer configured by the agent. Instead the interfaces and addresses
  are passed to a keepalived configuration, which configures the
  addresses when the router transitions to the master state.
* Only the master instance of the router opens the metadata proxy.
  This happens due to keepalived notification scripts that are
  called upon state transitions.
* Extra routes are handled via keepalived virtual routes and are
  no longer configured by the agent.
* HA routers create a 'HA device' on a VRRP-traffic only HA-network.
* Functional testing: Add two new tests to the L3 agent:
    1) Translation of a router configuration to a keepalived
       configuration.
    2) HA specific events when creating a HA router - Assert that
       keepalived is up, etc.

Change-Id: I83f2a5d2af42164c42773b385ba7b00872eed54e
Implements: blueprint l3-high-availability
Co-Authored-By: Assaf Muller <amuller@redhat.com>
10 years agoFix a test_db_plugin unit test side_effect usage
Kevin Benton [Sun, 14 Sep 2014 09:22:57 +0000 (02:22 -0700)]
Fix a test_db_plugin unit test side_effect usage

One of the unit tests didn't correctly use the side_effect
parameter for a mock to return different responses to multiple
calls, which resulted in an extra try-except block and an inline
note. This commit fixes the side_effect and removes the extra
catching code.

Change-Id: Ifa1a6a15025b710ecbba956b5b848e32314cf0cf

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Sun, 14 Sep 2014 06:11:25 +0000 (06:11 +0000)]
Imported Translations from Transifex

Change-Id: I323501dc17aedb1819d1f797c9988fec4b1ce695

10 years agoMerge "Fix KeyError on missing gw_port_host for L3 agent in DVR mode"
Jenkins [Sat, 13 Sep 2014 20:07:37 +0000 (20:07 +0000)]
Merge "Fix KeyError on missing gw_port_host for L3 agent in DVR mode"

10 years agoMerge "Updated from global requirements"
Jenkins [Sat, 13 Sep 2014 18:47:36 +0000 (18:47 +0000)]
Merge "Updated from global requirements"

10 years agoMerge "Add functional testing to ipset_manager"
Jenkins [Sat, 13 Sep 2014 18:37:37 +0000 (18:37 +0000)]
Merge "Add functional testing to ipset_manager"

10 years agoFix KeyError on missing gw_port_host for L3 agent in DVR mode
armando-migliaccio [Sat, 13 Sep 2014 06:25:03 +0000 (23:25 -0700)]
Fix KeyError on missing gw_port_host for L3 agent in DVR mode

The order of Mixin imports broke the MRO, which caused some methods
in the L3 hierarchy to be ignored. In particular, _build_routers_list
for DVR was no longer called, which led to the stacktrace observed on
the L3 agent side.

Closes-bug: 1369012

Change-Id: I23cd9813fb9b67e9029d222d5f72733ecec3febb

10 years agoMerge "Remove the Cisco Nexus monolithic plugin"
Jenkins [Sat, 13 Sep 2014 15:44:26 +0000 (15:44 +0000)]
Merge "Remove the Cisco Nexus monolithic plugin"

10 years agoMerge "L3 Metering label as shared"
Jenkins [Sat, 13 Sep 2014 15:44:12 +0000 (15:44 +0000)]
Merge "L3 Metering label as shared"

10 years agoMerge "Clarify message when no probes are cleared"
Jenkins [Sat, 13 Sep 2014 15:29:24 +0000 (15:29 +0000)]
Merge "Clarify message when no probes are cleared"

10 years agoMerge "Add a new scheduler for the l3 HA"
Jenkins [Sat, 13 Sep 2014 13:06:47 +0000 (13:06 +0000)]
Merge "Add a new scheduler for the l3 HA"

10 years agoMerge "Remove hints from schedule_router"
Jenkins [Sat, 13 Sep 2014 13:02:30 +0000 (13:02 +0000)]
Merge "Remove hints from schedule_router"

10 years agoMerge "BSN: Allow concurrent reads to consistency DB"
Jenkins [Sat, 13 Sep 2014 12:41:22 +0000 (12:41 +0000)]
Merge "BSN: Allow concurrent reads to consistency DB"

10 years agoMerge "Adds ipset support for Security Groups"
Jenkins [Sat, 13 Sep 2014 10:56:39 +0000 (10:56 +0000)]
Merge "Adds ipset support for Security Groups"

10 years agoMerge "Don't allow user to set firewall rule with port and no protocol"
Jenkins [Sat, 13 Sep 2014 10:44:46 +0000 (10:44 +0000)]
Merge "Don't allow user to set firewall rule with port and no protocol"

10 years agoMerge "Refactor l3_agent.process_router_floating_ip_addresses"
Jenkins [Sat, 13 Sep 2014 08:12:41 +0000 (08:12 +0000)]
Merge "Refactor l3_agent.process_router_floating_ip_addresses"

10 years agoStop using intersphinx
Andreas Jaeger [Sat, 13 Sep 2014 07:29:37 +0000 (09:29 +0200)]
Stop using intersphinx

Remove intersphinx from the docs build as it triggers network calls that
occasionally fail, and we don't really use intersphinx (links other
sphinx documents out on the internet)

This also removes the requirement for internet access during docs build.

This can cause docs jobs to fail if the project errors out on
warnings.

Change-Id: I71e941e2a639641a662a163c682eb86d51de42fb
Related-Bug: #1368910

10 years agoUpdated from global requirements
OpenStack Proposal Bot [Sat, 13 Sep 2014 07:23:23 +0000 (07:23 +0000)]
Updated from global requirements

Change-Id: I7a53aedccdd62fafd0da2679e84345e71da5493d

10 years agoMerge "Subnets with prefix length 0 are invalid"
Jenkins [Sat, 13 Sep 2014 07:18:21 +0000 (07:18 +0000)]
Merge "Subnets with prefix length 0 are invalid"

10 years agoMerge "Big Switch: Retry on 503 errors from backend"
Jenkins [Sat, 13 Sep 2014 02:29:07 +0000 (02:29 +0000)]
Merge "Big Switch: Retry on 503 errors from backend"

10 years agoRemove the Cisco Nexus monolithic plugin
Pritesh Kothari [Thu, 21 Aug 2014 06:51:16 +0000 (23:51 -0700)]
Remove the Cisco Nexus monolithic plugin

The Cisco Nexus monolithic plugin does not work without the Open
vSwitch plugin. The Open vSwitch plugin is scheduled to be removed
as per #1323729. This patch removes the Nexus Hardware switch
related plugin code. The N1KV virtual switch related code will
still remain in the tree as it doesn't depend on Open vSwitch
plugin.

Closes-Bug: #1350387
Change-Id: I2542e92c25e9280e975c3903afb9114e850a966a

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Fri, 12 Sep 2014 20:13:33 +0000 (20:13 +0000)]
Merge "Imported Translations from Transifex"

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 agoCheck for ports in subnet before deleting it from Nuage VSD
ronak [Fri, 8 Aug 2014 19:13:16 +0000 (12:13 -0700)]
Check for ports in subnet before deleting it from Nuage VSD

There could exist a port in subnet in neutron in which case subnet delete
is not allowed. In the nuage's plugin code, this validation needs to
be handle prior to sending delete subnet request to backend.

Change-Id: Idd20d2f878a6274a012504108d01bd2237dc665a
Closes-bug: #1351522

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 agoAdd a new scheduler for the l3 HA
Sylvain Afchain [Mon, 20 Jan 2014 22:38:29 +0000 (23:38 +0100)]
Add a new scheduler for the l3 HA

This patch updates all schedulers in order to support the
scheduling of HA routers. It also refactors and adds tests for
the auto scheduling part.

The schedulers aren't expected to work when creating a router
that's both distributed and highly available. Specific issues
will be reported as bugs and fixed in a future patch.

Partially-implements: blueprint l3-high-availability
Change-Id: I2f80f45adeffa1a4eebcb375a4c8326177e84e83
Co-Authored-By: Assaf Muller <amuller@redhat.com>
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"