]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 8 Oct 2013 06:18:08 +0000 (06:18 +0000)]
Imported Translations from Transifex

Change-Id: I4f7b102d72ac375e0c42eb1e23d777f25b93c17a

11 years agoMerge "Utilizes assertIsNone and assertIsNotNone"
Jenkins [Tue, 8 Oct 2013 05:55:50 +0000 (05:55 +0000)]
Merge "Utilizes assertIsNone and assertIsNotNone"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 7 Oct 2013 21:16:30 +0000 (21:16 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Radware LBaaS driver implementation"
Jenkins [Mon, 7 Oct 2013 19:33:30 +0000 (19:33 +0000)]
Merge "Radware LBaaS driver implementation"

11 years agoMerge "MidoNet plugin, clean up dhcp entries correctly"
Jenkins [Mon, 7 Oct 2013 19:09:47 +0000 (19:09 +0000)]
Merge "MidoNet plugin, clean up dhcp entries correctly"

11 years agoMerge "Change rpc_support_old_agents default to False"
Jenkins [Mon, 7 Oct 2013 16:21:54 +0000 (16:21 +0000)]
Merge "Change rpc_support_old_agents default to False"

11 years agoMerge "NEC plugin: Fix nec-agent unexpected exit due to RPC exception"
Jenkins [Mon, 7 Oct 2013 16:09:25 +0000 (16:09 +0000)]
Merge "NEC plugin: Fix nec-agent unexpected exit due to RPC exception"

11 years agoMerge "Update ML2 README file for havana"
Jenkins [Mon, 7 Oct 2013 15:40:19 +0000 (15:40 +0000)]
Merge "Update ML2 README file for havana"

11 years agoRadware LBaaS driver implementation
Avishay Balderman [Mon, 26 Aug 2013 15:12:35 +0000 (18:12 +0300)]
Radware LBaaS driver implementation

Change-Id: I43f666ed6716c16b0ef95bc7ed58c4c422a7fd89
Implemnts: blueprint radware-driver-for-lbaas

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 7 Oct 2013 06:16:08 +0000 (06:16 +0000)]
Imported Translations from Transifex

Change-Id: I456053ae5de5a23eb1fbcc27f9654bb8e135155f

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 7 Oct 2013 05:58:16 +0000 (05:58 +0000)]
Merge "Imported Translations from Transifex"

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

11 years agoMerge "Multiple Neutron operations using script fails on Brocade Plugin"
Jenkins [Sun, 6 Oct 2013 19:36:55 +0000 (19:36 +0000)]
Merge "Multiple Neutron operations using script fails on Brocade Plugin"

11 years agoChange rpc_support_old_agents default to False
Bob Kukura [Fri, 4 Oct 2013 20:17:37 +0000 (16:17 -0400)]
Change rpc_support_old_agents default to False

Changes the rpc_support_old_agents config variable default value to
False, so that the vlan_id field (redundant with the segmentation_id
field) is no longer included in RPC messages from the linuxbridge and
mlnx plugins to their corresponding L2 agents. This can be set to True
if needed to support L2 agents older than midway through the havana
cycle.

Closes-Bug: 1235323
Change-Id: I919824c5b02e28e3563e64e98bb106bf722327ec

11 years agoMerge "Add a route to reach the MD server when a subnet is created"
Jenkins [Sun, 6 Oct 2013 15:51:44 +0000 (15:51 +0000)]
Merge "Add a route to reach the MD server when a subnet is created"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 6 Oct 2013 06:10:52 +0000 (06:10 +0000)]
Imported Translations from Transifex

Change-Id: I49b62d5ba31dcddc21821f2ffcfca1a38f6c2631

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sun, 6 Oct 2013 05:13:34 +0000 (05:13 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Pythonic method name for test_ovs_tunnel.py"
Jenkins [Sun, 6 Oct 2013 01:52:40 +0000 (01:52 +0000)]
Merge "Pythonic method name for test_ovs_tunnel.py"

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

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 5 Oct 2013 06:10:30 +0000 (06:10 +0000)]
Imported Translations from Transifex

Change-Id: Id1fdfa0de0cd965bc97d97ea2b736b0ba58adef4

11 years agoMerge "Fix downgrade in migration"
Jenkins [Sat, 5 Oct 2013 03:26:04 +0000 (03:26 +0000)]
Merge "Fix downgrade in migration"

11 years agoMerge "Fix l2 pop doesn't propagate ip address updates"
Jenkins [Sat, 5 Oct 2013 03:16:52 +0000 (03:16 +0000)]
Merge "Fix l2 pop doesn't propagate ip address updates"

11 years agoMerge "Arista ML2 mechanism driver clean up and integration with port binding"
Jenkins [Fri, 4 Oct 2013 23:53:09 +0000 (23:53 +0000)]
Merge "Arista ML2 mechanism driver clean up and integration with port binding"

11 years agoMerge "change port status only if port is bound to the good host"
Jenkins [Fri, 4 Oct 2013 19:01:56 +0000 (19:01 +0000)]
Merge "change port status only if port is bound to the good host"

11 years agoMerge "BigSwitch: sync state on disassociate floating ip"
Jenkins [Fri, 4 Oct 2013 14:56:34 +0000 (14:56 +0000)]
Merge "BigSwitch: sync state on disassociate floating ip"

11 years agoMerge "Add clear_db to cleanup for TestCiscoNexusPlugin"
Jenkins [Fri, 4 Oct 2013 14:56:25 +0000 (14:56 +0000)]
Merge "Add clear_db to cleanup for TestCiscoNexusPlugin"

11 years agoFix downgrade in migration
Ann Kamyshnikova [Fri, 4 Oct 2013 13:02:57 +0000 (17:02 +0400)]
Fix downgrade in migration

In folsom_initial name of table nexusport_bindings to drop was not
correct.

Change-Id: Icb805f3e06c4e05708d11927b24a494c8cc7944f

11 years agoAdd a route to reach the MD server when a subnet is created
Rossella Sblendido [Wed, 25 Sep 2013 14:55:04 +0000 (14:55 +0000)]
Add a route to reach the MD server when a subnet is created

When the first subnet is created, the dhcp port is created and
midonet plugin correctly adds the static route to reach the MD
server in create_port. When a second or following subnets are
created, a new ip is added to the dhcp port. This patch takes
care of adding the static route to correcly reach the MD server
in update_port. This fixes the problem of VMs not being able to
reach the MD if assigned to the second subnet

Closes-bug: #1231914
Change-Id: Ifc95f901d4222b76a4254e21295829ac8d82493b

11 years agoMidoNet plugin, clean up dhcp entries correctly
Rossella Sblendido [Mon, 30 Sep 2013 16:09:59 +0000 (16:09 +0000)]
MidoNet plugin, clean up dhcp entries correctly

When a subnet gets deleted, remove the proper dhcp entry, not
always the first one.

Change-Id: I4f152eed5a7dd408bda866cb304838989bdc363c
Solves-bug: #1233259

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

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 4 Oct 2013 06:10:28 +0000 (06:10 +0000)]
Imported Translations from Transifex

Change-Id: Ic8f6ad9cefa098e3958e7d0cd9c5d0c02c5c24f6

11 years agoPythonic method name for test_ovs_tunnel.py
ZhiQiang Fan [Fri, 4 Oct 2013 06:00:52 +0000 (14:00 +0800)]
Pythonic method name for test_ovs_tunnel.py

Change CamelCase to lowercase with words separated by underscores.

Change-Id: Ieab8f8ad9affdb9290d13002e6b4b0d5a0185034
Closes-Bug: #1235082

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

11 years agoUtilizes assertIsNone and assertIsNotNone
Zhongyue Luo [Fri, 6 Sep 2013 07:18:49 +0000 (15:18 +0800)]
Utilizes assertIsNone and assertIsNotNone

Using assertTrue and the 'is' operator to test if an element is None
is too python2.4. Our unit testing framework supports
assertIsNone and assertIsNotNone which were created
for these types of tests.

Fixes bug #1230028

Change-Id: Ia58d92c52d0aca9c22360dd44de19d4e5878ab13

11 years agoMerge "Remove deprecated NVP options"
Jenkins [Thu, 3 Oct 2013 16:42:04 +0000 (16:42 +0000)]
Merge "Remove deprecated NVP options"

11 years agoMerge "Fix downgrade in migration"
Jenkins [Thu, 3 Oct 2013 16:21:14 +0000 (16:21 +0000)]
Merge "Fix downgrade in migration"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 3 Oct 2013 14:57:24 +0000 (14:57 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Avoid race with udev during ovs agent startup"
Jenkins [Thu, 3 Oct 2013 14:41:13 +0000 (14:41 +0000)]
Merge "Avoid race with udev during ovs agent startup"

11 years agoMerge "Switch agent report_interval option to float"
Jenkins [Thu, 3 Oct 2013 14:41:04 +0000 (14:41 +0000)]
Merge "Switch agent report_interval option to float"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 3 Oct 2013 06:10:41 +0000 (06:10 +0000)]
Imported Translations from Transifex

Change-Id: I1d2bca819b92060265cefe00fe67bbccfb6c84d3

11 years agoMerge "Open Icehouse development"
Jenkins [Thu, 3 Oct 2013 03:09:20 +0000 (03:09 +0000)]
Merge "Open Icehouse development"

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 agoArista ML2 mechanism driver clean up and integration with port binding
sukhdev [Mon, 30 Sep 2013 23:05:01 +0000 (16:05 -0700)]
Arista ML2 mechanism driver clean up and integration with port binding

fixes bug: 1215097

This patch addresses minor cleanups and integration with port binding
and dhcp support into Arista ML2 mechanism driver.

Change-Id: Icebc4aa1c57278171cc6b5209107b8eab833249c

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 agoOpen Icehouse development
Thierry Carrez [Wed, 2 Oct 2013 19:18:31 +0000 (21:18 +0200)]
Open Icehouse development

This should be accepted/merged once all the RC1 bugfixes are in.

This bumps the target version to 2014.1, effectively opening the master
branch to Icehouse development, ending the feature freeze.

The Havana release branch is cut from the previous commit in master.

Change-Id: I32a2ef85a8dff2b3a681fe7b33fc5dc983b7ab81

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 agoFix downgrade in migration
Ann Kamyshnikova [Wed, 2 Oct 2013 09:37:46 +0000 (13:37 +0400)]
Fix downgrade in migration

In 477a4488d3f4_ml2_vxlan_type_driver name of table ml2_vxlan_endpoints to drop
was not correct.

Change-Id: I758c42251b2d5bcc921c50394a1313a1ed4ae106

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 agoSwitch agent report_interval option to float
Jakub Libosvar [Tue, 1 Oct 2013 18:27:44 +0000 (18:27 +0000)]
Switch agent report_interval option to float

Being able to set report_interval > 0 and < 1 makes
it easier to consistently reproduce rpc race
conditions.

Change-Id: I4d907159147177e98b043e7e800aea5cf8c23103
Related-Bug: #1224001

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 agoRemove deprecated NVP options
armando-migliaccio [Fri, 27 Sep 2013 16:27:50 +0000 (09:27 -0700)]
Remove deprecated NVP options

In Havana, NVP configuration was simplified;
in the process a few options that existed
in Grizzly or older were deprecated. This
change removes those options from the Icehouse
tree.

Fixes bug #1221840

Change-Id: Id83a339c88ec2477718a350b6ac1678ccba01509

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