]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoAdd support for moving ip/addresss/default gateway
Tomasz Paszkowski [Wed, 26 Jun 2013 12:40:46 +0000 (08:40 -0400)]
Add support for moving ip/addresss/default gateway

Add support from moving ip/addresss/default gateway from physical interface
which is going to be attached to bridge to bridge device itself.

Fixes: bug #1192122
Change-Id: I8a8bf5edc17a87dcb747626dd1d6817ac48cb20d

11 years agoMerge "Update to use OSLO db"
Jenkins [Wed, 26 Jun 2013 07:36:21 +0000 (07:36 +0000)]
Merge "Update to use OSLO db"

11 years agoMerge "Do not raise NEW exceptions"
Jenkins [Tue, 25 Jun 2013 15:54:13 +0000 (15:54 +0000)]
Merge "Do not raise NEW exceptions"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 25 Jun 2013 12:11:50 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I336530a54ca7154d0de43eccb87bc5b1c2202097

11 years agoUpdate to use OSLO db
Gary Kotton [Sat, 20 Apr 2013 12:18:02 +0000 (12:18 +0000)]
Update to use OSLO db

This code implements the blueprint oslo-db-support

NOTES:
1. The new section is database (this is backward compatible
   with DATABASE)
2. The sql_* are deprecated. They are also backward compatible.
3. Eventlets DB pool is no longer supported

Change-Id: I6fa7c3817f6a5d8bef48382e0e754b88521f2289

11 years agoDo not raise NEW exceptions
Sergey Vilgelm [Mon, 24 Jun 2013 11:26:50 +0000 (15:26 +0400)]
Do not raise NEW exceptions

Raising NEW exception is bad practice, because we lose TraceBack.
So all places like:

except SomeException as e:
    raise e

should be replaced by

except SomeException:
    raise

If we are doing some other actions before reraising we should
store information about exception then do all actions and then
reraise it. This is caused by eventlet bug. It lost information
about exception if it switch threads.

fixes bug 1191730

Change-Id: Id4aaadde7e69f0bc087cf6d96bb041d53feb131d

11 years agoMerge "replace use of dhcp_lease_time with dhcp_lease_duration"
Jenkins [Tue, 25 Jun 2013 01:41:22 +0000 (01:41 +0000)]
Merge "replace use of dhcp_lease_time with dhcp_lease_duration"

11 years agoConverts 'router' section to lowercase in bigswitch config
Kevin Benton [Mon, 24 Jun 2013 22:06:35 +0000 (15:06 -0700)]
Converts 'router' section to lowercase in bigswitch config

The restproxy.ini file contained an uppercase section
which is converted to lowercase by this patch to match
existing naming conventions.

Change-Id: Ib8eb69406cae3898c4c9f3fd106f8c7ffef06f01
Fixes: bug #1194296
11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 24 Jun 2013 12:11:53 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I9b95e89cfaf76537d98ada38fb795fbaf439c996

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 23 Jun 2013 12:11:49 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I49837fb8f8771c532c2fd09d67598ad839a2f7a3

11 years agoMerge "Remove single-version-externally-managed in setup.cfg"
Jenkins [Sun, 23 Jun 2013 06:03:32 +0000 (06:03 +0000)]
Merge "Remove single-version-externally-managed in setup.cfg"

11 years agoRemove single-version-externally-managed in setup.cfg
Matt Riedemann [Fri, 21 Jun 2013 20:10:09 +0000 (13:10 -0700)]
Remove single-version-externally-managed in setup.cfg

The single-version-externally-managed flag is no longer
a config option in pbr, it is now the default behaviour
in normal setuptools.

Change-Id: I5173d78680afca534b28cefa155636d9d695b1d9

11 years agoAdds support for router rules to Big Switch plugin
Kevin Benton [Thu, 6 Jun 2013 21:40:45 +0000 (14:40 -0700)]
Adds support for router rules to Big Switch plugin

Implements: blueprint bsn-router-rules

Adds bigswitch plugin extension which adds 'rules' dictionary to router objects.
Adds validation code and database components to store router rules
Adds configuration option to plugin to set default router rules and max router rules
Adds unit tests to test all router rule functionality
Adds database migration for router rules tables

The Big Switch controller's Virtual Router implementation supports "routing rules"
which are of the form:
<source, destination, next-hop, action>
This extension aims to expose this abstraction via the Big Switch Quantum plugin.

These rules are applied at the router level, allowing tenants to control
communication between networks at a high level without requiring security policies.
(e.g. prevent servers in a publicly accessible subnet from communicating with
database servers).

Change-Id: I37a2740dca93b0a8b5111764458d39f1c2b885ce

11 years agoMerge "Always include tenant_id in port delete request"
Jenkins [Fri, 21 Jun 2013 15:38:12 +0000 (15:38 +0000)]
Merge "Always include tenant_id in port delete request"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 21 Jun 2013 15:34:32 +0000 (15:34 +0000)]
Merge "Imported Translations from Transifex"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 21 Jun 2013 12:11:54 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: If16f987872d2ccc00d7efe486b721d4702864220

11 years agoFix haproxy plugin_driver.update_health_monitor() signature
Oleg Bondarev [Thu, 13 Jun 2013 12:28:38 +0000 (16:28 +0400)]
Fix haproxy plugin_driver.update_health_monitor() signature

- add old_health_monitor parameter to the method
- the method signature in abstract lbaas driver was also changed
  to accept pool_id rather than an assoc object as driver only needs pool_id

Fixes bug 1190577

Change-Id: Ie199f46e089a16214ed649a3169e985a726e5d99

11 years agoMerge "Adds default route to DHCP namespace for upstream name resolution."
Jenkins [Thu, 20 Jun 2013 23:39:54 +0000 (23:39 +0000)]
Merge "Adds default route to DHCP namespace for upstream name resolution."

11 years agoMerge "Fix single-version-externally-mananged typo in setup.cfg"
Jenkins [Thu, 20 Jun 2013 20:01:11 +0000 (20:01 +0000)]
Merge "Fix single-version-externally-mananged typo in setup.cfg"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 20 Jun 2013 16:34:47 +0000 (16:34 +0000)]
Merge "Imported Translations from Transifex"

11 years agoFix single-version-externally-mananged typo in setup.cfg
Matt Riedemann [Thu, 20 Jun 2013 15:33:06 +0000 (08:33 -0700)]
Fix single-version-externally-mananged typo in setup.cfg

Corrects the typo in setup.cfg to use single-version-externally-managed
for pbr.

Fixes bug 1192987

Change-Id: I039b51897ec180148e5095349e4567759f2711a5

11 years agoMerge "Fix IP spoofing filter blocking all packets."
Jenkins [Thu, 20 Jun 2013 12:59:15 +0000 (12:59 +0000)]
Merge "Fix IP spoofing filter blocking all packets."

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 20 Jun 2013 12:11:53 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I5981d9309ebfec257a82b579828af96c359fb85d

11 years agoreplace use of dhcp_lease_time with dhcp_lease_duration
Darren Birkett [Wed, 19 Jun 2013 12:37:02 +0000 (12:37 +0000)]
replace use of dhcp_lease_time with dhcp_lease_duration

Having 2 separate dhcp lease period flags (dhcp_lease_duration
used by the quantum db plugin, and dhcp_lease_time used by the
dnsmasq dhcp agent) means that you could potentially have different
lease periods being set, and used by different parts of the codebase.

It seems to me there is no real need to have 2 separate flags, so this
commit basically replaces references to dhcp_lease_time (which is used
by the dnsmasq dhcpagent) with dhcp_lease_duration. This way, there
is only one flag to set, and both the quantum db plugin and dnsmasq
dhcp agent will use the same lease period.

Change-Id: Ia99dfa9284b6e737144f61a80c59cd898c0949bb
Fixes: bug #1192550
11 years agoMake sure exceptions during policy checks are logged.
armando-migliaccio [Mon, 17 Jun 2013 20:33:46 +0000 (13:33 -0700)]
Make sure exceptions during policy checks are logged.

If the invocation of f bombs out, the policy check fails (i.e. returns
False), however it does not log the root cause, which makes very
difficult to understand why this is happening.

Fixes bug #1191948

Change-Id: Ic40053f3965b71199baf9fe3902e8ffc9745076f

11 years agoAdds default route to DHCP namespace for upstream name resolution.
Carl Baldwin [Fri, 31 May 2013 20:44:14 +0000 (20:44 +0000)]
Adds default route to DHCP namespace for upstream name resolution.

Any time the DHCP server is updated this code will maintain a default
route in the DHCP namespace using the gateway_ip attribute of the
first DHCP-enabled IPV4 subnet in the list of subnets where gateway_ip
is not None.  This strategy uses the same gateway ip that the DHCP
server hands to the VMs on the network.

Change-Id: I0807550a848e1b610c7775d215643ad9c83629ed
Fixes: Bug #1181378
11 years agoMerge "Fix TestNecAgentMain not to call sys.exit()"
Jenkins [Wed, 19 Jun 2013 14:25:33 +0000 (14:25 +0000)]
Merge "Fix TestNecAgentMain not to call sys.exit()"

11 years agoMerge "Reference default_servicetype group in lowercase"
Jenkins [Wed, 19 Jun 2013 13:36:26 +0000 (13:36 +0000)]
Merge "Reference default_servicetype group in lowercase"

11 years agoMerge "Allow use of lowercase section names in conf files"
Jenkins [Wed, 19 Jun 2013 13:35:29 +0000 (13:35 +0000)]
Merge "Allow use of lowercase section names in conf files"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 19 Jun 2013 12:11:53 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: Ic05603ef37a6be3f5482f5b268958eedf4a6eaa1

11 years agoFix TestNecAgentMain not to call sys.exit()
Roman Bogorodskiy [Tue, 18 Jun 2013 17:12:27 +0000 (13:12 -0400)]
Fix TestNecAgentMain not to call sys.exit()

test_main() was calling sys.exit() killing test running
and not allowing tests to complete in a proper way.

Drop explicit sys.exit() call from net agent's main() and
fix outdated mocks in test_main().

Fixes bug #1192270

Change-Id: Iea8d5508f73eb9144e452de3305f2dec4c2a319c

11 years agoAlways include tenant_id in port delete request
Kevin Benton [Tue, 18 Jun 2013 19:10:07 +0000 (12:10 -0700)]
Always include tenant_id in port delete request

Quantum does not include the tenant_id in port objects for floating IP addresses.
However, the Big Switch backend requires the tenant_id in the port removal requests.
This looks up the correct tenant_id whenever it is missing in the port removal.

Change-Id: I7580ed2f545ad2d92b831b65dfbb34541bf465aa
Fixes: bug #1190020
11 years agoReference default_servicetype group in lowercase
Mark McLoughlin [Tue, 18 Jun 2013 10:44:06 +0000 (11:44 +0100)]
Reference default_servicetype group in lowercase

Now that we require oslo-config-1.2.0, we can start referencing group
names as lowercase. Let's start with the default_servicetype group.

We do this simply by changing the case of the group name passed to
register_opt():

  -cfg.CONF.register_opts(..., 'DEFAULT_SERVICETYPE')
  +cfg.CONF.register_opts(..., 'default_servicetype')

and this means that all options in the group now need to be referenced
using the lowercase group name i.e.

  -svc_defs = cfg.CONF.DEFAULT_SERVICETYPE.service_definition
  +svc_defs = cfg.CONF.default_servicetype.service_definition

Note however, users can still use the uppercase section name for
backwards compatibility.

When we last attempted to do this, oslo.config-1.2.0 wasn't actually
being installed correctly so add a unit test which verifies that both
uppercase and lowercase section names work.

Change-Id: I9357397f39d8f7d0d4f445b78aae5665c7ece3d4

11 years agoAllow use of lowercase section names in conf files
Mark McLoughlin [Tue, 18 Jun 2013 10:44:06 +0000 (11:44 +0100)]
Allow use of lowercase section names in conf files

Fixes bug #1189889

oslo.config-1.2.0 normalizes section names in config files to lowercase.
This means that simply by upgrading to oslo.config-1.2.0, users will now
be able to do e.g.

  [default_servicetype]
  description = ...
  service_definition = ...

Change the default config files to make it clear we recommend the use of
lowercase section names.

Note, the use of an alpha tarball of oslo.config requires pbr>=0.5.15
but we already require >=0.5.16.

DocImpact

Change-Id: Ia47fb3d168da71d3221b25979f8c9257d70dd64d

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 18 Jun 2013 12:11:53 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I7566406d89c2eda65be77306033f3034e3cb9abd

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

Change-Id: I2574deaf76efd729c53b7a68632bbd62d629155d

11 years agoFix IP spoofing filter blocking all packets.
Anton Frolov [Fri, 14 Jun 2013 17:01:50 +0000 (21:01 +0400)]
Fix IP spoofing filter blocking all packets.

Implement IP spoofing filter by adding yet another chain to iptables
with RETURN rule for each of IP addresses assigned to port and DROP
rule at the end of the chain.

Fixes: bug #1190613
Change-Id: I2e7a0f8dd4c3519c57d28e87a44735a3482624b1

11 years agoCorrect log message in l3_rpc_agent_api
Akihiro MOTOKI [Sun, 16 Jun 2013 07:45:56 +0000 (16:45 +0900)]
Correct log message in l3_rpc_agent_api

Fixes bug #1191623

Change-Id: Ib692a62d6f557ab9a50da1d888e291e3e24871fb

11 years agoMerge "Require pbr 0.5.16 or newer"
Jenkins [Mon, 17 Jun 2013 02:26:52 +0000 (02:26 +0000)]
Merge "Require pbr 0.5.16 or newer"

11 years agoRequire pbr 0.5.16 or newer
Jordan Tardif [Sun, 16 Jun 2013 22:01:19 +0000 (15:01 -0700)]
Require pbr 0.5.16 or newer

Use a version of pbr greater then 0.5.15. Earlier versions have problems
when alpha tarballs are used as dependencies.

Fixes bug 1191155

Change-Id: I889358ae746761b282c5933c53bce10017be4c57

11 years agoMerge "Update to the latest stevedore"
Jenkins [Sun, 16 Jun 2013 14:01:11 +0000 (14:01 +0000)]
Merge "Update to the latest stevedore"

11 years agoUpdate to the latest stevedore
Gary Kotton [Sun, 16 Jun 2013 13:03:56 +0000 (13:03 +0000)]
Update to the latest stevedore

Use a version of stevedore that does not try to
install distribute.

The requirements change is in https://review.openstack.org/#/c/32738/

Change-Id: If39d886cb68044871617600650ef8546635143bc

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 16 Jun 2013 12:11:51 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: Ia89635fa01778f8d4ae8695fce2e6dbd264ebd37

11 years agoMerge "set default for gw conn info in nvp_networkgw extension"
Jenkins [Sun, 16 Jun 2013 10:18:48 +0000 (10:18 +0000)]
Merge "set default for gw conn info in nvp_networkgw extension"

11 years agoMerge "Enable attribute-based policy on router:external_gateway_info"
Jenkins [Sun, 16 Jun 2013 06:55:31 +0000 (06:55 +0000)]
Merge "Enable attribute-based policy on router:external_gateway_info"

11 years agoMerge "Remove code duplication from loadbalancer db plugin"
Jenkins [Sun, 16 Jun 2013 06:11:47 +0000 (06:11 +0000)]
Merge "Remove code duplication from loadbalancer db plugin"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sun, 16 Jun 2013 04:11:53 +0000 (04:11 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Fix branch in db migration scripts"
Jenkins [Sat, 15 Jun 2013 22:54:42 +0000 (22:54 +0000)]
Merge "Fix branch in db migration scripts"

11 years agoMerge "Rename agent_loadbalancer directory to loadbalancer"
Jenkins [Sat, 15 Jun 2013 21:07:28 +0000 (21:07 +0000)]
Merge "Rename agent_loadbalancer directory to loadbalancer"

11 years agoRemove code duplication from loadbalancer db plugin
Eugene Nikanorov [Sat, 15 Jun 2013 18:40:55 +0000 (22:40 +0400)]
Remove code duplication from loadbalancer db plugin

Use _get_resource instead of duplicating code that fetches pools

fixes bug 1191406

Change-Id: I380c97a2ece0536b49891ac797ec7170e44a6a20

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 15 Jun 2013 12:11:11 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: Iacf83194136e2d01945e5ef080d0458b942751f1

11 years agoMerge "Reduce plugin accesses from policy engine"
Jenkins [Sat, 15 Jun 2013 01:44:42 +0000 (01:44 +0000)]
Merge "Reduce plugin accesses from policy engine"

11 years agoRename agent_loadbalancer directory to loadbalancer
Eugene Nikanorov [Thu, 13 Jun 2013 18:54:59 +0000 (22:54 +0400)]
Rename agent_loadbalancer directory to loadbalancer

Fix missing path changes

Fixes bug 1179276

Change-Id: I889eeac8013de67fccbac9bfa745a56e7f859756

11 years agoEnable attribute-based policy on router:external_gateway_info
Salvatore Orlando [Fri, 31 May 2013 15:28:35 +0000 (17:28 +0200)]
Enable attribute-based policy on router:external_gateway_info

Bug 1186081

This patch also removes a check on is_write in policy.py since
the code block where that check is placed assumed already that
is_write == True

Change-Id: I21c54f63e1948675f67afb088c262dc5316c230d

11 years agoset default for gw conn info in nvp_networkgw extension
Salvatore Orlando [Thu, 23 May 2013 14:31:36 +0000 (16:31 +0200)]
set default for gw conn info in nvp_networkgw extension

Bug 1183285

This patch simply guarantees default segmentation type and
id in gateway connection info for the 'connect' and 'disconnect'
actions are correctly set respectively to 'flat' and 0.

Change-Id: I1b4e8274651e05f4681878ab70daef990ece901b

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 14 Jun 2013 12:11:12 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I00bce7b7069d0ff8f2d62633b502103bd5e62abd

11 years agoFix branch in db migration scripts
Oleg Bondarev [Fri, 14 Jun 2013 10:14:04 +0000 (14:14 +0400)]
Fix branch in db migration scripts

Fixes bug 1190942

Change-Id: I9eea3988518694922130992b547dc19768e0d005

11 years agoMerge "Remove unit tests that are no longer run."
Jenkins [Fri, 14 Jun 2013 03:15:03 +0000 (03:15 +0000)]
Merge "Remove unit tests that are no longer run."

11 years agoMerge "xenapi: fix rootwrap"
Jenkins [Fri, 14 Jun 2013 01:25:17 +0000 (01:25 +0000)]
Merge "xenapi: fix rootwrap"

11 years agoRemove unit tests that are no longer run.
HenryVIII [Fri, 14 Jun 2013 00:03:20 +0000 (20:03 -0400)]
Remove unit tests that are no longer run.

A long time ago, quantum/tests/unit became the home for all unit
tests, but these ones in the Cisco plugin directory got left
behind. They have suffered bit-rot and need to be removed.

Also:
- Move the fake Nexus driver to new home.
- Filed new bugs to track the task of improving unit test coverage of
  Cisco plugin code.

Fixes: bug #1174311
Change-Id: I372e24aebbe1804e5b6ce62984bfd76b030a44b1

11 years agoMerge "Remove wrong reference to object attribute in nvplib"
Jenkins [Thu, 13 Jun 2013 20:38:11 +0000 (20:38 +0000)]
Merge "Remove wrong reference to object attribute in nvplib"

11 years agoMerge "Rename agent_loadbalancer directory to loadbalancer"
Jenkins [Thu, 13 Jun 2013 20:38:01 +0000 (20:38 +0000)]
Merge "Rename agent_loadbalancer directory to loadbalancer"

11 years agoMerge "Update with latest OSLO code"
Jenkins [Thu, 13 Jun 2013 18:35:21 +0000 (18:35 +0000)]
Merge "Update with latest OSLO code"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 13 Jun 2013 12:11:13 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: Id74e6964c4e8ca6b47b0ad43cde17beac162e2de

11 years agoRename agent_loadbalancer directory to loadbalancer
Eugene Nikanorov [Thu, 13 Jun 2013 09:40:05 +0000 (13:40 +0400)]
Rename agent_loadbalancer directory to loadbalancer

Rename agent_loadbalancer directory to loadbalancer. and move
plugings/services directory one level up.
Fix tests and imports accordingly

fixes bug 1179276

Change-Id: If9e027b00824d612dfdd03e47efa9c08e419f205

11 years agoMake reference lbaas implementation as a pluggable driver
Eugene Nikanorov [Sun, 5 May 2013 02:34:44 +0000 (06:34 +0400)]
Make reference lbaas implementation as a pluggable driver

implements blueprint multi-vendor-support-for-lbaas-step1

This patch implements the following changes:
 * merge lbaas_plugin.py and plugin.py into 'plugin.py'
   After that the default 'reference' implementation is available again.
 * move all code related to reference implementation from plugin.py to
   drivers/haproxy/plugin_driver.py
 * Inherit HaproxyOnHostPluginDriver from abstract driver and implement
   its interface.
 * modify tests accordingly

Change-Id: Ib4bfe286826acdedeadbeeff4713448c073378d2

11 years agoRemove wrong reference to object attribute in nvplib
armando-migliaccio [Tue, 11 Jun 2013 07:05:13 +0000 (00:05 -0700)]
Remove wrong reference to object attribute in nvplib

Plus, added negative tests that were not covering the
exception handling bits.

Fixes bug #1189730

Change-Id: I5df914c6b748a03816217336431c2b0b597481b5

11 years agoMerge "Remove explicit distribute depend."
Jenkins [Wed, 12 Jun 2013 19:42:56 +0000 (19:42 +0000)]
Merge "Remove explicit distribute depend."

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 12 Jun 2013 16:05:39 +0000 (16:05 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Add support for VXLAN to the Open vSwitch plugin."
Jenkins [Wed, 12 Jun 2013 15:47:57 +0000 (15:47 +0000)]
Merge "Add support for VXLAN to the Open vSwitch plugin."

11 years agoMerge "Ensure to remove auto delete ports from OFC in NEC plugin"
Jenkins [Wed, 12 Jun 2013 15:12:23 +0000 (15:12 +0000)]
Merge "Ensure to remove auto delete ports from OFC in NEC plugin"

11 years agoUpdate with latest OSLO code
Gary Kotton [Wed, 12 Jun 2013 13:20:46 +0000 (13:20 +0000)]
Update with latest OSLO code

Change-Id: I54c0f6fa0489f0ef20187adf87f720e48ce1626c

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 12 Jun 2013 12:11:13 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: Ia5f18e90d6df17c1b4d758fa949259d8af489e5d

11 years agoEnsure to remove auto delete ports from OFC in NEC plugin
Akihiro MOTOKI [Wed, 12 Jun 2013 08:18:55 +0000 (17:18 +0900)]
Ensure to remove auto delete ports from OFC in NEC plugin

When deleting a network, dhcp ports are removed automatically
in db_plugin. This causes a failure network deletion since the
corresponding port exists on OFC and the network on OFC cannot
be deleted unless a subnet on the network is deleted explicitly.
This commit gets auto-delete ports and delete the corresponding
ports on the controller before deleting the network.

Fixes bug #1190163

Change-Id: Ifffaa1a28b5fac0b0a98036a926550255cc25c9d

11 years agoAdding SVI support to the Cisco Nexus plugin
Arvind Somya [Wed, 22 May 2013 17:27:48 +0000 (10:27 -0700)]
Adding SVI support to the Cisco Nexus plugin

Adding support to create vlan SVI gateways on Cisco Nexus hardware switches.

blueprint cisco-plugin-svi

Change-Id: I88516f3e67d51d213fa60f6ec9aee23f9ca4be97

11 years agoMerge "Improve detection of config errors in nvp.ini file"
Jenkins [Wed, 12 Jun 2013 07:54:33 +0000 (07:54 +0000)]
Merge "Improve detection of config errors in nvp.ini file"

11 years agoMerge "Use Python 3.x compatible octal literals"
Jenkins [Wed, 12 Jun 2013 01:18:14 +0000 (01:18 +0000)]
Merge "Use Python 3.x compatible octal literals"

11 years agoImprove detection of config errors in nvp.ini file
armando-migliaccio [Tue, 11 Jun 2013 19:47:48 +0000 (12:47 -0700)]
Improve detection of config errors in nvp.ini file

Detect if default params specified in the config file match
what it is returned by NVP.

Fixes bug #1190032

Change-Id: I8084dc938726e050ba82410cbc02a161cc0aa17f

11 years agoRemove explicit distribute depend.
Monty Taylor [Tue, 11 Jun 2013 18:38:57 +0000 (11:38 -0700)]
Remove explicit distribute depend.

Causes issues with the recent re-merge with setuptools. Advice from
upstream is to stop doing explicit depends.

Change-Id: Idb465068d25433582b8579a3ea96293f23368708

11 years agoMerge "Protect PoolStats table from negative values."
Jenkins [Tue, 11 Jun 2013 15:19:50 +0000 (15:19 +0000)]
Merge "Protect PoolStats table from negative values."

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 11 Jun 2013 12:11:32 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I8df971702d0709ed90db12b3f1ffff75b4931c5a

11 years agoProtect PoolStats table from negative values.
Avishay Balderman [Tue, 11 Jun 2013 08:52:20 +0000 (01:52 -0700)]
Protect PoolStats table from negative values.

Fixes: bug #1188959
Change-Id: I67038734dae5dc29e5c0666fdc98827dfd50b678

11 years agoMerge "Expose most common QueuePoll parameters from SQLAlchemy"
Jenkins [Mon, 10 Jun 2013 16:42:11 +0000 (16:42 +0000)]
Merge "Expose most common QueuePoll parameters from SQLAlchemy"

11 years agoMerge "Hide lock_prefix argument using synchronized_with_prefix()"
Jenkins [Mon, 10 Jun 2013 16:17:37 +0000 (16:17 +0000)]
Merge "Hide lock_prefix argument using synchronized_with_prefix()"

11 years agoMerge "Fix and enable H90x tests"
Jenkins [Mon, 10 Jun 2013 16:16:51 +0000 (16:16 +0000)]
Merge "Fix and enable H90x tests"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 10 Jun 2013 12:11:28 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I076ac10aa31a43369a100acfe72b6737a53c26ee

11 years agoAdd support for VXLAN to the Open vSwitch plugin.
Kyle Mestery [Fri, 17 May 2013 20:04:19 +0000 (15:04 -0500)]
Add support for VXLAN to the Open vSwitch plugin.

This commit adds support for utilizing the VXLAN tunneling protocol in versions
of Open vSwitch >= 1.10. This is configurable and will default to GRE if not
configured. As part of this commit, it is possible to configure the UDP port
VXLAN will utilize as well. VXLAN and GRE cannot be configured at the same
time with this patch. 2 new configuration file options are added to the AGENT
section of the config to support this: 'tunnel_type' and 'vxlan_udp_port'.
In addition, the agent no longer makes use of enable_tunneling, as this can
be determined if tunnel_type is set.

Note: The VXLAN functionality utilized here is what is implemented in Open
vSwitch itself, and is different than the VXLAN functionality in the
upstream Linux kernel. The code validates both the userspace and kernel
pieces of OVS to verify if VXLAN functionality can be supported on the
running system

Implements blueprint ovs-vxlan-lisp-tunnel

Change-Id: I45d49d5d6463e574922c7f50d6499c6bdb6c862c

11 years agoHide lock_prefix argument using synchronized_with_prefix()
Zhongyue Luo [Tue, 14 May 2013 09:17:46 +0000 (17:17 +0800)]
Hide lock_prefix argument using synchronized_with_prefix()

The lockfile module has a new convenience API which sets the lockfile prefix.
Using this API, the prefix is not required everytime synchronized is used.
This enables for projects to have consistant prefixes on their lockfiles

Change-Id: I4bc3f28a9ed2a6e2438a90f163bbde081211062c

11 years agoMerge "Add support for protocol numbers"
Jenkins [Mon, 10 Jun 2013 06:30:23 +0000 (06:30 +0000)]
Merge "Add support for protocol numbers"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 9 Jun 2013 12:11:27 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: Ied5f298513ecf312e0cb6dcd5bc0740e869f44d9

11 years agoFix and enable H90x tests
Dirk Mueller [Sun, 9 Jun 2013 11:50:49 +0000 (13:50 +0200)]
Fix and enable H90x tests

Only triggering in few places that are easy
to fix. Start gating on those checks.

Change-Id: Ib4ff23159bd83fd3455b5357d5338fe37ca23fa2

11 years agoMerge "Change lazy='dynamic' to 'joined' in models_v2"
Jenkins [Sun, 9 Jun 2013 09:09:08 +0000 (09:09 +0000)]
Merge "Change lazy='dynamic' to 'joined' in models_v2"

11 years agoMerge "Sync Qpid RPC fix from Oslo"
Jenkins [Sun, 9 Jun 2013 07:54:31 +0000 (07:54 +0000)]
Merge "Sync Qpid RPC fix from Oslo"

11 years agoMerge "Remove generic Exception when using assertRaises"
Jenkins [Sun, 9 Jun 2013 07:54:22 +0000 (07:54 +0000)]
Merge "Remove generic Exception when using assertRaises"

11 years agoChange lazy='dynamic' to 'joined' in models_v2
Aaron Rosen [Wed, 5 Jun 2013 00:19:07 +0000 (17:19 -0700)]
Change lazy='dynamic' to 'joined' in models_v2

Previously several models were defined with lazy='dynamic'. This would
then cause Ports.fixed_ips (or w/e was specified as dynamic) to be defined
as a AppenderQuery object and when accessed would query for the result.
Therefore in get_ports() for example, when fixed_ips was accessed
in _make_port_dict() we would be issuing an addition query to the database
to lookup the fixed_ips information.

This patch changes update_port/subnet() so that it keeps track of what
changed so it does not have to query the db for values it should already
know about.

This patch also adds a unit test for update_subnet() adding host routes
where there was missing code coverage.

Implements blueprint improve-db-performance

Change-Id: I0b2214604042a1fd362cbbf3fd70e31adf0ce279

11 years agoUse Python 3.x compatible octal literals
Dirk Mueller [Sat, 8 Jun 2013 11:17:03 +0000 (13:17 +0200)]
Use Python 3.x compatible octal literals

Python 3.x deprecated octal literals in the form 0755.
Use the Python 2.x compatible version 0o755 instead.

Change-Id: I90ea601847752ae04d4e403ffa16a537efe442e2

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 8 Jun 2013 12:11:34 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I2ea142c1e98123806ed3f15e1ab01e1cfd7c64b8

11 years agoMerge "Handle portinfo msg after port deletion in NEC plugin"
Jenkins [Sat, 8 Jun 2013 10:14:55 +0000 (10:14 +0000)]
Merge "Handle portinfo msg after port deletion in NEC plugin"

11 years agoMerge "nicira plugin: load subnet once when adding router interface"
Jenkins [Sat, 8 Jun 2013 06:37:44 +0000 (06:37 +0000)]
Merge "nicira plugin: load subnet once when adding router interface"

11 years agoMerge "Nicira plugin: always fetch lports from correct lswitch"
Jenkins [Sat, 8 Jun 2013 06:33:54 +0000 (06:33 +0000)]
Merge "Nicira plugin: always fetch lports from correct lswitch"