]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
9 years agoMerge "Fixes wrong neutron Hyper-V Agent name in constants"
Jenkins [Sun, 30 Aug 2015 08:33:01 +0000 (08:33 +0000)]
Merge "Fixes wrong neutron Hyper-V Agent name in constants"

9 years agoMerge "Adding networking-onos to sub_projects document"
Jenkins [Sun, 30 Aug 2015 06:17:18 +0000 (06:17 +0000)]
Merge "Adding networking-onos to sub_projects document"

9 years agoMerge "Add enable_new_agents to neutron server"
Jenkins [Sun, 30 Aug 2015 05:08:14 +0000 (05:08 +0000)]
Merge "Add enable_new_agents to neutron server"

9 years agoMerge "Replace "prt" variable by "port""
Jenkins [Sun, 30 Aug 2015 05:08:02 +0000 (05:08 +0000)]
Merge "Replace "prt" variable by "port""

9 years agoMerge "PLUMgrid plugin decomposition part II"
Jenkins [Sun, 30 Aug 2015 05:07:49 +0000 (05:07 +0000)]
Merge "PLUMgrid plugin decomposition part II"

9 years agoMerge "handle gw_info outside of the db transaction on router creation"
Jenkins [Sun, 30 Aug 2015 05:07:36 +0000 (05:07 +0000)]
Merge "handle gw_info outside of the db transaction on router creation"

9 years agoFixes wrong neutron Hyper-V Agent name in constants
Adelina Tuvenie [Thu, 27 Aug 2015 09:27:28 +0000 (02:27 -0700)]
Fixes wrong neutron Hyper-V Agent name in constants

Change Id03fb147e11541be309c1cd22ce27e70fadc28b5 moved the
AGENT_TYPE_HYPERV constant from common.constants to
plugins.ml2.drivers.hyperv.constants but change the value of the
constant from 'HyperV agent' to 'hyperv'. This patch changes
the name back to 'HyperV agent'

Change-Id: If74b4b2a84811e266c8b12e70bf6bfe74ed4ea21
Partial-Bug: #1487598

9 years agoMerge "Add optional file permission argument to replace_file()"
Jenkins [Sun, 30 Aug 2015 03:50:56 +0000 (03:50 +0000)]
Merge "Add optional file permission argument to replace_file()"

9 years agoMerge "IPv6 display suitable message when MTU is invalid on iface"
Jenkins [Sun, 30 Aug 2015 02:55:02 +0000 (02:55 +0000)]
Merge "IPv6 display suitable message when MTU is invalid on iface"

9 years agoMerge "Stop logging STDOUT and STDERR on every shell out"
Jenkins [Sun, 30 Aug 2015 00:03:41 +0000 (00:03 +0000)]
Merge "Stop logging STDOUT and STDERR on every shell out"

9 years agoMerge "Remove ml2 resource extension success logging"
Jenkins [Sun, 30 Aug 2015 00:02:38 +0000 (00:02 +0000)]
Merge "Remove ml2 resource extension success logging"

9 years agoMerge "Revert "Add support for unaddressed port""
Jenkins [Sat, 29 Aug 2015 23:57:46 +0000 (23:57 +0000)]
Merge "Revert "Add support for unaddressed port""

9 years agoMerge "Improve logging upon failure in iptables functional tests"
Jenkins [Sat, 29 Aug 2015 23:57:06 +0000 (23:57 +0000)]
Merge "Improve logging upon failure in iptables functional tests"

9 years agoMerge "Removing the SDN-VE monolithic plugin"
Jenkins [Sat, 29 Aug 2015 23:56:31 +0000 (23:56 +0000)]
Merge "Removing the SDN-VE monolithic plugin"

9 years agoMerge "Validate router admin_state_up on upgrade to distributed"
Jenkins [Sat, 29 Aug 2015 23:55:17 +0000 (23:55 +0000)]
Merge "Validate router admin_state_up on upgrade to distributed"

9 years agoMerge ""FakeV4Subnet" class be inherited by following class"
Jenkins [Sat, 29 Aug 2015 22:00:13 +0000 (22:00 +0000)]
Merge ""FakeV4Subnet" class be inherited by following class"

9 years agoMerge "Fix DVR log strings in agent"
Jenkins [Sat, 29 Aug 2015 22:00:00 +0000 (22:00 +0000)]
Merge "Fix DVR log strings in agent"

9 years agoMerge "Add lieutenants contact for networking-onos"
Jenkins [Sat, 29 Aug 2015 18:58:37 +0000 (18:58 +0000)]
Merge "Add lieutenants contact for networking-onos"

9 years agoMerge "Switch to using os-testr's copy of subunit2html"
Jenkins [Sat, 29 Aug 2015 18:58:18 +0000 (18:58 +0000)]
Merge "Switch to using os-testr's copy of subunit2html"

9 years agoMerge "Document prefix delegation testing issues"
Jenkins [Sat, 29 Aug 2015 17:32:14 +0000 (17:32 +0000)]
Merge "Document prefix delegation testing issues"

9 years agoMerge "lb: stop handling Havana device updates"
Jenkins [Sat, 29 Aug 2015 17:29:14 +0000 (17:29 +0000)]
Merge "lb: stop handling Havana device updates"

9 years agoMerge "Base on SqlTestCase to init db tables correctly"
Jenkins [Sat, 29 Aug 2015 14:54:22 +0000 (14:54 +0000)]
Merge "Base on SqlTestCase to init db tables correctly"

9 years agoMerge "Stops patching an object method which could be gone at cleanup"
Jenkins [Sat, 29 Aug 2015 14:54:09 +0000 (14:54 +0000)]
Merge "Stops patching an object method which could be gone at cleanup"

9 years agoMerge "Add Geneve type driver support to ML2"
Jenkins [Fri, 28 Aug 2015 23:12:29 +0000 (23:12 +0000)]
Merge "Add Geneve type driver support to ML2"

9 years agoMerge "Fix py34 No sql_connection parameter is established error"
Jenkins [Fri, 28 Aug 2015 21:08:01 +0000 (21:08 +0000)]
Merge "Fix py34 No sql_connection parameter is established error"

9 years agoRevert "Add support for unaddressed port"
armando-migliaccio [Fri, 28 Aug 2015 20:53:04 +0000 (13:53 -0700)]
Revert "Add support for unaddressed port"

This implementation may expose a vulnerability where a malicious
user can sieze the opportunity of a time window where a port
may land unaddressed on a shared network, thus allowing him/her
to suck up all the tenant traffic he/she wants....oh the shivers.

This reverts commit d4c52b7f5a36a103a92bf9dcda7f371959112292.

Change-Id: I7ebdaa8d3defa80eab90e460fde541a5bdd8864c

9 years agoImprove logging upon failure in iptables functional tests
Assaf Muller [Fri, 28 Aug 2015 20:41:07 +0000 (16:41 -0400)]
Improve logging upon failure in iptables functional tests

This will help us nail down a more accurate and efficient logstash
query.

Change-Id: Iee4238e358f7b056e373c7be8d6aa3202117a680
Related-Bug: #1478847

9 years agohandle gw_info outside of the db transaction on router creation
Ivar Lazzaro [Tue, 18 Aug 2015 00:17:42 +0000 (17:17 -0700)]
handle gw_info outside of the db transaction on router creation

Move the gateway interface creation outside the DB transaction
to avoid lock timeout.

Change-Id: I5a78d7f32e8ca912016978105221d5f34618af19
Closes-bug: 1485809

9 years agoRemove ml2 resource extension success logging
Assaf Muller [Wed, 26 Aug 2015 14:07:03 +0000 (10:07 -0400)]
Remove ml2 resource extension success logging

This is the cause of a tremendous amount of logs, for no
perceivable gain.  A normal dvr run in the gate shows this debug
message around 120K times, which is way too much.

Closes-Bug: #1489952

Change-Id: I26fca8515d866a7cc1638d07fa33bc04479ae221

9 years agoReplace "prt" variable by "port"
huangpengtao [Fri, 28 Aug 2015 15:20:46 +0000 (23:20 +0800)]
Replace "prt" variable by "port"

the local variable prt is meaningless,
and port is used popular.

Change-Id: I20849102cf5b4d84433c46791b4b1e2a22dc4739

9 years agoAdd optional file permission argument to replace_file()
ajmiller [Tue, 25 Aug 2015 04:04:02 +0000 (21:04 -0700)]
Add optional file permission argument to replace_file()

The replace_file() utility function currently sets the mode of all files
it creates to 0o644.  This is not appropriate for all files.  This patch
adds an optional "file_mode" argument to the function.

Change-Id: I9744abde10b95fadef6e74c55332d041e5372071
Partial-Bug: 1488320

9 years agoMerge "devref: Add sub-project release notes"
Jenkins [Fri, 28 Aug 2015 13:09:54 +0000 (13:09 +0000)]
Merge "devref: Add sub-project release notes"

9 years agoMerge "Update template for ModelMigrationSync test"
Jenkins [Fri, 28 Aug 2015 10:20:28 +0000 (10:20 +0000)]
Merge "Update template for ModelMigrationSync test"

9 years agoMerge "devref: added guidelines on how to maintain sub-projects"
Jenkins [Fri, 28 Aug 2015 09:44:11 +0000 (09:44 +0000)]
Merge "devref: added guidelines on how to maintain sub-projects"

9 years agoAdd lieutenants contact for networking-onos
vikram.choudhary [Fri, 28 Aug 2015 07:52:42 +0000 (13:22 +0530)]
Add lieutenants contact for networking-onos

Change-Id: If8cd40eb49acddfce3d951b41aa3b17f8460ec72

9 years agoAdding networking-onos to sub_projects document
vikram.choudhary [Fri, 28 Aug 2015 07:39:09 +0000 (13:09 +0530)]
Adding networking-onos to sub_projects document

Change-Id: I5b09373cc98e8727b349835aaf26dff64c0be9a1

9 years agoBase on SqlTestCase to init db tables correctly
gong yong sheng [Wed, 26 Aug 2015 09:20:25 +0000 (17:20 +0800)]
Base on SqlTestCase to init db tables correctly

Change-Id: I6c6503d4b8b0677cb31fa54185b1aacda68f7b53
Closes-bug: #1488868

9 years agoStops patching an object method which could be gone at cleanup
Miguel Angel Ajo [Fri, 28 Aug 2015 05:49:28 +0000 (07:49 +0200)]
Stops patching an object method which could be gone at cleanup

Stop patching the qos plugin 'notification_driver_manager' method
and instead substitute for a mock since it's destroyed and reloaded
on every test run.

Closes-Bug: #1489716
Change-Id: I0e84b19bba92a7cbef837de7994a605a78936250

9 years agoAdd enable_new_agents to neutron server
Hirofumi Ichihara [Wed, 26 Aug 2015 05:47:36 +0000 (14:47 +0900)]
Add enable_new_agents to neutron server

Neutron doesn't have a way to test a newly added network node
by deploying test resource before any customer resource on the node
is deployed. Nova and Cinder has the setting of “enable_new_services”
in each conf to disable the initial service status to achieve this.
This proposal adds enable_new_agents config.

DocImpact

Change-Id: Ie0d0b2dd4d95de95f3839d1c35f24b708e893801
Implements: blueprint enable-new-agents
Related-Bug: 1472076

9 years agoMerge "Add empty policy rule to get_rule_type action"
Jenkins [Thu, 27 Aug 2015 23:24:46 +0000 (23:24 +0000)]
Merge "Add empty policy rule to get_rule_type action"

9 years agoDocument prefix delegation testing issues
Assaf Muller [Thu, 27 Aug 2015 23:00:56 +0000 (19:00 -0400)]
Document prefix delegation testing issues

Change-Id: I06071c7497dcd4654c2b03a9b66120b919feb8dc
Related-Bug: #1489650

9 years agoAdd Geneve type driver support to ML2
Aaron Rosen [Tue, 5 May 2015 21:35:08 +0000 (14:35 -0700)]
Add Geneve type driver support to ML2

More information about Geneve protocol can be found here:
  https://tools.ietf.org/pdf/draft-gross-geneve-02.pdf

Following configuration variables were added:
[ml2_type_geneve]
  vni_ranges - Comma-separated list of <vni_min>:<vni_max> tuples
               enumerating ranges of Geneve VNI IDs that are
               available for tenant network allocation
  max_header_size - Geneve encapsulation header size is dynamic, this
                    value is used to calculate the maximum MTU for the driver
                    this is the sum of the sizes of the outer
                    ETH + IP + UDP + GENEVE header sizes

DocImpact

Change-Id: I8c29a1c1a7c79e02c26ac9e2ad2645d30dfbeefc
Closes-Bug: #1461069

9 years agoFix DVR log strings in agent
Swaminathan Vasudevan [Wed, 26 Aug 2015 18:39:24 +0000 (11:39 -0700)]
Fix DVR log strings in agent

This patch fixes a couple of DVR log strings that
was not reporting the right information.

Change-Id: Ic6919d00214a001ecdaa709c4e0f01a84adab2c7

9 years agodevref: Add sub-project release notes
Kyle Mestery [Thu, 27 Aug 2015 14:01:57 +0000 (14:01 +0000)]
devref: Add sub-project release notes

Add some notes on the release process we'll utilize for sub-projects
under the Neutron stadium.

Change-Id: Ib7bce1e3ced959bc7931bd2ecbfe8effba5ed9c0
Signed-off-by: Kyle Mestery <mestery@mestery.com>
9 years agoRemoving the SDN-VE monolithic plugin
Mohammad Banikazemi [Thu, 27 Aug 2015 13:10:33 +0000 (09:10 -0400)]
Removing the SDN-VE monolithic plugin

As the SDN-VE monolithic plugin is no longer in use by
anyone, this is to remove the code from the Neutron source
tree.

DocImpact

Change-Id: I8def7fc2e92f967785b9ab05f8496de641e8f866

9 years agoUpdate template for ModelMigrationSync test
AKamyshnikova [Thu, 27 Aug 2015 07:53:26 +0000 (10:53 +0300)]
Update template for ModelMigrationSync test

Add some more useful details in template and update contribute.rst
with link for template.

Related-bug: #1470678

Change-Id: I8785129ba85236220650b2ba7ec0bc605847b1b7

9 years agoMerge "Quota enforcement: remove locks on _dirty_tenants"
Jenkins [Thu, 27 Aug 2015 07:51:21 +0000 (07:51 +0000)]
Merge "Quota enforcement: remove locks on _dirty_tenants"

9 years agoMerge "Adding Ale Omniswitch to sub_projects document"
Jenkins [Thu, 27 Aug 2015 06:01:15 +0000 (06:01 +0000)]
Merge "Adding Ale Omniswitch to sub_projects document"

9 years agoMerge "Move in-tree vendor AGENT_TYPE_* constants"
Jenkins [Thu, 27 Aug 2015 00:08:53 +0000 (00:08 +0000)]
Merge "Move in-tree vendor AGENT_TYPE_* constants"

9 years agoMerge "Move in-tree vendor VIF_TYPE_* constants"
Jenkins [Thu, 27 Aug 2015 00:08:39 +0000 (00:08 +0000)]
Merge "Move in-tree vendor VIF_TYPE_* constants"

9 years agoMerge "Remove VIF_TYPES constant"
Jenkins [Thu, 27 Aug 2015 00:08:25 +0000 (00:08 +0000)]
Merge "Remove VIF_TYPES constant"

9 years agoMerge "Add IPv6 Prefix Delegation compatibility to ipam_pluggable_backend"
Jenkins [Thu, 27 Aug 2015 00:02:44 +0000 (00:02 +0000)]
Merge "Add IPv6 Prefix Delegation compatibility to ipam_pluggable_backend"

9 years agoFix py34 No sql_connection parameter is established error
Assaf Muller [Wed, 26 Aug 2015 20:27:37 +0000 (16:27 -0400)]
Fix py34 No sql_connection parameter is established error

Tests that were using DB connections that did not happen to
import config.py were not setting the DB connection string.
The base test class now sets the string instead of relying
on an import to happen.

Change-Id: I7aceffff427d6526c0059dd88f67a58783292abd
Closes-Bug: #1489098

9 years agoSwitch to using os-testr's copy of subunit2html
armando-migliaccio [Wed, 26 Aug 2015 21:01:04 +0000 (14:01 -0700)]
Switch to using os-testr's copy of subunit2html

Since Ib65c41fc5f137eedb21fccfcee1e96b6990ae30d removes the local
jenkins slave script copy of subunit2html we must start using the
version packaged in os-testr.

Change-Id: I7b7908986eb503a0d2ae8e2365b34516e6e68f92

9 years agoMerge "Add dns_label processing for Ports"
Jenkins [Wed, 26 Aug 2015 19:53:55 +0000 (19:53 +0000)]
Merge "Add dns_label processing for Ports"

9 years agoMerge "Fix AttributeError in _clean_updated_sg_member_conntrack_entries()"
Jenkins [Wed, 26 Aug 2015 10:44:48 +0000 (10:44 +0000)]
Merge "Fix AttributeError in _clean_updated_sg_member_conntrack_entries()"

9 years agoMerge "Run py34 tests with testr"
Jenkins [Wed, 26 Aug 2015 09:10:15 +0000 (09:10 +0000)]
Merge "Run py34 tests with testr"

9 years agoMerge "Make a couple of methods private"
Jenkins [Wed, 26 Aug 2015 09:01:48 +0000 (09:01 +0000)]
Merge "Make a couple of methods private"

9 years agoMerge "OVS agent don't hard code tunnel bridge name"
Jenkins [Wed, 26 Aug 2015 05:03:47 +0000 (05:03 +0000)]
Merge "OVS agent don't hard code tunnel bridge name"

9 years agoRun py34 tests with testr
Clark Boylan [Tue, 25 Aug 2015 17:58:57 +0000 (10:58 -0700)]
Run py34 tests with testr

This doesn't use os-testr but it results in html reports built from
the subunit logs.

A note from amuller: tox -e py27 uses ostestr. The primary difference
between testr and ostestr (For my money) is that ostestr spits out
progression. After a conversation with mtreinish (The author of ostestr)
it doesn't seem to be possible to use tox with ostestr for our py34
tests because we use a long regex that is split on newlines. ostestr
supports the --regex flag as such (regex_a|regex_b), however it's not
possible to use that with newlines and to play nice with tox.
Since I think that we do want to use ostestr (Just like the py27 venv),
I'll work with mtreinish to introduce a white list regex file in to
ostestr. The file will be maintained in the repo and passed in to
ostestr via tox.

Change-Id: I1f1030cca4fd356e468d15126a730725ac9c099c

9 years agoMerge "QoS: fix get bandwidth limit rules to filter them per policy"
Jenkins [Tue, 25 Aug 2015 22:04:36 +0000 (22:04 +0000)]
Merge "QoS: fix get bandwidth limit rules to filter them per policy"

9 years agoMake a couple of methods private
Carl Baldwin [Tue, 25 Aug 2015 20:51:16 +0000 (20:51 +0000)]
Make a couple of methods private

I was just going over this class trying to understand what methods
really are used outside of the class.  I found that these two are not.
I thought I'd submit a quick patch to mark them "private".

Change-Id: Id91907996631b670e23a506e0a1feae4518e42ba

9 years agoMerge "L3 agent changes and reference implementation for IPv6 PD"
Jenkins [Tue, 25 Aug 2015 20:41:16 +0000 (20:41 +0000)]
Merge "L3 agent changes and reference implementation for IPv6 PD"

9 years agoAdd IPv6 Prefix Delegation compatibility to ipam_pluggable_backend
John Davidge [Thu, 13 Aug 2015 17:51:57 +0000 (18:51 +0100)]
Add IPv6 Prefix Delegation compatibility to ipam_pluggable_backend

This patch makes the necessary changes for IPv6 PD to function when
pluggable ipam is enabled with the reference driver.

Includes a unit test for this functionality.

Change-Id: I4227cc08fdd62922632629c424dbeb542a48a67f
Partially-Implements: blueprint ipv6-prefix-delegation

9 years agoValidate router admin_state_up on upgrade to distributed
Oleg Bondarev [Tue, 18 Aug 2015 09:48:41 +0000 (12:48 +0300)]
Validate router admin_state_up on upgrade to distributed

For proper upgrade of centralized router to distributed the router
needs to be disabled (admin_state_up set to false).
The patch adds corresponding validation.

Closes-Bug: #1428713
Change-Id: Idf25db0936eee892ecb169a8678ba7f0a2cfceb6

9 years agoMerge "test_ovs_neutron_agent: Fix test_cleanup_stale_flows_iter_0"
Jenkins [Tue, 25 Aug 2015 15:25:40 +0000 (15:25 +0000)]
Merge "test_ovs_neutron_agent: Fix test_cleanup_stale_flows_iter_0"

9 years agoMerge "Distributed router can not add routes"
Jenkins [Tue, 25 Aug 2015 15:25:25 +0000 (15:25 +0000)]
Merge "Distributed router can not add routes"

9 years agoMerge "ml2: Remove a redundant assignment in _bind_port_level"
Jenkins [Tue, 25 Aug 2015 15:25:09 +0000 (15:25 +0000)]
Merge "ml2: Remove a redundant assignment in _bind_port_level"

9 years agoFix AttributeError in _clean_updated_sg_member_conntrack_entries()
Brian Haley [Tue, 25 Aug 2015 13:42:12 +0000 (09:42 -0400)]
Fix AttributeError in _clean_updated_sg_member_conntrack_entries()

The conntrack work that recently merged introduced a bug
due to an incorrect 'if' statement, it was only detecting
when one variable was not set instead of both, which can
cause an exception.  This is currently causing jenkins failures
with a number of other changes.

Introduced in Change Id Ibfd2d6a11aa970ea9e5009f4c4b858544d8b7463

Change-Id: I2519fdceefc9255c21d8226cdeffec40a7d444f6
Closes-bug: #1488284

9 years agoPLUMgrid plugin decomposition part II
Fawad Khaliq [Mon, 10 Aug 2015 14:13:26 +0000 (07:13 -0700)]
PLUMgrid plugin decomposition part II

As part of the phase II plugin decomposition [1],
this change moves PLUMgrid plugin to its new
home: networking-plumgrid [2]

[1] http://docs.openstack.org/developer/neutron/devref/contribute.html
[2] https://github.com/openstack/networking-plumgrid

Partial-Implements: blueprint core-vendor-decomposition
Change-Id: Ifc6bbb4fe45ee9b8d298ff171ee43c0da37d075c
Signed-off-by: Fawad Khaliq <fawad@plumgrid.com>
9 years agoMerge "Decomposition phase2 of NEC plugin"
Jenkins [Tue, 25 Aug 2015 10:49:15 +0000 (10:49 +0000)]
Merge "Decomposition phase2 of NEC plugin"

9 years agoMerge "Allow py34 to run tests individually"
Jenkins [Tue, 25 Aug 2015 10:28:32 +0000 (10:28 +0000)]
Merge "Allow py34 to run tests individually"

9 years agoQuota enforcement: remove locks on _dirty_tenants
salvatore [Fri, 21 Aug 2015 08:10:56 +0000 (10:10 +0200)]
Quota enforcement: remove locks on _dirty_tenants

This lock was used to avoid errors due to list contents changing
during iteration, but is causing issues with pymysql. This patch
proposes an alternative approach which makes the use of a lock
unnecessary.

With this change a copy of the dirty_tenants set is made before
setting the dirty bit on resources, and then the mark_dirty routine
operates on this copy. This still guaranteses operations
correctness, as all the tenants that should be marked dirty are
marked dirty before the completion of the relevant API request.

Related-Blueprint: better-quotas

Change-Id: Ib39e7089889d3f906bdc025c843128a1fa3e8797

9 years agoL3 agent changes and reference implementation for IPv6 PD
John Davidge [Wed, 24 Jun 2015 13:52:13 +0000 (14:52 +0100)]
L3 agent changes and reference implementation for IPv6 PD

This patch adds the common framework to be used by specific
implementations of the DHCPv6 protocol for Prefix Delegation.

It also includes a reference implementation based on the Dibbler
DHCPv6 client. Dibbler version 1.0.1 or greater is required.
Sanity tests are included to verify the installed version.

A patch for admin/user documentation is up for review here:

https://review.openstack.org/#/c/178739

Video guides for configuring and using this feature are available on
YouTube:

https://www.youtube.com/watch?v=wI830s881HQ
https://www.youtube.com/watch?v=zfsFyS01Fn0

Co-Authored-By: Baodong (Robert) Li <baoli@cisco.com>
Co-Authored-By: Sam Betts <sam@code-smash.net>
Change-Id: Id94acbbe96c717f68f318b2d715dd9cb9cc7fe4f
Implements: blueprint ipv6-prefix-delegation

9 years agoMerge "Update the URLs to the Cloud Admin Guide"
Jenkins [Tue, 25 Aug 2015 04:39:32 +0000 (04:39 +0000)]
Merge "Update the URLs to the Cloud Admin Guide"

9 years agoMerge "Make models_v2 explicitly import rbac_db_models"
Jenkins [Tue, 25 Aug 2015 04:39:18 +0000 (04:39 +0000)]
Merge "Make models_v2 explicitly import rbac_db_models"

9 years agoDecomposition phase2 of NEC plugin
Akihiro Motoki [Mon, 24 Aug 2015 01:12:52 +0000 (10:12 +0900)]
Decomposition phase2 of NEC plugin

As part of plugin decomposition effort, NEC plugin is removed
from the main neutron repo and moved to networking-nec repo.

Related blueprint core-vendor-decomposition
Closes-Bug: #1487929
Change-Id: I2ef7ec241f061516b72c4df9f959af027c4c366c

9 years agoAllow py34 to run tests individually
armando-migliaccio [Tue, 25 Aug 2015 03:56:08 +0000 (20:56 -0700)]
Allow py34 to run tests individually

Prior to this patch, when I do:

 tox -epy34 <my-test>

the argument is ignored and all whitelisted tests are executed.
This is not in line with the other testenv's. This patch ensures
that posargs are processed if available, and that we fall back on
the lot of tests when not specified.

Change-Id: I176d7bba690b1c7e0c64d11528d9c851472b503b

9 years agoMerge "ip_lib: support creating Linux dummy interface"
Jenkins [Tue, 25 Aug 2015 03:26:21 +0000 (03:26 +0000)]
Merge "ip_lib: support creating Linux dummy interface"

9 years agoMerge "Make NeutronDbObjectDuplicateEntry exception more verbose"
Jenkins [Mon, 24 Aug 2015 22:29:20 +0000 (22:29 +0000)]
Merge "Make NeutronDbObjectDuplicateEntry exception more verbose"

9 years agoMerge "Template for ModelMigrationTest for external repos"
Jenkins [Mon, 24 Aug 2015 22:27:42 +0000 (22:27 +0000)]
Merge "Template for ModelMigrationTest for external repos"

9 years agoAdd dns_label processing for Ports
Miguel Lavalle [Sun, 12 Jul 2015 23:00:50 +0000 (18:00 -0500)]
Add dns_label processing for Ports

Functionallity is added to enable users to specify a dns_label field during
port creation and update. This dns_label field will be used for DNS resolution
of the hostname in dnsmasq and also will be used when Neutron can integrate
with external DNS systems.

Change-Id: I6beab336dfd9b70b1af6e975939c602047faa651
DocImpact
APIImpact
Closes-Bug: #1459030
Implements: blueprint internal-dns-resolution

9 years agoMerge "Remove redundant logging statements from RootWrapDaemonHelper"
Jenkins [Mon, 24 Aug 2015 22:26:21 +0000 (22:26 +0000)]
Merge "Remove redundant logging statements from RootWrapDaemonHelper"

9 years agoMerge "Rationalize neutron logs to help in troubleshooting router issues"
Jenkins [Mon, 24 Aug 2015 20:34:01 +0000 (20:34 +0000)]
Merge "Rationalize neutron logs to help in troubleshooting router issues"

9 years agoMove in-tree vendor AGENT_TYPE_* constants
Cedric Brandily [Fri, 21 Aug 2015 20:48:42 +0000 (22:48 +0200)]
Move in-tree vendor AGENT_TYPE_* constants

AGENT_TYPE_* constants[1] define all agent types BUT vendor ones are only
used by in-tree vendor code. This changes moves in-tree AGENT_TYPE_*
constants[2] to vendor modules to ensure they will be removed from neutron
code on decomposition.

[1] in neutron.common.constants
[2] AGENT_TYPE_HYPERV/MLNX/SDNVE

Change-Id: Id03fb147e11541be309c1cd22ce27e70fadc28b5
Partial-Bug: #1487598

9 years agodevref: added guidelines on how to maintain sub-projects
Ihar Hrachyshka [Mon, 24 Aug 2015 17:29:46 +0000 (19:29 +0200)]
devref: added guidelines on how to maintain sub-projects

I was involved lately in several boring attempts to fix broken
sub-project requirements and stable branches, and I think part of the
problem here is that we don't communicate our expectations to
sub-projects clear enough.

This is a first attempt to set brief and clear guidelines to sub-project
maintainers on how to maintain their repositories without much hassle.

Change-Id: I9180ee530f96a885b5667e050d141ce0ab52a8ce

9 years agoStop logging STDOUT and STDERR on every shell out
Matthew Treinish [Mon, 24 Aug 2015 17:28:22 +0000 (13:28 -0400)]
Stop logging STDOUT and STDERR on every shell out

Sometimes you can log too much. For example, logging a complete
iptables dump on every security group operation, OMG TMI. Doing this
during DSVM run results in a log file >7M compressed. To mitigate this
issue this commit switches the execute method to only log the command
and it's exit code on the success case. If there is a failure the
entire stdin, stdout and stderr are logged.

Change-Id: Iaf17297306dc752e666612033c805a528f078f2f

9 years agoUpdate the URLs to the Cloud Admin Guide
Christian Berendt [Mon, 24 Aug 2015 07:07:35 +0000 (09:07 +0200)]
Update the URLs to the Cloud Admin Guide

The Cloud Admin Guide was converted to RST and the
URLs changed.

Also add the Networking Guide to the README file.

Change-Id: I485254db6d2264aaa80e4f7146cfc61c56b27b27

9 years agoRemove redundant logging statements from RootWrapDaemonHelper
Ryan Moats [Mon, 24 Aug 2015 13:49:09 +0000 (08:49 -0500)]
Remove redundant logging statements from RootWrapDaemonHelper

create_process and execute_rootwrap_daemon both current log
the command they are about to run.  Remove these statements as
redundant (the log message showing the command's result includes
the command itself)

Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
Change-Id: I8bdea7212f8a32a3b6b0b47c5b824ac1c561d83f

9 years agoRationalize neutron logs to help in troubleshooting router issues
Ryan Moats [Fri, 21 Aug 2015 14:16:52 +0000 (09:16 -0500)]
Rationalize neutron logs to help in troubleshooting router issues

Currently the neutron logs are not very useful for troubleshooting
router issues - this patch adds additional logging statements to
help the triage process.

Change-Id: I014e0119205d4a947a1be142aeeb29940c4de3bd
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoMove db agent schedulers test to a more appropriate place
Oleg Bondarev [Mon, 24 Aug 2015 08:29:25 +0000 (11:29 +0300)]
Move db agent schedulers test to a more appropriate place

Current placing is confusing as in fact the tests have little to do
with ml2 and openvswitch.
This was triggered by discussion on https://review.openstack.org/199514
Next step should be to separate dhcp and l3 schedulers tests.

Change-Id: Ie05874fdc1c3070ed319e8f624c8217c5c0bb646

9 years agoMerge "Move tests for non pluggable ipam backend"
Jenkins [Mon, 24 Aug 2015 11:38:06 +0000 (11:38 +0000)]
Merge "Move tests for non pluggable ipam backend"

9 years agoMerge "Added initial devstack plugin"
Jenkins [Mon, 24 Aug 2015 11:37:52 +0000 (11:37 +0000)]
Merge "Added initial devstack plugin"

9 years agoOVS agent don't hard code tunnel bridge name
rossella [Fri, 21 Aug 2015 12:52:11 +0000 (12:52 +0000)]
OVS agent don't hard code tunnel bridge name

In setup_tunnel_br the name of the tunnel bridge
should not be hard coded

Change-Id: I7aebc27eb8d9dd347b34e31f7810fbffd6edf49a
Closes-bug: #1487435

9 years agoMerge "manual add/remove router for dvr_snat agent"
Jenkins [Mon, 24 Aug 2015 10:57:03 +0000 (10:57 +0000)]
Merge "manual add/remove router for dvr_snat agent"

9 years agoMake models_v2 explicitly import rbac_db_models
Kevin Benton [Mon, 24 Aug 2015 10:13:14 +0000 (03:13 -0700)]
Make models_v2 explicitly import rbac_db_models

The Network model was implicitly relying on a core plugin to import
the db_base_plugin_v2 module which would import the rbac model module
so "NetworkRBAC" would be defined by the time something would query
the DB. However, this isn't the case for scripts or agents that are
importing models_v2 and trying to query the DB directly so they will
now break with an sqlaclhemy error about a missing model.

This patch makes models_v2 import the rbac_db_models module directly
so the model will always be defined.

This would have resulted in a circular import because the
rbac_db_models module required the HasId and HasTenant classes
in models_v2. So this patch also moves these helper classes
into model_base.

Change-Id: I338ce1c0ba55647e6410a63f937737f75a63057d
Closes-Bug: #1488032

9 years agoMerge "Graceful OVS restart for DVR"
Jenkins [Mon, 24 Aug 2015 10:04:48 +0000 (10:04 +0000)]
Merge "Graceful OVS restart for DVR"

9 years agoMake NeutronDbObjectDuplicateEntry exception more verbose
Miguel Angel Ajo [Wed, 19 Aug 2015 13:15:21 +0000 (15:15 +0200)]
Make NeutronDbObjectDuplicateEntry exception more verbose

NeutronObjectDuplicateEntry is an exception derived from Conflict,
which is mapped to HTTPConflict. When such exception is thrown
during an API layer call, we will provide more detail to the caller
about what was exactly duplicated, and for which fields,
the information is extracted from the DB exception.

NeutronObjectDuplicateEntry is renamed into NeutronDbObjectDuplicate
to make clear it is for handling db duplicate exceptions, in
the future we could generalize to a base NeutronObjectDuplicate class
if we need separate handling for other object backings (mem, keystore,
etc).

Change-Id: I6ec5883b3456ebc842f3f7bffd8cc924293f5766

9 years agoAdd empty policy rule to get_rule_type action
gong yong sheng [Fri, 21 Aug 2015 06:51:45 +0000 (14:51 +0800)]
Add empty policy rule to get_rule_type action

Without this empty policy rule, get_rule_type will use default, which
will demand admin role or tenant_id in object. but rule_type has no
tenant_id in its body.

Change-Id: I92b1222fbcdc2efd13ca6f586cfefefc55b59189
Closes-bug: #1487324

9 years agotest_ovs_neutron_agent: Fix test_cleanup_stale_flows_iter_0
YAMAMOTO Takashi [Mon, 24 Aug 2015 08:41:08 +0000 (17:41 +0900)]
test_ovs_neutron_agent: Fix test_cleanup_stale_flows_iter_0

- Mock the correct variable
- Ensure that non-stale flows are not removed

Change-Id: I68b360d4d3cdaaa9077244a5783418456af5c48c