]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoMerge "NEC plugin: Fix nec-agent unexpected exit due to RPC exception" into milestone...
Jenkins [Wed, 9 Oct 2013 20:57:57 +0000 (20:57 +0000)]
Merge "NEC plugin: Fix nec-agent unexpected exit due to RPC exception" into milestone-proposed

11 years agoMerge "Add clear_db to cleanup for TestCiscoNexusPlugin" into milestone-proposed
Jenkins [Wed, 9 Oct 2013 16:00:28 +0000 (16:00 +0000)]
Merge "Add clear_db to cleanup for TestCiscoNexusPlugin" into milestone-proposed

11 years agoMerge "Update ML2 README file for havana" into milestone-proposed
Jenkins [Wed, 9 Oct 2013 16:00:18 +0000 (16:00 +0000)]
Merge "Update ML2 README file for havana" into milestone-proposed

11 years agoAdd clear_db to cleanup for TestCiscoNexusPlugin
Sean McCully [Wed, 2 Oct 2013 07:36:05 +0000 (02:36 -0500)]
Add clear_db to cleanup for TestCiscoNexusPlugin

Fixes Bug: #1234012
Change-Id: I0829f04ac1a0760d96babcb1154f4f569a0f848f
(cherry picked from commit b4167ed095dbd47a137ff22674ae13aba3a50513)

11 years agoMerge "BigSwitch: sync state on disassociate floating ip" into milestone-proposed
Jenkins [Wed, 9 Oct 2013 11:05:09 +0000 (11:05 +0000)]
Merge "BigSwitch: sync state on disassociate floating ip" into milestone-proposed

11 years agoMerge "Set correct plugin support in Embrane based plugins" into milestone-proposed
Jenkins [Wed, 9 Oct 2013 11:05:00 +0000 (11:05 +0000)]
Merge "Set correct plugin support in Embrane based plugins" into milestone-proposed

11 years agoSet correct plugin support in Embrane based plugins
Ivar Lazzaro [Tue, 8 Oct 2013 00:12:11 +0000 (17:12 -0700)]
Set correct plugin support in Embrane based plugins

Change-Id: I87480415f55894e17458a85ef7918babaceb5e47
Closes-Bug: 1236627
(cherry picked from commit 15103e58443af95451a9ba22bc4a9083950d386e)

11 years agoFix l2 pop doesn't propagate ip address updates
Sylvain Afchain [Thu, 26 Sep 2013 14:57:58 +0000 (16:57 +0200)]
Fix l2 pop doesn't propagate ip address updates

Propagates ip address changes when an ip address is :
added, removed, or changed.
Add a new rpc call for the updates of forwarding informations.

Fixes: Bug #1234137
Change-Id: Ib5b971bd02f20a0ea73f88ce9685e944226bb5a2
(cherry picked from commit e6a368a697e936f40a0882b236b2be17e1520436)

11 years agoNEC plugin: Fix nec-agent unexpected exit due to RPC exception
Akihiro MOTOKI [Fri, 4 Oct 2013 06:53:03 +0000 (15:53 +0900)]
NEC plugin: Fix nec-agent unexpected exit due to RPC exception

Changes nec-agent to catch RPC exceptions in the main
daemon loop. It fixes the following two bugs.

- nec-agent dies with RPC timeout in secgroup RPC
  (Closes-Bug: #1235106)

- port_added message can be dropped when RPC timeout occurs
  (Closes-Bug: #1235111). Moves exception catch from PluginApi
  to the main daemon loop.

Change-Id: I12394b739fc35bff271543f4625c5e3152e534ae
(cherry picked from commit 3df505e448d38929c20721b22d81e47bf917af6a)

11 years agoUpdate ML2 README file for havana
Bob Kukura [Mon, 7 Oct 2013 01:41:08 +0000 (21:41 -0400)]
Update ML2 README file for havana

Closes-Bug: 1235308
Change-Id: I684581c00ff28bc9cdb36034a9a970275b0a0090
(cherry picked from commit 2d7e2756271fff6413a572e11f9248465f23f1bb)

11 years agoMerge "Enable Quota DB driver by default" into milestone-proposed
Jenkins [Tue, 8 Oct 2013 20:09:52 +0000 (20:09 +0000)]
Merge "Enable Quota DB driver by default" into milestone-proposed

11 years agoMerge "Avoid race with udev during ovs agent startup" into milestone-proposed
Jenkins [Tue, 8 Oct 2013 20:08:19 +0000 (20:08 +0000)]
Merge "Avoid race with udev during ovs agent startup" into milestone-proposed

11 years agoPrevent L3 agent looping calls from hanging
Salvatore Orlando [Wed, 2 Oct 2013 19:14:14 +0000 (12:14 -0700)]
Prevent L3 agent looping calls from hanging

This patch adopts several measures to prevent _sync_routers_task
and _rpc_loop from hanging because of subprocess.Popen.communicate
not returning.

1) Perform a sleep everytime a command is completed, similarly to
what is done in openstack.common.processutils.execute
2) Disable by default GARP, as kernel crashes caused by arping
have been observed
3) Prevent a non-critical keyerror in _router_removed from triggering
again a full sync, which might put the system under significant load.

This patch also adds debug log statements aimed at improving the
ability of debugging similar failures.

Change-Id: I003316bce0f38b7d2ea7d563b5a0a58676834398
Partial-Bug: 1224001
(cherry picked from commit 591ee00a67fbbe5f106ba12140b9f9420dee5907)

11 years agoAvoid race with udev during ovs agent startup
Ralf Haferkamp [Thu, 29 Aug 2013 18:50:55 +0000 (20:50 +0200)]
Avoid race with udev during ovs agent startup

After taking down the veth link between the physical bridge and the integration
bridge call udevadm settle to wait for any udev events to be completely
processed by the operating system before recreating the veth pair.

Some distributions (e.g. openSUSE) have udev rules installed by default that
call e.g. ifdown <interface> during the remove event. If that is processed
after the ovs agent already brought up the veth pair again the veth pair's
link will be down after the agent completed startup and networking will be
broken for all VM instances.

Change-Id: I95520ea96a9804c5261a0c994bbca137535cc37c
Closes-Bug: #1218556
(cherry picked from commit 8d88ee7411d43f148b45d0a145fe32a75765a3ac)

11 years agoBigSwitch: sync state on disassociate floating ip
Kevin Benton [Fri, 4 Oct 2013 07:19:12 +0000 (00:19 -0700)]
BigSwitch: sync state on disassociate floating ip

Sends the state of port's parent network to the backend controller
when a floating IP is disassociated from a port.

Closes-Bug: #1235074
Change-Id: I8375e6564b5d08f1adc7e7aef6affc97c8d03c5e
(cherry picked from commit 0bae949eed229613c77c4943edbf68c1c140f977)

11 years agochange port status only if port is bound to the good host
mathieu-rohon [Wed, 2 Oct 2013 12:13:36 +0000 (14:13 +0200)]
change port status only if port is bound to the good host

if host is set in the rpc message update_device_up/down sent by the agent,
the port status will be changed only if the port is bound to the host.

Change-Id: I0e607c734fbebf0b69f83c3bbd3e25a9783672dc
Closes-Bug: #1224967

11 years agoEnable Quota DB driver by default
Akihiro MOTOKI [Sun, 6 Oct 2013 23:38:07 +0000 (08:38 +0900)]
Enable Quota DB driver by default

Closes-Bug: #1189671

Quota driver is now loaded in lazy mode, i.e. the driver is loaded
the first time the driver is accessed. This is to make unit tests
work. Some unit tests like extension test cases need to use Config
Quota driver (previous default) but QuotaEngine is initialized
when quota.py is imported. Thus the unit tests had no chance to
specify quota_driver.

Change-Id: I9e20961d5a6322361e3c0284b3c2a7ca86755c70

11 years agoMerge "create milestone migration for Havana release"
Jenkins [Thu, 3 Oct 2013 02:46:50 +0000 (02:46 +0000)]
Merge "create milestone migration for Havana release"

11 years agoMerge "Updated from global requirements"
OpenStack Jenkins [Thu, 3 Oct 2013 01:54:13 +0000 (01:54 +0000)]
Merge "Updated from global requirements"

11 years agocreate milestone migration for Havana release
Mark McClain [Thu, 3 Oct 2013 01:41:50 +0000 (21:41 -0400)]
create milestone migration for Havana release

Change-Id: Iba8076dee730105d2cd78ce76a038e947075f1fe

11 years agoMerge "add greenthread.sleep to increase yields"
Jenkins [Thu, 3 Oct 2013 00:34:27 +0000 (00:34 +0000)]
Merge "add greenthread.sleep to increase yields"

11 years agoMerge "Should not add metadata filter rules if disable metadata proxy"
Jenkins [Thu, 3 Oct 2013 00:34:16 +0000 (00:34 +0000)]
Merge "Should not add metadata filter rules if disable metadata proxy"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 2 Oct 2013 23:56:13 +0000 (23:56 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Disable lazy translation"
Jenkins [Wed, 2 Oct 2013 22:33:29 +0000 (22:33 +0000)]
Merge "Disable lazy translation"

11 years agoadd greenthread.sleep to increase yields
Mark McClain [Wed, 2 Oct 2013 20:51:33 +0000 (16:51 -0400)]
add greenthread.sleep to increase yields

This is a stopgap Havana release.  Add eventlet greenthread.sleep to
increase thread yields.

Partially fixes: 1230407
Partially fixes: 1224001

Change-Id: I18953cf8e457ebb33780817582b4788fb5ed6f73

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 2 Oct 2013 06:10:31 +0000 (06:10 +0000)]
Imported Translations from Transifex

Change-Id: I1e2f7f674208fccf5e93224023c750ec7049d89d

11 years agoDisable lazy translation
Ben Nemec [Tue, 1 Oct 2013 23:15:23 +0000 (23:15 +0000)]
Disable lazy translation

Late in the Havana cycle bug 1225099 was found in the lazy
translation code, and to be safe it was decided to disable lazy
translation for Havana. This change does that.

Change-Id: Ia934a7df9386baf6ae8eb9ff48c24386c47ecd23
Partial-bug: 1225099

11 years agoUpdated from global requirements
OpenStack Jenkins [Tue, 1 Oct 2013 16:13:29 +0000 (16:13 +0000)]
Updated from global requirements

Change-Id: Id6c3328045ab356a232eb0fe71033f1272b76c5d

11 years agoCisco plugin should check for switch - vlan bindings
Arvind Somya [Mon, 30 Sep 2013 17:56:59 +0000 (13:56 -0400)]
Cisco plugin should check for switch - vlan bindings

This commit fixes the issue where the Cisco plugin tries to create a
vlan twice on a switch if the first create is not bound to a port.
Also fixes an issue where the plugin tried to untrunk vlans from
a port for SVI interfaces.

Change-Id: Ifb13eb65d667367cffe120e1761d34f09b6d356d
Fixes: Bug #1233300
11 years agoMerge "Increase number of concurrent_connections to nvp"
Jenkins [Tue, 1 Oct 2013 08:13:30 +0000 (08:13 +0000)]
Merge "Increase number of concurrent_connections to nvp"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 30 Sep 2013 19:12:36 +0000 (19:12 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Improve ml2_conf.ini"
Jenkins [Mon, 30 Sep 2013 14:41:14 +0000 (14:41 +0000)]
Merge "Improve ml2_conf.ini"

11 years agoMerge "Fix to enable delete of firewall in PENDING_CREATE state"
Jenkins [Mon, 30 Sep 2013 07:26:16 +0000 (07:26 +0000)]
Merge "Fix to enable delete of firewall in PENDING_CREATE state"

11 years agoMerge "Reverse the order of interface update and DNAT rule config"
Jenkins [Mon, 30 Sep 2013 07:16:55 +0000 (07:16 +0000)]
Merge "Reverse the order of interface update and DNAT rule config"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 30 Sep 2013 06:11:00 +0000 (06:11 +0000)]
Imported Translations from Transifex

Change-Id: I262ad747c87e89db84a4c07afd6eafb455107be3

11 years agoShould not add metadata filter rules if disable metadata proxy
Hui HX Xiang [Mon, 30 Sep 2013 02:48:51 +0000 (19:48 -0700)]
Should not add metadata filter rules if disable metadata proxy

The metadata filter rules should not be added into iptables if Neutron
metadata proxy is disabled.
This patchset fixes this issue by adding a condition when adding metadata
filter rules to iptables.

Closes-Bug #1224290

Change-Id: I7f14d281c31c1828a90abac8821635773238b2d0

11 years agoEnsure that security group agent is bound prior to accessing
Gary Kotton [Sun, 29 Sep 2013 14:11:49 +0000 (07:11 -0700)]
Ensure that security group agent is bound prior to accessing

When the Neutron agents start and the security group agent callbacks
are not registered there may be exceptions.

Fixes bug: #1232758

Change-Id: I4c1ff96b8acfcee4c84a73c9400040c96f8418a9

11 years agoImprove ml2_conf.ini
ZhiQiang Fan [Sun, 29 Sep 2013 17:11:43 +0000 (01:11 +0800)]
Improve ml2_conf.ini

ml2_type_vxlan section is missing, also does option vni_ranges.

Change-Id: Icf9328d82603640279d1c5aa31f41b6ff23c26f0
Fixes-Bug: #1231124

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sun, 29 Sep 2013 16:55:36 +0000 (16:55 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "ML2 Cisco Nexus mech driver portbinding support"
Jenkins [Sun, 29 Sep 2013 14:21:31 +0000 (14:21 +0000)]
Merge "ML2 Cisco Nexus mech driver portbinding support"

11 years agoMerge "Add missing migration for fields in Cisco Nexus table"
Jenkins [Sun, 29 Sep 2013 07:14:16 +0000 (07:14 +0000)]
Merge "Add missing migration for fields in Cisco Nexus table"

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

Change-Id: I1a404bc25caf8e5b574dd8c2ccaea3fc12d3a06d

11 years agoMerge "Add error log for SystemExit in l3-agent"
Jenkins [Sun, 29 Sep 2013 05:29:51 +0000 (05:29 +0000)]
Merge "Add error log for SystemExit in l3-agent"

11 years agoMerge "Fix auto-deletion of ports and subnets in ML2"
Jenkins [Sun, 29 Sep 2013 04:41:08 +0000 (04:41 +0000)]
Merge "Fix auto-deletion of ports and subnets in ML2"

11 years agoMerge "Fixes Hyper-V agent RPC calls for ML2 support"
Jenkins [Sun, 29 Sep 2013 04:32:29 +0000 (04:32 +0000)]
Merge "Fixes Hyper-V agent RPC calls for ML2 support"

11 years agoML2 Cisco Nexus mech driver portbinding support
Rich Curran [Fri, 27 Sep 2013 15:35:08 +0000 (11:35 -0400)]
ML2 Cisco Nexus mech driver portbinding support

This commit adds portbinding extension support to
the cisco nexus mechanism driver.

Fixes bug: 1220878

Change-Id: I72003961b46190b82681b471f4f9cb5b11d3d068

11 years agoAdd missing migration for fields in Cisco Nexus table
Henry Gessau [Sat, 28 Sep 2013 16:19:33 +0000 (12:19 -0400)]
Add missing migration for fields in Cisco Nexus table

Change-Id: Ib31ec7f92d568c21d607b0bf003494acd1e3a3e8
Closes-bug: #1232360

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 28 Sep 2013 06:11:06 +0000 (06:11 +0000)]
Imported Translations from Transifex

Change-Id: Ic9c08119fd931bb8cbd849be95833cbeb4c6d9e1

11 years agoMerge "Pythonic method names for l3_agent unit tests"
Jenkins [Sat, 28 Sep 2013 05:38:19 +0000 (05:38 +0000)]
Merge "Pythonic method names for l3_agent unit tests"

11 years agoMerge "Fix adding identical metering rules on two labels"
Jenkins [Sat, 28 Sep 2013 05:38:10 +0000 (05:38 +0000)]
Merge "Fix adding identical metering rules on two labels"

11 years agoMerge "Add host routes and dns nameservers to Midonet DHCP"
Jenkins [Sat, 28 Sep 2013 05:38:01 +0000 (05:38 +0000)]
Merge "Add host routes and dns nameservers to Midonet DHCP"

11 years agoFix auto-deletion of ports and subnets in ML2
Bob Kukura [Fri, 27 Sep 2013 21:54:45 +0000 (17:54 -0400)]
Fix auto-deletion of ports and subnets in ML2

When a network is deleted, certain ports and any subnets referencing
it are auto-deleted. The implementation of
NeutronDBPluginV2.delete_network() does this at the DB level, so ML2's
mechanism drivers were not being called.

Ml2Plugin.delete_network() is changed to not use the base class's
method, and to auto-delete ports and subnets by calling its own
delete_port() and delete_subnet() methods outside of the
transaction. A loop avoids race conditions with ports or subnets being
asynchronously added to the network.

Closes-Bug: 1230330
Change-Id: Icf21400c9938eec29d70da8497b9ef92642131e2

11 years agoIncrease number of concurrent_connections to nvp
Aaron Rosen [Fri, 27 Sep 2013 18:36:15 +0000 (11:36 -0700)]
Increase number of concurrent_connections to nvp

This patch increases the number of concurrent connections from 5 to 10
to nvp.

Fixes bug: 1232189

Change-Id: Ia05a7cf8001424e82a3c02e6bd92e2fa1d4a40ee

11 years agoFix to enable delete of firewall in PENDING_CREATE state
Sridar Kandaswamy [Fri, 27 Sep 2013 17:10:35 +0000 (10:10 -0700)]
Fix to enable delete of firewall in PENDING_CREATE state

Firewall will in PENDING_CREATE state if there is no underlying router in the
tenant. When the router and an associated i/f is created then with a sequence
of msgs it is set to ACTIVE state by the plugin. If a delete is triggered when
in PENDING_CREATE state in such a situation, the msg was ignored - fixing this to
account for the fact that a delete makes sense in this situation so the agent
sends the appropriate msg back to the plugin so it can delete it.

Change-Id: Id1db0a8413fd815b518fe4dc57fc6277c09e7f00
Closes-Bug: #1223478

11 years agoAdd error log for SystemExit in l3-agent
Hui HX Xiang [Mon, 23 Sep 2013 09:04:57 +0000 (02:04 -0700)]
Add error log for SystemExit in l3-agent

The SystemExit exception should be logged in l3-agent, the
operator may miss the useful exception messages to debug.

    * Add error log for SystemExit in l3-agent.
    * Add unit test for None and Wrong interface_driver.

Closes-Bug #1229105

Change-Id: I9ac60a528c1e88827078d552a30c8d571066d21c

11 years agoMerge "Raise an exception if no router_id provided"
Jenkins [Fri, 27 Sep 2013 14:42:17 +0000 (14:42 +0000)]
Merge "Raise an exception if no router_id provided"

11 years agoMerge "Redefine behavior for NvpAdvancedPlugin during network creation"
Jenkins [Fri, 27 Sep 2013 14:08:57 +0000 (14:08 +0000)]
Merge "Redefine behavior for NvpAdvancedPlugin during network creation"

11 years agoMerge "Send proper exception info as expected by the neutron client"
Jenkins [Fri, 27 Sep 2013 12:25:53 +0000 (12:25 +0000)]
Merge "Send proper exception info as expected by the neutron client"

11 years agoMerge "Allowed Address Pairs support in NEC plugin"
Jenkins [Fri, 27 Sep 2013 12:25:44 +0000 (12:25 +0000)]
Merge "Allowed Address Pairs support in NEC plugin"

11 years agoAdd host routes and dns nameservers to Midonet DHCP
Joe Mills [Tue, 24 Sep 2013 10:42:08 +0000 (10:42 +0000)]
Add host routes and dns nameservers to Midonet DHCP

In the Midonet plugin, the host routes and dns nameserver information
was not being passed down to the midonet client API. This fix addresses
this by passing down the correct information.

Change-Id: I142ad4ceccdcf8b0e13db55fa54513f82995efc5
Closes-Bug: #1229655

11 years agoReverse the order of interface update and DNAT rule config
Kaiwei Fan [Fri, 27 Sep 2013 06:49:15 +0000 (23:49 -0700)]
Reverse the order of interface update and DNAT rule config

Configure DNAT rule first before adding floating ip address to interface
so advanced service router will not receive packets by accident before
DNAT rule configured.

Verified that traffic goes to the VM the created floating ip associated
with right after config.

Change-Id: I415d1138511f41c209f1f2a9c2f12c2cfd3d16f0
Closes-Bug: #1229548

11 years agoMerge "Add an option for always synchronizing status"
Jenkins [Fri, 27 Sep 2013 04:00:40 +0000 (04:00 +0000)]
Merge "Add an option for always synchronizing status"

11 years agoMerge "Ensure router exists when auto_schedule_routers"
Jenkins [Fri, 27 Sep 2013 03:59:34 +0000 (03:59 +0000)]
Merge "Ensure router exists when auto_schedule_routers"

11 years agoMerge "Sync rootwrap with code from oslo"
Jenkins [Fri, 27 Sep 2013 03:27:22 +0000 (03:27 +0000)]
Merge "Sync rootwrap with code from oslo"

11 years agoRaise an exception if no router_id provided
Hui HX Xiang [Tue, 17 Sep 2013 02:38:56 +0000 (19:38 -0700)]
Raise an exception if no router_id provided

IF both service neutron-l3-agent and neutron-server are up,
but no router id configured in /etc/neutron/l3_agent.ini, an
exception will be raised on DB as "DBError: IntegrityError",
because the variable router_ids has a default '' value that
doesn't match the DB grammar.

    * Check router id is specified in _init_() of l3 when
      not using namespace.
    * Move part of checking config params actions to new function
      _check_config_params()
    * Add corresponding unit tests.

Closes-Bug: #1226366

Change-Id: I905f8a4061c5b250782e025681dfefcc41c8c03c

11 years agoMerge "Allow sharing of firewall rules and policies in policy.json"
Jenkins [Thu, 26 Sep 2013 21:44:39 +0000 (21:44 +0000)]
Merge "Allow sharing of firewall rules and policies in policy.json"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 26 Sep 2013 20:43:48 +0000 (20:43 +0000)]
Merge "Imported Translations from Transifex"

11 years agoRedefine behavior for NvpAdvancedPlugin during network creation
armando-migliaccio [Fri, 13 Sep 2013 20:34:00 +0000 (13:34 -0700)]
Redefine behavior for NvpAdvancedPlugin during network creation

When using the NvpAdvancedPlugin, *all* logical switches should
be created through VCNS. VCNS will then proxy the requests to
NVP. This patch implements such a behavior. This is achieved by
replacing the use of nvplib.create_lswitch with the one of the
vcns driver, as the remaining logic can be left as it is.

Fixes bug #1225011

Change-Id: I6c276f747d02ac0d4934c38bf2858cf9b73c5e24

11 years agoPythonic method names for l3_agent unit tests
ZhiQiang Fan [Thu, 26 Sep 2013 16:10:50 +0000 (00:10 +0800)]
Pythonic method names for l3_agent unit tests

When review https://review.openstack.org/#/c/46863/, i find there
are some unconsistent method names in test_l3_agent.py, this patch
fixes this code style problem.

Change-Id: I0e657e02155e1fcd580f083f4b5ba56274eadf88
Partial-Bug: #1229155

11 years agoAdd an option for always synchronizing status
Salvatore Orlando [Thu, 26 Sep 2013 12:41:17 +0000 (05:41 -0700)]
Add an option for always synchronizing status

This patch adds an option for always synchronizing operational status
on a show operation; regardless of the synchronization thread, when
this option is enabled, the resource status is always fetched from
the backend.

The patch also fixes an issue observed when running test_nvp_sync
alone.

Bug #1229149
Bug #1229243

Change-Id: Ifef52ac1c48e32f413d51fc04fd926073335665d

11 years agoEnsure router exists when auto_schedule_routers
ZhiQiang Fan [Wed, 18 Sep 2013 17:53:44 +0000 (01:53 +0800)]
Ensure router exists when auto_schedule_routers

Currently, the auto_schedule_routers() accepts parameter router_ids,
which may contain invalid router ids, since we've already filtered
them via plugin.get_routers(), we can directly use that safe object.

Closes-Bug: #1217998
Closes-Bug: #1210877

Change-Id: I6196f16cca65fee4e848173d0a0a10fde967195d

11 years agoMerge "Ensure nullable=False for netid in packetfilters table"
Jenkins [Thu, 26 Sep 2013 12:05:23 +0000 (12:05 +0000)]
Merge "Ensure nullable=False for netid in packetfilters table"

11 years agoMerge "Change hard coded numbers to constants in security group tests"
Jenkins [Thu, 26 Sep 2013 09:15:38 +0000 (09:15 +0000)]
Merge "Change hard coded numbers to constants in security group tests"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 26 Sep 2013 06:11:17 +0000 (06:11 +0000)]
Imported Translations from Transifex

Change-Id: I7df8b25fbe78ee7181ff6448ad3fd24d1f64a2a9

11 years agoSync rootwrap with code from oslo
Zhongyue Luo [Tue, 24 Sep 2013 01:50:32 +0000 (09:50 +0800)]
Sync rootwrap with code from oslo

The rootwrap module had been directly edited in commit 1d366293.
These are all minor changes bringing neutron up to commit c03f247

c03f247 Skip hidden files while traversion rootwrap filters
3f4d1d5 Fix os.getlogin() problem with no tty
fc04531 Send rootwrap exit error message to stderr
3663010 rootwrap: improve Python 3 compatibility
28395d9 Fixes files with wrong bitmode

Fixes bug #1229492

Change-Id: Ica406e021700578b27c3337498011059c3a78719

11 years agoMerge "Sync gettextutils from oslo"
Jenkins [Wed, 25 Sep 2013 20:01:50 +0000 (20:01 +0000)]
Merge "Sync gettextutils from oslo"

11 years agoFixes Hyper-V agent RPC calls for ML2 support
Petrut Lucian [Tue, 17 Sep 2013 16:15:41 +0000 (19:15 +0300)]
Fixes Hyper-V agent RPC calls for ML2 support

Adds support for the RPC report status in the Hyper-V
agent and plugin.

Fixes bug: #1226654

Change-Id: Ie5eee875afc062c536856589d6a3fd0414190f6d

11 years agoMerge "Fix port deletion in NEC Plugin"
Jenkins [Wed, 25 Sep 2013 19:00:34 +0000 (19:00 +0000)]
Merge "Fix port deletion in NEC Plugin"

11 years agoMerge "Remove code that bypasses some midonet plugin unit tests"
Jenkins [Wed, 25 Sep 2013 18:51:17 +0000 (18:51 +0000)]
Merge "Remove code that bypasses some midonet plugin unit tests"

11 years agoMerge "add portbinding host into vip port"
Jenkins [Wed, 25 Sep 2013 17:12:02 +0000 (17:12 +0000)]
Merge "add portbinding host into vip port"

11 years agoAllowed Address Pairs support in NEC plugin
Akihiro MOTOKI [Wed, 25 Sep 2013 04:26:33 +0000 (13:26 +0900)]
Allowed Address Pairs support in NEC plugin

Closes-Bug: #1230184
Change-Id: I84d4dda9f88f7bbb524e173b0274db013f69b7e3

11 years agoadd portbinding host into vip port
Yong Sheng Gong [Thu, 19 Sep 2013 04:45:31 +0000 (12:45 +0800)]
add portbinding host into vip port

When creating vip port, add 'host' into port data.

Bug #1227091

Change-Id: I0f59b3b56a4a26561a10e5645c8ebf803b2c6a70

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 25 Sep 2013 06:10:57 +0000 (06:10 +0000)]
Imported Translations from Transifex

Change-Id: If9e70e7e9f8a94b3f073105ba7c5b072ca3648d9

11 years agoMerge "Fix FWaaS plugin to allow one firewall per tenant"
Jenkins [Wed, 25 Sep 2013 03:06:27 +0000 (03:06 +0000)]
Merge "Fix FWaaS plugin to allow one firewall per tenant"

11 years agoMerge "Require oslo.config 1.2.0 final"
Jenkins [Wed, 25 Sep 2013 03:06:16 +0000 (03:06 +0000)]
Merge "Require oslo.config 1.2.0 final"

11 years agoMerge "Port Cisco nexus subplugin UT to ML2 mech driver UT"
Jenkins [Wed, 25 Sep 2013 03:04:45 +0000 (03:04 +0000)]
Merge "Port Cisco nexus subplugin UT to ML2 mech driver UT"

11 years agoMerge "Properly synchronize status for ports deleted from backend"
Jenkins [Wed, 25 Sep 2013 01:03:47 +0000 (01:03 +0000)]
Merge "Properly synchronize status for ports deleted from backend"

11 years agoSync gettextutils from oslo
Luis A. Garcia [Tue, 24 Sep 2013 22:42:51 +0000 (22:42 +0000)]
Sync gettextutils from oslo

Add type check for Message params when setting locale to avoid
AttributeError.

Fixes bug: #1229364

Change-Id: I6fe55ebc4eea5fef1d335ad83a84c4879f7f06f9

11 years agoRequire oslo.config 1.2.0 final
Mark McLoughlin [Tue, 24 Sep 2013 20:21:46 +0000 (21:21 +0100)]
Require oslo.config 1.2.0 final

Now that 1.2.0 has been released, require it rather than one of the beta
release tarballs.

Closes-Bug: #1182861
Change-Id: I75ffc4a572d14488d19491a38742d6920951c171

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Tue, 24 Sep 2013 20:34:49 +0000 (20:34 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Neutron network delete fails with brocade plugin"
Jenkins [Tue, 24 Sep 2013 18:18:51 +0000 (18:18 +0000)]
Merge "Neutron network delete fails with brocade plugin"

11 years agoMerge "Apply VPN migration to correct plugin"
Jenkins [Tue, 24 Sep 2013 18:17:54 +0000 (18:17 +0000)]
Merge "Apply VPN migration to correct plugin"

11 years agoProperly synchronize status for ports deleted from backend
Salvatore Orlando [Tue, 24 Sep 2013 14:40:51 +0000 (07:40 -0700)]
Properly synchronize status for ports deleted from backend

Ensure that the status for a port is properly synchronized even
when the port itself does not exist anymore in the backend, avoiding
raising exceptions due to missing results in the NVP query.

This patch also adjusts a comment and improves exception handling
in _nvp_get_port_id

Bug 1229331

Change-Id: Ibaa581006c994a543c1795dd3f1d50086583b953

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 24 Sep 2013 06:10:18 +0000 (06:10 +0000)]
Imported Translations from Transifex

Change-Id: I3752ae949a430854eceea2cc10f08024e9a566d7

11 years agoEnsure nullable=False for netid in packetfilters table
Akihiro MOTOKI [Tue, 24 Sep 2013 03:19:41 +0000 (12:19 +0900)]
Ensure nullable=False for netid in packetfilters table

From the initial commit of NEC plugin, network_id of packetfilters
table is nullable=False, but in folsom_initial db migration script
nullable is set to True. This commit ensure nullable=False for
network_id in packetfilters table in any migration revision.

Change-Id: I2f1ebc16b57d8d6548255079c66d326d97fda5b6
Closes-Bug: #1229508

11 years agoFix port deletion in NEC Plugin
Akihiro MOTOKI [Mon, 23 Sep 2013 09:03:39 +0000 (18:03 +0900)]
Fix port deletion in NEC Plugin

Cascade on delete from ports.id to packetfitlers.in_port is added
to ensure packet filter entries associated with a port.
Also joined query of packetfilter with port query is added
to avoid additional packetfilter query by port_id.

Fixes: bug #1212102
Change-Id: I8a67649f3361480eda6377b1d8a30bebd18aa714

11 years agoNeutron network delete fails with brocade plugin
Shiv Haris [Thu, 12 Sep 2013 19:37:22 +0000 (12:37 -0700)]
Neutron network delete fails with brocade plugin

Fixes bug: 1223747

Change-Id: I4a8235d4dcb0c14477835afafd0b5459ce6b01f6

11 years agoMerge "LBaaS: include inactive members when retrieving logical config"
Jenkins [Tue, 24 Sep 2013 00:24:57 +0000 (00:24 +0000)]
Merge "LBaaS: include inactive members when retrieving logical config"

11 years agoPort Cisco nexus subplugin UT to ML2 mech driver UT
Dane LeBlanc [Thu, 19 Sep 2013 22:06:37 +0000 (18:06 -0400)]
Port Cisco nexus subplugin UT to ML2 mech driver UT

Fixes bug 1227889

This fix ports the Cisco Nexus sub-plugin unit tests
(neutron/tests/unit/cisco/test_nexus_plugin.py) to the Cisco ML2 mechanism
driver. The new test script will be
neutron/tests/unit/ml2/drivers/test_cisco_nexus.py.

Test cases which will be excluded from this port:
    - Test cases involving provider networks.
    - Test cases involving add/remove router networks
since these features are not currently supported in the Cisco ML2
mechanism driver.

Change-Id: I7aed85031cf402c418089d263c7e949c4631b1eb

11 years agoApply VPN migration to correct plugin
Salvatore Orlando [Mon, 23 Sep 2013 20:42:53 +0000 (13:42 -0700)]
Apply VPN migration to correct plugin

This patch ensures the migration is executed when
VPNDriverPlugin is loaded among service plugins.

Bug 1229394

Change-Id: Ibf50d23aebc60b2ba22ef5a51c268b93761c2171