]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoInstall SNAT rules for ipv4 only
Baodong Li [Thu, 24 Apr 2014 01:47:13 +0000 (01:47 +0000)]
Install SNAT rules for ipv4 only

Change-Id: I37bd770aa0d54a985ac2bec708c571785084e0ec
Closes-Bug: #1309195

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

10 years agoRevert "Hide ipv6 subnet API attributes"
Mark McClain [Tue, 8 Apr 2014 21:38:49 +0000 (17:38 -0400)]
Revert "Hide ipv6 subnet API attributes"

This reverts commit d739486a3f70cb83f8730cf7201a8b8ccf4b4c70.

Change-Id: I27352ba5442da8c69c2d1ab6d5e333e95dc5ebf7

10 years agoMerge "Hide ipv6 subnet API attributes"
Jenkins [Tue, 8 Apr 2014 21:08:16 +0000 (21:08 +0000)]
Merge "Hide ipv6 subnet API attributes"

10 years agoMerge "OFA agent: use hexadecimal IP address in tunnel port name"
Jenkins [Tue, 8 Apr 2014 20:28:54 +0000 (20:28 +0000)]
Merge "OFA agent: use hexadecimal IP address in tunnel port name"

10 years agoMerge "Correctly inherit __table_args__ from parent class"
Jenkins [Tue, 8 Apr 2014 20:24:32 +0000 (20:24 +0000)]
Merge "Correctly inherit __table_args__ from parent class"

10 years agoMerge "set api.extensions logging to ERROR in unit tests"
Jenkins [Tue, 8 Apr 2014 19:50:35 +0000 (19:50 +0000)]
Merge "set api.extensions logging to ERROR in unit tests"

10 years agoMerge "NSX: ensure dhcp port is setup on metadata network"
Jenkins [Tue, 8 Apr 2014 18:57:25 +0000 (18:57 +0000)]
Merge "NSX: ensure dhcp port is setup on metadata network"

10 years agoMerge "Updated from global requirements"
OpenStack Jenkins [Tue, 8 Apr 2014 18:57:15 +0000 (18:57 +0000)]
Merge "Updated from global requirements"

10 years agoBigSwitch: Create router ports synchronously
Kevin Benton [Tue, 8 Apr 2014 16:04:08 +0000 (09:04 -0700)]
BigSwitch: Create router ports synchronously

Since router ports are created as part of a
long transaction with multiple REST calls, they
need to be created sychronously. This is to prevent
the async thread from deleting them from the backend
if it can't find them in cases where they haven't been
committed to the DB yet.

Closes-Bug: #1305331
Change-Id: I2ab3c862dc6b1760199654bbd0969ac5efdbe704

10 years agoNSX: ensure dhcp port is setup on metadata network
armando-migliaccio [Tue, 8 Apr 2014 15:43:00 +0000 (08:43 -0700)]
NSX: ensure dhcp port is setup on metadata network

Change in scheduling behavior caused a regression
where the dhcp port is no longer provisioned on
the (admin) metadata network created when a subnet
is uplinked to a router.

This change recovers the past behavior and extend UT
coverage to avoid further regression.

Closes-bug: #1304127

Change-Id: I8420203f68a43368f3784adb0c4cbbe55f048662

10 years agoHide ipv6 subnet API attributes
Salvatore Orlando [Mon, 7 Apr 2014 23:29:54 +0000 (16:29 -0700)]
Hide ipv6 subnet API attributes

The attributes for ra mode and address mode should be hidden
until the IPv6 feature is fully implemented.

The changes in this patch will be reverted by another patch
which closes this bug.

Change-Id: I69a1a571b5beb566641200e60b84f0716c1ec138
Related-Bug: 1304093

10 years agoSet correct columns' length
Ann Kamyshnikova [Fri, 14 Mar 2014 11:09:36 +0000 (15:09 +0400)]
Set correct columns' length

In migration 569e98a8132b_metering incorrect length is set for
description column (255 instead of 1024) and in migration
39cf3f799352_fwaas_havana_2_model for firewall_rules table
incorrect length is set  for protocol column (24 instead of 40).

partially implement bp: db-sync-models-with-migrations

Change-Id: I0b2cb00c3bd2cd2ac7e002c861095129e5b5aa96

10 years agoMerge "Enforce required config params for ODL driver"
Jenkins [Tue, 8 Apr 2014 10:31:38 +0000 (10:31 +0000)]
Merge "Enforce required config params for ODL driver"

10 years agoEnforce required config params for ODL driver
Kevin Benton [Sun, 6 Apr 2014 11:29:07 +0000 (04:29 -0700)]
Enforce required config params for ODL driver

Raise a config error during initialization if
there is no URL, username, or password specified
in the config for the OpenDayLight ML2 driver.

Closes-Bug: #1301432
Change-Id: I65fc94d3eaaade3d1402d1c82d2c1edfa7133d5a

10 years agoAdd L2 Agent side handling for non consistent security_group settings
Irena Berezovsky [Tue, 25 Mar 2014 07:30:17 +0000 (09:30 +0200)]
Add L2 Agent side handling for non consistent security_group settings

Add setting of the firewall_driver to NoopDriver when firewall_driver is None and
add warning if driver combination is not valid.
Modify is_valid_driver_combination to verify default settings: enable_security_group (True) and firewall_driver (None).

Change-Id: I841f9cf96ac6ee2ad17a4e8908d6c8a96f368cca
Closes-Bug: #1296957

10 years agoMerge "BigSwitch: Stop HTTP patch before overriding"
Jenkins [Tue, 8 Apr 2014 06:14:06 +0000 (06:14 +0000)]
Merge "BigSwitch: Stop HTTP patch before overriding"

10 years agoMerge "Fix _validate_mac_address method"
Jenkins [Tue, 8 Apr 2014 06:05:09 +0000 (06:05 +0000)]
Merge "Fix _validate_mac_address method"

10 years agoBSN: Remove module-level ref to httplib method
Kevin Benton [Tue, 8 Apr 2014 05:30:09 +0000 (22:30 -0700)]
BSN: Remove module-level ref to httplib method

Removes a module-level variable that was just a
pointer to the httplib.HTTPConnection class. It's
purpose was to give mock.patch a target that wouldn't
affect other code using the httplib.HTTPConnection
library. However, it is unnecessary now that the
root cause of the original patches not being stopped
by mock.patch.stopall was fixed in bug 1303605 (change
Ia5b374c5f8d3a7905d915de4f1f8d4f3a6f0e58d).

Closes-Bug: #1304558
Change-Id: Idf814b075a80245bb9751466c2b58d719a1b81f3

10 years agoBigSwitch: Stop HTTP patch before overriding
Kevin Benton [Tue, 8 Apr 2014 03:25:23 +0000 (20:25 -0700)]
BigSwitch: Stop HTTP patch before overriding

Stops the default HTTPConnection patch used by the
Big Switch tests before patching HTTPConnection with
another substitution. This prevents mock from losing
track of the default patch which was resulting in it
not consistently being stopped by the stopall call in
cleanup.

This also corrects an incorrectly targeted mock for the
HTTP patch in one of the test files.

Closes-Bug: #1303605
Change-Id: Ia5b374c5f8d3a7905d915de4f1f8d4f3a6f0e58d

10 years agoTypographical correction of Arista ML2 help
Stephen Gordon [Tue, 8 Apr 2014 01:43:51 +0000 (21:43 -0400)]
Typographical correction of Arista ML2 help

The Configuration Reference Guide on docs.openstack.org contains
configuration tables generated based on the help strings defined
in the Python code.

Typographical errors in the source for the Arista ML2 plugin,
particularly a lack of spaces between the start and end of
continuing lines, were resulting in errors in the guide.

Change-Id: I793274d9bf631db890af57f242b99de99db6f1f6

10 years agoFix wrong section name "security_group" in sample config files
Akihiro Motoki [Tue, 8 Apr 2014 01:31:06 +0000 (10:31 +0900)]
Fix wrong section name "security_group" in sample config files

The section name [security_group] in Sample config files of
ML2 and Big Switch plugins was wrong and it should be
[securitygroup].

Change-Id: I8204b2f37f96a5e46038e117853ac8637a9705fd
Closes-Bug: #1304105

10 years agoSet the log level to debug for loading extensions
Pradeep Kilambi [Mon, 7 Apr 2014 20:48:30 +0000 (16:48 -0400)]
Set the log level to debug for loading extensions

Setting the log level to debug instead of info
for load extension file.

Change-Id: Ia2322a5d62381f15b4bf4e0bb7120813be985786