]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
9 years agoMerge "Add vlan_transparent attribute to network model"
Jenkins [Tue, 10 Feb 2015 02:53:43 +0000 (02:53 +0000)]
Merge "Add vlan_transparent attribute to network model"

9 years agoMerge "Use proper capitalization for OVS table names"
Jenkins [Mon, 9 Feb 2015 22:52:30 +0000 (22:52 +0000)]
Merge "Use proper capitalization for OVS table names"

9 years agoMerge "Fixing several misspellings in neutron"
Jenkins [Mon, 9 Feb 2015 22:50:37 +0000 (22:50 +0000)]
Merge "Fixing several misspellings in neutron"

9 years agoMerge "Adopt rpc_api devref to new oslo_messaging namespace"
Jenkins [Mon, 9 Feb 2015 21:04:12 +0000 (21:04 +0000)]
Merge "Adopt rpc_api devref to new oslo_messaging namespace"

9 years agoMerge "Fix minor nits with the devref's contribute section"
Jenkins [Mon, 9 Feb 2015 18:47:47 +0000 (18:47 +0000)]
Merge "Fix minor nits with the devref's contribute section"

9 years agoMerge "Add mtu attributes to network model"
Jenkins [Mon, 9 Feb 2015 17:52:54 +0000 (17:52 +0000)]
Merge "Add mtu attributes to network model"

9 years agoMerge "l2-pop shouldn't notify agent about inactive ports"
Jenkins [Mon, 9 Feb 2015 15:36:12 +0000 (15:36 +0000)]
Merge "l2-pop shouldn't notify agent about inactive ports"

9 years agoMerge "Refactor logging in loop to only log debug messages once"
Jenkins [Mon, 9 Feb 2015 15:34:04 +0000 (15:34 +0000)]
Merge "Refactor logging in loop to only log debug messages once"

9 years agoAdopt rpc_api devref to new oslo_messaging namespace
Ihar Hrachyshka [Sat, 7 Feb 2015 09:15:28 +0000 (10:15 +0100)]
Adopt rpc_api devref to new oslo_messaging namespace

Change-Id: Ib6f58cffae882652da52962c9e61298193b50d62

9 years agoFix minor nits with the devref's contribute section
armando-migliaccio [Sat, 7 Feb 2015 07:44:07 +0000 (23:44 -0800)]
Fix minor nits with the devref's contribute section

Be more explicit on the adoption of Externally Hosted Plugins, which
are based on Extra.d Hooks.

Partially-implement: blueprint core-vendor-decomposition

Change-Id: I4510aaa74c8853278b1c17757d4f4fa67554093a

9 years agoMerge "Cleanup dead code for dnsmasq"
Jenkins [Sat, 7 Feb 2015 06:18:06 +0000 (06:18 +0000)]
Merge "Cleanup dead code for dnsmasq"

9 years agoMerge "Fixes Multiple External Networks issue with DVR"
Jenkins [Sat, 7 Feb 2015 00:24:14 +0000 (00:24 +0000)]
Merge "Fixes Multiple External Networks issue with DVR"

9 years agoCleanup dead code for dnsmasq
Han Zhou [Tue, 3 Feb 2015 05:36:23 +0000 (13:36 +0800)]
Cleanup dead code for dnsmasq

In fix of bug 1202392, there was dead code left [1]. This patch
cleans them up.

[1] https://review.openstack.org/#/c/37580/

Change-Id: I02edb9ce6ac639e84089afea5a900462e61b934a

9 years agoAdd mtu attributes to network model
Pradeep Kilambi [Fri, 6 Feb 2015 01:06:21 +0000 (17:06 -0800)]
Add mtu attributes to network model

Database changes to support including mtu as
part of the network model.

Change-Id: Id6410de8844d3476893647b22baa7f1a96f1df8b
Partially-Implements: blueprint mtu-selection-and-advertisement

9 years agoAdd vlan_transparent attribute to network model
Pritesh Kothari [Thu, 5 Feb 2015 23:20:38 +0000 (15:20 -0800)]
Add vlan_transparent attribute to network model

VLAN trunking networks for NFV blueprint needs a new vlan_transparent
attribute. Add this attribute to the network model.

Partially-Implements: blueprint nfv-vlan-trunks
Change-Id: Ib973f196989b3b119e309ce7100a1e7e7c73b3a4

9 years agoMerge "Drop devstack-gate files from Neutron repo"
Jenkins [Fri, 6 Feb 2015 20:45:25 +0000 (20:45 +0000)]
Merge "Drop devstack-gate files from Neutron repo"

9 years agoMerge "VMware: consolidate NSX models"
Jenkins [Fri, 6 Feb 2015 20:29:07 +0000 (20:29 +0000)]
Merge "VMware: consolidate NSX models"

9 years agol2-pop shouldn't notify agent about inactive ports
Chengli XU [Wed, 25 Jun 2014 14:26:04 +0000 (22:26 +0800)]
l2-pop shouldn't notify agent about inactive ports

When an agent starts, or the first port of an agent becomes active,
l2 population mechanism driver will notify the agent of all ports on other agents.
It should not notify about inactive ports.

Basically, this patch-set is needed for fixing the bug 1332450.

Co-Authored-By: Romil Gupta <romilg@hp.com>
Closes-Bug: #1334292
Change-Id: Ifbbd7c4e22d4a6383a3c77a9d9ac9a37302c38c3

9 years agoMerge "oslo: migrate to namespace-less import paths"
Jenkins [Fri, 6 Feb 2015 14:38:57 +0000 (14:38 +0000)]
Merge "oslo: migrate to namespace-less import paths"

9 years agoMerge "Move extra routes processing to router classes"
Jenkins [Fri, 6 Feb 2015 06:23:11 +0000 (06:23 +0000)]
Merge "Move extra routes processing to router classes"

9 years agoDrop devstack-gate files from Neutron repo
armando-migliaccio [Fri, 6 Feb 2015 02:03:43 +0000 (18:03 -0800)]
Drop devstack-gate files from Neutron repo

These files are no longer necessary, as [1,2] have
merged successfully.

[1] https://review.openstack.org/#/c/148052
[2] https://review.openstack.org/#/c/148641

Change-Id: Ia2a5c71ec5f6b8a7e477150b10faf9e856074763

9 years agoMerge "Restore and fix vmware unit tests"
Jenkins [Fri, 6 Feb 2015 03:41:05 +0000 (03:41 +0000)]
Merge "Restore and fix vmware unit tests"

9 years agoMerge "Provide more details about testing strategies"
Jenkins [Fri, 6 Feb 2015 00:56:26 +0000 (00:56 +0000)]
Merge "Provide more details about testing strategies"

9 years agoMerge "Add section for DevStack Integration Strategies to the DevRef"
Jenkins [Thu, 5 Feb 2015 21:14:38 +0000 (21:14 +0000)]
Merge "Add section for DevStack Integration Strategies to the DevRef"

9 years agoProvide more details about testing strategies
armando-migliaccio [Tue, 3 Feb 2015 22:55:55 +0000 (14:55 -0800)]
Provide more details about testing strategies

With the decomp running at full steam, some questions have been
raised on Gerrit, IRC or the mailing list. This patch adds more
details on how to go about unit testing and some current limitations
of 3rd party systems.

Partial-implements: blueprint core-vendor-decomposition

Change-Id: I3920bb394d57de126fd0de8a238f7b710baa1075

9 years agoAdd section for DevStack Integration Strategies to the DevRef
armando-migliaccio [Tue, 3 Feb 2015 03:24:11 +0000 (19:24 -0800)]
Add section for DevStack Integration Strategies to the DevRef

Plugins may already have DevStack support, that may need to be revised
according to the decomposition. If a plugin/driver does not have one,
it is necessary to add it to ease the development effort. This section
explains what DevStack integration options are available, in relation
to the dev/test cycle and 3rd party CI systems.

Links were not rendered correctly. So this patch takes care of that too.

Partially implements blueprint: core-vendor-decomposition

Change-Id: Ib12e38d775af1e5a840bd009c95dac4c982b9753

9 years agoMerge "Nuke a useless lambda wrapper and call to iterkeys (review feedback)"
Jenkins [Thu, 5 Feb 2015 18:53:58 +0000 (18:53 +0000)]
Merge "Nuke a useless lambda wrapper and call to iterkeys (review feedback)"

9 years agoVMware: consolidate NSX models
Salvatore Orlando [Wed, 4 Feb 2015 11:43:10 +0000 (03:43 -0800)]
VMware: consolidate NSX models

This patch moves all the models for the NSX plugin currently in trunk
into a single module. The module neutron.db.migration.models.head is
also updated accordingly.

This patches is aimed at simplifying the decomposition of the VMware
NSX plugin.

Related blueprint core-vendor-decomposition

Change-Id: I32be9996a76ab874d1b982f0be10ae393d48060b

9 years agoRestore and fix vmware unit tests
Salvatore Orlando [Sun, 1 Feb 2015 07:49:38 +0000 (23:49 -0800)]
Restore and fix vmware unit tests

This patch actually restores vmware unit tests, by adding back
the __init__.py file which was renamed during the advanced
service spinoff and not reinstated when fixing vmware code to
comply with the spinoff.

Furthermore, this patch also fixes a minor issue with context
usage in vmware unit tests which is triggering failures because
of the new database constraint introduced with the commit
79c97120de9cff4d0992b5d41ff4bbf05e890f89

Finally, flake8 tests on vmware directories are also restored
with this patch.

Change-Id: Ib63463fca28bbb4a1eb60b8f5f4b63b3d3367c9e
Closes-Bug: #1416593
Closes-Bug: #1416596

9 years agoMove extra routes processing to router classes
Assaf Muller [Mon, 26 Jan 2015 21:22:16 +0000 (16:22 -0500)]
Move extra routes processing to router classes

Move legacy and HA routers implementation of the extra
routes extension to their respective router classes.
Move the unit tests as well.

Partially-Implements: blueprint restructure-l3-agent
Change-Id: Iec642dde3e1f2ffdfae4cdfb9cbdc777cad52a39

9 years agooslo: migrate to namespace-less import paths
Ihar Hrachyshka [Thu, 8 Jan 2015 16:25:23 +0000 (17:25 +0100)]
oslo: migrate to namespace-less import paths

Oslo project decided to move away from using oslo.* namespace for all their
libraries [1], so we should migrate to new import path.

This patch applies new paths for:
- oslo.config
- oslo.db
- oslo.i18n
- oslo.messaging
- oslo.middleware
- oslo.rootwrap
- oslo.serialization
- oslo.utils

Added hacking check to enforce new import paths for all oslo libraries.

Updated setup.cfg entry points.

We'll cleanup old imports from oslo-incubator modules on demand or
if/when oslo officially deprecates old namespace in one of the next
cycles.

[1]: https://blueprints.launchpad.net/oslo-incubator/+spec/drop-namespace-packages

Depends-On: https://review.openstack.org/#/c/147248/
Depends-On: https://review.openstack.org/#/c/152292/
Depends-On: https://review.openstack.org/#/c/147240/

Closes-Bug: #1409733
Change-Id: If0dce29a0980206ace9866112be529436194d47e

9 years agoMerge "Allow to request metadata proxy only with redirection"
Jenkins [Thu, 5 Feb 2015 12:06:37 +0000 (12:06 +0000)]
Merge "Allow to request metadata proxy only with redirection"

9 years agoMerge "Not assign dynamic IPv6 address on dhcp interface"
Jenkins [Thu, 5 Feb 2015 10:13:00 +0000 (10:13 +0000)]
Merge "Not assign dynamic IPv6 address on dhcp interface"

9 years agoMerge "Pass '--dhcp-authoritative' option to dnsmasq"
Jenkins [Thu, 5 Feb 2015 07:19:09 +0000 (07:19 +0000)]
Merge "Pass '--dhcp-authoritative' option to dnsmasq"

9 years agoMerge "Log entry when no Floating IP interface present"
Jenkins [Thu, 5 Feb 2015 06:12:38 +0000 (06:12 +0000)]
Merge "Log entry when no Floating IP interface present"

9 years agoMerge "Fix breakage in all service repo unit tests, due to duplicate imports of exts"
Jenkins [Thu, 5 Feb 2015 05:47:36 +0000 (05:47 +0000)]
Merge "Fix breakage in all service repo unit tests, due to duplicate imports of exts"

9 years agoFix breakage in all service repo unit tests, due to duplicate imports of exts
Doug Wiegley [Thu, 5 Feb 2015 03:33:35 +0000 (21:33 -0600)]
Fix breakage in all service repo unit tests, due to duplicate imports of exts

Duplicate imports of the same class + super() are not playing nicely
together, and our unit test base classes cause some dups in the extension
search path, breaking the service repos. This was not noticed earlier
in the extension moving process, because the temporary move code had a crude
mechanism to prevent the loading of same named extensions.

Change-Id: I0fbb2dbc01c67bb47a79f630ad352d1d92b6bb91
Partially-Implements: blueprint services-split

9 years agoLog entry when no Floating IP interface present
rajeev [Wed, 4 Feb 2015 22:48:16 +0000 (17:48 -0500)]
Log entry when no Floating IP interface present

Having a log entry here in process_router_floating_ip_addresses
would make it easier to understand why the status of floating ips
wasn't updated.

Change-Id: If7ff3d8951010ed2a4e802acdb948cfdfcb5dda6
Related-bug: #1415522

9 years agoMerge "Updated from global requirements"
Jenkins [Thu, 5 Feb 2015 00:03:43 +0000 (00:03 +0000)]
Merge "Updated from global requirements"

9 years agoMerge "Decrease rpc timeout after agent receives SIGTERM"
Jenkins [Thu, 5 Feb 2015 00:03:29 +0000 (00:03 +0000)]
Merge "Decrease rpc timeout after agent receives SIGTERM"

9 years agoMerge "Imported Translations from Transifex"
Jenkins [Wed, 4 Feb 2015 23:37:48 +0000 (23:37 +0000)]
Merge "Imported Translations from Transifex"

9 years agoMerge "Nuke remaining service config and extensions from main repo"
Jenkins [Wed, 4 Feb 2015 22:46:13 +0000 (22:46 +0000)]
Merge "Nuke remaining service config and extensions from main repo"

9 years agoMerge "Fix extra-dhcp-opt on stateless dhcpv6 subnet"
Jenkins [Wed, 4 Feb 2015 22:29:45 +0000 (22:29 +0000)]
Merge "Fix extra-dhcp-opt on stateless dhcpv6 subnet"

9 years agoRefactor logging in loop to only log debug messages once
Billy Olsen [Fri, 23 Jan 2015 22:50:40 +0000 (15:50 -0700)]
Refactor logging in loop to only log debug messages once

Logging entries in a loop to a file can be expensive for a large
number of objects (e.g. ports) in a loop. Rather than perform the
overhead of logging a debug entry for each line within the hosts
file, move the debug trace of the contents to after the loop to
bulk up the I/O operations.

Change-Id: I3ad7864eeb2f959549ed356a1e34fa18804395cc
Closes-Bug: #1414218

9 years agoNuke a useless lambda wrapper and call to iterkeys (review feedback)
Doug Wiegley [Wed, 4 Feb 2015 19:00:48 +0000 (13:00 -0600)]
Nuke a useless lambda wrapper and call to iterkeys (review feedback)

Change-Id: Ib7eff4e1a7ad08008adde43c3cc0710eb730e566
Partially-Implements: blueprint services-split

9 years agoNuke remaining service config and extensions from main repo
Doug Wiegley [Fri, 30 Jan 2015 05:57:55 +0000 (22:57 -0700)]
Nuke remaining service config and extensions from main repo

Change-Id: Ic8ab865a387808c925cc311d9b70ac53f5c2c5b8
Partially-implements: blueprint services-split

9 years agoPass '--dhcp-authoritative' option to dnsmasq
Alexey I. Froloff [Mon, 2 Feb 2015 10:44:14 +0000 (13:44 +0300)]
Pass '--dhcp-authoritative' option to dnsmasq

When dnsmasq is restarted, it forgets about all leases (since it runs
with leasefile-ro option). When client tries to renew its lease, dnsmasq
sends DHCPNAK reply with message "lease not found". Then client shuts
down the network and re-request lease from DHCP server (and gets exactly
same IP address). There's a small network downtime which affects
services, like zookeeper, running in VMs.

Change-Id: Ieff0236670c1403b5d79ad8e50d7574c1b694e34
Closes-Bug: #1345947

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Wed, 4 Feb 2015 06:15:26 +0000 (06:15 +0000)]
Imported Translations from Transifex

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I2ef01d197231ea814115d1f95d703ae101f2272b

9 years agoFix extra-dhcp-opt on stateless dhcpv6 subnet
lijianlj [Fri, 16 Jan 2015 09:02:40 +0000 (17:02 +0800)]
Fix extra-dhcp-opt on stateless dhcpv6 subnet

The opts in dnsmasq opt-file is depending on the tag set
in the host-file. When you have only one stateless dhcpv6 subnet,
it will be filtered by the _iter_host() function, and will not be
written to the host-file, this may lead to extra-dhcp-opt not working.

Closes-Bug:#1411137

Change-Id: Ieed16280fb3c4c91f7d906c0410446d2a112b93e

9 years agoMerge "Configures RADVD to send managed flag in RA for DHCP_STATEFUL"
Jenkins [Wed, 4 Feb 2015 00:23:51 +0000 (00:23 +0000)]
Merge "Configures RADVD to send managed flag in RA for DHCP_STATEFUL"

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Tue, 3 Feb 2015 23:17:15 +0000 (23:17 +0000)]
Updated from global requirements

Change-Id: I0160a78502e5c18d62fc9bb75a8eb33342091050

9 years agoMerge "ML2: Use same port binding logic for DVR ports as non-DVR ports"
Jenkins [Tue, 3 Feb 2015 19:16:11 +0000 (19:16 +0000)]
Merge "ML2: Use same port binding logic for DVR ports as non-DVR ports"

9 years agoMerge "Allow port mac_address to be modified"
Jenkins [Tue, 3 Feb 2015 17:37:40 +0000 (17:37 +0000)]
Merge "Allow port mac_address to be modified"

9 years agoMerge "Support Extra DHCP Options for IPv4 and IPv6"
Jenkins [Tue, 3 Feb 2015 17:13:24 +0000 (17:13 +0000)]
Merge "Support Extra DHCP Options for IPv4 and IPv6"

9 years agoML2: Use same port binding logic for DVR ports as non-DVR ports
Robert Kukura [Thu, 29 Jan 2015 22:13:00 +0000 (17:13 -0500)]
ML2: Use same port binding logic for DVR ports as non-DVR ports

DVR ports are now bound using the same function,
Ml2Plugin._bind_port_if_needed(), that is used to bind non-DVR ports,
so that concurrent binding attempts are properly handled and mechanism
driver update_port_precommit() and update_port_postcommit() methods
are called. The Ml2Plugin._commit_dvr_port_binding() function is
eliminated, and the DvrPortContext class has been folded into the
PortContext class, reducing duplicated logic.

A followup patch will address the duplication of ML2 DB schema for DVR
and further reduce the duplicated and special-case port binding logic
supporting DVR.

Closes-Bug: 1415526
Closes-Bug: 1416783
Partial-Bug: 1367391

Change-Id: Ic32241297c5f8c67dc77d0af836b1cc0a5df988a

9 years agoMerge "Refactor ml2 manager"
Jenkins [Tue, 3 Feb 2015 13:25:43 +0000 (13:25 +0000)]
Merge "Refactor ml2 manager"

9 years agoDecrease rpc timeout after agent receives SIGTERM
Jakub Libosvar [Fri, 30 Jan 2015 17:30:22 +0000 (18:30 +0100)]
Decrease rpc timeout after agent receives SIGTERM

The patch sets different timeout to rpc api objects in OVS agent after
SIGTERM is received. Given timeout is configurable. This action prevents
long waiting for rpc call() methods to timeout and decreases amount of time
needed to successfully stopping OVS agent.

DocImpact
Change-Id: I3026775e813a74bad9e0bca3be1f535212a2e417
Closes-Bug: 1408334

9 years agoMerge "NSX DB models split, part 3 (and final)"
Jenkins [Tue, 3 Feb 2015 07:36:34 +0000 (07:36 +0000)]
Merge "NSX DB models split, part 3 (and final)"

9 years agoMerge "NSX DB models split, part 2"
Jenkins [Tue, 3 Feb 2015 07:36:21 +0000 (07:36 +0000)]
Merge "NSX DB models split, part 2"

9 years agoConfigures RADVD to send managed flag in RA
singhannie [Wed, 31 Dec 2014 11:47:38 +0000 (03:47 -0800)]
Configures RADVD to send managed flag in RA
for DHCP_STATEFUL

RADVD process is configured so that it sends
managed flag in RA for the subnets with
ra_mode set to DHCP_STATEFUL. UT case is
updated to check the presence of managed
flag in config file of RADVD for
DHCP_STATEFUL.

Change-Id: If685846c0c0f67bf4c40f4f268b9d03bfa2b1654
Closes-Bug: #1377843

9 years agoMerge "Make prevent_l3_port_deletion handle missing port"
Jenkins [Tue, 3 Feb 2015 04:00:05 +0000 (04:00 +0000)]
Merge "Make prevent_l3_port_deletion handle missing port"

9 years agoMerge "Remove unused mocks"
Jenkins [Tue, 3 Feb 2015 03:54:14 +0000 (03:54 +0000)]
Merge "Remove unused mocks"

9 years agoMerge "Extension moving tweaks, exceptions and extension path fix"
Jenkins [Tue, 3 Feb 2015 03:46:23 +0000 (03:46 +0000)]
Merge "Extension moving tweaks, exceptions and extension path fix"

9 years agoMerge "NSX DB models split, part 1"
Jenkins [Tue, 3 Feb 2015 03:43:19 +0000 (03:43 +0000)]
Merge "NSX DB models split, part 1"

9 years agoMerge "Backout 152195, which doesn't check the same token that it saves"
Jenkins [Mon, 2 Feb 2015 22:57:32 +0000 (22:57 +0000)]
Merge "Backout 152195, which doesn't check the same token that it saves"

9 years agoMake prevent_l3_port_deletion handle missing port
Kevin Benton [Fri, 30 Jan 2015 20:53:57 +0000 (12:53 -0800)]
Make prevent_l3_port_deletion handle missing port

This adjusts the prevent_l3_port_deletion function to handle
the case where the port ID that is passed to it does not have
an entry in the database.

Previously it was raising an exception in this case, which is
inconsistent to how ML2 was handling concurrent port_delete requests
further in the port delete function (log them but don't fail).

Closes-Bug: #1416554
Change-Id: I6da021bdf0c79f72336416d02ab989407f352904

9 years agoMerge "Don't pass the port down to the floating ip processing"
Jenkins [Mon, 2 Feb 2015 21:02:15 +0000 (21:02 +0000)]
Merge "Don't pass the port down to the floating ip processing"

9 years agoMerge "Encapsulate DVR Fip namespace"
Jenkins [Mon, 2 Feb 2015 21:02:01 +0000 (21:02 +0000)]
Merge "Encapsulate DVR Fip namespace"

9 years agoBackout 152195, which doesn't check the same token that it saves
Doug Wiegley [Mon, 2 Feb 2015 20:27:18 +0000 (14:27 -0600)]
Backout 152195, which doesn't check the same token that it saves

Change-Id: Ia98cd4de04100be2a32532a058a31ef8b4df7905

9 years agoMerge "Discriminate loaded extensions using their alias"
Jenkins [Mon, 2 Feb 2015 20:20:00 +0000 (20:20 +0000)]
Merge "Discriminate loaded extensions using their alias"

9 years agoMerge "Freescale FWaaS Plugin: Update to setup.cfg"
Jenkins [Mon, 2 Feb 2015 19:25:54 +0000 (19:25 +0000)]
Merge "Freescale FWaaS Plugin: Update to setup.cfg"

9 years agoMerge "Imported Translations from Transifex"
Jenkins [Mon, 2 Feb 2015 19:21:38 +0000 (19:21 +0000)]
Merge "Imported Translations from Transifex"

9 years agoMerge "fixes error logging to use the right exception parent class"
Jenkins [Mon, 2 Feb 2015 18:35:44 +0000 (18:35 +0000)]
Merge "fixes error logging to use the right exception parent class"

9 years agoMerge "Drop bw compact module for OpenDayLight"
Jenkins [Mon, 2 Feb 2015 18:15:20 +0000 (18:15 +0000)]
Merge "Drop bw compact module for OpenDayLight"

9 years agoNSX DB models split, part 3 (and final)
Salvatore Orlando [Mon, 2 Feb 2015 18:01:44 +0000 (10:01 -0800)]
NSX DB models split, part 3 (and final)

Move data models for the QoS extensions into
neutron.plugins.vmware.dbexts.nsx_models

This patch is part of a set of minor refactorings in the NSX plugin
which will then lead to a semi-full decomposition by the end of
the Kilo release cycle.

Related-to blueprint core-vendor-decomposition

Change-Id: I4fc5207a9ec74c770c3e0cac14daed10000bb2b7

9 years agoNSX DB models split, part 2
Salvatore Orlando [Mon, 2 Feb 2015 17:30:02 +0000 (09:30 -0800)]
NSX DB models split, part 2

Move models for mac learning and logical services extensions
into the module neutron.plugins.vmware.dbexts.nsx_models

This patch is part of a set of minor refactorings in the NSX plugin
which will then lead to a semi-full decomposition by the end of
the Kilo release cycle.

Related-to blueprint core-vendor-decomposition

Change-Id: I0faba801b90893d949655e895899dd6aa0da6d96

9 years agoDiscriminate loaded extensions using their alias
Salvatore Orlando [Mon, 2 Feb 2015 17:08:17 +0000 (09:08 -0800)]
Discriminate loaded extensions using their alias

This patch simply changes the logic for discriminating which
extensions have already been loaded using the extension alias
rather than the module name.

This will avoid failures already observed in unit tests occurring
if two extension modules happen to have the same module file name
even if they're unrelated.

This change cannot be unit-tested as the neutron unit test
framework is currently lacking a mechanism to mock and validate
extension loading from the file system.

Closes-Bug: #1417180

Change-Id: Ia214a7c5b1127dbbec3c81023fdbc48d7fadf18f

9 years agoRefactor ml2 manager
Manish Godara [Wed, 21 Jan 2015 23:49:43 +0000 (15:49 -0800)]
Refactor ml2 manager

Refactor code to facilitate other changes. Keeping the
refactored code in different patch for ease of review.
This patch mainly consolidates the keys that are referenced
together most of the time in reference to providernet
extension. By doing this, the subsequent changes are less
repetitive and makes the code little cleaner as well.

Change-Id: Idc0648d5c4688c8f797cc5427b71c2a3919ce722
Related-Bug: #1333475

9 years agoExtension moving tweaks, exceptions and extension path fix
Doug Wiegley [Mon, 2 Feb 2015 16:08:17 +0000 (10:08 -0600)]
Extension moving tweaks, exceptions and extension path fix

- Put a few shared *aas exceptions into neutron.common exceptions, pending
them being unnecessary after L3 refactor.
- Fix extension path creation, which dropped the extensions sub-module
for service repos in one of the patch refactors.

Change-Id: I2e9e27f72abf2e0ec359bce4a55f3698c0068159
Partially-Implements: blueprint services-split

9 years agoFixing several misspellings in neutron
Ailing Zhang [Mon, 2 Feb 2015 15:41:52 +0000 (23:41 +0800)]
Fixing several misspellings in neutron

Change-Id: Ida6001821ac4212b6f33df95458e516fe3812a76

9 years agoNSX DB models split, part 1
Salvatore Orlando [Mon, 2 Feb 2015 14:01:49 +0000 (06:01 -0800)]
NSX DB models split, part 1

This patch introduces a new module for hosting NSX DB model classes,
and populates it with models for the 'network gateway' extension,
which are then removed from the model hosting the network gateway
mixin.

This patch is part of a set of minor refactorings in the NSX plugin
which will then lead to a semi-full decomposition by the end of
the Kilo release cycle.

Related-to blueprint core-vendor-decomposition

Change-Id: Ie04f6c94055ac20b938c17cea251ec6532a1e16a

9 years agoMerge "Add missing Connection.close() method"
Jenkins [Mon, 2 Feb 2015 13:07:55 +0000 (13:07 +0000)]
Merge "Add missing Connection.close() method"

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Mon, 2 Feb 2015 06:14:15 +0000 (06:14 +0000)]
Imported Translations from Transifex

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I7eac7714d5b7c8784458e5570c29a84356b59557

9 years agofixes error logging to use the right exception parent class
Matthew Thode [Sun, 1 Feb 2015 06:13:59 +0000 (00:13 -0600)]
fixes error logging to use the right exception parent class

looks like this was missed

Closes-Bug: #1416798
Change-Id: If68c13b550d665dfa24b7380f53bee7f6fccdb23

9 years agoMerge "Set locale before check dnsmasq version"
Jenkins [Sun, 1 Feb 2015 05:33:24 +0000 (05:33 +0000)]
Merge "Set locale before check dnsmasq version"

9 years agoMerge "Drop deprecated namespace for oslo.rootwrap"
Jenkins [Sun, 1 Feb 2015 05:33:12 +0000 (05:33 +0000)]
Merge "Drop deprecated namespace for oslo.rootwrap"

9 years agoMerge "Hardening unittest, make resilient to address assignment order"
Jenkins [Sun, 1 Feb 2015 05:33:00 +0000 (05:33 +0000)]
Merge "Hardening unittest, make resilient to address assignment order"

9 years agoMerge "Move agent.linux.utils tests to proper location"
Jenkins [Sun, 1 Feb 2015 05:32:25 +0000 (05:32 +0000)]
Merge "Move agent.linux.utils tests to proper location"

9 years agoDrop bw compact module for OpenDayLight
armando-migliaccio [Sat, 31 Jan 2015 17:22:01 +0000 (09:22 -0800)]
Drop bw compact module for OpenDayLight

Following change [1], this bw-compat measure can be dropped.

Depends-on: https://review.openstack.org/#/c/151707 [1]

Change-Id: I2283759a5b0ee995573d4e4357dafb3e66ca4aed

9 years agoMerge "Move ha router functionality from the agent to ha_router"
Jenkins [Sat, 31 Jan 2015 17:39:46 +0000 (17:39 +0000)]
Merge "Move ha router functionality from the agent to ha_router"

9 years agoDon't pass the port down to the floating ip processing
Carl Baldwin [Sat, 31 Jan 2015 00:27:52 +0000 (00:27 +0000)]
Don't pass the port down to the floating ip processing

This is justified by the Law of Demeter.  I ran in to this while
trying to refactor the floating ip processing here [1].  The scope of
that patch can be reduced significantly with this refactor.  Also, it
helps us to decouple the floating ip NAT processing from the details
of the port which is a long-term goal.

[1] https://review.openstack.org/#/c/142863/

Change-Id: I606dfd43977934f1accea60911e10e71c1cbba73
Partially-Implements: bp/restructure-l3-agent

9 years agoMove agent.linux.utils tests to proper location
Ihar Hrachyshka [Sat, 31 Jan 2015 12:16:40 +0000 (13:16 +0100)]
Move agent.linux.utils tests to proper location

blueprint reorganize-unit-test-tree

Change-Id: I21c07fadbe6701e4aa438c70fbf8f503b48d2f26

9 years agoMerge "Add requirements.txt file for OpenDaylight Mech Driver"
Jenkins [Sat, 31 Jan 2015 05:21:33 +0000 (05:21 +0000)]
Merge "Add requirements.txt file for OpenDaylight Mech Driver"

9 years agoMerge "Remove duplicate logging of attribute validation errors"
Jenkins [Sat, 31 Jan 2015 05:18:45 +0000 (05:18 +0000)]
Merge "Remove duplicate logging of attribute validation errors"

9 years agoDrop deprecated namespace for oslo.rootwrap
ChangBo Guo(gcb) [Fri, 30 Jan 2015 14:56:42 +0000 (22:56 +0800)]
Drop deprecated namespace for oslo.rootwrap

The oslo team is recommending everyone to switch to the
non-namespaced versions of libraries.[1]
oslo.rootwrap suggests use oslo_rootwrap.cmd:main.[2]

[1]https://blueprints.launchpad.net/oslo-incubator/+spec/drop-namespace-packages
[2]https://github.com/openstack/oslo.rootwrap#using

Change-Id: Ifa37c01b95c65bc3b4966283ff289dd724a7f8cd

9 years agoMerge "Thining Arista ML2 driver from neutron tree"
Jenkins [Sat, 31 Jan 2015 03:19:43 +0000 (03:19 +0000)]
Merge "Thining Arista ML2 driver from neutron tree"

9 years agoMerge "Removed redundant statement from l3agentscheduler"
Jenkins [Sat, 31 Jan 2015 03:13:21 +0000 (03:13 +0000)]
Merge "Removed redundant statement from l3agentscheduler"

9 years agoMerge "Mechanisms to move extensions and config into service repos"
Jenkins [Sat, 31 Jan 2015 00:23:07 +0000 (00:23 +0000)]
Merge "Mechanisms to move extensions and config into service repos"

9 years agoEncapsulate DVR Fip namespace
Carl Baldwin [Wed, 7 Jan 2015 19:25:41 +0000 (19:25 +0000)]
Encapsulate DVR Fip namespace

The floating ip namespace is an important concept that links a DVR
enabled L3 agent to DVR routers.  The namespace is shared by all of
the dvr routers on a compute host connected to the same network.  It
is managed by the dvr enabled agent.  Hence, it should be known to the
agent and made available to the DVR routers as well.  This calls for a
proper encapsulation of this functionality in a class which can be
accessed by both the agent and the routers.

In trying to tease floating ip functionality out of the L3 agent and
in to the new router classes, I found it very difficult to do because
the logic around the floating ip namespace has not yet been properly
encapsulated.

Change-Id: I0913cfae391164146bbb50ed42311506d6559e3f
Partially-Implements: bp/restructure-l3-agent

9 years agoMove ha router functionality from the agent to ha_router
Carl Baldwin [Tue, 27 Jan 2015 22:34:06 +0000 (22:34 +0000)]
Move ha router functionality from the agent to ha_router

This was pretty much a mechanical change.  Most of the methods passed
in ri as the first argument and so changing the way they're called was
a simple matter of replacing self with ri.  In the methods themselves,
I first made sure that self was not referenced for anything that
wasn't available in the router context and then replaced ri with self.

Change-Id: I2f9e23543a10da256d33c4c32a50aa2b8c93989d
Partially-Implements: bp/restructure-l3-agent