]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoMerge "Add agent scheduling for LBaaS namespace agent"
Jenkins [Mon, 22 Jul 2013 06:21:04 +0000 (06:21 +0000)]
Merge "Add agent scheduling for LBaaS namespace agent"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 21 Jul 2013 19:55:17 +0000 (19:55 +0000)]
Imported Translations from Transifex

Change-Id: Ieabd6279524cbb26c3ae093550840f13c0e584f0

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sat, 20 Jul 2013 21:33:28 +0000 (21:33 +0000)]
Merge "Imported Translations from Transifex"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 20 Jul 2013 19:55:42 +0000 (19:55 +0000)]
Imported Translations from Transifex

Change-Id: Idb25d3056791dced787695f8dea4720b8652235a

11 years agoAdd help strings to Config Options
Dirk Mueller [Fri, 19 Jul 2013 16:50:26 +0000 (18:50 +0200)]
Add help strings to Config Options

Add an help string to the config options

Change-Id: I9248a335db961aa5d776a545dcfba0ddb0f08bb2

11 years agoMerge "Avoid refreshing firewall rules unnecessarily."
Jenkins [Sat, 20 Jul 2013 02:29:55 +0000 (02:29 +0000)]
Merge "Avoid refreshing firewall rules unnecessarily."

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 19 Jul 2013 19:54:58 +0000 (19:54 +0000)]
Imported Translations from Transifex

Change-Id: I2c8877e5987b5251bf59680d77c281dde895e58c

11 years agoAvoid refreshing firewall rules unnecessarily.
Carl Baldwin [Tue, 16 Jul 2013 18:10:37 +0000 (18:10 +0000)]
Avoid refreshing firewall rules unnecessarily.

Adds a parameter to refresh_firewall allowing an array of ports to
be passed.  If an array is passed then the firewall will be refreshed
only for those ports.  If not passed, it will still refresh all
ports as it did before.

Change-Id: I539a135dbc3861e31cbb5c69cef0ff8c0f834527
Fixes: Bug #1202328
11 years agoMerge "remove repeated allocation_pools check in unittest"
Jenkins [Fri, 19 Jul 2013 15:33:49 +0000 (15:33 +0000)]
Merge "remove repeated allocation_pools check in unittest"

11 years agoAdd agent scheduling for LBaaS namespace agent
Oleg Bondarev [Wed, 29 May 2013 07:58:17 +0000 (11:58 +0400)]
Add agent scheduling for LBaaS namespace agent

- adds simple chance scheduling on create pool operation
- adds PoolsLoadbalancerAgentBinding db table
- adds lbaas_agentscheduler extension to list pools hosted by a particular agent
  and to get an agent hosting a particular pool
- adds agent notifiers mapping to AgentSchedulerDbMixin to make it easier
  for services to add their agent notifiers to the core plugin

Implements blueprint lbaas-agent-scheduler
Change-Id: Id98649fd5c7873dcd5be1a2b117b8bed25f06cc2

11 years agoMerge "Fix revision branches appeared after merging recent patches"
Jenkins [Fri, 19 Jul 2013 08:55:20 +0000 (08:55 +0000)]
Merge "Fix revision branches appeared after merging recent patches"

11 years agoMerge "Add support for the agent extension to NVP Plugin."
Jenkins [Fri, 19 Jul 2013 06:39:35 +0000 (06:39 +0000)]
Merge "Add support for the agent extension to NVP Plugin."

11 years agoMerge "Add decorator helping to log method calls."
Jenkins [Fri, 19 Jul 2013 04:20:20 +0000 (04:20 +0000)]
Merge "Add decorator helping to log method calls."

11 years agoAllow to clear extra routes in NVP
armando-migliaccio [Fri, 19 Jul 2013 00:53:18 +0000 (17:53 -0700)]
Allow to clear extra routes in NVP

Since the neutron client can unset any attribute, ensure
we can handle empty routes as a way to clear the extraroutes
for the router.

Fixes bug #1202890

Change-Id: Ib240a42ba1075d9a410da904b3d3ae9e19b2d86e

11 years agoMerge "Update the ML2 README file with the latest tunnel changes"
Jenkins [Thu, 18 Jul 2013 21:37:49 +0000 (21:37 +0000)]
Merge "Update the ML2 README file with the latest tunnel changes"

11 years agoFix revision branches appeared after merging recent patches
Eugene Nikanorov [Thu, 18 Jul 2013 20:35:37 +0000 (00:35 +0400)]
Fix revision branches appeared after merging recent patches

The branch was introduced with "Add status description field for lbaas objects"

fixes bug 1202859

Change-Id: I59394fa2c4d8cee84ce7040a9d03288ec1e4bab4

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 18 Jul 2013 19:55:06 +0000 (19:55 +0000)]
Imported Translations from Transifex

Change-Id: Iceac6cb82323287bfcd9c9ee8c80519125f63490

11 years agoAdd support for the agent extension to NVP Plugin.
armando-migliaccio [Wed, 26 Jun 2013 19:13:49 +0000 (12:13 -0700)]
Add support for the agent extension to NVP Plugin.

Of DHCP and L3 agents, NVP uses DHCP; This patch adds support
for the extension to this plugin.

This patch also moves some tests around, as a result of the
refactory done in https://review.openstack.org/#/c/35266/
Some code duplication is also removed.

Implements blueprint nvp-agent-scheduler-extension

Change-Id: I4ca1148e81fdb39bf6b58eef806536439e9f0c6f

11 years agoUpdate the ML2 README file with the latest tunnel changes
Kyle Mestery [Thu, 18 Jul 2013 10:47:20 +0000 (10:47 +0000)]
Update the ML2 README file with the latest tunnel changes

The ML2 README file was slightly out of date with all of the H2 changes
which went in around GRE and VXLAN tunneling. This patch updates it to
reflect what the code is capable of currently.

Fixes bug 1202743.

Change-Id: I578c1b62115f298c9de32d62161171fd2f3f5b7c

11 years agoMerge "Register agent schedulers options in one place"
Jenkins [Thu, 18 Jul 2013 10:05:43 +0000 (10:05 +0000)]
Merge "Register agent schedulers options in one place"

11 years agoMerge "Add status description field for lbaas objects"
Jenkins [Thu, 18 Jul 2013 10:05:36 +0000 (10:05 +0000)]
Merge "Add status description field for lbaas objects"

11 years agoAdd decorator helping to log method calls.
Sylvain Afchain [Mon, 15 Jul 2013 08:42:12 +0000 (10:42 +0200)]
Add decorator helping to log method calls.

Fixes bug 1201328

Change-Id: I5c3a00c737903aa59cc6a2a248ee61aa53e54fbe

11 years agoMerge "port-update fails when using SELECT FOR UPDATE lock"
Jenkins [Thu, 18 Jul 2013 08:33:43 +0000 (08:33 +0000)]
Merge "port-update fails when using SELECT FOR UPDATE lock"

11 years agoremove repeated allocation_pools check in unittest
Jiajun Liu [Thu, 18 Jul 2013 08:27:07 +0000 (16:27 +0800)]
remove repeated allocation_pools check in unittest

Change-Id: I902a225c5e06b05009b6d923167c4ac3d6fbf6b7

11 years agoMerge "Apply Oslo ModelBase to NeutronBase"
Jenkins [Thu, 18 Jul 2013 08:04:40 +0000 (08:04 +0000)]
Merge "Apply Oslo ModelBase to NeutronBase"

11 years agoMerge "rename quantum into neutron"
Jenkins [Thu, 18 Jul 2013 04:08:23 +0000 (04:08 +0000)]
Merge "rename quantum into neutron"

11 years agoMerge "LBaaS: update DB pool stats received from lbaas agent"
Jenkins [Wed, 17 Jul 2013 14:50:02 +0000 (14:50 +0000)]
Merge "LBaaS: update DB pool stats received from lbaas agent"

11 years agoMerge "Improve lbaas haproxy plugin_driver test coverage"
Jenkins [Wed, 17 Jul 2013 12:16:01 +0000 (12:16 +0000)]
Merge "Improve lbaas haproxy plugin_driver test coverage"

11 years agoMerge "modernize quantum config in proper place"
Jenkins [Wed, 17 Jul 2013 09:06:28 +0000 (09:06 +0000)]
Merge "modernize quantum config in proper place"

11 years agoMerge "Improve packet-filter test coverage in NEC Plugin"
Jenkins [Wed, 17 Jul 2013 09:06:19 +0000 (09:06 +0000)]
Merge "Improve packet-filter test coverage in NEC Plugin"

11 years agoMerge "Fixes argument mismatch in l3-agent"
Jenkins [Wed, 17 Jul 2013 09:06:11 +0000 (09:06 +0000)]
Merge "Fixes argument mismatch in l3-agent"

11 years agoFixes argument mismatch in l3-agent
Nachi Ueno [Wed, 17 Jul 2013 04:54:11 +0000 (21:54 -0700)]
Fixes argument mismatch in l3-agent

Fixes bug 1202055
Also fixes deletion problem in snat rule

Change-Id: I007a81003e343300836ad226c2dc64b95c5a3247

11 years agoMerge "Fix argument name mismatch in L3-RPC sync_routers"
Jenkins [Wed, 17 Jul 2013 05:50:02 +0000 (05:50 +0000)]
Merge "Fix argument name mismatch in L3-RPC sync_routers"

11 years agoMerge "Add VXLAN tunneling support for the ML2 plugin"
Jenkins [Wed, 17 Jul 2013 03:32:13 +0000 (03:32 +0000)]
Merge "Add VXLAN tunneling support for the ML2 plugin"

11 years agoMerge "Add gre tunneling support for the ML2 plugin"
Jenkins [Wed, 17 Jul 2013 03:31:59 +0000 (03:31 +0000)]
Merge "Add gre tunneling support for the ML2 plugin"

11 years agoFix argument name mismatch in L3-RPC sync_routers
Akihiro MOTOKI [Tue, 16 Jul 2013 08:05:19 +0000 (17:05 +0900)]
Fix argument name mismatch in L3-RPC sync_routers

In sync_routers L3-RPC method l3-agent sends router_ids but the
server side expected router_id. This commit fixes the server side
to accept router_ids, and drops "fullsync" arg from the agent side
(fullsync is not used anywhere and it does not affect RPC signature).
This change allows l3-agent to sync only the specified routers
instead of all routers.

Fixes bug #1201553

As a result of the above change, auto_schedule_routers() and
list_active_sync_routers_on_active_l3_agent() in L3 scheduler
needs to handle a list of router IDs. This commit changes L3 scheduler
to accept a list of router IDs in the above two methods.

Also fixes the argument order of fullsync and router_ids in get_routers
in L3PluginApi. L3-agent main code expects router_ids as the second arg.

Change-Id: I22e8d11b9676cbcfe9e72449031bb63071be8314

11 years agoMerge "Nicira NVP plugin support for l3_ext_gw_mode extension"
Jenkins [Wed, 17 Jul 2013 01:50:55 +0000 (01:50 +0000)]
Merge "Nicira NVP plugin support for l3_ext_gw_mode extension"

11 years agoImprove packet-filter test coverage in NEC Plugin
Ryota MIBU [Tue, 9 Jul 2013 08:18:10 +0000 (17:18 +0900)]
Improve packet-filter test coverage in NEC Plugin

blueprint nec-plugin-test-coverage

This commit adds unit tests for packet-filter in NEC Plugin.

This commit refactors packet-filter in NEC Plugin.
- Put packet-filter classes and methods into nec/packet_filter.py (a) and
  nec/db/packetfilter.py (b), NEC Plugin specific codes are in (a)
- Change stateless methods to class methods in extenstions/packetfilter.py
- Add 'convert_to' option to the attribute map of packet-filter to convert
  some string parameter to int at the api layer

Also, this commit includes the following changes in packet-filter.
- Fix attribute map of packet-filter; set in_port to allow_put=False
- Add new methods to update attribute map properly
- Make packet-filters ignore status of associated resource (network)

Change-Id: I7c0b76afb603f1f078b28610181b16ce66225d37

11 years agoMerge "Limit min<=max port check to TCP/UDP in secgroup rule"
Jenkins [Tue, 16 Jul 2013 22:58:31 +0000 (22:58 +0000)]
Merge "Limit min<=max port check to TCP/UDP in secgroup rule"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 16 Jul 2013 19:58:47 +0000 (19:58 +0000)]
Imported Translations from Transifex

Change-Id: I4fb77ed07b85b2f01ebb48b57adb10dfbadb3167

11 years agoMerge "Enable logging before using it"
Jenkins [Tue, 16 Jul 2013 19:03:51 +0000 (19:03 +0000)]
Merge "Enable logging before using it"

11 years agoMerge "xenapi - rename quantum to neutron"
Jenkins [Tue, 16 Jul 2013 18:40:35 +0000 (18:40 +0000)]
Merge "xenapi - rename quantum to neutron"

11 years agoMerge "Enable policy control over external_gateway_info sub-attributes"
Jenkins [Tue, 16 Jul 2013 18:12:12 +0000 (18:12 +0000)]
Merge "Enable policy control over external_gateway_info sub-attributes"

11 years agoMerge "Improve l3-agent performance and prevent races in it."
Jenkins [Tue, 16 Jul 2013 16:46:17 +0000 (16:46 +0000)]
Merge "Improve l3-agent performance and prevent races in it."

11 years agoEnable policy control over external_gateway_info sub-attributes
Salvatore Orlando [Mon, 13 May 2013 11:12:46 +0000 (13:12 +0200)]
Enable policy control over external_gateway_info sub-attributes

Part 2 of blueprint l3-ext-gw-modes

This patch extends the logic for building policy rule matches in order to
include sub-attributes as well. This logic will be leveraged by the
ext-gw-mode api extension.

Change-Id: I7f46a395597b71bb1c5110aa4e792a04a5010d4c

11 years agomodernize quantum config in proper place
Yong Sheng Gong [Sat, 13 Jul 2013 08:11:08 +0000 (16:11 +0800)]
modernize quantum config in proper place

Bug #1200558

At the beginning, we have not registered some configuration
items. To modernize these items, we must do it after we register
them.

Change-Id: I90d2cdbe97daa2ec0a8c8b6c9686b6f76c4de9e4

11 years agoAdd gre tunneling support for the ML2 plugin
mathieu-rohon [Tue, 16 Jul 2013 11:24:25 +0000 (13:24 +0200)]
Add gre tunneling support for the ML2 plugin

This patch add the type_driver GRE to enable the creation of GRE
tunnels with the OVS agent.
No Endpoints ID are managed. Only Endpoint IP are stored in DB,
and this IP is proposed as an endpoint ID for the OVS agent.
It also fixes the bug 1201471.

Implements: blueprint ml2-gre
Change-Id: I1a33a4bd3ebc4c97eecf17a59ce16b8c2066ec66

11 years agoAdd VXLAN tunneling support for the ML2 plugin
Kyle Mestery [Wed, 26 Jun 2013 07:13:32 +0000 (07:13 +0000)]
Add VXLAN tunneling support for the ML2 plugin

Add an ML2 Type Driver for VXLAN networks to allow the creation
of VXLAN networks with the OVS agent.

Change-Id: I7fcc384cc44d5adc752510847d8ba5f46bbb79fb
Implements: blueprint ml2-vxlan

11 years agoImprove l3-agent performance and prevent races in it.
Nachi Ueno [Fri, 12 Jul 2013 19:21:46 +0000 (12:21 -0700)]
Improve l3-agent performance and prevent races in it.

Fixes bug 1194026
Fixes bug 1200749

Introduce a looping call for performing synchronization with
neutron server.
The sync will be performed only if router changes are notified
via rpc. Only affected routers will be synchronized.

Changes will be implemented by the l3 agent spawning a
distinct greenthread for each router - iptables will
be executed only once using iptables_manager.defer_apply_on.

This patch will prevent the occurence of the following issues:
- Out-of-order rpc message processing
- Long processing time for router changes due to serial execution
- Occasional and expected RPC blocks for long periods
- Unnecessary processing of multiple requests

Change-Id: I0978d1c38ac5c38c4548e5b1877857bb5cac3b81

11 years agoxenapi - rename quantum to neutron
Mate Lakat [Mon, 8 Jul 2013 10:11:16 +0000 (11:11 +0100)]
xenapi - rename quantum to neutron

Some changes were missing from the previous rename patch, so it broke
XenServer support. This patch contains the missing adjustments.

related to blueprint remove-use-of-quantum

Change-Id: I1ee5cc38d555bd5c26edf00a456ec71919604d79

11 years agoLBaaS: update DB pool stats received from lbaas agent
Oleg Bondarev [Tue, 16 Jul 2013 09:02:02 +0000 (13:02 +0400)]
LBaaS: update DB pool stats received from lbaas agent

Fixes bug 1201401

Change-Id: I84e2fbdb3e6368529c1d829d4e8134e6b0b54311

11 years agoMerge "Use the correct tunnel_type to notify agents"
Jenkins [Tue, 16 Jul 2013 02:30:07 +0000 (02:30 +0000)]
Merge "Use the correct tunnel_type to notify agents"

11 years agoMerge "Ensure PortSecurityDBTestCase loads correct plugin"
Jenkins [Tue, 16 Jul 2013 02:20:59 +0000 (02:20 +0000)]
Merge "Ensure PortSecurityDBTestCase loads correct plugin"

11 years agoMerge "Re-assign quantum.api module as last operation"
Jenkins [Tue, 16 Jul 2013 02:20:33 +0000 (02:20 +0000)]
Merge "Re-assign quantum.api module as last operation"

11 years agoMerge "Preserve packet:byte counts in iptables_manager."
Jenkins [Tue, 16 Jul 2013 01:57:20 +0000 (01:57 +0000)]
Merge "Preserve packet:byte counts in iptables_manager."

11 years agoMerge "Fix random OverflowError exceptions in gate-neutron-python26 tests"
Jenkins [Mon, 15 Jul 2013 23:01:34 +0000 (23:01 +0000)]
Merge "Fix random OverflowError exceptions in gate-neutron-python26 tests"

11 years agoRe-assign quantum.api module as last operation
Salvatore Orlando [Wed, 10 Jul 2013 16:11:01 +0000 (18:11 +0200)]
Re-assign quantum.api module as last operation

Bug 1199443

This avoids reset of locals in quantum/api/__init__.py,
resulting in sys being None when assigning quantum.api.extensions
to neutron.api.extensions

Change-Id: I2da8b336679b643c92824399a05ca1b9980d1598

11 years agoEnsure PortSecurityDBTestCase loads correct plugin
Salvatore Orlando [Sun, 14 Jul 2013 22:23:46 +0000 (00:23 +0200)]
Ensure PortSecurityDBTestCase loads correct plugin

Bug 1201569

If a plugin is passed to the setUp method, that plugin
should be loaded instead od DB_PLUGIN_KLASS

Change-Id: I81df9f62e7399f5a76a07e504679ee8311e5855e

11 years agoNicira NVP plugin support for l3_ext_gw_mode extension
Salvatore [Thu, 4 Apr 2013 10:35:50 +0000 (12:35 +0200)]
Nicira NVP plugin support for l3_ext_gw_mode extension

Bug 1121129

This patch adds support the 'configurable external gateway' extension
in the NVP plugin.

Change-Id: I531ebe0053b1b9e21d6f0685776acebe3173b170

11 years agoFix random OverflowError exceptions in gate-neutron-python26 tests
armando-migliaccio [Mon, 15 Jul 2013 18:08:13 +0000 (11:08 -0700)]
Fix random OverflowError exceptions in gate-neutron-python26 tests

These errors seem to be linked to the NEC plugin and http connections
not being stubbed out correctly. This patch ensures do_request is
stubbed out prior to the tests execution; this should be enough
to prevent timeouts from occurring again. Stubbing out the call has
no effect on the coverage of the agent scheduler tests for the NEC
plugin.

Fixes bug #1201478

Change-Id: Iee3cb3cb3137cedcf97c707ea7fde9114b7264b6

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 15 Jul 2013 19:55:12 +0000 (19:55 +0000)]
Imported Translations from Transifex

Change-Id: I241d1c1217fcf32e2d02832db15a9c5ab5da4359

11 years agoMerge "Add support for the extra route extension in the NVP plugin."
Jenkins [Mon, 15 Jul 2013 17:54:08 +0000 (17:54 +0000)]
Merge "Add support for the extra route extension in the NVP plugin."

11 years agoUse the correct tunnel_type to notify agents
Yong Sheng Gong [Mon, 15 Jul 2013 06:04:21 +0000 (14:04 +0800)]
Use the correct tunnel_type to notify agents

Bug #1201274

Change-Id: I9de55d168ba03cb6a5273b4c2ce140cd190e38ee

11 years agoMerge "Prevent possible server list damage in BigSwitch plugin"
Jenkins [Mon, 15 Jul 2013 04:20:21 +0000 (04:20 +0000)]
Merge "Prevent possible server list damage in BigSwitch plugin"

11 years agoMerge "Modify the OVS agent to support multiple tunnel_types concurrently."
Jenkins [Mon, 15 Jul 2013 03:54:26 +0000 (03:54 +0000)]
Merge "Modify the OVS agent to support multiple tunnel_types concurrently."

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 14 Jul 2013 19:55:16 +0000 (19:55 +0000)]
Imported Translations from Transifex

Change-Id: I7b87dc99e2d271703e357495c303b7e95295e11b

11 years agoMerge "Import Oslo's common rootwrap to Neutron"
Jenkins [Sun, 14 Jul 2013 03:08:30 +0000 (03:08 +0000)]
Merge "Import Oslo's common rootwrap to Neutron"

11 years agoPrevent possible server list damage in BigSwitch plugin
Kevin Benton [Wed, 10 Jul 2013 23:28:12 +0000 (16:28 -0700)]
Prevent possible server list damage in BigSwitch plugin

The old failover logic for the BigSwitch plugin modified a
list of controllers as it tested them. If the code for one
thread unexpectedly raised an exception or died, the global
server list could lose a server permanently.
This patch addresses that by flagging servers as failed instead
so the global server list is never modified.

Fixes: bug #1200022
Change-Id: Id2dcb820ef9f62fd03e3215bff3345e56c78afe2

11 years agoMerge "Ensure a name of packet filter is stored in NEC plugin"
Jenkins [Sun, 14 Jul 2013 02:58:25 +0000 (02:58 +0000)]
Merge "Ensure a name of packet filter is stored in NEC plugin"

11 years agoMerge "Rename to Neutron in sample init.d script"
Jenkins [Sat, 13 Jul 2013 21:20:07 +0000 (21:20 +0000)]
Merge "Rename to Neutron in sample init.d script"

11 years agoRename to Neutron in sample init.d script
Dirk Mueller [Sat, 13 Jul 2013 09:08:29 +0000 (11:08 +0200)]
Rename to Neutron in sample init.d script

Related to LP Bug #1199794

Change-Id: I809a4d6c8e2ab047a1530f3fd6ef9aa60c0c638f

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 13 Jul 2013 19:55:16 +0000 (19:55 +0000)]
Imported Translations from Transifex

Change-Id: I32e4f200b66efe913a21000a3cb6b2abc1c568b2

11 years agoMerge "Fix TestDhcpAgentEventHandler test that fails in some Jenkins runs."
Jenkins [Sat, 13 Jul 2013 19:10:02 +0000 (19:10 +0000)]
Merge "Fix TestDhcpAgentEventHandler test that fails in some Jenkins runs."

11 years agoModify the OVS agent to support multiple tunnel_types concurrently.
Kyle Mestery [Fri, 14 Jun 2013 14:25:08 +0000 (14:25 +0000)]
Modify the OVS agent to support multiple tunnel_types concurrently.

This change modifies the "tunnel_type" configuration option to be a ListOpt
instead of a StrOpt. This is intended to allow the agent to work in an ML2
environment where multiple, disparate "tunnel_types" are supported at the
same time. For now, the agent will enforce a single "tunnel_type".

Fixes bug #1191089

Change-Id: Ic025e54a8a3e92fe1fe44ebf08d71c2210c7d82b

11 years agoMerge "Cisco plugin db code cleanup"
Jenkins [Sat, 13 Jul 2013 17:17:54 +0000 (17:17 +0000)]
Merge "Cisco plugin db code cleanup"

11 years agoMerge "Add option to ignore backend HTTP error in BigSwitch plugin"
Jenkins [Sat, 13 Jul 2013 17:17:45 +0000 (17:17 +0000)]
Merge "Add option to ignore backend HTTP error in BigSwitch plugin"

11 years agoEnable logging before using it
Yong Sheng Gong [Fri, 12 Jul 2013 09:18:42 +0000 (17:18 +0800)]
Enable logging before using it

Bug #1200530

Change-Id: I086353c93fae0f6ec74d16a485c215c1b3815ee6

11 years agorename quantum into neutron
Yong Sheng Gong [Fri, 12 Jul 2013 04:32:55 +0000 (12:32 +0800)]
rename quantum into neutron

Bug #1200474

Change-Id: Ib83e58008fc53b57c4063057ce4c5707b55f0ff2

11 years agoCisco plugin db code cleanup
HenryGessau [Fri, 12 Jul 2013 17:49:03 +0000 (13:49 -0400)]
Cisco plugin db code cleanup

Remove redundant model classes.
Follow code style guidelines for imports.

Fixes bug 1200723

Change-Id: I2949065bb1d053805032e0a429f77e93dfc61a55

11 years agoAdd support for the extra route extension in the NVP plugin.
armando-migliaccio [Wed, 19 Jun 2013 01:24:03 +0000 (18:24 -0700)]
Add support for the extra route extension in the NVP plugin.

The underlying feature is available in NVP 3.2, which introduces a
new type of router. Therefore, create_lrouter needs to be made
version 'aware'.

This led to a number of fixes in the nvplib, especially around how
version is retrieved and how version-dependent methods are called.

Implements blueprint nvp-extra-route-extension

Change-Id: Ie4e2d93f70e1948a62563c8523aea61bb2194c84

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 12 Jul 2013 19:55:57 +0000 (19:55 +0000)]
Imported Translations from Transifex

Change-Id: I0aa0c983eb0867b6d306844f16db86df7e6d94f9

11 years agoFix TestDhcpAgentEventHandler test that fails in some Jenkins runs.
Eugene Nikanorov [Fri, 12 Jul 2013 19:02:30 +0000 (23:02 +0400)]
Fix TestDhcpAgentEventHandler test that fails in some Jenkins runs.

Add mocking of check_version method that have ran dnsmasq process to retrieve version

fixes bug 1200698

Change-Id: I6476d62bc4394bdf9701a2aa26a435f8bcb00d0d

11 years agoMerge "Improve DHCP agent performance"
Jenkins [Fri, 12 Jul 2013 14:13:57 +0000 (14:13 +0000)]
Merge "Improve DHCP agent performance"

11 years agoRefactor unit tests for NEC Plugin
Ryota MIBU [Fri, 5 Jul 2013 07:03:59 +0000 (16:03 +0900)]
Refactor unit tests for NEC Plugin

blueprint nec-plugin-test-coverage

This commit refactors the base class of unit tests for NEC Plugin to
make writing new tests easier.

Add fake OFC Manager and change unit tests which use OFC Manager mock
to using this fake.  With this fake, we don't need to set return_value
and side_effect to the mock instance of OFC Manager in each test case.
This fake keeps all resources on OFC, and returns existence of
resources properly.  This fake is attached to OFC Manager mock instance
by setting all side_effects.  We can also set it to raise an exception.

Make NEC Plugin configurable in each test case.  Now we can configure
NEC Plugin by setting string in class value "_nec_ini" which will be
written into a temporal file and loaded by NEC plugin.

Move setup for callbacks into NecPluginV2TestCase() so that other unit
tests can use callbacks.

Change-Id: I3a52423bb5813547345677dc49abfea6563dd6cd

11 years agoMerge "Fix issue with pip installing oslo.config-1.2.0"
Jenkins [Fri, 12 Jul 2013 05:31:28 +0000 (05:31 +0000)]
Merge "Fix issue with pip installing oslo.config-1.2.0"

11 years agoMerge "Quiet down a large log file heavy hitter."
Jenkins [Fri, 12 Jul 2013 04:40:37 +0000 (04:40 +0000)]
Merge "Quiet down a large log file heavy hitter."

11 years agoMerge "Be compatible with oslo.config 1.2.0a3+"
Jenkins [Thu, 11 Jul 2013 23:30:50 +0000 (23:30 +0000)]
Merge "Be compatible with oslo.config 1.2.0a3+"

11 years agoAdd option to ignore backend HTTP error in BigSwitch plugin
Kevin Benton [Wed, 10 Jul 2013 23:49:31 +0000 (16:49 -0700)]
Add option to ignore backend HTTP error in BigSwitch plugin

This patch fixes the way the BigSwitch plugin ignores 404
errors from the backend controller by allowing HTTP codes
to be selectively ignored on REST calls. This prevents
unnecessary exception handling and failover logic in calls
where 404 codes are acceptable.

Change-Id: Ia1118c039af3b45d96fb3f8a5fb5d3febdf50f4f
Fixes: bug #1200023
11 years agoMerge "Validate dscp value less that 64"
Jenkins [Thu, 11 Jul 2013 21:08:09 +0000 (21:08 +0000)]
Merge "Validate dscp value less that 64"

11 years agoFix issue with pip installing oslo.config-1.2.0
Mark McLoughlin [Tue, 2 Jul 2013 11:25:58 +0000 (12:25 +0100)]
Fix issue with pip installing oslo.config-1.2.0

Fixes bug #1194807

Firstly, we update the oslo.config dep to 1.2.0a3 because of the issue
with namespace packages (bug #1194742).

But the main issue here is that if you currently do:

  $> pip install -r quantum/requirements.txt

then you end up with the oslo.config 1.1.1 code installed. This is
because oslo.config>=1.1.0 gets pulled in as a transitive dep and pip
gets confused. You can reproduce with e.g.

  $> pip install \
       http://.../oslo.config-1.2.0a3.tar.gz#egg=oslo.config-1.2.0a3 \
       python-keystoneclient
  $> pip freeze | grep oslo.config
  oslo.config-1.2.0a3
  $> python -c 'from oslo.config.cfg import DeprecatedOpt'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
  ImportError: cannot import name DeprecatedOpt

This is because of a bug with pip where it sees oslo.config-1.2.0a3 and
oslo.config as two unrelated things. It should strip the version part of
the egg= fragment before using it as a package name, but it doesn't.

However, we can simply use the -f/--find-links pip option in our
requirements.txt to add the tarball URL to the list of URLs considered
and also add the oslo.config>=1.2.0a3 dependency:

  $> pip install \
       -f http://.../oslo.config-1.2.0a3.tar.gz#egg=oslo.config-1.2.0a3 \
       'oslo.config>=1.2.0a3' \
       python-keystoneclient
  $> pip freeze | grep oslo.config
  oslo.config-1.2.0a3
  $> python -c 'from oslo.config.cfg import DeprecatedOpt'

This is actually exactly the semantics we want and we go to great
lengths in pbr to get these semantics while using a single tarball URL.
The only downside to this --find-links strategy is that we gain an extra
line in our requirements.txt ... but it does work around the pip bug.

Change-Id: I6f3eb5fd2c75615d9a1cae172aed859b36b27d4c

11 years agoQuiet down a large log file heavy hitter.
Carl Baldwin [Thu, 11 Jul 2013 18:17:40 +0000 (18:17 +0000)]
Quiet down a large log file heavy hitter.

This line of code serialized the python structure for the device and throws it
at the log file.  The string is about 90K characters, isn't very useful and we
found that it takes a very large amount of space in the log file causing them
to grow very quickly and fill our log disk.  This change extracts the device
name (e.g.  "tapcdc07af9-8a") and uses that in the log message.

Change-Id: I240eb811445752407583f0fb322ce061acb293b9
Fixes: Bug #1200321
11 years agoMerge "Initial Modular L2 Mechanism Driver implementation."
Jenkins [Thu, 11 Jul 2013 12:35:27 +0000 (12:35 +0000)]
Merge "Initial Modular L2 Mechanism Driver implementation."

11 years agoBe compatible with oslo.config 1.2.0a3+
Dirk Mueller [Mon, 24 Jun 2013 18:56:32 +0000 (20:56 +0200)]
Be compatible with oslo.config 1.2.0a3+

The private API of oslo.config changed, and the Cisco
options parsing code was using it.
Use an explicit MultiConfigParser instance for parsing
the config files.

Fixes LP Bug #1196084

Change-Id: I7ffcac3c295491fe9ba8abc7e98f33157a48c51b

11 years agoEnsure a name of packet filter is stored in NEC plugin
Ryota MIBU [Fri, 5 Jul 2013 14:39:19 +0000 (23:39 +0900)]
Ensure a name of packet filter is stored in NEC plugin

This patch fixes NEC Plugin to handle a name of packet filter and added
"name" column into PacketFilter table.

Fixes: bug #1198223
Change-Id: Ic191b2793653b41496922f2fa4be4f410d71dc64

11 years agoInitial Modular L2 Mechanism Driver implementation.
Andre Pech [Sun, 7 Jul 2013 20:00:54 +0000 (13:00 -0700)]
Initial Modular L2 Mechanism Driver implementation.

Define the Mechanism Driver interface for create/update/delete
operations on networks and ports. For each of these event, the
Mechanism Driver provides one method that is called within the
database transaction of the ml2 plugin method, and one that is called
after the transaction is completed.

Support for mechanism drivers is still a work-in-progress, and the
interface is subject to change in future versions before the release
of Havana. However this initial version should be sufficient to enable
others to start defining their own mechanism drivers.

Change-Id: Ife30215589792ee27df9897d3b2bc04392638266
Implements: blueprint ml2-mechanism-drivers
Fixes: bug #1199977
Fixes: bug #1199978
DocImpact

11 years agoValidate dscp value less that 64
Aaron Rosen [Wed, 10 Jul 2013 23:55:29 +0000 (16:55 -0700)]
Validate dscp value less that 64

Previously neutron would raise a 500 error if the dscp value was greater
than 63. This patch adds validation to neutron so that a clear error
message is returned if the value is greater than 63.

Fixes bug 1200026

Change-Id: I41a93661952669d112463608be907eede1901490

11 years agoMerge "Add cover/ to .gitignore"
Jenkins [Wed, 10 Jul 2013 15:15:40 +0000 (15:15 +0000)]
Merge "Add cover/ to .gitignore"

11 years agoAdd status description field for lbaas objects
Oleg Bondarev [Mon, 24 Jun 2013 12:50:19 +0000 (16:50 +0400)]
Add status description field for lbaas objects

Fixes bug 1166925

Change-Id: I44d936afd8cd531a786c09c38bbc4702737ce99c

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 10 Jul 2013 11:05:21 +0000 (11:05 +0000)]
Merge "Imported Translations from Transifex"

11 years agoport-update fails when using SELECT FOR UPDATE lock
zhhuabj [Wed, 10 Jul 2013 09:49:01 +0000 (17:49 +0800)]
port-update fails when using SELECT FOR UPDATE lock

In Postgresql, it will throw the bellow exception when
using SELECT FOR UPDATE lock combined with outer join.
"SELECT FOR UPDATE/SHARE cannot be applied to the
 nullable side of an outer join"

The reason can refer http://www.postgresql.org/ \
message-id/21634.1160151923@sss.pgh.pa.us

for this issue, I don't think outer join is necessary,
so I change it to use inner join.

Fixes bug #1191653

Change-Id: Ifc9ecad91324ce28399431ea77fe0865b6d8e523