]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoFixes bugs for requests sent to SDN-VE controller
Mohammad Banikazemi [Tue, 22 Apr 2014 16:32:33 +0000 (12:32 -0400)]
Fixes bugs for requests sent to SDN-VE controller

This patchset fixes a couple of bugs wrt processing requests
before sending them to the backend controller and adjusts the
requests based on the controller requirements. It also corrects
typos, add quotas and changes the default for a configuration
parameter.

Change-Id: I4b64c2b49ff4854949afc1e54cba1057f376b058
Closes-Bug: #1311260
DocImpact: The default tenant type is chganged from OF to OVERLAY

10 years agoMerge "gw_port should be set as lazy='join'"
Jenkins [Tue, 22 Apr 2014 03:09:31 +0000 (03:09 +0000)]
Merge "gw_port should be set as lazy='join'"

10 years agoMerge "ML2 Cisco Nexus MD: Improve Unit Test Coverage"
Jenkins [Tue, 22 Apr 2014 03:09:21 +0000 (03:09 +0000)]
Merge "ML2 Cisco Nexus MD: Improve Unit Test Coverage"

10 years agoMerge "Add nova_ca_certificates_file option to neutron"
Jenkins [Tue, 22 Apr 2014 01:42:15 +0000 (01:42 +0000)]
Merge "Add nova_ca_certificates_file option to neutron"

10 years agoMerge "Add support for https requests on nova metadata"
Jenkins [Tue, 22 Apr 2014 01:23:43 +0000 (01:23 +0000)]
Merge "Add support for https requests on nova metadata"

10 years agoMerge "ofa_neutron_agent: Fix _phys_br_block_untranslated_traffic"
Jenkins [Tue, 22 Apr 2014 01:23:31 +0000 (01:23 +0000)]
Merge "ofa_neutron_agent: Fix _phys_br_block_untranslated_traffic"

10 years agoMerge "allow delete_port to work when there are multiple floating ips"
Jenkins [Mon, 21 Apr 2014 22:51:52 +0000 (22:51 +0000)]
Merge "allow delete_port to work when there are multiple floating ips"

10 years agoMerge "Register LBaaS resources to quotas engine"
Jenkins [Mon, 21 Apr 2014 20:07:46 +0000 (20:07 +0000)]
Merge "Register LBaaS resources to quotas engine"

10 years agoMerge "NSX: sync thread catches wrong exceptions on not found"
Jenkins [Mon, 21 Apr 2014 17:16:24 +0000 (17:16 +0000)]
Merge "NSX: sync thread catches wrong exceptions on not found"

10 years agoML2 Cisco Nexus MD: Improve Unit Test Coverage
Rich Curran [Fri, 18 Apr 2014 21:09:08 +0000 (17:09 -0400)]
ML2 Cisco Nexus MD: Improve Unit Test Coverage

Improve unit test coverage for:
neutron/plugins/ml2/drivers/cisco/ modules.

Current coverage info:
neutron/plugins/ml2/drivers/cisco/nexus/nexus_models_v2      65%
neutron/plugins/ml2/drivers/cisco/nexus/nexus_network_driver 82%
neutron/plugins/ml2/drivers/cisco/nexus/credentials_v2       81%
neutron/plugins/ml2/drivers/cisco/nexus/mech_cisco_nexus     78%
neutron/plugins/ml2/drivers/cisco/nexus/config               75%

With these updates:
neutron/plugins/ml2/drivers/cisco/nexus/mech_cisco_nexus     99%
neutron/plugins/ml2/drivers/cisco/nexus/nexus_db_v2          99%
neutron/plugins/ml2/drivers/cisco/nexus/nexus_models_v2      65%
neutron/plugins/ml2/drivers/cisco/nexus/nexus_network_driver 98%
neutron/plugins/ml2/drivers/cisco/nexus/config               100%

NB: nexus_models_v2.py consists of database definitions and two
customization methods, __repr__ and __eq__.

Change-Id: I0de1cb9e71adffff698e37c8bec5497b88f0f0cd
Closes-Bug: 1267481

10 years agoallow delete_port to work when there are multiple floating ips
Lars Kellogg-Stedman [Fri, 4 Apr 2014 17:35:32 +0000 (13:35 -0400)]
allow delete_port to work when there are multiple floating ips

It is possible to associate multiple floating ip addresses with a single
port through the use of multiple *fixed* ip addresses, e.g.:

    nova boot ... --nic net-id=my-net-id myserver
    nova add-fixed-ip myserver my-net-id
    nova add-floating-ip --fixed-address x.x.x.1 myserver y.y.y.y.1
    nova add-floating-ip --fixed-address x.x.x.2 myserver y.y.y.y.2

In this situation, neutron.db.l3_db.disassociate_floatingips would throw
an exception:

    Exception: Multiple floating IPs found for port <port-id>

This would prevent someone from deleting an instance that was associated
with multiple floating ips.

This patch corrects disassociate_floatingips so that it will
disassociate all floating ips associated with the port, allowing the
delete operation to proceed correctly.

Change-Id: I68a2131fa8ee80828354c9db4ac405c3f77c3b90
Closes-bug: 1302701

10 years agoAdd nova_ca_certificates_file option to neutron
Paul Ward [Fri, 18 Apr 2014 19:57:38 +0000 (14:57 -0500)]
Add nova_ca_certificates_file option to neutron

Previously, neutron had no way to pass a certificates file to the
novaclient.  This change is to add that ability, similar to the way
you can pass a certificates file to neutronclient in nova.conf via
neturon_ca_certificates_file.

Change-Id: I1a3f85505eb44bee604900301af79d773e1952a3
Closes-Bug: #1309694

10 years agogw_port should be set as lazy='join'
armando-migliaccio [Fri, 18 Apr 2014 19:32:26 +0000 (12:32 -0700)]
gw_port should be set as lazy='join'

This forces the object to be ready ahead of accessing time.
The change in loading behavior is also beneficial while listing
routers, as reduces the amount of queries being issued. Tests
show a performance gain of 15-30% for router-list times.

As Mr. Aaron Rosen is used to saying: Woot woot!!

Closes-bug: #1309144

Change-Id: Ibae261b91de26ca7c50e3f6c80e9be2a799785a3

10 years agonetaddr<=0.7.10 raises ValueError instead of AddrFormatError
sridhargaddam [Fri, 18 Apr 2014 15:31:48 +0000 (21:01 +0530)]
netaddr<=0.7.10 raises ValueError instead of AddrFormatError

This patch is based on Aarons work for the Bug#1308675.
It ensures that ValueError is also caught in addition to
AddrFormatError as in netaddr>=0.7.11 AddrFormatError is raised and
in netaddr<=0.7.10 ValueError is raised.

Change-Id: I71cfe82e57290552fb22637ad929747a6fa22460
Closes-bug: #1308675

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Fri, 18 Apr 2014 15:36:02 +0000 (15:36 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "ML2 Cisco Nexus MD: Remove unnecessary Cisco nexus DB"
Jenkins [Fri, 18 Apr 2014 15:33:24 +0000 (15:33 +0000)]
Merge "ML2 Cisco Nexus MD: Remove unnecessary Cisco nexus DB"

10 years agoMerge "Add 'ip neigh' to ip_lib"
Jenkins [Fri, 18 Apr 2014 15:09:34 +0000 (15:09 +0000)]
Merge "Add 'ip neigh' to ip_lib"

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Fri, 18 Apr 2014 06:35:25 +0000 (06:35 +0000)]
Imported Translations from Transifex

Change-Id: Ica3d37f1b176233a75cd3a6fc2d6ff14859848e1

10 years agoMerge "netaddr<=0.7.10 raises ValueError instead of AddrFormatError"
Jenkins [Fri, 18 Apr 2014 06:05:15 +0000 (06:05 +0000)]
Merge "netaddr<=0.7.10 raises ValueError instead of AddrFormatError"

10 years agoMerge "Switch over to FixedIntervalLoopingCall"
Jenkins [Fri, 18 Apr 2014 05:42:29 +0000 (05:42 +0000)]
Merge "Switch over to FixedIntervalLoopingCall"

10 years agonetaddr<=0.7.10 raises ValueError instead of AddrFormatError
Aaron Rosen [Wed, 16 Apr 2014 18:31:25 +0000 (11:31 -0700)]
netaddr<=0.7.10 raises ValueError instead of AddrFormatError

This patch ensures that ValueError is also caught in addition to
AddrFormatError as in netaddr>=0.7.11 AddrFormatError is raised and
in netaddr<=0.7.10 ValueError is raised.

Change-Id: I595c90e42129a2d365f3860e3042e826bd031365
Closes-bug: #1308675

10 years agoAdd 'ip neigh' to ip_lib
rajeev [Wed, 16 Apr 2014 22:24:44 +0000 (18:24 -0400)]
Add 'ip neigh' to ip_lib

This change adds 'ip neigh add' and 'ip neigh delete' as
Ip Device commands

Partially-Implements: blueprint neutron-ovs-dvr
Change-Id: I59428e2fe28c6a632c232b47cc46c097c281f253

10 years agoNSX: sync thread catches wrong exceptions on not found
Aaron Rosen [Thu, 17 Apr 2014 21:48:55 +0000 (14:48 -0700)]
NSX: sync thread catches wrong exceptions on not found

Previously the sync code expected exc.NoResultFound to be raised if a
port/router/network was not found in the database. This is actually not the
correct exception raised. This error will only occur if an element is deleted
from the db right when the sync thead is run for a specific element.

Change-Id: I3a5c8316ade49004fb9fa0b454435205c543f6ee
Closes-bug: 1309208

10 years agoNotifier: Catch NotFound error from nova
Aaron Rosen [Thu, 17 Apr 2014 20:42:39 +0000 (13:42 -0700)]
Notifier: Catch NotFound error from nova

If neutron sends a single event to nova and the server_uuid isn't found
in nova. The python-novaclient will raise a 404 error. This patch ensures
we explicitly catch that exception and use LOG.warning instead of LOG.exception
as this is not an error and can happen when deleting an instance if neutron
detects that the port_status goes down before the port is deleted because
nova first unplugs the vif and then deletes it from neutron.

Change-Id: I909025503fc88a92201d5247ae5223e4516e8707
Closes-bug: #1309187

10 years agoMerge "Support enhancements to Cisco CSR VPN REST APIs"
Jenkins [Thu, 17 Apr 2014 19:25:32 +0000 (19:25 +0000)]
Merge "Support enhancements to Cisco CSR VPN REST APIs"

10 years agoSwitch over to FixedIntervalLoopingCall
Dirk Mueller [Mon, 14 Apr 2014 15:08:37 +0000 (17:08 +0200)]
Switch over to FixedIntervalLoopingCall

LoopingCall has been renamed (without a change) to
FixedIntervalLoopingCall in https://review.openstack.org/#/c/26345/

Adjust to the new name so that the compatibility code can be removed.

Change-Id: I64f62dca5bee580dcd28860760208e9be8f4b659
Closes-Bug: #1307560

10 years agoMerge "Validate CIDR given as ip-prefix in security-group-rule-create"
Jenkins [Thu, 17 Apr 2014 11:17:44 +0000 (11:17 +0000)]
Merge "Validate CIDR given as ip-prefix in security-group-rule-create"

10 years agoMerge "Remove workaround for bug #1219530"
Jenkins [Thu, 17 Apr 2014 07:35:35 +0000 (07:35 +0000)]
Merge "Remove workaround for bug #1219530"

10 years agoMerge "Use different name for the same constraint"
Jenkins [Thu, 17 Apr 2014 05:29:23 +0000 (05:29 +0000)]
Merge "Use different name for the same constraint"

10 years agoValidate CIDR given as ip-prefix in security-group-rule-create
marios [Fri, 29 Nov 2013 16:23:54 +0000 (18:23 +0200)]
Validate CIDR given as ip-prefix in security-group-rule-create

There was no validation for the provided ip prefix. This just adds
a simple parse using netaddr and explodes with appropriate message.
Also makes sure ip prefix _is_ cidr (192.168.1.1-->192.168.1.1/32).

Validation occurs at the attribute level (API model) as well as at
the db level, where the ethertype is validated against the ip_prefix
address type.

Unit test cases added - bad prefix, unmasked prefix and incorrect
ethertype. Also adds attribute test cases for the added
convert_ip_prefix_to_cidr method

Change-Id: I71fb8c887963a122a5bd8cfdda800026c1cd3954
Closes-Bug: 1255338

10 years agoSupport enhancements to Cisco CSR VPN REST APIs
Paul Michali [Fri, 4 Apr 2014 19:14:36 +0000 (19:14 +0000)]
Support enhancements to Cisco CSR VPN REST APIs

Incorporate latest enhancements and fixes in Cisco CSR router REST API
to the VPNaaS device driver and unit test cases. Primarily, is support in
the REST API for different IKE and IPSec encryption algorithms, name length
error handling, disable of anti replay window, and IKE keep alive.

Also includes minor typos and comment fixes mentioned in previous reviews.

Note: notest_cisco_csr_rest.py, which tests the CSR REST client, is not
part of the UT suite yet, pending resolution of httmock package inclusion
as test requirement.

Change-Id: I931f487fbd4ead93a1648e89c9c383b3d55fc07c
Closes-Bug: 1303820

10 years agoMerge "Security Group rule validation for ICMP rules"
Jenkins [Wed, 16 Apr 2014 09:04:40 +0000 (09:04 +0000)]
Merge "Security Group rule validation for ICMP rules"

10 years agoMerge "Fixes Hyper-V agent security groups disabling"
Jenkins [Wed, 16 Apr 2014 06:15:25 +0000 (06:15 +0000)]
Merge "Fixes Hyper-V agent security groups disabling"

10 years agoMerge "Improved quota error message"
Jenkins [Wed, 16 Apr 2014 05:20:17 +0000 (05:20 +0000)]
Merge "Improved quota error message"

10 years agoMerge "Nuage Plugin: Delete router requires precommit checks"
Jenkins [Wed, 16 Apr 2014 05:20:07 +0000 (05:20 +0000)]
Merge "Nuage Plugin: Delete router requires precommit checks"

10 years agoMerge "Add support for multiple RPC workers under Metaplugin"
Jenkins [Wed, 16 Apr 2014 00:36:17 +0000 (00:36 +0000)]
Merge "Add support for multiple RPC workers under Metaplugin"

10 years agoNuage Plugin: Delete router requires precommit checks
ronak [Tue, 1 Apr 2014 01:09:42 +0000 (18:09 -0700)]
Nuage Plugin: Delete router requires precommit checks

There exist a case where deleting router from neutron without
deleting router-interface deletes router from VSD but not from neutron.
If router has an interface with subnet router deletion is not allowed.
Needs to precheck this condition before deleting router from
backend (VSD).

Change-Id: I4ba7eff399acda0427505328355dbfb931d62587
Closes-Bug: #1298635

10 years agoMerge "Remove device_exists in LinuxBridgeManager"
Jenkins [Tue, 15 Apr 2014 21:34:44 +0000 (21:34 +0000)]
Merge "Remove device_exists in LinuxBridgeManager"

10 years agoImproved quota error message
Shweta Patil [Thu, 13 Mar 2014 18:48:58 +0000 (11:48 -0700)]
Improved quota error message

Removed two negatives and showed a clear message when
tried to see quota of different tenants.
When a user who does not belong to a project tries to access the
quota of that project, the message that gets displayed is not clear.
In this change the user would understand the error more properly.

Change-Id: I2284df07687bb530fe06fbaab38e2971826b7b40
Closes-Bug: #1288915

10 years agoMerge "Start using oslosphinx theme for docs"
Jenkins [Tue, 15 Apr 2014 11:16:29 +0000 (11:16 +0000)]
Merge "Start using oslosphinx theme for docs"

10 years agoRemove device_exists in LinuxBridgeManager
rossella [Fri, 4 Apr 2014 09:55:11 +0000 (11:55 +0200)]
Remove device_exists in LinuxBridgeManager

LinuxBridgeManager is adding a device_exists method instead of
using the one in ip_lib as the rest of the codebase

Change-Id: Ibeb95be76a1e1b20c69841e708c2a2cbf1cbe05a
Closes-Bug: #1302463

10 years agoAdd support for multiple RPC workers under Metaplugin
Itsuro Oda [Wed, 2 Apr 2014 04:24:42 +0000 (13:24 +0900)]
Add support for multiple RPC workers under Metaplugin

Metaplugin needs a fix to support multiple RPC workers properly
because a plugin which supports multiple RPC workers cannot
initialize RPC connections at plugin initialization.

Closes-Bug: #1300570
Change-Id: I584f70abb8969054cd4edc8f914d00f6be930bab

10 years agoMerge "DHCP agent should check interface is UP before adding route"
Jenkins [Mon, 14 Apr 2014 21:01:16 +0000 (21:01 +0000)]
Merge "DHCP agent should check interface is UP before adding route"

10 years agoMerge "Allow combined certificate/key files for SSL"
Jenkins [Mon, 14 Apr 2014 19:08:02 +0000 (19:08 +0000)]
Merge "Allow combined certificate/key files for SSL"

10 years agoSecurity Group rule validation for ICMP rules
sridhargaddam [Thu, 3 Apr 2014 13:00:07 +0000 (18:30 +0530)]
Security Group rule validation for ICMP rules

Currently there is no validation in Security Group rules
when an ICMP rule is added with icmp code alone. A rule
is getting added but there is a mismatch between SG rules
and the corresponding iptables rule that is added.
This patch does the necessary validation on the input.

Closes-Bug: #1301838
Change-Id: I510abac4c426f68ea57c99a5fef3da4058f88797

10 years agoMerge "Fix LBaaS Haproxy occurs error if no member is added"
Jenkins [Mon, 14 Apr 2014 14:44:35 +0000 (14:44 +0000)]
Merge "Fix LBaaS Haproxy occurs error if no member is added"

10 years agoMerge "Add nova_api_insecure flag to neutron"
Jenkins [Mon, 14 Apr 2014 14:39:46 +0000 (14:39 +0000)]
Merge "Add nova_api_insecure flag to neutron"

10 years agoDHCP agent should check interface is UP before adding route
rossella [Mon, 7 Apr 2014 15:53:34 +0000 (15:53 +0000)]
DHCP agent should check interface is UP before adding route

The DHCP agent should check not only that an interface for
network's DHCP exists but also make sure that is UP before
adding a default route.
For this purpose a method "ensure_device_is_ready" was
added to ip_lib.

Change-Id: I9af06aa0f39634fe7b63c064337cd4191db5c026
Closes-bug: #1302312

10 years agoRemove workaround for bug #1219530
Yuriy Taraday [Mon, 7 Apr 2014 15:54:46 +0000 (19:54 +0400)]
Remove workaround for bug #1219530

Bug #1219530 has been fixed before Havana. We can remove this workaround.

Closes-Bug: #1307472
Change-Id: Ib0b1abf7d11627045be922f79aff6b80448ccbf4

10 years agoMerge "Reschedule router if new external gateway is on other network"
Jenkins [Mon, 14 Apr 2014 09:43:34 +0000 (09:43 +0000)]
Merge "Reschedule router if new external gateway is on other network"

10 years agoFix LBaaS Haproxy occurs error if no member is added
berlin [Fri, 11 Apr 2014 00:04:47 +0000 (08:04 +0800)]
Fix LBaaS Haproxy occurs error if no member is added

If no member is added and session_persistence.type=HTTP_COOKIE,
haproxy agent would not add cookie persistence option to the backend.
Closes-Bug: #1302283

Change-Id: Ifa2564df924c2555225a749a99c705b3f1caab4a

10 years agoMerge "Typographical correction of Arista ML2 help"
Jenkins [Sun, 13 Apr 2014 23:22:13 +0000 (23:22 +0000)]
Merge "Typographical correction of Arista ML2 help"

10 years agoAdd functional tests to verify ovs_lib VXLAN detection
Kyle Mestery [Tue, 1 Apr 2014 20:17:40 +0000 (20:17 +0000)]
Add functional tests to verify ovs_lib VXLAN detection

This commit adds a functional test to verify host VXLAN support. It compares
the results of this functional test with the logic in ovs_lib to ensure both
report the same values.

Closes-Bug: #1301101

Change-Id: Id91c755d762bea134cc451952d0f13d64576663a

10 years agoAdd nova_api_insecure flag to neutron
Paul Ward [Sat, 12 Apr 2014 15:18:18 +0000 (10:18 -0500)]
Add nova_api_insecure flag to neutron

Neutron did not have any way to allow SSL validation problems in the
novaclient similar to the way nova has the neutron_api_insecure flag.
This change adds the nova_api_insecure flag to the neutron config and
also passes it in the novaclient instantiation.

Change-Id: Ifed581df253c01fab9dc1f22c8187876271b378e
Closes-Bug: #1306822

10 years agoMerge "Verify ML2 type driver exists before calling del"
Jenkins [Sun, 13 Apr 2014 13:05:03 +0000 (13:05 +0000)]
Merge "Verify ML2 type driver exists before calling del"

10 years agoMerge "Edge driver: Improve exception handling"
Jenkins [Sun, 13 Apr 2014 12:16:22 +0000 (12:16 +0000)]
Merge "Edge driver: Improve exception handling"

10 years agoMerge "Properly apply column default in migration pool_monitor_status"
Jenkins [Sun, 13 Apr 2014 09:40:39 +0000 (09:40 +0000)]
Merge "Properly apply column default in migration pool_monitor_status"

10 years agoAllow combined certificate/key files for SSL
Kevin Benton [Sun, 6 Apr 2014 11:08:25 +0000 (11:08 +0000)]
Allow combined certificate/key files for SSL

Allows the ssl_key_file parameter to be excluded
during SSL operation to support combined certificate/key files.

Closes-Bug: #1303312
Change-Id: Ied5c7a7657e0e26eda31305fc96104c6593e9593

10 years agoVerify ML2 type driver exists before calling del
Kevin Benton [Sun, 6 Apr 2014 11:57:36 +0000 (04:57 -0700)]
Verify ML2 type driver exists before calling del

Verifies that an ML2 type driver exists for a given
segment type before attempting to call the release_segment
method on it. Logs an error if a type driver is not
found.

This covers the case where a segment is created with
a given type and then ML2 is reconfigured without
support for that type.

DocImpact
The ML2 documentation should be updated with a warning
that disabling a network type driver and re-enabling
it later may lead to possible DB inconsistencies.

Closes-Bug: #1292102
Change-Id: I65a35abf3ed57347bb6e8fee228f8c0697217c00

10 years agoMerge "Fix dangling patches in Cisco and Midonet tests"
Jenkins [Sun, 13 Apr 2014 09:17:35 +0000 (09:17 +0000)]
Merge "Fix dangling patches in Cisco and Midonet tests"

10 years agoMerge "Make default nova_url use a version"
Jenkins [Sun, 13 Apr 2014 08:05:28 +0000 (08:05 +0000)]
Merge "Make default nova_url use a version"

10 years agoFix dangling patches in Cisco and Midonet tests
Kevin Benton [Sat, 12 Apr 2014 21:27:36 +0000 (21:27 +0000)]
Fix dangling patches in Cisco and Midonet tests

Cisco Nexus Tests:
Explicitly stops the patch to sys.modules immediately
after use to fix sporadic failures caused by the patch
not being handled correctly by mock.patch.stopall.

Midonet Interface Test:
Removes the double-patch of the 'device_exists' method
in ip_lib.

Closes-Bug: #1307025
Closes-Bug: #1307038
Change-Id: Ie22505bb8e406a61e40819d60c76d229916a6e01

10 years agoMerge "Edge firewall: improve exception handling"
Jenkins [Sat, 12 Apr 2014 19:59:40 +0000 (19:59 +0000)]
Merge "Edge firewall: improve exception handling"

10 years agoMake default nova_url use a version
Dan Prince [Thu, 10 Apr 2014 16:40:13 +0000 (12:40 -0400)]
Make default nova_url use a version

The default nova_url for neutron is missing an API
version number. This can cause requests to fail
because the Nova /versions API cannot respond
to Neutron notification requests.

It seems reasonable for the default value to
at least have a chance at being correct so
this patch upgrades the default Nova API url to
use the Nova 'v2' API.

Related-bug: #1298640
Change-Id: Ib1449de84fbc01fb704ebfe4a016ac8f4932be96

10 years agoMerge "VMware: log backend port creation in the right place"
Jenkins [Fri, 11 Apr 2014 20:50:38 +0000 (20:50 +0000)]
Merge "VMware: log backend port creation in the right place"

10 years agoMerge "Fix typo in comment"
Jenkins [Fri, 11 Apr 2014 20:40:12 +0000 (20:40 +0000)]
Merge "Fix typo in comment"

10 years agoML2 Cisco Nexus MD: Remove unnecessary Cisco nexus DB
Rich Curran [Thu, 10 Apr 2014 21:11:32 +0000 (17:11 -0400)]
ML2 Cisco Nexus MD: Remove unnecessary Cisco nexus DB

The nexus switch information is retrieved from a dictionary created
at initialization. The ML2 cisco credentials database in not needed.

Change-Id: I723293de9f2b821a011db2ad9176a945fef72ee0
Closes-Bug: 1284676

10 years agoMerge "NSX plugin: fix get_gateway_devices"
Jenkins [Fri, 11 Apr 2014 15:03:04 +0000 (15:03 +0000)]
Merge "NSX plugin: fix get_gateway_devices"

10 years agoMerge "lb-agent: fix get_interfaces_on_bridge returning None"
Jenkins [Fri, 11 Apr 2014 14:09:59 +0000 (14:09 +0000)]
Merge "lb-agent: fix get_interfaces_on_bridge returning None"

10 years agoMerge "Remove mock.patch.stop from tests that inherit from BaseTestCase"
Jenkins [Fri, 11 Apr 2014 13:49:51 +0000 (13:49 +0000)]
Merge "Remove mock.patch.stop from tests that inherit from BaseTestCase"

10 years agoMerge "BigSwitch: Create router ports synchronously"
Jenkins [Fri, 11 Apr 2014 00:11:38 +0000 (00:11 +0000)]
Merge "BigSwitch: Create router ports synchronously"

10 years agoNSX plugin: fix get_gateway_devices
Salvatore Orlando [Thu, 10 Apr 2014 23:55:51 +0000 (16:55 -0700)]
NSX plugin: fix get_gateway_devices

Fixes the error and adds relevant unit tests.
Also fixes get_gateway_devices signature for allowing
paging and sorting.

Closes-Bug: 1306301

Change-Id: Icb52a764e111365beaf4dc4fb4a5b8970a6cf887

10 years agoMerge "Update ensure()/reconnect() to catch MessagingError"
Jenkins [Thu, 10 Apr 2014 16:04:06 +0000 (16:04 +0000)]
Merge "Update ensure()/reconnect() to catch MessagingError"

10 years agoRegister LBaaS resources to quotas engine
Evgeny Fedoruk [Thu, 10 Apr 2014 15:01:19 +0000 (08:01 -0700)]
Register LBaaS resources to quotas engine

Adding register_quotas=True argument to
resource_helper.build_resource_info() function
in order to register LBaaS resources to quotas engine

This change is actually a continuation of https://review.openstack.org/#/c/69803
change which was already approved

Change-Id: Ib75027ce4a1bea3d453f57b107d29546ec6743e5
Closes-Bug: #1305957

10 years agoMerge "ML2 Cisco Nexus MD: Support portchannel interfaces"
Jenkins [Thu, 10 Apr 2014 14:29:21 +0000 (14:29 +0000)]
Merge "ML2 Cisco Nexus MD: Support portchannel interfaces"

10 years agoMerge "Fixes Hyper-V agent security group ICMP rules"
Jenkins [Thu, 10 Apr 2014 12:42:10 +0000 (12:42 +0000)]
Merge "Fixes Hyper-V agent security group ICMP rules"

10 years agoRemove mock.patch.stop from tests that inherit from BaseTestCase
rossella [Thu, 10 Apr 2014 09:33:43 +0000 (09:33 +0000)]
Remove mock.patch.stop from tests that inherit from BaseTestCase

The tests that inherit from BaseTestCase don't need to stop their
patches, since this is already done in the base class

Change-Id: Ibb1183e521686d6e948046997b32f4044d91d9e7
Closes-bug: #1305656

10 years agoReschedule router if new external gateway is on other network
Oleg Bondarev [Wed, 16 Oct 2013 13:51:04 +0000 (17:51 +0400)]
Reschedule router if new external gateway is on other network

An L3 agent may be associated with just one external network.
If router's new external gateway is on other network then the router
needs to be rescheduled to the proper l3 agent

Change-Id: Ia0ed924403137ac4578ca562b57988292c41c1fe
Closes-Bug: #1234750

10 years agoMerge "Remove "reuse_existing" from setup method in dhcp.py"
Jenkins [Thu, 10 Apr 2014 11:15:55 +0000 (11:15 +0000)]
Merge "Remove "reuse_existing" from setup method in dhcp.py"

10 years agoUpdate ensure()/reconnect() to catch MessagingError
Russell Bryant [Wed, 9 Apr 2014 15:32:44 +0000 (11:32 -0400)]
Update ensure()/reconnect() to catch MessagingError

The error handling code that gets connections reset if necessary
caught ConnectionError. It really needs to catch MessagingError,
which ConnectionError inherits from. There are other types of
MessagingErrors that may occur, such as InternalError, and they need
to cause the connection to reset, as well.

This fix has already been merged into oslo.messaging.

--

Cherry-picked from oslo-incubator 234f64d608266f43d8856ff98c89ceba6699d752
See also https://bugzilla.redhat.com/show_bug.cgi?id=1086077

Closes-bug: #1303890
Change-Id: Ic5082b74a362ded8b35cbc75cf178fe6e0db62d0

10 years agoMerge "Set correct columns' length"
Jenkins [Thu, 10 Apr 2014 10:59:08 +0000 (10:59 +0000)]
Merge "Set correct columns' length"

10 years agoProperly apply column default in migration pool_monitor_status
Eugene Nikanorov [Thu, 10 Apr 2014 09:36:45 +0000 (13:36 +0400)]
Properly apply column default in migration pool_monitor_status

server_default parameter should be used to apply default value at
table/column creation time. Otherwise non-nullable column can't
be created because of existing rows in the tables.

Change-Id: I7136e6a0dfb9dc66ca63ff3c9fcf6de164e27e63
Closes-Bug: #1305725

10 years agoRemove "reuse_existing" from setup method in dhcp.py
rossella [Wed, 9 Apr 2014 14:12:50 +0000 (14:12 +0000)]
Remove "reuse_existing" from setup method in dhcp.py

This flag is never used, it's always set to True by
DhcpLocalProcess.enable()

Change-Id: Ic30e0f2c97679d5919cc4e4afeb38666a6d41392
Closes-bug: #1305083

10 years agoFixes Hyper-V agent security groups disabling
Claudiu Belu [Thu, 27 Mar 2014 16:36:44 +0000 (18:36 +0200)]
Fixes Hyper-V agent security groups disabling

Adds a check if the security groups have been disabled and removes
the switch port's ACLs accordingly.

Change-Id: I20d716a3f182b8ea62da6b436b150aa9dafdb1c5
Closes-Bug: #1299156

10 years agoFixes Hyper-V agent security group ICMP rules
Claudiu Belu [Tue, 1 Apr 2014 14:36:50 +0000 (17:36 +0300)]
Fixes Hyper-V agent security group ICMP rules

Converts ICMP protocol to the equivalent protocol number.
Adds default ICMP reject rules.
Adds default ANY protocol rules if the rule does not
contain any protocol.

Closes-Bug: #1299159
Change-Id: Iff51a58fdb532eda0fe7a63abf96004ee74bb073

10 years agoFix typo in ml2 configuration file
whitekid [Wed, 9 Apr 2014 18:26:35 +0000 (03:26 +0900)]
Fix typo in ml2 configuration file

Change-Id: I1d191a2c69d7450584e0ee25a0f5fce237b1c817
Closes-Bug: #1305226

10 years agoMerge "OFAgent: Avoid re-wiring ports unnecessarily"
Jenkins [Wed, 9 Apr 2014 13:50:26 +0000 (13:50 +0000)]
Merge "OFAgent: Avoid re-wiring ports unnecessarily"

10 years agoMerge "Revert "Hide ipv6 subnet API attributes""
Jenkins [Wed, 9 Apr 2014 13:12:57 +0000 (13:12 +0000)]
Merge "Revert "Hide ipv6 subnet API attributes""

10 years agoEdge firewall: improve exception handling
Gary Kotton [Wed, 9 Apr 2014 09:46:52 +0000 (02:46 -0700)]
Edge firewall: improve exception handling

Improve the exception handling in the edge firewall

Partial-Bug: #1305032
Change-Id: Ib095a48dd7cb958c0c5cf5682eeb7fc93f2b55dd

10 years agoEdge driver: Improve exception handling
Gary Kotton [Wed, 9 Apr 2014 09:35:13 +0000 (02:35 -0700)]
Edge driver: Improve exception handling

Improve exception handling in the edge driver code.

Partial-Bug: #1305032

Change-Id: I727a7389aff216c4347de5605b8b1979d3e5a94e

10 years agoFix typo in comment
Gary Kotton [Wed, 9 Apr 2014 09:21:47 +0000 (02:21 -0700)]
Fix typo in comment

Corrects a typo in a comment.

Change-Id: I6f9bef364bf68f376505d7adbe68769239fef502

10 years agoMerge "Set the log level to debug for loading extensions"
Jenkins [Wed, 9 Apr 2014 09:03:52 +0000 (09:03 +0000)]
Merge "Set the log level to debug for loading extensions"

10 years agoMerge "Remove duplicated tests for check_ovs_vxlan_version"
Jenkins [Wed, 9 Apr 2014 08:32:28 +0000 (08:32 +0000)]
Merge "Remove duplicated tests for check_ovs_vxlan_version"

10 years agoMerge "Clean out namespaces even if we don't delete namespaces"
Jenkins [Wed, 9 Apr 2014 07:20:58 +0000 (07:20 +0000)]
Merge "Clean out namespaces even if we don't delete namespaces"

10 years agoMerge "BSN: Remove module-level ref to httplib method"
Jenkins [Wed, 9 Apr 2014 07:20:48 +0000 (07:20 +0000)]
Merge "BSN: Remove module-level ref to httplib method"

10 years agoMerge "Add support for router scheduling in Cisco N1kv Plugin"
Jenkins [Wed, 9 Apr 2014 07:20:39 +0000 (07:20 +0000)]
Merge "Add support for router scheduling in Cisco N1kv Plugin"

10 years agoMerge "Add common base class for agent functional tests"
Jenkins [Wed, 9 Apr 2014 03:06:54 +0000 (03:06 +0000)]
Merge "Add common base class for agent functional tests"

10 years agoNSX: Fix KeyError in sync if nsx_router_id not found
Aaron Rosen [Tue, 8 Apr 2014 20:20:49 +0000 (13:20 -0700)]
NSX: Fix KeyError in sync if nsx_router_id not found

Previously, a KeyError would occur in the sync code which would
cause the sync thread to stop running. This would occur if there
was a router entry in the database but no nsx_router_mapping and
the router was not found in nsx. Note: this should never happen unless
one did not run the db migration which introduced and migrated the data
for the NeutronNsxRouterMapping table.

Change-Id: I44f3e7de9323f594501db63d3ad33e80e617bfdc
Closes-bug: #1304647

10 years agoVMware: log backend port creation in the right place
Salvatore Orlando [Tue, 8 Apr 2014 23:37:43 +0000 (16:37 -0700)]
VMware: log backend port creation in the right place

Change-Id: Ifb8cbb31902193ecf0dde56c46688dcdd637b3bb
Closes-Bug: 1304723

10 years agoMerge "Deals with fails in update_*_postcommit ops"
Jenkins [Tue, 8 Apr 2014 22:16:04 +0000 (22:16 +0000)]
Merge "Deals with fails in update_*_postcommit ops"