]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 27 Feb 2013 06:04:03 +0000 (06:04 +0000)]
Merge "Imported Translations from Transifex"

11 years agoEnable multiple L3 GW services on NVP plugin
Salvatore Orlando [Mon, 25 Feb 2013 14:41:06 +0000 (15:41 +0100)]
Enable multiple L3 GW services on NVP plugin

Bug 1130211

This patch allows for using multiple layer-3 gateways leveraging the
provider networks extension.

Change-Id: I293920c2565f4670e9be9b22dc1b60431b62f7e7

11 years agoMerge "Fetch all pages when listing NVP Nat Rules"
Jenkins [Wed, 27 Feb 2013 00:18:15 +0000 (00:18 +0000)]
Merge "Fetch all pages when listing NVP Nat Rules"

11 years agoMerge "Fix NVP plugin not notifying metadata access network to DHCP agent"
Jenkins [Wed, 27 Feb 2013 00:17:52 +0000 (00:17 +0000)]
Merge "Fix NVP plugin not notifying metadata access network to DHCP agent"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 27 Feb 2013 00:07:55 +0000 (00:07 +0000)]
Imported Translations from Transifex

Change-Id: Ic0f16a8108abb85b50355b837ae889b22c703886

11 years agoRemove network type validation from provider networks extension
Salvatore Orlando [Mon, 25 Feb 2013 10:37:34 +0000 (11:37 +0100)]
Remove network type validation from provider networks extension

Bug 1133064

As the set of valid network types for the provider networks extension
depends on the particular plugin, validation should be performed there.

Change-Id: I3ce5762458bc553625a458ace80072bd804e31f0

11 years agoFix NVP plugin not notifying metadata access network to DHCP agent
Salvatore Orlando [Tue, 26 Feb 2013 16:57:55 +0000 (17:57 +0100)]
Fix NVP plugin not notifying metadata access network to DHCP agent

Bug 1133395

Due to recent changes in notification logic between Quantum and the DHCP
agent, the notifier the NVP plugin previously used for metadata access
network was not working anymore and needed to be replaced

Change-Id: Ifa0ea55116cf5ef6d546d28ca52e643987b3e5a0

11 years agoFetch all pages when listing NVP Nat Rules
Salvatore Orlando [Tue, 26 Feb 2013 14:19:40 +0000 (15:19 +0100)]
Fetch all pages when listing NVP Nat Rules

Bug 1133318

Change-Id: I24e9943b4771c4f2b941c229ba1c300dfbf7e331

11 years agoMake sure all db accesses use subtransaction
Akihiro MOTOKI [Tue, 26 Feb 2013 07:43:03 +0000 (16:43 +0900)]
Make sure all db accesses use subtransaction

Fixes bug 1133253

Change-Id: If952eaa919cdc7536023525a397e7a8ce4b425aa

11 years agoUse testtools instead of unittest or unittest2.
Monty Taylor [Wed, 6 Feb 2013 06:01:30 +0000 (17:01 +1100)]
Use testtools instead of unittest or unittest2.

As part of the move towards testr and parallel test running, we
start to use testtools and fixtures to make the test suite
resilient and more pedantic.

Part of blueprint grizzly-testtools

Change-Id: I90250de9fe21237db34f6a50b89b15863e270aa5

11 years agoMerge "Set default api_extensions_path for NEC plugin"
Jenkins [Tue, 26 Feb 2013 07:27:31 +0000 (07:27 +0000)]
Merge "Set default api_extensions_path for NEC plugin"

11 years agoMerge "Enables packetfilter ext in NEC plugin based on its driver config"
Jenkins [Tue, 26 Feb 2013 07:25:52 +0000 (07:25 +0000)]
Merge "Enables packetfilter ext in NEC plugin based on its driver config"

11 years agoMerge "Fixes import reorder nits"
Jenkins [Tue, 26 Feb 2013 05:14:24 +0000 (05:14 +0000)]
Merge "Fixes import reorder nits"

11 years agoEnables packetfilter ext in NEC plugin based on its driver config
Akihiro MOTOKI [Tue, 26 Feb 2013 04:14:26 +0000 (13:14 +0900)]
Enables packetfilter ext in NEC plugin based on its driver config

packet filter extension in NEC plugin should be determined based on
a return value of filter_supported method in the backend driver.
Previously filter_supported was not called actually and packetfilter
extension was always enabled.

Fixes bug #1133100

Change-Id: I1334c7695e64bc942c0ecce2bd85e5a92e75b388

11 years agoSet default api_extensions_path for NEC plugin
Akihiro MOTOKI [Tue, 26 Feb 2013 03:37:37 +0000 (12:37 +0900)]
Set default api_extensions_path for NEC plugin

NEC plugin has a plugin specific extension in its plugin directory.
api_extension_path must be set in quantum.conf to enable quantum-server
to load the extension, but users sometimes forget to set it. It provides
better usability if api_extensions_path is set appropriately by default.

Fixes bug 1133099

Change-Id: Ifa6d8a4f6bd30be5c6641c127ffcfaab5ff20b47

11 years agoFixes import reorder nits
Zhongyue Luo [Mon, 25 Feb 2013 09:40:53 +0000 (17:40 +0800)]
Fixes import reorder nits

Fixes bug #1133080

Change-Id: I31e56cea9b7310cfd16c0340ba270c4a777c200c

11 years agoMerge "Add default state_path to quantum.conf"
Jenkins [Tue, 26 Feb 2013 01:47:29 +0000 (01:47 +0000)]
Merge "Add default state_path to quantum.conf"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 26 Feb 2013 00:06:31 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I33e913489de8ea413ded3584f60e2d987232e197

11 years agoMerge "Latest common updates"
Jenkins [Mon, 25 Feb 2013 20:34:40 +0000 (20:34 +0000)]
Merge "Latest common updates"

11 years agoMerge "Limit chain name to 28 characters"
Jenkins [Mon, 25 Feb 2013 20:34:37 +0000 (20:34 +0000)]
Merge "Limit chain name to 28 characters"

11 years agoMerge "Add password secret to brocade plugin"
Jenkins [Mon, 25 Feb 2013 19:47:07 +0000 (19:47 +0000)]
Merge "Add password secret to brocade plugin"

11 years agoLatest common updates
Gary Kotton [Mon, 25 Feb 2013 17:55:58 +0000 (17:55 +0000)]
Latest common updates

Fixes bug 1132908

Change-Id: I726bc5b3199d2fa606832418db9b6e20ffbc3879

11 years agoLimit chain name to 28 characters
Gary Kotton [Mon, 25 Feb 2013 16:57:17 +0000 (16:57 +0000)]
Limit chain name to 28 characters

Fixes bug 1103838

Change-Id: I90c0690433bac3ebe2de5b4cbbad3c358a889283

11 years agoAdd midonet to setup.py
Gary Kotton [Mon, 25 Feb 2013 17:10:15 +0000 (17:10 +0000)]
Add midonet to setup.py

Fixes bug 1132889

Change-Id: I3334f515d85ea165b07b3ef576a043243c3c1bc0

11 years agoAdd password secret to brocade plugin
Gary Kotton [Mon, 25 Feb 2013 16:19:56 +0000 (16:19 +0000)]
Add password secret to brocade plugin

Fixes bug 1123368

All other password's are marked as secret.

Change-Id: I2451b1040bffa524602690a7686d9718f60ccfe7

11 years agoAdd default state_path to quantum.conf
Gary Kotton [Mon, 25 Feb 2013 13:31:38 +0000 (13:31 +0000)]
Add default state_path to quantum.conf

Fixes bug 1132793

Change-Id: I7af0b773105443672ede30b352d3b207f1ae7c5d

11 years agoMerge "Add pagination parameters for extension extraroute"
Jenkins [Mon, 25 Feb 2013 08:22:16 +0000 (08:22 +0000)]
Merge "Add pagination parameters for extension extraroute"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 25 Feb 2013 00:08:46 +0000 (00:08 +0000)]
Imported Translations from Transifex

Change-Id: Ic694b58924d4214349ab9a901e3206cf5de38bef

11 years agoMerge "Remove external_id and security group proxy code"
Jenkins [Sun, 24 Feb 2013 18:11:39 +0000 (18:11 +0000)]
Merge "Remove external_id and security group proxy code"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sun, 24 Feb 2013 08:08:56 +0000 (08:08 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "refactor LoadBalancerPluginDbTestCase setUp()"
Jenkins [Sun, 24 Feb 2013 00:15:10 +0000 (00:15 +0000)]
Merge "refactor LoadBalancerPluginDbTestCase setUp()"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 24 Feb 2013 00:06:11 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: Ia9f01dd7f13f8c6e6c11858b63202a7bdfb7b5e5

11 years agoMerge "AttributeError: No such RPC function 'report_state'"
Jenkins [Sat, 23 Feb 2013 20:49:50 +0000 (20:49 +0000)]
Merge "AttributeError: No such RPC function 'report_state'"

11 years agorefactor LoadBalancerPluginDbTestCase setUp()
Mark McClain [Mon, 18 Feb 2013 19:45:28 +0000 (14:45 -0500)]
refactor LoadBalancerPluginDbTestCase setUp()

fixes bug: 1129417

This fixes the bug by changing LoadBalancerPluginDbTestCase to inherit
from test_db_plugin.QuantumDbPluginV2TestCase.  This allows for the
plugin to access context managers for core resources.  Additionally,
this change adds subresource and service_plugin support to
QuantumDbPluginV2TestCase.

Change-Id: I5e838a3df6d4c7192d4a738d3860f3a162cb5a8c

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 23 Feb 2013 00:06:39 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I173f8292754279e8b4e9cc5a029bac4f71d37fa7

11 years agoRemove external_id and security group proxy code
Aaron Rosen [Wed, 13 Feb 2013 23:47:27 +0000 (15:47 -0800)]
Remove external_id and security group proxy code

This code is no longer needed since nova can now proxy these calls to
quantum directly.

Fixes bug 1130927

Change-Id: I62f8d7d4161f8a1308ae80029effaa46b6d661a3

11 years agoAdd pagination parameters for extension extraroute
He Jie Xu [Fri, 22 Feb 2013 07:22:36 +0000 (15:22 +0800)]
Add pagination parameters for extension extraroute

Fixes bug 1131560

Change-Id: Ice84aa90ef8a39efdd9c287cca9b90c4ee355b7f

11 years agoMerge "Provide a default api_extensions_path for nvp_plugin"
Jenkins [Fri, 22 Feb 2013 06:16:42 +0000 (06:16 +0000)]
Merge "Provide a default api_extensions_path for nvp_plugin"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 22 Feb 2013 00:06:46 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: Ibffe336d9b980f57ede79c83e950be851b5eea84

11 years agoProvide a default api_extensions_path for nvp_plugin
Aaron Rosen [Thu, 21 Feb 2013 23:50:21 +0000 (15:50 -0800)]
Provide a default api_extensions_path for nvp_plugin

The NVP plugin has several extensions within it's plugin directory. In order
to tell quantum-server to load this, api_extensions_path must be set in
quantum.conf. This is sort of painful because one needs to set this value.

Fixes bug 1131469

Change-Id: I8d124aa93f79dbeb8b2abac1c27765d5ebf449c2

11 years agoAttributeError: No such RPC function 'report_state'
Aaron Rosen [Thu, 21 Feb 2013 22:44:16 +0000 (14:44 -0800)]
AttributeError: No such RPC function 'report_state'

This patch changes dhcp_agent_manager to be DhcpAgent instead of
DhcpAgentWithStateReport since not all plugins support DhcpAgentWithStateReport
and having this as the default breaks all current deployments that upgrade
source without changing their config files.

Fixes bug 1131446

Change-Id: I6415f85714b03e9bf59d597e8ec2397fedc92b02

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 21 Feb 2013 18:35:17 +0000 (18:35 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Close file descriptors when executing sub-processes"
Jenkins [Thu, 21 Feb 2013 18:31:48 +0000 (18:31 +0000)]
Merge "Close file descriptors when executing sub-processes"

11 years agoMerge "Correct permissions on quantum-hyperv-agent"
Jenkins [Thu, 21 Feb 2013 18:17:10 +0000 (18:17 +0000)]
Merge "Correct permissions on quantum-hyperv-agent"

11 years agoMerge "Add pagination support for xml"
Jenkins [Thu, 21 Feb 2013 10:53:18 +0000 (10:53 +0000)]
Merge "Add pagination support for xml"

11 years agoMerge "Sync latest install_venv_common.py with olso"
Jenkins [Thu, 21 Feb 2013 07:34:23 +0000 (07:34 +0000)]
Merge "Sync latest install_venv_common.py with olso"

11 years agoAdd pagination support for xml
He Jie Xu [Thu, 7 Feb 2013 07:10:29 +0000 (15:10 +0800)]
Add pagination support for xml

Fixes bug 1130622

Change-Id: Id9f39daf634906ee222315586fc9a93916160c3f

11 years agoSync latest install_venv_common.py with olso
Isaku Yamahata [Thu, 21 Feb 2013 02:57:59 +0000 (11:57 +0900)]
Sync latest install_venv_common.py with olso

This patch syncs with oslo change set of
c78b2ab Avoid using cfg in install_venv_common

So that oslo-config isn't needed to run install_venv

Change-Id: Ia7ee923a53e09c0c6a525294ec4a5dc9d31c3bed
Fixes: bug #1131009
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 21 Feb 2013 00:06:21 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I0ac62f86d1f1b8203f5c1126872c47162f8a0c4f

11 years agoAdd check-nvp-config utility
Aaron Rosen [Tue, 19 Feb 2013 08:49:32 +0000 (00:49 -0800)]
Add check-nvp-config utility

Fixes bug 1130657

Change-Id: I514b92d53132d85144b5ed95450398bcfbf130f8

11 years agoClose file descriptors when executing sub-processes
Bob Kukura [Wed, 20 Feb 2013 21:12:24 +0000 (16:12 -0500)]
Close file descriptors when executing sub-processes

Pass close_fds=True to subprocess.Popen(), as is currently done in
nova.utils.execute().

Fixes bug #1130735

Change-Id: Iec21873d7ef3957847f3b7365fadd613ccf1349d

11 years agoMerge "Resolve branches in db migration scripts to G-3 release"
Jenkins [Wed, 20 Feb 2013 10:10:12 +0000 (10:10 +0000)]
Merge "Resolve branches in db migration scripts to G-3 release"

11 years agoAdd support Quantum Security Groups for Ryu plugin
Yoshihiro Kaneko [Thu, 14 Feb 2013 12:04:12 +0000 (21:04 +0900)]
Add support Quantum Security Groups for Ryu plugin

fix bug #1124965

This patch add support security-groups extension to Ryu plugin.

Change-Id: I569ab1e48517f28a5103175fd04e848f82eb2a3c

11 years agoResolve branches in db migration scripts to G-3 release
Akihiro MOTOKI [Wed, 20 Feb 2013 07:00:44 +0000 (16:00 +0900)]
Resolve branches in db migration scripts to G-3 release

Fixes bug #1129260

Change-Id: I5c70ee6d464f8fc0b2e4cdb4fc07464e150e10ff

11 years agoMerge "Implement MidoNet Quantum Plugin"
Jenkins [Wed, 20 Feb 2013 07:55:20 +0000 (07:55 +0000)]
Merge "Implement MidoNet Quantum Plugin"

11 years agoMerge "plugin/nec: Make sure resources on OFC is globally unique."
Jenkins [Wed, 20 Feb 2013 07:55:17 +0000 (07:55 +0000)]
Merge "plugin/nec: Make sure resources on OFC is globally unique."

11 years agoMerge "Routing table configuration support on L3"
Jenkins [Wed, 20 Feb 2013 07:55:10 +0000 (07:55 +0000)]
Merge "Routing table configuration support on L3"

11 years agoMerge "Raising error if invalid attribute passed in."
Jenkins [Wed, 20 Feb 2013 07:55:06 +0000 (07:55 +0000)]
Merge "Raising error if invalid attribute passed in."

11 years agoAdd Quantum support for NVP Layer-2 gateways
Salvatore Orlando [Mon, 26 Nov 2012 01:11:42 +0000 (17:11 -0800)]
Add Quantum support for NVP Layer-2 gateways

Blueprint nvp-nwgw-api

This patch adds an API extension, the relevant DB logic, and the NVP
plugin logic for managing a NVP-specific feature, Layer-2 Network
Gateway, through the Quantum API.
The proposed extension is meant to be used with the NVP plugin only.

Change-Id: I73a8f1782c345ca7f6dec2db36ba6f9299b30d04

11 years agoImplement MidoNet Quantum Plugin
Tomoe Sugihara [Wed, 13 Feb 2013 07:29:05 +0000 (16:29 +0900)]
Implement MidoNet Quantum Plugin

blueprint midonet-quantum-plugin

Change-Id: I4e22bdfed961cd10856d075a1e58cff3a216ce89
Signed-off-by: Tomoe Sugihara <tomoe@midokura.com>
Signed-off-by: Ryu Ishimoto <ryu@midokura.com>
Signed-off-by: Rossella Sblendido <rossella@midokura.com>
11 years agoMerge "Supporting pagination in api v2.0"
Jenkins [Tue, 19 Feb 2013 23:06:01 +0000 (23:06 +0000)]
Merge "Supporting pagination in api v2.0"

11 years agoRouting table configuration support on L3
Nachi Ueno [Thu, 17 Jan 2013 01:52:47 +0000 (17:52 -0800)]
Routing table configuration support on L3

Implements bp quantum-l3-routes

  -- Adding the extraroute extension
  -- Updating the routing table based on routes attribute on route
  -- Updated OVS plugin, linuxbridge plugin, metaplugin
     NEC plugin, Ryu plugin

  User can configure the routes through quantum client API by
  using the extension feature.
  sample
  quantum router-update <router_id> \
        --routes type=dict list=true destination=40.0.1.0/24,nexthop=10.1.0.10

Change-Id: I2a11486709e55d3143373858254febaabb93cfe8

11 years agoCorrect permissions on quantum-hyperv-agent
Aaron Rosen [Tue, 19 Feb 2013 22:23:46 +0000 (14:23 -0800)]
Correct permissions on quantum-hyperv-agent

Change-Id: I92bd869ed97f480a7f47069a90eece9b3ab0ad54

11 years agoMerge "Update latest OSLO files"
Jenkins [Tue, 19 Feb 2013 22:21:34 +0000 (22:21 +0000)]
Merge "Update latest OSLO files"

11 years agoMerge "Support Port Binding Extension in BigSwitch plugin"
Jenkins [Tue, 19 Feb 2013 21:50:15 +0000 (21:50 +0000)]
Merge "Support Port Binding Extension in BigSwitch plugin"

11 years agoMerge "Improve error handling when nvp and quantum are out of sync"
Jenkins [Tue, 19 Feb 2013 21:08:53 +0000 (21:08 +0000)]
Merge "Improve error handling when nvp and quantum are out of sync"

11 years agoRaising error if invalid attribute passed in.
Jason Zhang [Wed, 13 Feb 2013 02:40:12 +0000 (18:40 -0800)]
Raising error if invalid attribute passed in.

400 will be returned when invalid attributes
are passed into Quantum API.

Fixed the some test cases failed since the
enforcement of invalid attribute checking

Fixes: bug #1076179
Change-Id: I4e9e2891c444f9dcd051f7b325d3c9403b28db86

11 years agoSupport Port Binding Extension in BigSwitch plugin
Sumit Naiksatam [Mon, 18 Feb 2013 20:58:04 +0000 (12:58 -0800)]
Support Port Binding Extension in BigSwitch plugin

Bug #1100395

Change-Id: I7097c9f0df8742f947860098d4928d9fd328e14b

11 years agoExit if DHCP agent interface_driver is not defined
Gary Kotton [Tue, 19 Feb 2013 11:34:00 +0000 (11:34 +0000)]
Exit if DHCP agent interface_driver is not defined

Fixes bug 1130052

In addition to this:
Uses "raise  SystemExit()" instaed of the exit for the L3
agent.

Change-Id: I8130745c9de62619189e158944fa9e4ed25be774

11 years agoSupporting pagination in api v2.0
He Jie Xu [Thu, 1 Nov 2012 08:05:44 +0000 (16:05 +0800)]
Supporting pagination in api v2.0

Implements bp support-pagination-in-api-v2.0

Add sort and pagination feature for api v2.0.
*Add sort_key, sort_dir for sorting feature.
*Add limit, marker, page_reverse for pagination feature.
*Add emulated sorting and pagination

Native pagination and native sorting implemented for:
*plugins: ovs, linuxbridge
*extensions: l3 securitygroup

Emulated pagination and sorting enabled for:
extensions: lbaas

Change-Id: I28ec6ab7bcae9839cb42c6d60bbfff7250de13ed

11 years agoMerge "Modify dhcp agent for agent management extension"
Jenkins [Tue, 19 Feb 2013 14:47:34 +0000 (14:47 +0000)]
Merge "Modify dhcp agent for agent management extension"

11 years agoUpdate latest OSLO files
Gary Kotton [Tue, 19 Feb 2013 13:48:03 +0000 (13:48 +0000)]
Update latest OSLO files

Change-Id: I17844d2bc5f8255833e8a5b3dc9412041de12826

11 years agoMerge "Add unit test for ryu-agent"
Jenkins [Tue, 19 Feb 2013 13:15:23 +0000 (13:15 +0000)]
Merge "Add unit test for ryu-agent"

11 years agoModify dhcp agent for agent management extension
gongysh [Mon, 18 Feb 2013 08:42:34 +0000 (16:42 +0800)]
Modify dhcp agent for agent management extension

2nd part of blueprint quantum-scheduler

Remove openstack openstack listener on DHCP agent side.
Add DHCPagent notifier on quantum server side.

Change-Id: I196691650a99ba865bf06081a1fc4546f9fac7bd

11 years agoMerge "Metadata support for NVP plugin"
Jenkins [Tue, 19 Feb 2013 11:12:14 +0000 (11:12 +0000)]
Merge "Metadata support for NVP plugin"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 19 Feb 2013 00:06:18 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I61fc6f9782cfe5315034db0072c2fd3617d1e2b1

11 years agoMerge "Add routed-service-insertion"
Jenkins [Mon, 18 Feb 2013 23:34:00 +0000 (23:34 +0000)]
Merge "Add routed-service-insertion"

11 years agoMetadata support for NVP plugin
Salvatore Orlando [Thu, 14 Feb 2013 00:46:43 +0000 (16:46 -0800)]
Metadata support for NVP plugin

Bug #1121119

Allows the NVP plugin to leverage the metadata proxy, by creating an
ad-hoc topology for allowing access to a metadata proxy from a NVP
router leveraging existing agents.

This patch also removes previous code for metadata support in the
NVP plugin, which was based on DHCP Option 121. This is now provided
by the dhcp agent as well.

Change-Id: If37ef388e063f40bb06908ee2f72c431f29dac31

11 years agoMerge "Add an update option to run_tests.sh"
Jenkins [Mon, 18 Feb 2013 17:52:13 +0000 (17:52 +0000)]
Merge "Add an update option to run_tests.sh"

11 years agoAdd routed-service-insertion
Kaiwei Fan [Mon, 4 Feb 2013 03:22:21 +0000 (19:22 -0800)]
Add routed-service-insertion

Extend L3 router to add "service_type_id" attribute, and extend LB vip, pool,
and health_monitor to add "router_id" attribute.

Implements: API and DB model for blueprint routed-service-insertion
Change-Id: I12f053e0b0e6cf0813ea88dd568aae49b09b8215

11 years agoplugin/nec: Make sure resources on OFC is globally unique.
Akihiro MOTOKI [Thu, 31 Jan 2013 04:51:28 +0000 (13:51 +0900)]
plugin/nec: Make sure resources on OFC is globally unique.

Fixes bug 1127664

Network cannot be created in NEC plugin when OFC network ID is
unique inside a tenant. Some OFC implmenetations generate a network
ID unique inside a tenant. In this case generated network IDs on can
be duplicated in system-wide. To fix it, this changes resource ID on
OFC to REST URI to make sure IDs on OFC globally unique.

Fixes bug 1120962

Make sure NEC plugin creates shared networks

In Quantum resource relationship is not limited inside a tenant.
E.g., a non-owner tenant can create a port on a shared network.
To deal with it the provider layer should not be aware of tenants
each resource belongs to even when it has a kind of tenant concept.

This commit changes ofc_manager to pass a parent resource for resource
creation and identify a resouce by REST URI used to access OFC resources.
It decouples Quantum resource access model from OFC resource models.
OFC IDs created before this commit are also looked up.

Primary keys of OFC ID mapping tables are changed to quantum_id because
most of all accesses to these mapping tables are done by quantum_id.
However the current version of alembic does not support changing primary
keys, so new OFC ID mapping tables for tenant, network, port and packet
filter are created. Dropping the previous mapping tables will be done
along with the data migration logic.

This commit also changes the following minor issues.
- Make sure ID on ProgrammableFlow OpenFlow controller (PFC) is less than
  32 chars. The current PFC accepts only 31 chars max as ID and 127 chars
  as a description string.
- Some database accesses created their own session and did not support
  subtransactions. Make sure to use context.session passed from the API layer.
- Removes Unused methods (update_network, update_port) in trema/pfc drivers.

Change-Id: Ib4bb830e5f537c789974fa7b77f06eaeacb65333

11 years agoMerge "Fix SG interface to reflect the reality"
Jenkins [Mon, 18 Feb 2013 07:55:03 +0000 (07:55 +0000)]
Merge "Fix SG interface to reflect the reality"

11 years agoMerge "Agent management extension"
Jenkins [Mon, 18 Feb 2013 07:54:59 +0000 (07:54 +0000)]
Merge "Agent management extension"

11 years agoFix SG interface to reflect the reality
Tomoe Sugihara [Mon, 18 Feb 2013 06:24:55 +0000 (15:24 +0900)]
Fix SG interface to reflect the reality

The signitures of abstract methods in SecurityGroupPluginBase
has diverged from db mixin implementation.
This patch updates the methods to fix the divergence, mainly
by removing update method from the base. Note that there's an
issue for missing update(bug #1124865).

Fixes: bug #1119080
Change-Id: I6631b86ab2fdf4b81ad575e9a8f92dfe041ffe9a
Signed-off-by: Tomoe Sugihara <tomoe@midokura.com>
11 years agoMerge "Need to pass port['port'] to _get_tenant_id_for_create()"
Jenkins [Mon, 18 Feb 2013 04:58:28 +0000 (04:58 +0000)]
Merge "Need to pass port['port'] to _get_tenant_id_for_create()"

11 years agoAdd unit test for ryu-agent
Yoshihiro Kaneko [Thu, 7 Feb 2013 09:47:07 +0000 (18:47 +0900)]
Add unit test for ryu-agent

fixes bug #1118197

This patch adds unit test for ryu-agent.
Also, add the lacking test for the default configuration value.

Change-Id: I742b2a9dfc0706c0307365a3fe9496c3541fcf04

11 years agoAgent management extension
gongysh [Fri, 1 Feb 2013 12:30:12 +0000 (20:30 +0800)]
Agent management extension

1/3 part of blueprint quantum-scheduler

This patch adds agent management support
to l3-agent and plugin-agent (ovs and linuxbridge).

Change-Id: Iebc272f45c7530c995f32ef3729b11cd76779385

11 years agoNeed to pass port['port'] to _get_tenant_id_for_create()
Aaron Rosen [Mon, 18 Feb 2013 02:49:40 +0000 (18:49 -0800)]
Need to pass port['port'] to _get_tenant_id_for_create()

This change set I9ac44a8e moved this logic out of the transaction
which caused this bug. Unit tests did not catch this because
this error is caused on NVP since the tenant_id is passed in as a tag
and this change resulted in the tenant_id becoming None which is not
an allowed tag value. Will improve error handling and edge cases like
this to fake_nvpapiclient in different commit.

Change-Id: Ib0eaab1f389de98b335f58e9215981adbbf9e2ef

11 years agoImprove error handling when nvp and quantum are out of sync
Aaron Rosen [Sun, 17 Feb 2013 00:26:14 +0000 (16:26 -0800)]
Improve error handling when nvp and quantum are out of sync

Previouly when nvp and quantum were out of sync an exception would
be raised notifying the user of this. This patch changes the behavior so that
now when  elements are found in the quantum db but not in NVP they are
put into error state. In addition there error state elements are now able
to be deleted if not found in nvp.

This patch also removes outdated doc strings that seem to keep being adding.

Fixes bug 1127643

Change-Id: I3e79ab7a284e61623cd63fefc3755746b8e4dfd7

11 years agoDecouple helper functions from L3NatDBTestCase
Aaron Rosen [Sun, 17 Feb 2013 23:45:24 +0000 (15:45 -0800)]
Decouple helper functions from L3NatDBTestCase

In order to use the helper functions i.e _create_router in L3NatDBTestCase as
a mixin one needs to also run all the unit tests within L3NatDBTestCase.
These helper functions should be decoupled in the same way that
QuantumDbPluginV2TestCase() is done.

This patch also removes any unused variables within test_l3_plugin.py

Fixes bug 1128505

Change-Id: I2efe8547aeb31d5d9eb7eab6daeb75d9c37e8713

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 18 Feb 2013 00:05:57 +0000 (00:05 +0000)]
Imported Translations from Transifex

Change-Id: Idbce7514b924223d4c7ce682cf1dc2a494881236

11 years agoAdd Migration for nvp-qos extension
Aaron Rosen [Sun, 17 Feb 2013 21:36:27 +0000 (13:36 -0800)]
Add Migration for nvp-qos extension

Fixes bug 1128427

Change-Id: I0e3b62aee5842e86e5a776b54d015f889697efe4

11 years agoMerge "Use oslo-config-2013.1b3"
Jenkins [Sun, 17 Feb 2013 18:51:37 +0000 (18:51 +0000)]
Merge "Use oslo-config-2013.1b3"

11 years agoUse oslo-config-2013.1b3
Mark McLoughlin [Mon, 11 Feb 2013 00:00:19 +0000 (19:00 -0500)]
Use oslo-config-2013.1b3

The cfg API is now available via the oslo-config library, so switch to
it and remove the copied-and-pasted version.

Add the 2013.1b3 tarball to tools/pip-requires - this will be changed
to 'oslo-config>=2013.1' when oslo-config is published to pypi. This
will happen in time for grizzly final.

Remove the 'deps = pep8' from tox.ini as it means all the other deps
get installed with easy_install which can't install oslo-config from
the URL.

Retain dummy cfg.py file until keystoneclient middleware has been
updated (I18c450174277c8e2d15ed93879da6cd92074c27a).

Change-Id: I4815aeb8a9341a31a250e920157f15ee15cfc5bc

11 years agoShorten the DHCP default resync_interval
Gary Kotton [Sun, 17 Feb 2013 15:46:14 +0000 (15:46 +0000)]
Shorten the DHCP default resync_interval

Fixes bug 1128180

Change-Id: Ie63ef674b5e05fab659e675774a1b25cd57d4c41

11 years agoAdd nvp qos extension
Aaron Rosen [Wed, 13 Feb 2013 22:49:29 +0000 (14:49 -0800)]
Add nvp qos extension

Implements blueprint nvp-qos-extension

Change-Id: I8ad980128407c6ddb57e5f928663e0df15cc0065

11 years agoMerge "Allow nicira plugin to handle multiple NVP API versions"
Jenkins [Sun, 17 Feb 2013 02:32:07 +0000 (02:32 +0000)]
Merge "Allow nicira plugin to handle multiple NVP API versions"

11 years agoMerge "Unable to update port as non-admin nvp plugin"
Jenkins [Sun, 17 Feb 2013 01:01:44 +0000 (01:01 +0000)]
Merge "Unable to update port as non-admin nvp plugin"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sun, 17 Feb 2013 00:56:50 +0000 (00:56 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Add unit tests for Open vSwitch Quantum plugin"
Jenkins [Sun, 17 Feb 2013 00:52:21 +0000 (00:52 +0000)]
Merge "Add unit tests for Open vSwitch Quantum plugin"