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

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

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

Change-Id: I3f3a7af761414c22066278cae9452a6917d4340a

11 years agoFlip to pythonic method names for context unit tests
armando-migliaccio [Sun, 22 Sep 2013 01:37:31 +0000 (18:37 -0700)]
Flip to pythonic method names for context unit tests

Fixes bug #1228738

Change-Id: Ia1864e64d7d2848f5892484eb5ad592a1f523fae

11 years agoMerge "NVP plugin: Set default max_lp_per_bridged_ls to 5000"
Jenkins [Sat, 21 Sep 2013 22:47:56 +0000 (22:47 +0000)]
Merge "NVP plugin: Set default max_lp_per_bridged_ls to 5000"

11 years agoHandle long integer conversion in NEC portinfo validation tests
Matt Riedemann [Fri, 20 Sep 2013 15:47:25 +0000 (08:47 -0700)]
Handle long integer conversion in NEC portinfo validation tests

There are a couple of tests for NEC portinfo validation that pass an id
which gets converted to a base-16 integer and then that gets converted
to a hex string. The problem is the integer conversion can make it a
long integer and then the hex built-in appends 'L' to the string, and
the tests do not account for that. This patch handles that case.

Closes-Bug: #1228212

Change-Id: Id3aed686329dae9cc4777213a4d2bcf406652e15

11 years agoMerge "Fix URL used in NCS mechanism driver sync_full() operation"
Jenkins [Sat, 21 Sep 2013 17:24:31 +0000 (17:24 +0000)]
Merge "Fix URL used in NCS mechanism driver sync_full() operation"

11 years agoUse built-in print() instead of print statement
Chang Bo Guo [Wed, 18 Sep 2013 09:35:53 +0000 (02:35 -0700)]
Use built-in print() instead of print statement

In python 3 print statement is not supported, so we should use
only print() functions.

This patch also removes print in unit test, left by accident

Fixes bug 1226943

Change-Id: I5ace50cb9e149682344b4c986ef9318f8dc50f72

11 years agoMerge "Remove ununsed method update_providers"
Jenkins [Sat, 21 Sep 2013 13:12:24 +0000 (13:12 +0000)]
Merge "Remove ununsed method update_providers"

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

Change-Id: I9c87eada75602c2754b95577b35a50f773cdfac0

11 years agoPort Cisco nexus and network db UT to ML2 mech driver UT
Dane LeBlanc [Fri, 20 Sep 2013 03:30:56 +0000 (23:30 -0400)]
Port Cisco nexus and network db UT to ML2 mech driver UT

Fixes bug 1227964

This fix ports the Cisco Nexus database and network database
unit tests to the Cisco ML2 mechanism driver UT.
The existing test scripts which are ported:
    neutron/tests/unit/cisco/test_nexus_db.py
    neutron/tests/unit/cisco/test_network_db.py
The new test scripts are:
    neutron/tests/unit/ml2/drivers/test_cisco_nexus_db.py
    neutron/tests/unit/ml2/drivers/test_cisco_network_db.py

Note that the QoS database related tests in
test_network_db.py are not ported because QoS is
not currently supported in the Cisco ML2
mechanism driver.

Change-Id: Ib47dab9dafde7c4b8cf0a4930379750f00b9455c

11 years agoRemove ununsed method update_providers
Aaron Rosen [Fri, 20 Sep 2013 20:09:01 +0000 (13:09 -0700)]
Remove ununsed method update_providers

Fixes bug: 1228370

Change-Id: Ie9182718dc87217c05d8f0d4d1a10bb538cfb8cc

11 years agoMerge "Allow non-admin user to list service providers"
Jenkins [Fri, 20 Sep 2013 18:50:25 +0000 (18:50 +0000)]
Merge "Allow non-admin user to list service providers"

11 years agoNVP plugin: Set default max_lp_per_bridged_ls to 5000
Salvatore Orlando [Thu, 19 Sep 2013 12:02:12 +0000 (05:02 -0700)]
NVP plugin: Set default max_lp_per_bridged_ls to 5000

This patch increases the default value from 64 to 5000

Bug 1227592

Change-Id: I19baa6dc48541ee5238748d21e8c410e4cdb5c00

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

Change-Id: Ibb176fafb9d27baccb95ef4e6616c9aedbf86ba5

11 years agoEnsure names are truncated to accommodate NVP limit
armando-migliaccio [Fri, 20 Sep 2013 00:27:29 +0000 (17:27 -0700)]
Ensure names are truncated to accommodate NVP limit

Switches created through Advanced Plugin should have
their name truncated as well. To this aim, move things
around to avoid awkward imports or code duplications

Fixes bug #1227927

Change-Id: I3cc69356227d3bd63603ee1e53d82e6561f4cad0

11 years agoMerge "Change daemon Pidfile class to not use root_helper"
Jenkins [Thu, 19 Sep 2013 21:21:12 +0000 (21:21 +0000)]
Merge "Change daemon Pidfile class to not use root_helper"

11 years agoMerge "Do not apply security groups to logical ports"
Jenkins [Thu, 19 Sep 2013 21:18:51 +0000 (21:18 +0000)]
Merge "Do not apply security groups to logical ports"

11 years agoMerge "Fix handling of floating IP association info in Nicira plugin"
Jenkins [Thu, 19 Sep 2013 21:18:43 +0000 (21:18 +0000)]
Merge "Fix handling of floating IP association info in Nicira plugin"

11 years agoMerge "Fix ovs-vsctl call in add_tunnel_port()"
Jenkins [Thu, 19 Sep 2013 19:03:59 +0000 (19:03 +0000)]
Merge "Fix ovs-vsctl call in add_tunnel_port()"

11 years agoMerge "Change header from LLC to Foundation"
Jenkins [Thu, 19 Sep 2013 19:02:50 +0000 (19:02 +0000)]
Merge "Change header from LLC to Foundation"

11 years agoMerge "Cisco plugin portbinding extension support"
Jenkins [Thu, 19 Sep 2013 19:01:43 +0000 (19:01 +0000)]
Merge "Cisco plugin portbinding extension support"

11 years agoFix for status always in PENDING_CREATE for Edge service router
Kaiwei Fan [Mon, 16 Sep 2013 22:02:34 +0000 (15:02 -0700)]
Fix for status always in PENDING_CREATE for Edge service router

The root cause is when deployment finished, we only update router status to
active if the status is in pending create. The problem happens when the
background sync thread update router status to active, so the status update
for vcns_router_binding table is skipped. We fixed this by seperating
checking and updating status for router and binding table.

Also fixed an issue where Edge is not deleted if neutron service is
restarted. The root cause is when neutron service restarts, the cache for
router type is empty. And because we delete the router from db before
we delete Edge, we're not able to locate the router from db to determine
the router type. The fix is to use binding table to determine the router
type.

Also piggyback a missing attribute for updating Edge interface. It must have
been removed by accident when resolving conflict during service plugin merge.

Closes-Bug: #1226229
Change-Id: I3d0639d245e71ea2a3faba70fef1a0ebb87e19fd

11 years agoChange header from LLC to Foundation
ZhiQiang Fan [Thu, 19 Sep 2013 17:29:20 +0000 (01:29 +0800)]
Change header from LLC to Foundation

Change-Id: I11d7e734ae56568f2387a208efe0d1487377cbf9
Closes-Bug: #1214176

11 years agoMerge "Sync gettextutils from oslo"
Jenkins [Thu, 19 Sep 2013 16:01:41 +0000 (16:01 +0000)]
Merge "Sync gettextutils from oslo"

11 years agoCisco plugin portbinding extension support
Arvind Somya [Thu, 29 Aug 2013 17:23:52 +0000 (13:23 -0400)]
Cisco plugin portbinding extension support

This commit adds portbinding extension support to the Cisco plugin.

Change-Id: I87554607860b040b693edeecc2706ca8edbe49b6
Fixes: Bug #1218033
11 years agoMerge "FWaaS - fix reordering of rules in policy"
Jenkins [Thu, 19 Sep 2013 14:55:04 +0000 (14:55 +0000)]
Merge "FWaaS - fix reordering of rules in policy"

11 years agoMerge "Fix bridge logical chaining"
Jenkins [Thu, 19 Sep 2013 14:51:19 +0000 (14:51 +0000)]
Merge "Fix bridge logical chaining"

11 years agoFix ovs-vsctl call in add_tunnel_port()
Roman Podolyaka [Thu, 19 Sep 2013 13:57:49 +0000 (16:57 +0300)]
Fix ovs-vsctl call in add_tunnel_port()

When a new GRE tunnel is created OVS agent calls ovs-vsctl
incorrectly. Command:

    sudo ovs-vsctl --timeout=2 --may-exist add-port br-tun gre-1

is produced instead of correct one:

   sudo ovs-vsctl --timeout=2 -- --may-exist add-port br-tun gre-1

Fixes bug 1227675

Change-Id: I010961658a37028e41621c4a529b5a14e7587c7f