]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
9 years agoMove process_ha_router_added/removed from HA agent to router
Assaf Muller [Tue, 24 Mar 2015 23:45:11 +0000 (19:45 -0400)]
Move process_ha_router_added/removed from HA agent to router

* Move process_ha_router_added/removed from ha.py to
  ha_router.py, rename them initialize and terminate
* Remove _process_ha_router (Spawns/disables keepalived) from
  process_router (Called when adding/updating and deleting
  a router), move its content to process_router for add/update
  and terminate for delete
* Rename ha_router.spawn_keepalived to enable_keepalived
  (Consistent with disable_keepalived and process_manager
  semantics)

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

9 years agoMerge "Expose ha_state per router to agent binding via API"
Jenkins [Tue, 24 Mar 2015 02:43:10 +0000 (02:43 +0000)]
Merge "Expose ha_state per router to agent binding via API"

9 years agoMerge "Remove downgrade from existing migrations"
Jenkins [Tue, 24 Mar 2015 02:26:39 +0000 (02:26 +0000)]
Merge "Remove downgrade from existing migrations"

9 years agoMerge "Move external port processing to router classes"
Jenkins [Tue, 24 Mar 2015 02:25:54 +0000 (02:25 +0000)]
Merge "Move external port processing to router classes"

9 years agoMerge "Fixes floating IP regression with multiple routers"
Jenkins [Tue, 24 Mar 2015 02:07:03 +0000 (02:07 +0000)]
Merge "Fixes floating IP regression with multiple routers"

9 years agoMerge "Add no_delete flag to UT router context manager"
Jenkins [Tue, 24 Mar 2015 01:59:37 +0000 (01:59 +0000)]
Merge "Add no_delete flag to UT router context manager"

9 years agoMerge "Fix metering agent failure when chain missing"
Jenkins [Tue, 24 Mar 2015 01:50:17 +0000 (01:50 +0000)]
Merge "Fix metering agent failure when chain missing"

9 years agoMove external port processing to router classes
Carl Baldwin [Mon, 23 Feb 2015 23:01:47 +0000 (23:01 +0000)]
Move external port processing to router classes

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

9 years agoMerge "Move README.odl into opendaylight directory"
Jenkins [Mon, 23 Mar 2015 22:01:07 +0000 (22:01 +0000)]
Merge "Move README.odl into opendaylight directory"

9 years agoExpose ha_state per router to agent binding via API
Assaf Muller [Sun, 5 Oct 2014 12:02:59 +0000 (15:02 +0300)]
Expose ha_state per router to agent binding via API

l3-agent-list-hosting-router will now return with a new 'ha_state'
attribute, per agent. It signifies the HA state of the router on that
agent.

Implements: blueprint report-ha-router-master
Change-Id: Ie0f53b7565d53ff791b0cdcca20be2b4415b49cc

9 years agoMerge "Drop support for SQL Schema Downgrades"
Jenkins [Mon, 23 Mar 2015 21:28:20 +0000 (21:28 +0000)]
Merge "Drop support for SQL Schema Downgrades"

9 years agoMerge "Remove unneeded DVRAgentRpcApiMixin from OVSDVRNeutronAgent"
Jenkins [Mon, 23 Mar 2015 19:42:27 +0000 (19:42 +0000)]
Merge "Remove unneeded DVRAgentRpcApiMixin from OVSDVRNeutronAgent"

9 years agoMerge "Start metadata agent without trying to connect db"
Jenkins [Mon, 23 Mar 2015 16:45:05 +0000 (16:45 +0000)]
Merge "Start metadata agent without trying to connect db"

9 years agoMerge "Add sanity check for OVSDB native support"
Jenkins [Mon, 23 Mar 2015 16:01:06 +0000 (16:01 +0000)]
Merge "Add sanity check for OVSDB native support"

9 years agoRemove downgrade from existing migrations
Ann Kamyshnikova [Thu, 19 Mar 2015 08:52:37 +0000 (11:52 +0300)]
Remove downgrade from existing migrations

Remove downgrade from all existing migrations.
Create a test that verifies that no migration has a downgrade.

Related cross-project spec: https://review.openstack.org/152337
Closes-Bug: 1434103

Change-Id: I2aad5f40f9aec9aea7ea869c9f30bc5ea586f3fe

9 years agoDrop support for SQL Schema Downgrades
Henry Gessau [Thu, 12 Mar 2015 11:50:47 +0000 (07:50 -0400)]
Drop support for SQL Schema Downgrades

Remove downgrade from the --autogenerate option of neutron-db-manage.
Add tests to check that downgrade options cannot be used.

Related cross-project spec: https://review.openstack.org/152337
Partial-Bug: 1434103

Change-Id: Id2f7f521644828ab7fbc027c6037f76f0337e121

9 years agoMerge "Improve validate of remove_router_interface"
Jenkins [Mon, 23 Mar 2015 10:08:25 +0000 (10:08 +0000)]
Merge "Improve validate of remove_router_interface"

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Mon, 23 Mar 2015 06:13:14 +0000 (06:13 +0000)]
Imported Translations from Transifex

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

Change-Id: Ib0355086082cbe2ddcd73534347f7a262fcd35ad

9 years agoMerge "Fix typos in neutron/db/migration"
Jenkins [Sun, 22 Mar 2015 18:14:24 +0000 (18:14 +0000)]
Merge "Fix typos in neutron/db/migration"

9 years agoMerge "Prepare Base(OVS)LinuxTestCase transformation in helpers"
Jenkins [Sun, 22 Mar 2015 16:45:43 +0000 (16:45 +0000)]
Merge "Prepare Base(OVS)LinuxTestCase transformation in helpers"

9 years agoMerge "Fix missing spaces in strings split across lines"
Jenkins [Sun, 22 Mar 2015 16:45:09 +0000 (16:45 +0000)]
Merge "Fix missing spaces in strings split across lines"

9 years agoMerge "Validate when DVR enabled, l2_pop is also enabled"
Jenkins [Sun, 22 Mar 2015 14:50:39 +0000 (14:50 +0000)]
Merge "Validate when DVR enabled, l2_pop is also enabled"

9 years agoMerge "Remove redundant unit tests from OVS DVR Agent"
Jenkins [Sun, 22 Mar 2015 14:50:23 +0000 (14:50 +0000)]
Merge "Remove redundant unit tests from OVS DVR Agent"

9 years agoMove README.odl into opendaylight directory
Kyle Mestery [Sun, 22 Mar 2015 09:49:40 +0000 (09:49 +0000)]
Move README.odl into opendaylight directory

This file was missed when the driver was moved into it's own directory.

Change-Id: Ic902bdfdbe02f4ac7837662147a2b7b31ca4e621

9 years agoFix missing spaces in strings split across lines
Brian Bowen [Wed, 11 Mar 2015 20:41:19 +0000 (16:41 -0400)]
Fix missing spaces in strings split across lines

Change-Id: Ib40614aaff78a1a2c5d7aa20679ee48f18441218
Closes-bug: #1430994

9 years agoMerge "Updated from global requirements"
Jenkins [Sun, 22 Mar 2015 09:35:36 +0000 (09:35 +0000)]
Merge "Updated from global requirements"

9 years agoFix typos in neutron/db/migration
Mitsuhiro SHIGEMATSU [Fri, 20 Mar 2015 22:24:44 +0000 (07:24 +0900)]
Fix typos in neutron/db/migration

Change-Id: I1ec582fbbf910316d39b8acf08a46f41806ba5f5

9 years agoMerge "Send notification to controller about HA router state change"
Jenkins [Sat, 21 Mar 2015 18:43:07 +0000 (18:43 +0000)]
Merge "Send notification to controller about HA router state change"

9 years agoMerge "Fix usage of 'default' parameter in 1955efc66455 migration"
Jenkins [Sat, 21 Mar 2015 01:39:05 +0000 (01:39 +0000)]
Merge "Fix usage of 'default' parameter in 1955efc66455 migration"

9 years agoFixes floating IP regression with multiple routers
Kevin Fox [Wed, 18 Feb 2015 22:01:49 +0000 (14:01 -0800)]
Fixes floating IP regression with multiple routers

During the refactor here:
Change-Id: I09e8a694cdff7f64a642a39b45cbd12422132806
Too much code was removed and caused floating ips to get miss assigned when
multiple routers with external networks in the same tenant are present. The
first router in the tenant was always being chosen. This patch adds back
some of the original code as well as a unit test.

Change-Id: I6f663cb1ce3e4a1340c415d13787a9855c4dcac2
Closes-Bug: 1422476

9 years agoAdd no_delete flag to UT router context manager
Kevin Benton [Sat, 21 Mar 2015 00:40:43 +0000 (17:40 -0700)]
Add no_delete flag to UT router context manager

Adds a no_delete flag to the router context manager in
the unit tests to allow specific tests to avoid executing
all of the cleanup logic for floating IPs and interfaces
just to exit the test.

Ultimately, this should become the default once we are
comfortable that there is adequate explicit unit tests
for the deletion logic.

Change-Id: Iecbcc77b67b440d726fa6e703a87884e0b0df321

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Sat, 21 Mar 2015 00:10:47 +0000 (00:10 +0000)]
Updated from global requirements

Change-Id: I50e3c7989d7d2f109672d1d47869041e31b32439

9 years agoSend notification to controller about HA router state change
Assaf Muller [Sun, 28 Sep 2014 11:26:42 +0000 (14:26 +0300)]
Send notification to controller about HA router state change

The L3 agent gets keepalived state change notifications via
a unix domain socket. These events are now batched and
send out as a single RPC to the server. In case the same
router got updated multiple times during the batch period,
only the latest state is sent.

Partially-Implements: blueprint report-ha-router-master
Change-Id: I36834ad3d9e8a49a702f01acc29c7c38f2d48833

9 years agoFix usage of 'default' parameter in 1955efc66455 migration
Ann Kamyshnikova [Fri, 20 Mar 2015 15:30:27 +0000 (18:30 +0300)]
Fix usage of 'default' parameter in 1955efc66455 migration

'default' is useless in migration, to provide default value in db
should be used server_default instead.

Closes-bug: #1434601

Change-Id: If17b48213e03f4b01db08186c272c67709e147f5

9 years agoMerge "Add native OVSDB implementation of OVSDB API"
Jenkins [Fri, 20 Mar 2015 21:37:56 +0000 (21:37 +0000)]
Merge "Add native OVSDB implementation of OVSDB API"

9 years agoMerge "Always fill UDP checksums in DHCP replies"
Jenkins [Fri, 20 Mar 2015 21:24:16 +0000 (21:24 +0000)]
Merge "Always fill UDP checksums in DHCP replies"

9 years agoMerge "Move the assignment of existing_floating_ips before try block"
Jenkins [Fri, 20 Mar 2015 21:16:55 +0000 (21:16 +0000)]
Merge "Move the assignment of existing_floating_ips before try block"

9 years agoMerge "Allow plugin to specify security-group rules ids upon creation"
Jenkins [Fri, 20 Mar 2015 19:54:15 +0000 (19:54 +0000)]
Merge "Allow plugin to specify security-group rules ids upon creation"

9 years agoMerge "Reuse nova batch notifier"
Jenkins [Fri, 20 Mar 2015 19:53:54 +0000 (19:53 +0000)]
Merge "Reuse nova batch notifier"

9 years agoMerge "Break coupling between ML2 and L3 during delete operation"
Jenkins [Fri, 20 Mar 2015 19:53:34 +0000 (19:53 +0000)]
Merge "Break coupling between ML2 and L3 during delete operation"

9 years agoMerge "Fix validation of physical network name for flat nets"
Jenkins [Fri, 20 Mar 2015 19:50:23 +0000 (19:50 +0000)]
Merge "Fix validation of physical network name for flat nets"

9 years agoReuse nova batch notifier
Assaf Muller [Mon, 13 Oct 2014 16:24:01 +0000 (19:24 +0300)]
Reuse nova batch notifier

Refactor the batch notifier currently used by the Nova notifier
into a separate class. It will be reused when batching L3 HA
state change events.

Partially-Implements: blueprint report-ha-router-master
Change-Id: I2f8cf261f48bdb632ac0bd643a337290b5297fce

9 years agoAllow plugin to specify security-group rules ids upon creation
Roey Chen [Wed, 18 Mar 2015 18:00:30 +0000 (11:00 -0700)]
Allow plugin to specify security-group rules ids upon creation

This patch enables plugin to specify the security-group rules ids,
it is optional and defaults to current behavior.
This approach is already used with network creation, where a plugin can
specify the network uuid.

Closes-Bug: #1434067
Change-Id: I034f0ffc2200f64926617e87861a97838e76342c

9 years agoAdd native OVSDB implementation of OVSDB API
Terry Wilson [Thu, 22 Jan 2015 11:39:57 +0000 (05:39 -0600)]
Add native OVSDB implementation of OVSDB API

This patch adds a native OVSDB protocol version of the new OVSDB
API. As such, it does not require using sudo/rootwrap but instead
uses the OVS IDL Python library that ships with openvswitch.

Doc-Impact
Implements: blueprint vsctl-to-ovsdb
Change-Id: I2bf5ba7f4607cec324ea841f0fea7bad274faffc

9 years agoBreak coupling between ML2 and L3 during delete operation
armando-migliaccio [Fri, 6 Feb 2015 17:21:32 +0000 (09:21 -0800)]
Break coupling between ML2 and L3 during delete operation

This is an initial attempt at breaking out the L3 logic from the ML2
framework as much as possible. This patch takes care of the notification
to the L3 agent(s), after a port has been deleted. Both base L3 and
L3+DVR operations are affected.

Related-blueprint: services-split
Related-blueprint: plugin-interface-perestroika

Change-Id: Ic41b87246ec4d89c2da49afaaccaeb8bd041dcb9

9 years agoFix validation of physical network name for flat nets
Ann Kamyshnikova [Tue, 3 Mar 2015 15:19:20 +0000 (18:19 +0300)]
Fix validation of physical network name for flat nets

Fix validation of physical network name for flat nets for
the case when physical network names are not set.

Closes-bug: #1424548

Change-Id: Ibb64af48ff65ca515f48cfba176a89afc9103f1e

9 years agoValidate when DVR enabled, l2_pop is also enabled
Gal Sagie [Wed, 18 Mar 2015 06:36:29 +0000 (08:36 +0200)]
Validate when DVR enabled, l2_pop is also enabled

The agent should fail to start when
enable_distributed_routing = True and l2_population = False
otherwise the router won't behave as expected.

All the cross subnet traffic (between VMs of the same tenant)
in DVR is now handled locally on the compute node using the router namespace.
A Linux namespace is created for every virtual router,
on each compute node that hosts VMs that are connected to that router.

The local DVR performs the routing and replaces the source MAC address and
the destination MAC address for every packet leaving the compute node.
In order to do that correctly, the router must be populated with
all the L2 addresses of the attached networks

Change-Id: Id2b56d852eff4773a347f490b19ad9eefc86af9c
Closes-Bug: #1417633
Co-Authored-By: Romil Gupta <romilg@hp.com>
9 years agoMerge "Make DHCP tests cleanup neutron manager reference"
Jenkins [Fri, 20 Mar 2015 02:20:14 +0000 (02:20 +0000)]
Merge "Make DHCP tests cleanup neutron manager reference"

9 years agoMerge "Allow to request metadata proxy only from internal interfaces"
Jenkins [Fri, 20 Mar 2015 01:44:19 +0000 (01:44 +0000)]
Merge "Allow to request metadata proxy only from internal interfaces"

9 years agoMerge "Adding a cleanup for 'fip-' and 'snat-' namespaces in netns_cleanup"
Jenkins [Fri, 20 Mar 2015 01:44:05 +0000 (01:44 +0000)]
Merge "Adding a cleanup for 'fip-' and 'snat-' namespaces in netns_cleanup"

9 years agoMerge "Basic subnetpool CRUD"
Jenkins [Thu, 19 Mar 2015 19:42:22 +0000 (19:42 +0000)]
Merge "Basic subnetpool CRUD"

9 years agoMerge "Hyper-V Agent decomposition"
Jenkins [Thu, 19 Mar 2015 18:54:34 +0000 (18:54 +0000)]
Merge "Hyper-V Agent decomposition"

9 years agoMerge "Include IPv6 SLAAC addresses implicitly for port update"
Jenkins [Thu, 19 Mar 2015 17:28:19 +0000 (17:28 +0000)]
Merge "Include IPv6 SLAAC addresses implicitly for port update"

9 years agoMerge "Add a missing mock in DHCPAgentWeightSchedulerTestCase"
Jenkins [Thu, 19 Mar 2015 15:56:00 +0000 (15:56 +0000)]
Merge "Add a missing mock in DHCPAgentWeightSchedulerTestCase"

9 years agoPrepare Base(OVS)LinuxTestCase transformation in helpers
Cedric Brandily [Thu, 19 Mar 2015 13:28:15 +0000 (13:28 +0000)]
Prepare Base(OVS)LinuxTestCase transformation in helpers

This change prepares to transform BaseLinuxTestCase[1] and
BaseOVSLinuxTestCase[1] methods into helpers in a follow-up change.

[1] in neutron.tests.functional.agent.linux.base

Change-Id: Ie04f33283544e79c1296aa1de5b6946049ae53b9

9 years agoRemove redundant unit tests from OVS DVR Agent
Gal Sagie [Thu, 19 Mar 2015 12:30:10 +0000 (14:30 +0200)]
Remove redundant unit tests from OVS DVR Agent

The same test exists in test_ovs_neutron_agent.py
test_create_agent_config_map_enable_distributed_routing

Closes-Bug: #1434051

Change-Id: I0ebba4348cbc83dd1d59ff1111c0c21054ba47b3

9 years agoMerge "Add a netns-cleanup functional test"
Jenkins [Thu, 19 Mar 2015 11:37:17 +0000 (11:37 +0000)]
Merge "Add a netns-cleanup functional test"

9 years agoMerge "Reduce code duplication and fix argument order in test_wsgi"
Jenkins [Thu, 19 Mar 2015 11:16:42 +0000 (11:16 +0000)]
Merge "Reduce code duplication and fix argument order in test_wsgi"

9 years agoMerge "Remove unused L3 HA RPC method"
Jenkins [Thu, 19 Mar 2015 10:59:02 +0000 (10:59 +0000)]
Merge "Remove unused L3 HA RPC method"

9 years agoHyper-V Agent decomposition
Claudiu Belu [Mon, 2 Feb 2015 21:09:33 +0000 (23:09 +0200)]
Hyper-V Agent decomposition

Decomposes Hyper-V Neutron Agent and adds the requirements.txt
file to set the dependency to the vendor agent.

Adds README containing information on how to properly use the
Hyper-V Neutron Agent and the ML2 Mechanism Driver.

Vendor plugin code is available on stackforge:
https://github.com/stackforge/networking-hyperv

Plugin already available in pypi:
https://pypi.python.org/pypi/networking-hyperv

DocImpact

Partially-implements: blueprint core-vendor-decomposition

Change-Id: Iedff2718732c884c297cb0be855593057bd64c38

9 years agoAdd a missing mock in DHCPAgentWeightSchedulerTestCase
YAMAMOTO Takashi [Thu, 19 Mar 2015 07:54:51 +0000 (16:54 +0900)]
Add a missing mock in DHCPAgentWeightSchedulerTestCase

start_periodic_dhcp_agent_status_check needs to be mocked
when instantiating ml2 plugin.

The test case in question was introduced by
change I5ec8adf0c4336f885d603662223caa7694708876.

Closes-Bug: #1433944
Change-Id: I2d0b57e37d10b6dbd1a06dc7bba004890e238ce6

9 years agoBasic subnetpool CRUD
Ryan Tidwell [Thu, 15 Jan 2015 21:17:17 +0000 (13:17 -0800)]
Basic subnetpool CRUD

Enable creating, reading, updating, and deleting subnet pools via REST API.
Includes required changes to REST, model, alembic migrations, and unit tests.
Subnet pools carry a list of IPv4 or IPv6 prefixes from which a subnet can be
allocated. This will enable tenants to request a subnet from a pool rather
than being forced to explicitly provide their own CIDR's for their subnets.
This change simply enables managing the lifecycle of a subnet pool and does
not yet enable allocation of subnet prefixes from a pool.

Subnet pools can have their prefix bounds (min, max, default), name, and
prefix list updated. Changes to prefix bounds do not alter existing
allocations and will not be blocked by existing allocations. Prefix lists can
only be appended to. Prefixes cannot be removed from the pool once added.

ApiImpact
Partially-Implements: blueprint subnet-allocation
Change-Id: I88c6b15aab258069758f1a9423d6616ceb4a33c4

9 years agoMerge "Include IPv6 SLAAC addresses implicitly for port create"
Jenkins [Thu, 19 Mar 2015 05:23:37 +0000 (05:23 +0000)]
Merge "Include IPv6 SLAAC addresses implicitly for port create"

9 years agoMerge "Fix minor decomp progress chart issues"
Jenkins [Thu, 19 Mar 2015 03:50:26 +0000 (03:50 +0000)]
Merge "Fix minor decomp progress chart issues"

9 years agoMerge "Replace keepalived notifier bash script with Python ip monitor"
Jenkins [Thu, 19 Mar 2015 03:50:09 +0000 (03:50 +0000)]
Merge "Replace keepalived notifier bash script with Python ip monitor"

9 years agoMerge "DHCP Service LoadBalancing Scheduler"
Jenkins [Thu, 19 Mar 2015 00:59:00 +0000 (00:59 +0000)]
Merge "DHCP Service LoadBalancing Scheduler"

9 years agoMerge "Adding VLAN Transparency support for ML2 along with REST API changes"
Jenkins [Thu, 19 Mar 2015 00:58:15 +0000 (00:58 +0000)]
Merge "Adding VLAN Transparency support for ML2 along with REST API changes"

9 years agoAllow to request metadata proxy only from internal interfaces
Assaf Muller [Mon, 22 Dec 2014 15:01:37 +0000 (17:01 +0200)]
Allow to request metadata proxy only from internal interfaces

Currently the metadata service can be requested on 169.254.169.254:80
from all interfaces including external interfaces. This change updates
PREROUTING rules to allow request on 169.254.169.254:80 only from
internal interfaces.

Change-Id: I44a9e03992f9e2a7bd4d798ae69d8aa7d75d3078
Closes-Bug: #1187102

9 years agoRemove unused L3 HA RPC method
Assaf Muller [Thu, 12 Feb 2015 15:59:36 +0000 (10:59 -0500)]
Remove unused L3 HA RPC method

The following patch will re-add it with its intended parameters
and use it in the agent.

Change-Id: Idffe963fffe5fdde6f474046a50208a2974edfa0
Partially-Implements: blueprint report-ha-router-master

9 years agoReplace keepalived notifier bash script with Python ip monitor
Assaf Muller [Thu, 12 Mar 2015 23:50:43 +0000 (19:50 -0400)]
Replace keepalived notifier bash script with Python ip monitor

Previously L3 HA generated a bash script and copied it to a per-router
configuration directory that was visible to that router's keepalived
instance. This patch changes the in-line generated Bash script to a
Python script that can be maintained in the repository.
The bash script was used as a keepalived notifier script, that was invoked
by keepalived whenever a state transition occured. These notifier scripts
may be invoked by keepalived out of order in case it transitions quickly
twice. For example, if the master failed and two slaves fight for the new
master role. One will transition to master, and the other will often
transition to master and then immidiately back to standby. In this case,
the transition scripts were often fired out of order, resulting in the
wrong state being reported.

The proposed approach is to get rid of the keepalived notifier scripts
entirely. Instead, monitor IP changes on the HA device. If the omnipresent
IP address was configured on the HA device, it means that we're looking
at a master instance. If it was deleted, the router transition to standby
or fault.

In order to keep the L3 agent CPU usage down, it will spawn a process
per HA router. That process will start the ip address monitor.
Whenever it gets an IP address change event, it will notify the L3 agent
via a unix domain socket.

Partially-Implements: blueprint report-ha-router-master
Change-Id: I2022bced330d5f108fbedd40548a901225d7ea1c
Closes-Bug: #1402010
Closes-Bug: #1367705

9 years agoAdd sanity check for OVSDB native support
Terry Wilson [Wed, 18 Mar 2015 22:13:53 +0000 (17:13 -0500)]
Add sanity check for OVSDB native support

This check has specific warnings about the need to install the
python-openvswitch package to use OVSDB native. If an unknown
Exception is thrown when doing a simple get_bridges() call, it will
also fail, logging the exception.

Partially-Implements: blueprint vsctl-to-ovsdb
Change-Id: Ibd2dac02c5a93bb391b620cc27bc46a6cdf6d817

9 years agoFix metering agent failure when chain missing
Fei Long Wang [Mon, 16 Feb 2015 11:58:45 +0000 (00:58 +1300)]
Fix metering agent failure when chain missing

The metering agent will fail if one of the iptables chains
is missing, which will cause errors extracting data from
all the other chains. Add a simple try/except to let the
loop continue.

Closes-Bug: #1421037

Change-Id: I370ee0e2cc58ca7e1c5ef9bf4dbcce5abf7545a1

9 years agoMerge "Api tests to cover network mtu attribute"
Jenkins [Wed, 18 Mar 2015 20:10:29 +0000 (20:10 +0000)]
Merge "Api tests to cover network mtu attribute"

9 years agoFix minor decomp progress chart issues
armando-migliaccio [Wed, 18 Mar 2015 01:16:34 +0000 (18:16 -0700)]
Fix minor decomp progress chart issues

Fix broken link, add missing header, and remove new contributions
from the list. This table should just capture the progress status
of existing plugins and drivers at the time the decomp was conceived.

Change-Id: Iea28443547905d979d1866b588fa91cb6d52ecc7

9 years agoAdding VLAN Transparency support for ML2 along with REST API changes
Pritesh Kothari [Mon, 23 Feb 2015 17:52:28 +0000 (09:52 -0800)]
Adding VLAN Transparency support for ML2 along with REST API changes

* Exposing vlan transparency attributes via the network api
  calls so POST and GET operations can be performed.
* Tied in the vlan transparency attribute with create network
  call and use the config default.
* Update the unit test to cover vlan tranparency.
* Add support for ml2 to take advantage of vlan transparency
  attribute.

DocImpact
APIImpact
Partially Implements: blueprint nfv-vlan-trunks

Change-Id: Ie87087a70b83dab589419aa5c17ce7ccafd64cbd

9 years agoDHCP Service LoadBalancing Scheduler
Shivakumar M [Tue, 25 Nov 2014 08:46:07 +0000 (00:46 -0800)]
DHCP Service LoadBalancing Scheduler

In this blueprint, we also propose to write a generic scheduler
framework which can be used to schedule a new resource on
selected least loaded agents.
Currently dhcp_load_type will be fetched from neutron.conf file
and corresponding load is obtained by the agent report state.
The obtained load will be populated in the "load" column of the
agents table.
During scheduling, agent will be selected based on sorting all
the agents of particular type based on load column.
Example dhcp_load_type is networks

DocImpact

Implements: blueprint dhcpservice-loadbalancing

Change-Id: I5ec8adf0c4336f885d603662223caa7694708876
Author: Shivakumar M <shiva.kum.m@hp.com>
Co-Authored-By: Praveen Kumar SM <praveen-sm.kumar@hp.com>
Co-Authored-By: Benjamin GRASSART <benjamin.grassart@thalesgroup.com>
Co-Authored-By: Sourabh Patwardhan <sopatwar@cisco.com>
9 years agoMerge "Add portsecurity extension support"
Jenkins [Wed, 18 Mar 2015 16:48:40 +0000 (16:48 +0000)]
Merge "Add portsecurity extension support"

9 years agoMerge "Run more Rally benchmark on every patch"
Jenkins [Wed, 18 Mar 2015 16:04:48 +0000 (16:04 +0000)]
Merge "Run more Rally benchmark on every patch"

9 years agoMake DHCP tests cleanup neutron manager reference
Kevin Benton [Wed, 18 Mar 2015 15:14:09 +0000 (08:14 -0700)]
Make DHCP tests cleanup neutron manager reference

The DHCP scheduler unit tests occasionally call methods
on the core plugin via the neutron manager (e.g. in report_state).
However, they weren't calling the normal unit test cleanup routines
for tests that call the core plugin so they were leaving stale
references in the manager.

This patch uses the setup_coreplugin helper that sets up the
configuration for the core plugin and adds the cleanup call
to ensure that the neutron manager is cleaned up at the end
of each test.

Closes-Bug: #1434278
Change-Id: Ic35629659574121c739574c1ed39364d6977c3ea

9 years agoInclude IPv6 SLAAC addresses implicitly for port update
Dane LeBlanc [Mon, 16 Mar 2015 16:27:34 +0000 (12:27 -0400)]
Include IPv6 SLAAC addresses implicitly for port update

(Patch set #4 for the multiple-ipv6-prefixes blueprint)

This change adds functional code and UT for port-update
handling changes as described in the Neutron blueprint
'multiple-ipv6-prefixes'.

Whenever a port is updated on a network that includes one
or more auto-address subnets (e.g. SLAAC or DHCPv6-stateless),
then any addresses that the port previously had for those
subnets needs to be implicitly retained for the update
operation. This patch set adds this implicit retention
of the auto-addresses for port update operation.

Change-Id: I91687d05a48bc3938e4bf34a7c454823a500730c
Partially-implements: blueprint multiple-ipv6-prefixes

9 years agoMerge "Add ML2 VLAN mechanism driver for Brocade MLX and ICX switches."
Jenkins [Wed, 18 Mar 2015 14:29:16 +0000 (14:29 +0000)]
Merge "Add ML2 VLAN mechanism driver for Brocade MLX and ICX switches."

9 years agoApi tests to cover network mtu attribute
Pradeep Kilambi [Tue, 17 Mar 2015 20:03:03 +0000 (13:03 -0700)]
Api tests to cover network mtu attribute

Including Api tests to check for network object
to include new mtu attributes.

Change-Id: Iaa295b03715c3df4585ae443ddd655df1f107dc5

9 years agoRun more Rally benchmark on every patch
Boris Pavlovic [Sat, 14 Mar 2015 13:15:42 +0000 (16:15 +0300)]
Run more Rally benchmark on every patch

* Since 24 Nov 2014 we added a lot of Neutron benchmarks

Running more Neutron related benchmarks in Neutron gate allows
to avoid performance regressions and races.

* Neutron benchmarks are described here:
https://github.com/stackforge/rally/blob/master/rally/benchmark/scenarios/neutron/network.py
It's quite simple code be free to take a look.

* All changes in concurrency and times are related to optimization
of duration/usefulness

* To get description of benchmarks use:

   rally info find NeutronNetworks.create_and_update_networks

New benchmarks:

- NeutronNetworks.create_and_update_networks

- NeutronNetworks.create_and_delete_networks

- NeutronNetworks.create_and_update_subnets

- NeutronNetworks.create_and_delete_subnets

- NeutronNetworks.create_and_update_routers

- NeutronNetworks.create_and_delete_routers

- NeutronNetworks.create_and_list_routers

- NeutronNetworks.create_and_update_ports

- NeutronNetworks.create_and_delete_ports

- NeutronNetworks.create_and_list_ports

- Quotas.neutron_update

related bug: #bug 1419723
Change-Id: Ie3c84e057fc96c0f35ad77b7297c564442ebcf10

9 years agoMerge "Imported Translations from Transifex"
Jenkins [Wed, 18 Mar 2015 03:28:45 +0000 (03:28 +0000)]
Merge "Imported Translations from Transifex"

9 years agoMerge "iptables firewall: add framework for iptables firewall functional test"
Jenkins [Wed, 18 Mar 2015 03:28:21 +0000 (03:28 +0000)]
Merge "iptables firewall: add framework for iptables firewall functional test"

9 years agoMerge "Don't delete HA router primary VIP on agent restarts"
Jenkins [Wed, 18 Mar 2015 02:13:34 +0000 (02:13 +0000)]
Merge "Don't delete HA router primary VIP on agent restarts"

9 years agoAdd ML2 VLAN mechanism driver for Brocade MLX and ICX switches.
Angela Smith [Tue, 10 Feb 2015 23:38:37 +0000 (15:38 -0800)]
Add ML2 VLAN mechanism driver for Brocade MLX and ICX switches.

This thin driver will introduce VLAN support on Brocade MLX and ICX
switches.  Vendor specific driver implementation will reside in a
separate repository.

Partial-Bug: 1420045

Change-Id: Ia5af6c2e9b52129749c17db53d1d3891d42ec7f1

9 years agoMerge "Introduce External IPAM Interface"
Jenkins [Wed, 18 Mar 2015 00:56:34 +0000 (00:56 +0000)]
Merge "Introduce External IPAM Interface"

9 years agoInclude IPv6 SLAAC addresses implicitly for port create
Dane LeBlanc [Mon, 16 Mar 2015 14:23:26 +0000 (10:23 -0400)]
Include IPv6 SLAAC addresses implicitly for port create

(Patch set #1 for the multiple-ipv6-prefixes blueprint)

This patch set resolves an issue whereby auto-address subnets
are not being included implicitly for port create operations
that include a fixed_ips list.

Change-Id: I61beb2d663dfa6070b529b567d79664b1cb69810
Partially-implements: blueprint multiple-ipv6-prefixes

9 years agoMerge "Handle DBDuplicateError exception properly when creating default sg"
Jenkins [Tue, 17 Mar 2015 23:17:54 +0000 (23:17 +0000)]
Merge "Handle DBDuplicateError exception properly when creating default sg"

9 years agoDon't delete HA router primary VIP on agent restarts
Assaf Muller [Mon, 16 Mar 2015 19:43:24 +0000 (15:43 -0400)]
Don't delete HA router primary VIP on agent restarts

An HA router's primary VIP was being deleted from the router
namespace when the L3 agent is restarted. Make sure that
doesn't happen and change the functional test to make sure
the bug stays squashed.

Change-Id: I0e5b416152bacf496de54bedee0fca8d3950be2b
Closes-Bug: #1432806
Closes-Bug: #1432785

9 years agoMerge "Expose Rest Api access to mtu attributes"
Jenkins [Tue, 17 Mar 2015 22:26:41 +0000 (22:26 +0000)]
Merge "Expose Rest Api access to mtu attributes"

9 years agoMerge "Advertise mtu over dhcp"
Jenkins [Tue, 17 Mar 2015 22:26:26 +0000 (22:26 +0000)]
Merge "Advertise mtu over dhcp"

9 years agoMerge "Add MTU selection to ML2"
Jenkins [Tue, 17 Mar 2015 22:17:54 +0000 (22:17 +0000)]
Merge "Add MTU selection to ML2"

9 years agoIntroduce External IPAM Interface
Carl Baldwin [Thu, 13 Nov 2014 19:27:27 +0000 (12:27 -0700)]
Introduce External IPAM Interface

This introduces an interface for an external IPAM driver.  Neutron needs to be
modified to make calls using it for its IPAM needs.  Additionally, the default
IPAM interface must be written to implement this interface.

Partially-Implements: blueprint neutron-ipam

Change-Id: Ieb565a2d2629ab8236a4be1173df464b7aa06f04

9 years agoMerge "replaces enumeration method used to get a list of interfaces"
Jenkins [Tue, 17 Mar 2015 21:41:01 +0000 (21:41 +0000)]
Merge "replaces enumeration method used to get a list of interfaces"

9 years agoMerge "OVS DVR UT: Remove an inappropriate str() conversion"
Jenkins [Tue, 17 Mar 2015 21:40:32 +0000 (21:40 +0000)]
Merge "OVS DVR UT: Remove an inappropriate str() conversion"

9 years agoMerge "IBM SDN-VE Plugin decomposition"
Jenkins [Tue, 17 Mar 2015 21:40:15 +0000 (21:40 +0000)]
Merge "IBM SDN-VE Plugin decomposition"

9 years agoMerge "Brocade Vyatta vrouter shim plugin for vendor decomposition"
Jenkins [Tue, 17 Mar 2015 19:24:26 +0000 (19:24 +0000)]
Merge "Brocade Vyatta vrouter shim plugin for vendor decomposition"

9 years agoExpose Rest Api access to mtu attributes
Pradeep Kilambi [Tue, 10 Feb 2015 22:42:20 +0000 (14:42 -0800)]
Expose Rest Api access to mtu attributes

Exposing Read only access to mtu attributes via the network
api calls so GET operations can be performed. Tied in the
mtu attribute with create network call and use the config
default. Also included unit tests to cover default and
override config case for segment_mtu attribute.

Partially Implements: blueprint mtu-selection-and-advertisement

Change-Id: I811c288bdd96691a96d1721eb29354c0911edf3a