]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 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

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

10 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"

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

10 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

10 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"

10 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"

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

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

10 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

10 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

10 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

10 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

10 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

10 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
10 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"

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

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

10 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"

10 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"

10 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

10 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

10 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

10 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

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

10 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"

10 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"

10 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

10 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"

10 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"

10 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"

10 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

10 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

10 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

10 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"

10 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"

10 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"

10 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

10 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

10 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

10 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

10 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"

10 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"

10 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"

10 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"

10 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

10 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

10 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"

10 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"

10 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"

10 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

10 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"

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

10 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

10 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

10 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

10 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

10 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"

10 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"

10 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

10 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

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

10 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

10 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"

10 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"

10 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"

10 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

11 years agoFix FWaaS plugin to allow one firewall per tenant
Sumit Naiksatam [Fri, 20 Sep 2013 23:40:52 +0000 (16:40 -0700)]
Fix FWaaS plugin to allow one firewall per tenant

The reference implementation of the FWaaS iptables
agent/driver supports only one firewall per tenant
in Havana release. However, the FWaaS plugin will
let you create more than one firewall. This is
being fixed in this patch to not allow creating
the second firewall if a firewall already exists
for the tenant.

Change-Id: I8f1cad9791723ba919b5774a63982c204686ddfe
Closes-Bug: #1228442

11 years agoMerge "Fix for status always in PENDING_CREATE for Edge service router"
Jenkins [Mon, 23 Sep 2013 17:22:34 +0000 (17:22 +0000)]
Merge "Fix for status always in PENDING_CREATE for Edge service router"

11 years agoMerge "Port Cisco nexus and network db UT to ML2 mech driver UT"
Jenkins [Mon, 23 Sep 2013 15:58:50 +0000 (15:58 +0000)]
Merge "Port Cisco nexus and network db UT to ML2 mech driver UT"

11 years agoChange hard coded numbers to constants in security group tests
Arvind Somya [Wed, 4 Sep 2013 16:20:14 +0000 (12:20 -0400)]
Change hard coded numbers to constants in security group tests

Security groups tests in Neutron contain a lot of hard coded HTTP return codes
and protocol numbers. These should be changed to use constants.

Change-Id: Ibecff3821c54f12848a05648f35381a0c73a0896
Fixes: Bug 1218928
11 years agoMerge "Ensure names are truncated to accommodate NVP limit"
Jenkins [Mon, 23 Sep 2013 14:14:56 +0000 (14:14 +0000)]
Merge "Ensure names are truncated to accommodate NVP limit"

11 years agoMerge "Fix usage of _fields method in provider_configuration.py"
Jenkins [Mon, 23 Sep 2013 14:12:03 +0000 (14:12 +0000)]
Merge "Fix usage of _fields method in provider_configuration.py"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 23 Sep 2013 14:11:54 +0000 (14:11 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Flip to pythonic method names for context unit tests"
Jenkins [Mon, 23 Sep 2013 12:22:28 +0000 (12:22 +0000)]
Merge "Flip to pythonic method names for context unit tests"

11 years agoLBaaS: include inactive members when retrieving logical config
Oleg Bondarev [Mon, 23 Sep 2013 12:14:00 +0000 (16:14 +0400)]
LBaaS: include inactive members when retrieving logical config

Closes-Bug: #1229082
Change-Id: I16f452b51a98d912ba8bdf374b4d1e9285d757dc

11 years agoMerge "Use built-in print() instead of print statement"
Jenkins [Mon, 23 Sep 2013 08:32:50 +0000 (08:32 +0000)]
Merge "Use built-in print() instead of print statement"

11 years agoFix adding identical metering rules on two labels
Sylvain Afchain [Mon, 9 Sep 2013 11:02:19 +0000 (13:02 +0200)]
Fix adding identical metering rules on two labels

Fixes: Bug #1229075
Change-Id: Id86c83ec9c7af78fc08e662bb0a9202f0f759c0c

11 years agoMerge "Handle long integer conversion in NEC portinfo validation tests"
Jenkins [Mon, 23 Sep 2013 06:35:37 +0000 (06:35 +0000)]
Merge "Handle long integer conversion in NEC portinfo validation tests"

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

Change-Id: I625bfc9c649f6f25f706a8696406a7962bc6f0a9

11 years agoFix usage of _fields method in provider_configuration.py
Eugene Nikanorov [Fri, 20 Sep 2013 03:15:38 +0000 (07:15 +0400)]
Fix usage of _fields method in provider_configuration.py

Apply _fields() method to each dict in the list.

Change-Id: I9357212e203843ffa4a05216d9c79fe8831971a5
Closes-Bug: #1227971