]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoLBaaS Agent Reference Implementation
Mark McClain [Sun, 24 Feb 2013 12:55:06 +0000 (07:55 -0500)]
LBaaS Agent Reference Implementation

implements blueprint lbaas-namespace-agent

This a reference implemention of the Quantum load balancing service
using HAProxy.  The implemention is designed for vendors, developers,
and deployers to become familiar with the API and service workflow.

This change also adds some constraint checks for data integrity.

Change-Id: I10a67da11840477ccf063b98149f4f77248802a1

11 years agoMerge "create a Quantum port to reserve VIP address"
Jenkins [Wed, 27 Feb 2013 23:49:44 +0000 (23:49 +0000)]
Merge "create a Quantum port to reserve VIP address"

11 years agoMerge "NVP plugin support for dhcp network scheduling"
Jenkins [Wed, 27 Feb 2013 23:38:17 +0000 (23:38 +0000)]
Merge "NVP plugin support for dhcp network scheduling"

11 years agocreate a Quantum port to reserve VIP address
Mark McClain [Mon, 18 Feb 2013 04:31:02 +0000 (23:31 -0500)]
create a Quantum port to reserve VIP address

fixes bug 1129672

The API previously allowed a VIP to be created without verifying that
the tenant had access to the subnet and that the address was valid and
available.  This change modifies VIP creation behavior to create a
Quantum port with the requested address.  If an address is not provided, an
address is allocated using the normal allocation process for the subnet.

This change also renames the port attribute to protocol_port to remove the
ambiguity about which type of port it represents.

Additional tests were added to validate the change in behavior.

Change-Id: Ib19ef653887da568364b4faa0d2c0fac30970b5f

11 years agoNVP plugin support for dhcp network scheduling
Dan Wendlandt [Wed, 27 Feb 2013 21:47:14 +0000 (13:47 -0800)]
NVP plugin support for dhcp network scheduling

blueprint quantum-scheduler

Note: since NVP already support scale-out + high availability for L3
this only implements scheduling for dhcp.

Also, we do not expose the API extension, just use the internal
auto-scheduling.

Change-Id: Ifd29439fd463972ae085e5d28ed1893f94f2a2d8

11 years agoMerge "Fix retrieval of shared networks"
Jenkins [Wed, 27 Feb 2013 21:32:47 +0000 (21:32 +0000)]
Merge "Fix retrieval of shared networks"

11 years agoMerge "NVP Router: Do no perfom SNAT on E-W traffic"
Jenkins [Wed, 27 Feb 2013 21:30:14 +0000 (21:30 +0000)]
Merge "NVP Router: Do no perfom SNAT on E-W traffic"

11 years agoMerge "Add scheduling feature basing on agent management extension"
Jenkins [Wed, 27 Feb 2013 17:43:19 +0000 (17:43 +0000)]
Merge "Add scheduling feature basing on agent management extension"

11 years agoMerge "Port update with existing ip_address only causes exception"
Jenkins [Wed, 27 Feb 2013 17:37:14 +0000 (17:37 +0000)]
Merge "Port update with existing ip_address only causes exception"

11 years agoAdd scheduling feature basing on agent management extension
gongysh [Fri, 22 Feb 2013 15:34:57 +0000 (23:34 +0800)]
Add scheduling feature basing on agent management extension

3rd part of blueprint quantum-scheduler

1. Allow networks to be hosted by certain dhcp agents.
Network to dhcp agent is a
many to many relationship. Provide a simple
scheduler to schedule a network randomly
to an active dhcp agent when a network or port is created.
2. Allow admin user to (de)schedule network to a
certain dhcp agent manually.
3. Allow routers to be hosted by a certain l3 agent.
Router to l3 agent is a many to one relationship.
Provide a simple scheduler to
schedule a router to l3 agent if the router is not
scheduled when the router is  updated.
4. Auto schedule networks and routers to agents when agents
start.
5. Only support ovs plugin at this point

Change-Id: Iddec3ea9d4c0fe2d51a59f7db47145722fc5a1cd

11 years agoMerge "Limit amount of fixed ips per port"
Jenkins [Wed, 27 Feb 2013 06:42:55 +0000 (06:42 +0000)]
Merge "Limit amount of fixed ips per port"

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 agoNVP Router: Do no perfom SNAT on E-W traffic
Salvatore Orlando [Wed, 27 Feb 2013 01:28:25 +0000 (02:28 +0100)]
NVP Router: Do no perfom SNAT on E-W traffic

Bug 1130053

This patch ensures 'No Snat' rules are enforced in order to avoid source
natting on east-west traffic.

Change-Id: I967e72e7b6bc8e2763c0fbdf6deeafb43ff27f54

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 agoFix retrieval of shared networks
Salvatore Orlando [Tue, 22 Jan 2013 16:30:02 +0000 (08:30 -0800)]
Fix retrieval of shared networks

Bug 1130171

This patch adds a new tag_scope, 'shared', in order to allow
the NVP plugin to retrieve also shared networks from NVP when
listing networks. This way it won't appear as Quantum has a
network without a corresponding lswitch in NVP

Change-Id: I24f950d54c0b9e582c92e8008e75ebd00f6c9fe3

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 agoLimit amount of fixed ips per port
Gary Kotton [Sun, 24 Feb 2013 13:20:14 +0000 (13:20 +0000)]
Limit amount of fixed ips per port

Fixes bug 1100476

The patch also updates the quantum configuration file to
contain the following:
 - max number of host routes
 - max number of dns servers

Change-Id: Ic5d90034b0231687dfbde8fc65780ab52222c0fd

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 agoPort update with existing ip_address only causes exception
Gary Kotton [Mon, 25 Feb 2013 16:04:13 +0000 (16:04 +0000)]
Port update with existing ip_address only causes exception

Fixes bug 1132852

Change-Id: Iedb0dce3ece270eb0a58af6aa8800e2047dc920d

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()"