]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoSupport 'infinite' dhcp_lease_duration
Erik Colnick [Tue, 6 May 2014 13:56:31 +0000 (07:56 -0600)]
Support 'infinite' dhcp_lease_duration

Process a dhcp_lease_duration value of -1 as 'infinite'
when setting the dnsmasq dhcp-range values to support
cases where it is undesirable for instance dhcp leases
to expire.

DocImpact

Closes-Bug: #1315430
Change-Id: I1cc3cfebfec355014e6d5b5cbd656a1300c43c0b

10 years agoMerge "OFAgent: Fixing lost vlan ids on interfaces"
Jenkins [Wed, 28 May 2014 12:25:06 +0000 (12:25 +0000)]
Merge "OFAgent: Fixing lost vlan ids on interfaces"

10 years agoMerge "OFAgent: Avoid processing ports which are not yet ready"
Jenkins [Wed, 28 May 2014 12:24:52 +0000 (12:24 +0000)]
Merge "OFAgent: Avoid processing ports which are not yet ready"

10 years agoMerge "Synced jsonutils from oslo-incubator"
Jenkins [Wed, 28 May 2014 10:00:46 +0000 (10:00 +0000)]
Merge "Synced jsonutils from oslo-incubator"

10 years agoMerge "Fix some typos in neutron/db and IBM SDN-VE plugin"
Jenkins [Wed, 28 May 2014 09:40:36 +0000 (09:40 +0000)]
Merge "Fix some typos in neutron/db and IBM SDN-VE plugin"

10 years agoMerge "Log iptables rules when they fail to apply"
Jenkins [Wed, 28 May 2014 06:06:28 +0000 (06:06 +0000)]
Merge "Log iptables rules when they fail to apply"

10 years agoMerge "Disallow 'timeout' in health_monitor to be negative"
Jenkins [Wed, 28 May 2014 05:21:43 +0000 (05:21 +0000)]
Merge "Disallow 'timeout' in health_monitor to be negative"

10 years agoMerge "Delete DHCP port without DHCP server on a net node"
Jenkins [Wed, 28 May 2014 04:19:37 +0000 (04:19 +0000)]
Merge "Delete DHCP port without DHCP server on a net node"

10 years agoMerge "NEC plugin: Bump L3RPC callback version to 1.1"
Jenkins [Wed, 28 May 2014 03:41:50 +0000 (03:41 +0000)]
Merge "NEC plugin: Bump L3RPC callback version to 1.1"

10 years agoMerge "Install SNAT rules for ipv4 only"
Jenkins [Wed, 28 May 2014 03:23:23 +0000 (03:23 +0000)]
Merge "Install SNAT rules for ipv4 only"

10 years agoMerge "Set onlink routes for all subnets on an external network"
Jenkins [Wed, 28 May 2014 01:11:29 +0000 (01:11 +0000)]
Merge "Set onlink routes for all subnets on an external network"

10 years agoNEC plugin: Bump L3RPC callback version to 1.1
Akihiro Motoki [Tue, 27 May 2014 17:48:30 +0000 (02:48 +0900)]
NEC plugin: Bump L3RPC callback version to 1.1

update_floatingip_statuses RPC call implemented in Icehouse expects
RPC version 1.1 and RPC version of L3RpcCallback of other plugins
was bumped to 1.1, but the version of L3RpcCallback in NEC plugin
was not bumped to 1.1 yet.

Change-Id: I0073a3de9ea0cd59d43c821f9bdaea89bd125a65
Closes-Bug: #1323769

10 years agoSynced jsonutils from oslo-incubator
Ihar Hrachyshka [Tue, 27 May 2014 08:22:49 +0000 (10:22 +0200)]
Synced jsonutils from oslo-incubator

The sync includes change that makes sure we get unicode-only dicts from
jsonutils no matter which json module implementation is selected.

The latest commit in oslo-incubator:
0f4586c0076183c6356eec682c8a593648125abd

The sync adds a new 'strutils' module that is now used in jsonutils.

Change-Id: Ic815ca3df94c33edec9104172048b2cd94b92e3f
Closes-Bug: 1314129

10 years agoMerge "fix openvswitch requirement check"
Jenkins [Tue, 27 May 2014 09:05:00 +0000 (09:05 +0000)]
Merge "fix openvswitch requirement check"

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Tue, 27 May 2014 08:19:11 +0000 (08:19 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Fix for multiple misspelled words"
Jenkins [Tue, 27 May 2014 06:31:29 +0000 (06:31 +0000)]
Merge "Fix for multiple misspelled words"

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Tue, 27 May 2014 06:13:22 +0000 (06:13 +0000)]
Imported Translations from Transifex

Change-Id: I493fe42de2c87538c730a2ac62ce6fbe39b154ae

10 years agoMerge "Fixes bugs for requests sent to SDN-VE controller"
Jenkins [Tue, 27 May 2014 00:07:11 +0000 (00:07 +0000)]
Merge "Fixes bugs for requests sent to SDN-VE controller"

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Mon, 26 May 2014 20:52:12 +0000 (20:52 +0000)]
Merge "Imported Translations from Transifex"

10 years agofix openvswitch requirement check
Benedikt Trefzer [Mon, 26 May 2014 20:45:25 +0000 (22:45 +0200)]
fix openvswitch requirement check

With VXLAN enabled on openvswitch, neutron checks
module version of the openvswitch kernel module.
If the pattern to extract the version matches twice
(eg. for path and version) the agent dies.

This patch ensures, that only the version is checked
against the pattern.

Change-Id: I879624f6b0936cab59e02958ae3a89950df773bb
Closes-Bug: #1322139

10 years agoMerge "Add physical_network to binding:vif_details dictionary"
Jenkins [Mon, 26 May 2014 17:41:47 +0000 (17:41 +0000)]
Merge "Add physical_network to binding:vif_details dictionary"

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 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 "Allowed Addresspairs: Removing check for overlap with fixed ips"
Jenkins [Mon, 26 May 2014 10:05:23 +0000 (10:05 +0000)]
Merge "Allowed Addresspairs: Removing check for overlap with fixed ips"

10 years agoMerge "Reorg table ml2_port_bindings when db migration"
Jenkins [Mon, 26 May 2014 09:10:03 +0000 (09:10 +0000)]
Merge "Reorg table ml2_port_bindings when db migration"

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Mon, 26 May 2014 06:10:57 +0000 (06:10 +0000)]
Imported Translations from Transifex

Change-Id: I9d14a60d8915ebfec13b6635c43c70458f9b571a

10 years agoMerge "Cisco APIC ML2 mechanism driver, part 2"
Jenkins [Mon, 26 May 2014 04:47:43 +0000 (04:47 +0000)]
Merge "Cisco APIC ML2 mechanism driver, part 2"

10 years agoMerge "Fix non-existent 'assert' calls to mocks"
Jenkins [Mon, 26 May 2014 04:47:31 +0000 (04:47 +0000)]
Merge "Fix non-existent 'assert' calls to mocks"

10 years agoDisallow 'timeout' in health_monitor to be negative
shihanzhang [Fri, 16 May 2014 04:02:40 +0000 (12:02 +0800)]
Disallow 'timeout' in health_monitor to be negative

It should limit the value of 'timeout' in 'health_monitor', the 'timeout'
shouldn't to be negative.

Change-Id: I26ae1995c9cc362df7c7dda4c53fb8adda298d13
Closes-bug: #1320062

10 years agoMerge "Remove all mostly untranslated PO files"
Jenkins [Sun, 25 May 2014 08:34:33 +0000 (08:34 +0000)]
Merge "Remove all mostly untranslated PO files"

10 years agoMerge "Extraroute extension support for nuage plugin"
Jenkins [Sat, 24 May 2014 21:36:06 +0000 (21:36 +0000)]
Merge "Extraroute extension support for nuage plugin"

10 years agoFix for multiple misspelled words
Edgar Magana [Fri, 23 May 2014 23:59:55 +0000 (16:59 -0700)]
Fix for multiple misspelled words

In Neutron code, a few misspelled words have been found.
This commit fix them all to this date.

Change-Id: Ic11b8ec0adf83a6675f7295e557f436051aa26cd
Closes-Bug: 1323344

10 years agoMerge "Metadata agent caches networks for routers"
Jenkins [Fri, 23 May 2014 13:14:45 +0000 (13:14 +0000)]
Merge "Metadata agent caches networks for routers"

10 years agoExtraroute extension support for nuage plugin
ronak [Thu, 15 May 2014 14:38:43 +0000 (07:38 -0700)]
Extraroute extension support for nuage plugin

Nuage's VSP supports adding static-route to L3 Domain
which fits nicely with extraroute extension supported
by openstack's neutron. This set of change enables that.

Change-Id: Icd4d95b9077056c33c7509fe45966ff2a04cd923
Implements: blueprint extraroute-ext-support-for-nuage-plugin

10 years agoOFAgent: Fixing lost vlan ids on interfaces
fumihiko kakuma [Mon, 14 Apr 2014 05:17:31 +0000 (14:17 +0900)]
OFAgent: Fixing lost vlan ids on interfaces

Port the following patch to OFAgent.
commit: 60cb0911712ad11688b4d09e5c01ac39c49f5aea
https://review.openstack.org/#/c/66375/

Closes-Bug: #1309286

Change-Id: I04f99ef7928cd07959b29eb64b5744df397979b8

10 years agoSet onlink routes for all subnets on an external network
Carl Baldwin [Thu, 24 Apr 2014 23:06:10 +0000 (23:06 +0000)]
Set onlink routes for all subnets on an external network

The addition of the on-link routes gives us some freedom to allocate a
router's IP address from any one of multiple subnets on one external
network.  Different routers can get their IPs from different subnets and
they still have direct on-link connectivity to each other.  For example,
one router with its primary IP from 10.0.0.0/24 and another from
192.168.0.0/24 can communicate directly.  It is important that each
router has on-link routes to *all* of the subnets.

Any router can host floating ips from any of the subnets regardless of
which subnet the primary IP address comes from.

This is an alternative to the "Multiple floating IP pools" section in
the administration guide.  It is a simpler alternative that avoids
having to create multiple external networks.  It is also more flexible
because routers will no longer be restricted to getting floating IPs
from the pool to which they happen to be connected.

DocImpact
Document the procedure for adding subnets to the external network.
Potentially remove the existing procedure for "Multiple floating IP
pools" from the docs.

Change-Id: I2c283f5be0cbb6b5d350cafc1b636c300b796a7b
Closes-Bug: #1312467

10 years agoCisco APIC ML2 mechanism driver, part 2
Arvind Somya [Thu, 13 Feb 2014 17:57:50 +0000 (09:57 -0800)]
Cisco APIC ML2 mechanism driver, part 2

    This set of changes introduces a mechanism driver for the
    Cisco APIC. This is the second and final part of a 2 part commit.
    Please see the blueprint for more information.

    The review is submitted in two parts:
    - Part 1 (Posted earlier, required for Part 2)
        o APIC REST Client
        o APIC data model and migration script
        o APIC configurations
    - Part 2 (this commit)
        o APIC mechanism driver
        o APIC manager

    Partially implements: blueprint ml2-cisco-apic-mechanism-driver

Change-Id: I5ed3ac133146635083e2d0093057b43b64f347fe

10 years agoMerge "NSX: allow net-migration only in combined mode"
Jenkins [Thu, 22 May 2014 19:51:20 +0000 (19:51 +0000)]
Merge "NSX: allow net-migration only in combined mode"

10 years agoMerge "Common decorator for caching methods"
Jenkins [Thu, 22 May 2014 19:27:35 +0000 (19:27 +0000)]
Merge "Common decorator for caching methods"

10 years agoRemove all mostly untranslated PO files
Andreas Jaeger [Thu, 22 May 2014 16:48:04 +0000 (18:48 +0200)]
Remove all mostly untranslated PO files

We now only import PO files that are at least 75 % translated,
so we can delete now all other PO files. The patch only
removes the mostly untranslated files. Once a file becomes mostly
translated, the bot will import it again.

This removes all languages besides en_US.

Change-Id: If1700477e01b8ccf515c140597f47caf2b81c803
Closes-Bug: #1317794

10 years agoMerge "Metaclass Python 3.x Compatibility"
Jenkins [Thu, 22 May 2014 15:42:59 +0000 (15:42 +0000)]
Merge "Metaclass Python 3.x Compatibility"

10 years agoMerge "NSX: get rid of the last Nicira/NVP bits"
Jenkins [Thu, 22 May 2014 15:25:04 +0000 (15:25 +0000)]
Merge "NSX: get rid of the last Nicira/NVP bits"

10 years agoMerge "Do not defer IPTables apply in firewall path"
Jenkins [Thu, 22 May 2014 14:39:47 +0000 (14:39 +0000)]
Merge "Do not defer IPTables apply in firewall path"

10 years agoNSX: get rid of the last Nicira/NVP bits
armando-migliaccio [Tue, 20 May 2014 21:21:36 +0000 (14:21 -0700)]
NSX: get rid of the last Nicira/NVP bits

These were kept for bw compatibility in Icehouse, but
these are removed in Juno.

The king is dead, long live the king!

DocImpact
Blueprint: nicira-plugin-renaming

Change-Id: I49d19fec90ba191ed5b895fac8a884070f52119e

10 years agoMetadata agent caches networks for routers
Jakub Libosvar [Thu, 30 Jan 2014 14:27:02 +0000 (15:27 +0100)]
Metadata agent caches networks for routers

During cloud-init there are several calls that asks neutron API for the
same data which will not be most likely changed. Specifically router's
networks are cached.

Closes-bug: #1276440
Change-Id: Ic5eedb8057c7f4934eed08869ebf55c91e6edfc9

10 years agoCommon decorator for caching methods
Jakub Libosvar [Tue, 11 Feb 2014 14:59:06 +0000 (15:59 +0100)]
Common decorator for caching methods

Decorator caches methods' results, the key is composed from function
name and its parameters. Implementation of cache itself should be in
object implementing decorated method. Cache backend should be taken
from oslo-incubator.

Related-Bug: #1276440
Change-Id: Ibe3f1b2eb10b9601ad76ec24b7f0e3551b4013e2

10 years agoMerge "NSX: Do not extend fault map for network gateway ext"
Jenkins [Wed, 21 May 2014 23:16:47 +0000 (23:16 +0000)]
Merge "NSX: Do not extend fault map for network gateway ext"

10 years agoMerge "NSX: Do a single query for all gateway devices"
Jenkins [Wed, 21 May 2014 23:16:39 +0000 (23:16 +0000)]
Merge "NSX: Do a single query for all gateway devices"

10 years agoMake pid file locking non-blocking
Ryan Moe [Fri, 2 May 2014 20:08:45 +0000 (13:08 -0700)]
Make pid file locking non-blocking

fcntl.flock will block indefinitely if another process holds an exclusive
lock. A non-blocking flock operation will raise an error when a lock already
exists so we can fail immediately.

Closes-bug: 1315507
Change-Id: Icf97b1f8643157719b3d28ac2c0c1576a5069697

10 years agoAllowed Addresspairs: Removing check for overlap with fixed ips
Praveen Yalagandula [Tue, 20 May 2014 21:10:12 +0000 (21:10 +0000)]
Allowed Addresspairs: Removing check for overlap with fixed ips

Current code does not allow assigning a fixed ip to a port when that ip
overlaps with one of the addresses in the allowed-addresspairs list.
This is an unnecessary check as the overlap does not have any negative
effect. Further, such a check actually makes it hard to use this
API. For example, if a fixed IP 10.10.1.1 exists on a port and we
want to allow addresses in 10.10.1.0/24 cidr on that port, then one
has to configure a list of 8 cidrs ([10.10.1.0/32, 10.10.1.2/31,
10.10.1.4/30, ..., 10.10.1.128/25]) on the allowed-addresspairs.
In addition to the above reasons, the current code also does not
check for the overlaps in all cases.

This patch summarily removes this overlap check.

Closes-Bug: #1321864
Change-Id: I5498c4a72b31267644da10a54a9860c1fc3bb250

10 years agoDo not defer IPTables apply in firewall path
Rajesh Mohan [Wed, 21 May 2014 02:41:26 +0000 (19:41 -0700)]
Do not defer IPTables apply in firewall path

By default, iptables apply is deferred in L3 agent. For
external gateways, iptables is applied immediately (to
enable NAT for floating IP). Similarly, when firewall
is created/updated/deleted, iptable rules are applies
immediately.

Change-Id: I4f652a030ae23a71a2e20af2e8ef0ad5b882b80e
Closes-Bug: #1320775

10 years agoMetaclass Python 3.x Compatibility
Steven Gonzales [Mon, 12 May 2014 14:51:13 +0000 (07:51 -0700)]
Metaclass Python 3.x Compatibility

According to the OpenStack style guide
(http://docs.openstack.org/developer/hacking/),
for Python 3.x compatibility use "six.add_metaclass"
instead of " __metaclass__."

Closes-Bug: #1236648
Change-Id: I2f507a90ee08cc05bd764549002a4656c187b6fc

10 years agoMerge "Add missing translation support"
Jenkins [Wed, 21 May 2014 17:48:56 +0000 (17:48 +0000)]
Merge "Add missing translation support"

10 years agoMerge "Remove hard dependency on novaclient"
Jenkins [Wed, 21 May 2014 13:59:17 +0000 (13:59 +0000)]
Merge "Remove hard dependency on novaclient"

10 years agoMerge "Restore GARP by default for floating IPs"
Jenkins [Wed, 21 May 2014 13:58:52 +0000 (13:58 +0000)]
Merge "Restore GARP by default for floating IPs"

10 years agoFix non-existent 'assert' calls to mocks
Kevin Benton [Mon, 19 May 2014 06:58:58 +0000 (06:58 +0000)]
Fix non-existent 'assert' calls to mocks

Fixes calls to non-existent 'assert' methods
called on mock objects.

Closes-Bug: #1320774
Change-Id: I7eab28fc9b23cbb39d5507ff3e8004a493c90bed

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Wed, 21 May 2014 04:48:07 +0000 (04:48 +0000)]
Merge "Imported Translations from Transifex"

10 years agoLog iptables rules when they fail to apply
Kevin Benton [Fri, 11 Apr 2014 06:51:53 +0000 (23:51 -0700)]
Log iptables rules when they fail to apply

Log the set of rules that causes iptables-restore
to fail in the Linux agent iptables manager.

If a specific rule is identified as the cause, only
that rule and a few surrounding it will be logged to
reduce the output.

Closes-Bug: #1306399
Change-Id: I8e94c1faae75760e439c5abe3d9b723548398105

10 years agoRemove hard dependency on novaclient
Terry Wilson [Tue, 20 May 2014 15:58:32 +0000 (10:58 -0500)]
Remove hard dependency on novaclient

The nova notification patch introduces a hard dependency on
novaclient when it is a runtime-configurable dependency. The
import from novaclient should be conditional on the
appropriate nova notification options being enabled in the
config.

Change-Id: I2ef4bfa4d53afc7e8c800ad8e2a8737e117af238
Closes-Bug: #1321352

10 years agoProvide way to reserve dhcp port during failovers
Ed Bak [Fri, 7 Mar 2014 17:16:15 +0000 (17:16 +0000)]
Provide way to reserve dhcp port during failovers

This change provides a way to save the dhcp port when failing
over a network from one dhcp agent to another.  When a
dhcp-agent-network-remove is issued, the dhcp port device_id is
marked as reserved which causes it to not be deleted. When a
subsequent dhcp-agent-network-add is issued, the reserved port
is used and the device_id is corrected.  This is desirable
in order to maintain the dhcp port ip address so that dns doesn't
get impacted. Unit test added.

Change-Id: I531d7ffab074b01adfe186d2c3df43ca978359cd
Closes-Bug: #1288923

10 years agoMerge "Implement local ARP responder onto OVS agent"
Jenkins [Tue, 20 May 2014 14:41:56 +0000 (14:41 +0000)]
Merge "Implement local ARP responder onto OVS agent"

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Tue, 20 May 2014 06:54:41 +0000 (06:54 +0000)]
Imported Translations from Transifex

Change-Id: I270dd8e25975d51b012976c669a2ea7fb626b22d

10 years agoMerge "Ensure tenant owns devices when creating a gateway"
Jenkins [Mon, 19 May 2014 22:54:44 +0000 (22:54 +0000)]
Merge "Ensure tenant owns devices when creating a gateway"

10 years agoMerge "Adding tenant-id while creating Radware ADC service"
Jenkins [Mon, 19 May 2014 22:49:20 +0000 (22:49 +0000)]
Merge "Adding tenant-id while creating Radware ADC service"

10 years agoMerge "Allow vlan type usage for OpenDaylight ml2"
Jenkins [Mon, 19 May 2014 22:47:07 +0000 (22:47 +0000)]
Merge "Allow vlan type usage for OpenDaylight ml2"

10 years agoMerge "Fix typos in ovs_neutron_agent.py"
Jenkins [Mon, 19 May 2014 22:23:59 +0000 (22:23 +0000)]
Merge "Fix typos in ovs_neutron_agent.py"

10 years agoMerge "NSX: do not raise on missing router during migration step"
Jenkins [Mon, 19 May 2014 22:05:35 +0000 (22:05 +0000)]
Merge "NSX: do not raise on missing router during migration step"

10 years agoImplement local ARP responder onto OVS agent
Édouard Thuleau [Mon, 6 Jan 2014 12:58:39 +0000 (13:58 +0100)]
Implement local ARP responder onto OVS agent

With ML2 plugin and l2-pop mechanism driver, it's possible to locally
answer to the ARP request of the VM and avoid ARP broadcasting emulation
on overlay which is costly.

When this functionality is enabled, the OVS flows logic evolves to [1].
This functionality was introduce in 2.1 OVS branch [2].

A README is added to describe l2-pop mechanism driver and the agents
particularities.

[1] https://wiki.openstack.org/wiki/Ovs-flow-logic#OVS_flows_logic_with_local_ARP_responder
[2] http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f6c8a6b163af343c66aea54953553d84863835f7

DocImpact: New OVS agent flag 'arp_responder' set to false by default
Closes-Bug: #1237427
Change-Id: Ic28610faf2df6566d8d876fcd7aed333647970e2

10 years agoFix typos in ovs_neutron_agent.py
Chuck [Sat, 17 May 2014 20:06:56 +0000 (13:06 -0700)]
Fix typos in ovs_neutron_agent.py

Comments, doc strings, and log messages fixed

Closes-Bug: 1320547
Change-Id: I1cea722ef1839826bdfb12ff15226b97d2f217f9

10 years agoMerge "NSX: fix error when creating VM ports on subnets without dhcp"
Jenkins [Mon, 19 May 2014 18:39:02 +0000 (18:39 +0000)]
Merge "NSX: fix error when creating VM ports on subnets without dhcp"

10 years agoAllow vlan type usage for OpenDaylight ml2
Sam Hague [Fri, 2 May 2014 18:08:09 +0000 (14:08 -0400)]
Allow vlan type usage for OpenDaylight ml2

The initial OpenDaylight integration with Openstack did not support
vlan isolation so it was not included as a valid type. This change
adds the vlan type as allowed.

Also modified tests to include vlan as supported in the
check_segment().

DocImpact:
Use of VLANs with ML2 and the OpenDaylight mechanism driver
requires OpenDaylight Helium or newer to be installed.

Closes-Bug: #1315475
Change-Id: I52e3c9bfdc93b8786c58954beca105e7498e3f40

10 years agoMerge "Unit test cases for quota_db.py"
Jenkins [Mon, 19 May 2014 15:52:05 +0000 (15:52 +0000)]
Merge "Unit test cases for quota_db.py"

10 years agoNSX: do not raise on missing router during migration step
armando-migliaccio [Mon, 28 Apr 2014 21:18:06 +0000 (14:18 -0700)]
NSX: do not raise on missing router during migration step

Return None for missing router rather raising NotFound exception;
this is what the client code was expected to handle in the first
place.

Closes-bug: 1313918

Change-Id: I573770a69d0170b027fc990c29aaa87b1fc8eccc

10 years agoNSX: fix error when creating VM ports on subnets without dhcp
armando-migliaccio [Tue, 6 May 2014 01:39:55 +0000 (18:39 -0700)]
NSX: fix error when creating VM ports on subnets without dhcp

The error was caused by a missing LSN port (which is created when
the subnet is setup with dhcp enabled). Therefore, check the port
is in place before proceeding with the setup.

Change-Id: I658ead0c324a24ad3f061844ecac13cd3359d341
Closes-bug: 1316365

10 years agoNSX: allow net-migration only in combined mode
armando-migliaccio [Tue, 29 Apr 2014 01:27:04 +0000 (18:27 -0700)]
NSX: allow net-migration only in combined mode

To allow migration of networks from the agent based model
to the agentless one, both modes need to be available; prior
to this change the extension was available in 'agentless' mode
too; this may lead to leftovers during the migration step.
This patch makes the extension available in 'combined' mode
only, which was the intended behavior.

Closes-bug: #1313985

Change-Id: I491ee3eaf25fc30c0ab4092ee198802a6b06d91d

10 years agoOFAgent: Avoid processing ports which are not yet ready
fumihiko kakuma [Mon, 14 Apr 2014 03:54:39 +0000 (12:54 +0900)]
OFAgent: Avoid processing ports which are not yet ready

Port the following patch to OFAgent.
commit: 2702baed390d094b0eac07d0ae167ed236868d00
https://review.openstack.org/#/c/65838/

Closes-Bug: 1307745

Change-Id: Ie1fe0944fb541ba45ffb5b03747d5da289cede51

10 years agoAdd missing translation support
Gary Kotton [Thu, 1 May 2014 13:10:57 +0000 (06:10 -0700)]
Add missing translation support

Update a number of files to add missing translation support.

The patch adds a new hacking check - N320. This ensures that
all log messages, except debug ones, have translations.

A '# noqa' indicates that the validation will not be done on
the specific log message. This should be used in cases where
the translations do not need to be done, for example, the log
message is logging raw data.

Change-Id: I3e1fdd04d87b09dff50950b5e85f5cacfb29afdc
Closes-bug: #1314994

10 years agoMerge "Fix issubclass() hook behavior in PluginInterface"
Jenkins [Mon, 19 May 2014 10:10:53 +0000 (10:10 +0000)]
Merge "Fix issubclass() hook behavior in PluginInterface"

10 years agoMerge "LBaaS VIP doesn't work after delete and re-add"
Jenkins [Mon, 19 May 2014 10:10:33 +0000 (10:10 +0000)]
Merge "LBaaS VIP doesn't work after delete and re-add"

10 years agoMerge "Add mailmap entry"
Jenkins [Mon, 19 May 2014 09:54:08 +0000 (09:54 +0000)]
Merge "Add mailmap entry"

10 years agoReorg table ml2_port_bindings when db migration
wangbo [Mon, 12 May 2014 07:18:03 +0000 (15:18 +0800)]
Reorg table ml2_port_bindings when db migration

For DB2, there are restrictions on table access
after ALTER TABLE statements containing
REORG-recommended operations.
Table will be placed in "reorg pending" state
after some continuous alter table operations.
Need run reorg table to make the table available.
More info refer to:
http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp
?topic=%2Fcom.ibm.db2.udb.admin.doc%2Fdoc%2Fc0023297.htm

Change-Id: I7fdd61bb4d636d7a3260c0b23152f1f3083cdcfd
Fixes: bug #1318498
10 years agoRemove unused parameter
shihanzhang [Sat, 17 May 2014 09:07:33 +0000 (17:07 +0800)]
Remove unused parameter

Remove parameter agent_ip of _add_fdb_flow() and _del_fdb_flow()
Change-Id: I2df05026944bcfc446ce5a951df6696a95c2c663

10 years agoMerge "OVS lib defer apply doesn't handle concurrency"
Jenkins [Sat, 17 May 2014 16:14:30 +0000 (16:14 +0000)]
Merge "OVS lib defer apply doesn't handle concurrency"

10 years agoMerge "Corrected the syntax of port_update call to NVSD agent"
Jenkins [Sat, 17 May 2014 09:29:46 +0000 (09:29 +0000)]
Merge "Corrected the syntax of port_update call to NVSD agent"

10 years agoMerge "Performance improvement of router routes operations"
Jenkins [Sat, 17 May 2014 09:13:58 +0000 (09:13 +0000)]
Merge "Performance improvement of router routes operations"

10 years agoNSX: Do a single query for all gateway devices
Salvatore Orlando [Fri, 16 May 2014 15:12:18 +0000 (08:12 -0700)]
NSX: Do a single query for all gateway devices

When creating a network gateway, do a single query for all
gateway devices, rather than a distinct query for each device.

Change-Id: I9e66539eb36ae75d3dcdd8a9073d2a2f69447e98
Closes-Bug: 1320278

10 years agoAdd mailmap entry
Morgan Fainberg [Wed, 7 May 2014 19:10:48 +0000 (12:10 -0700)]
Add mailmap entry

Add mailmap entry for my email address

Change-Id: Ia46c28c86ef3f440556b1b027d2bf0a7f3e721c5

10 years agoNSX: Do not extend fault map for network gateway ext
Salvatore Orlando [Wed, 14 May 2014 14:23:55 +0000 (07:23 -0700)]
NSX: Do not extend fault map for network gateway ext

Most of the exceptions defined for this extension already extend
an exception-mapped class. This patch ensures this is true for
every exception and then removes the fault map extension code.

Change-Id: Ifdd9b6d3892cff2d076bdab3a2a1252923e3f85d
Closes-Bug: 1319423

10 years agoEnsure tenant owns devices when creating a gateway
Salvatore Orlando [Wed, 14 May 2014 22:15:05 +0000 (15:15 -0700)]
Ensure tenant owns devices when creating a gateway

This patch adds an ownership check in the create_gateway method.
This kind of check can hardly be enforced leveraging the policy engine.

Change-Id: Iffdc9c570d688f824374281b37efd23761883d26
Closes-Bug: 1319583

10 years agoMerge "Improve ODL ML2 Exception Handling"
Jenkins [Wed, 14 May 2014 21:17:44 +0000 (21:17 +0000)]
Merge "Improve ODL ML2 Exception Handling"

10 years agoMerge "Perform policy checks only once on list responses"
Jenkins [Wed, 14 May 2014 20:52:47 +0000 (20:52 +0000)]
Merge "Perform policy checks only once on list responses"

10 years agoMerge "Upgrade failure for DB2 at ml2_binding_vif_details"
Jenkins [Wed, 14 May 2014 16:07:02 +0000 (16:07 +0000)]
Merge "Upgrade failure for DB2 at ml2_binding_vif_details"

10 years agoCorrected the syntax of port_update call to NVSD agent
kedar kulkarni [Tue, 13 May 2014 06:31:52 +0000 (12:01 +0530)]
Corrected the syntax of port_update call to NVSD agent

The parameters passed to the agent rpc port_update call in
NVSD plugin were wrong. It is corrected now.

Change-Id: I9ec8f74695b6ca813ffad9e33502d9a2e0bd1f92
Closes-Bug: 1318909

10 years agoMerge "NSX: pass the right argument during metadata setup"
Jenkins [Wed, 14 May 2014 00:45:32 +0000 (00:45 +0000)]
Merge "NSX: pass the right argument during metadata setup"

10 years agoFix some typos in neutron/db and IBM SDN-VE plugin
Baohua Yang [Mon, 12 May 2014 03:05:18 +0000 (11:05 +0800)]
Fix some typos in neutron/db and IBM SDN-VE plugin

For example, in neutron/db/agents_db.py, db_plugin_base_v2 should be changed to db_base_plugin_v2.
There is no bug or blueprint related to this fix.

Change-Id: I0d348d92c9c32f172d1e505cf660aed4d064a440

10 years agoFix issubclass() hook behavior in PluginInterface
Roman Podoliaka [Wed, 16 Apr 2014 10:59:33 +0000 (13:59 +0300)]
Fix issubclass() hook behavior in PluginInterface

Currently, PluginInterface provides an issubclass() hook that returns
True for issubclass(A, B) call, if all abstract methods of B (stored
in B.__abstractmethods__) can be found in the A.__mro__ tuple of
classes. But there is an edge case, when B doesn't have any abstract
methods, which leads to issubclass(A, B) call returning True even if
A and B are not related all.

E.g. issubclass(NeutronPluginPLUMgridV2, NsxPlugin) returns True,
while these two are different core plugins. And it gets even more
trickier when superclasses are involved: e.g. SecurityGroupDbMixin is
a superclass of NsxPlugin, so depending on the fact whether the
python module with NsxPlugin class is imported or not,
issubclass(NeutronPluginPLUMgridV2, SecurityGroupDbMixin) will return
either False or True accordingly.

Closes-Bug: #1308489

Change-Id: I92711a00a19b89729ccdba9cbd8a2e7a2d2868ed

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Mon, 12 May 2014 06:54:01 +0000 (06:54 +0000)]
Imported Translations from Transifex

Change-Id: Id03cc0a2d92654f617cd99465f81c5523a016c96

10 years agoMerge "Allow DHCPv6 solicit from VM"
Jenkins [Mon, 12 May 2014 06:05:25 +0000 (06:05 +0000)]
Merge "Allow DHCPv6 solicit from VM"

10 years agoLBaaS VIP doesn't work after delete and re-add
LipingMao [Wed, 2 Apr 2014 07:34:31 +0000 (07:34 +0000)]
LBaaS VIP doesn't work after delete and re-add

When delete and re-add the same vip, we need to send gratuitous ARP
to flush the ARP cache in the Router.

Change-Id: Id97088abb95f4433a100abdae8c8726b3be42ed2
Closes-Bug: 1301165

10 years agoOVS lib defer apply doesn't handle concurrency
Édouard Thuleau [Mon, 3 Mar 2014 17:08:33 +0000 (18:08 +0100)]
OVS lib defer apply doesn't handle concurrency

The OVS lib deferred apply methods use a dict to save flows to add,
modify or delete when deffered apply is switched off.
If another thread adds, modifies or deletes flows on that dict during
another process called deffered_apply_off, its flows could be ignored.

This fix stash reference flows list and point the flows list to a new
cleared flows list. Then, it applies flows from the stashed flows list.

Closes-bug: #1263866
Change-Id: Ia3c6ce181e1599d1474da7eb944feff7d84f1d73