]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoPackaging Icehouse first release to unstable.
Thomas Goirand [Fri, 18 Apr 2014 01:22:13 +0000 (09:22 +0800)]
Packaging Icehouse first release to unstable.

Change-Id: If6186892352e0686efccfc3a41f529430ed5d946

10 years agoFixed 11c6e18605c8_pool_monitor_status_.py migration
Thomas Goirand [Wed, 16 Apr 2014 12:55:52 +0000 (20:55 +0800)]
Fixed 11c6e18605c8_pool_monitor_status_.py migration

Change-Id: Ic6c16c99635505b61b44dc8fce1ccbd10862482a

10 years agore-adds 0001-Add-parameter-and-iptables-rules-to-protect-dnsmasq-.patch
Thomas Goirand [Wed, 16 Apr 2014 02:02:46 +0000 (10:02 +0800)]
re-adds 0001-Add-parameter-and-iptables-rules-to-protect-dnsmasq-.patch

Change-Id: I76512e455a321952870e3d57fd1e5c74f06d5ad1

10 years agodebian/changelog: documents re-addintion of 0004-Fix-Metering-doesn-t-respect-the...
Thomas Goirand [Mon, 14 Apr 2014 17:18:15 +0000 (01:18 +0800)]
debian/changelog: documents re-addintion of 0004-Fix-Metering-doesn-t-respect-the-l3-agent-binding.patch

Change-Id: Ia33d0a7fa31c4cdd55d4cc88cb9d394e35d03272

10 years agoRe-added 0004-Fix-Metering-doesn-t-respect-the-l3-agent-binding.patch
Thomas Goirand [Mon, 14 Apr 2014 17:13:44 +0000 (01:13 +0800)]
Re-added 0004-Fix-Metering-doesn-t-respect-the-l3-agent-binding.patch

Change-Id: I68fbd4f84ba31430ec110fc31148610798fa56cb

10 years agoDocuments: Allow selecting log destination for Neutron daemons
Thomas Goirand [Fri, 11 Apr 2014 06:07:05 +0000 (14:07 +0800)]
Documents: Allow selecting log destination for Neutron daemons

Change-Id: I20d3c211db7735f69e6a2b1444e8901c927df375

10 years agoAllow selecting log destination for Neutron daemons
Sylvain Baubeau [Mon, 7 Apr 2014 15:38:58 +0000 (17:38 +0200)]
Allow selecting log destination for Neutron daemons

10 years agoNow packaging Icehouse RC2
Thomas Goirand [Wed, 9 Apr 2014 15:47:00 +0000 (23:47 +0800)]
Now packaging Icehouse RC2

Change-Id: I9430e892bd90122111526481d4392b3850ac1a21

10 years agoMerge tag '2014.1.rc2' into debian/icehouse
Thomas Goirand [Wed, 9 Apr 2014 15:44:22 +0000 (23:44 +0800)]
Merge tag '2014.1.rc2' into debian/icehouse

Neutron icehouse-rc2 milestone (2014.1.rc2)

Conflicts:
neutron/tests/unit/vmware/extensions/test_networkgw.py

Change-Id: I9e1d8789e01c5e35f26fa732b177dffd6caac635

10 years agoMerge "NSX: Fix KeyError in sync if nsx_router_id not found" into milestone-proposed
Jenkins [Wed, 9 Apr 2014 08:07:59 +0000 (08:07 +0000)]
Merge "NSX: Fix KeyError in sync if nsx_router_id not found" into milestone-proposed

10 years agoMerge "Hide ipv6 subnet API attributes" into milestone-proposed
Jenkins [Wed, 9 Apr 2014 02:17:04 +0000 (02:17 +0000)]
Merge "Hide ipv6 subnet API attributes" into milestone-proposed

10 years agoNSX: Fix KeyError in sync if nsx_router_id not found
Aaron Rosen [Tue, 8 Apr 2014 20:20:49 +0000 (13:20 -0700)]
NSX: Fix KeyError in sync if nsx_router_id not found

Previously, a KeyError would occur in the sync code which would
cause the sync thread to stop running. This would occur if there
was a router entry in the database but no nsx_router_mapping and
the router was not found in nsx. Note: this should never happen unless
one did not run the db migration which introduced and migrated the data
for the NeutronNsxRouterMapping table.

(cherry picked from commit d90d71cfdae1d9c9c3b54cc33adfabce683c633c)
Change-Id: I44f3e7de9323f594501db63d3ad33e80e617bfdc
Closes-bug: #1304647

10 years agoMerge "Correctly inherit __table_args__ from parent class" into milestone-proposed
Jenkins [Wed, 9 Apr 2014 00:11:21 +0000 (00:11 +0000)]
Merge "Correctly inherit __table_args__ from parent class" into milestone-proposed

10 years agoMerge "Add a note that rpc_workers option is experimental" into milestone-proposed
Jenkins [Wed, 9 Apr 2014 00:08:11 +0000 (00:08 +0000)]
Merge "Add a note that rpc_workers option is experimental" into milestone-proposed

10 years agoHide ipv6 subnet API attributes
Salvatore Orlando [Mon, 7 Apr 2014 23:29:54 +0000 (16:29 -0700)]
Hide ipv6 subnet API attributes

The attributes for ra mode and address mode should be hidden
until the IPv6 feature is fully implemented.

The changes in this patch will be reverted by another patch
which closes this bug.

Change-Id: I69a1a571b5beb566641200e60b84f0716c1ec138
Related-Bug: 1304093
(cherry picked from commit d739486a3f70cb83f8730cf7201a8b8ccf4b4c70)

10 years agoMerge "Add L2 Agent side handling for non consistent security_group settings" into...
Jenkins [Tue, 8 Apr 2014 21:25:38 +0000 (21:25 +0000)]
Merge "Add L2 Agent side handling for non consistent security_group settings" into milestone-proposed

10 years agoCorrectly inherit __table_args__ from parent class
Darren Birkett [Thu, 6 Mar 2014 16:17:03 +0000 (16:17 +0000)]
Correctly inherit __table_args__ from parent class

Where unique constraints are added to certain tables by populating
__table_args__, we need to ensure we inherit the top level
__table_args__ that define the default storage engine to use when
creating tables.

Change-Id: Ib886b84922830b60282b4f882591e43f5041e713
Fixes: bug 1288358
(cherry picked from commit 72e37ddcd067432675543c8f4d327fe766bc8044)

10 years agoAdds OVS_lib_defer_apply_doesn_t_handle_concurrency.patch
Thomas Goirand [Tue, 8 Apr 2014 16:01:29 +0000 (00:01 +0800)]
Adds OVS_lib_defer_apply_doesn_t_handle_concurrency.patch

Change-Id: Ie1e469decd5ec1068133efffe29e15463812e086

10 years agoMerge "Delete routers that are requested but not reported as active" into milestone...
Jenkins [Tue, 8 Apr 2014 14:28:05 +0000 (14:28 +0000)]
Merge "Delete routers that are requested but not reported as active" into milestone-proposed

10 years agoAdd a note that rpc_workers option is experimental
Carl Baldwin [Thu, 3 Apr 2014 20:44:49 +0000 (20:44 +0000)]
Add a note that rpc_workers option is experimental

blueprint multiple-rpc-workers

Closes-Bug: 1304374
Change-Id: Id354b96fc591752e1e79b072997423b6447d5de9

10 years agoDelete routers that are requested but not reported as active
Carl Baldwin [Tue, 1 Apr 2014 22:02:17 +0000 (22:02 +0000)]
Delete routers that are requested but not reported as active

There are two cases that I can think of that result in a router being
requested but not reported as active.  One is that admin_state_up has
been set to False.  In this case, the router is never removed and
continues to be operational.

The other case is if a router is changed and then deleted before the
change is processed.  In this case, it is prudent to be sure that the
router is queued for deletion.

Change-Id: I4738f599a18f0d130cc8ad4d4dafc488eec75ffd
Closes-Bug: #1215387
(cherry picked from commit 9da60d0a417dd70c16ae34f5877c564e425e4cf8)

10 years agoFix _validate_mac_address method
Aaron Rosen [Sat, 15 Mar 2014 05:57:09 +0000 (22:57 -0700)]
Fix _validate_mac_address method

The method _validate_mac_address previously used: netaddr.EUI(data)
which would convert data passed in to the correct mac_address representation.
For example if data=123 it would return: EUI('00-00-00-00-00-7B'). To fix
this issue I used netaddr.valid_mac() instead which returns a bool if a mac is
valid or not and does not raise. Note this file needs some improvements to
improve how exception handling is done that will come later.

Change-Id: I4fb868e40abbad9e743028cc768f47ca9b3e0e70
Closes-bug: 1291163
(cherry picked from commit b9390333a146d0435710f85d365318268e267fc3)

10 years agoAdd L2 Agent side handling for non consistent security_group settings
Irena Berezovsky [Tue, 25 Mar 2014 07:30:17 +0000 (09:30 +0200)]
Add L2 Agent side handling for non consistent security_group settings

Add setting of the firewall_driver to NoopDriver when firewall_driver is None and
add warning if driver combination is not valid.
Modify is_valid_driver_combination to verify default settings: enable_security_group (True) and firewall_driver (None).

Change-Id: I841f9cf96ac6ee2ad17a4e8908d6c8a96f368cca
Closes-Bug: #1296957
(cherry picked from commit 5c6ff449bbd7386f0f3e41efc524024434f325df)

10 years agoFix wrong section name "security_group" in sample config files
Akihiro Motoki [Tue, 8 Apr 2014 01:31:06 +0000 (10:31 +0900)]
Fix wrong section name "security_group" in sample config files

The section name [security_group] in Sample config files of
ML2 and Big Switch plugins was wrong and it should be
[securitygroup].

Change-Id: I8204b2f37f96a5e46038e117853ac8637a9705fd
Closes-Bug: #1304105
(cherry picked from commit ec24d2cb3ac17a86ee5c4626c625131c10732143)

10 years agoMerge "Fix Jenkins translation jobs" into milestone-proposed
Jenkins [Mon, 7 Apr 2014 15:11:58 +0000 (15:11 +0000)]
Merge "Fix Jenkins translation jobs" into milestone-proposed

10 years agoMerge the 2 Alembic migration patches into a single one.
Thomas Goirand [Mon, 7 Apr 2014 14:27:24 +0000 (22:27 +0800)]
Merge the 2 Alembic migration patches into a single one.

Change-Id: Ia312c97c1b443bcd5df3ff5824d9a70f2dab0abb

10 years agoMerge "Updated from global requirements" into milestone-proposed
OpenStack Jenkins [Mon, 7 Apr 2014 10:06:37 +0000 (10:06 +0000)]
Merge "Updated from global requirements" into milestone-proposed

10 years agoFix Jenkins translation jobs
Thierry Carrez [Mon, 7 Apr 2014 09:37:38 +0000 (11:37 +0200)]
Fix Jenkins translation jobs

The -propose-translation-update and -upstream-translation-update
jobs do not update from transifex since our po files contain
duplicate entries where obsolete entries duplicate normal entries.

Remove all obsolete entries to fix the jobs.

Change-Id: I1ab0f23f5b1dc9a88636dab09fadb5d44008cf51
Closes-Bug: #1299349

10 years agoMerge "ML2: ODL driver sets port status" into milestone-proposed
Jenkins [Mon, 7 Apr 2014 09:31:06 +0000 (09:31 +0000)]
Merge "ML2: ODL driver sets port status" into milestone-proposed

10 years agoMore SQLite patches.
Thomas Goirand [Mon, 7 Apr 2014 06:21:02 +0000 (14:21 +0800)]
More SQLite patches.

Change-Id: I4ce294fbdf39f5f4b70258d54dd0e2e6a0732c4a

10 years agoAdd missing comma in nsx router mappings migration
Henry Gessau [Sat, 5 Apr 2014 22:10:52 +0000 (18:10 -0400)]
Add missing comma in nsx router mappings migration

Change-Id: I85bcc9b7fe636f34dbdf6f8c3172352c8e586e2a
Closes-bug: #1303179
Related-bug: #1207402
(cherry picked from commit acae91475775a8c85598b1bfdc4910e5fe81ced9)

10 years agoML2: ODL driver sets port status
Robert Kukura [Thu, 3 Apr 2014 21:01:00 +0000 (17:01 -0400)]
ML2: ODL driver sets port status

The OpenDaylight mechanism driver does not depend on an L2 agent to
plug the port. Now that nova waits for notification that the port
status is ACTIVE, the ML2 driver API is extended so that the mechanism
driver that binds a port can optionally set the port status, and the
OpenDaylight mechanism driver uses this to set the port status to
ACTIVE.

Closes-Bug: 1301449
Change-Id: I171c405f36b4f2354d9585e8ae3dfa50ddaa9a7e
(cherry picked from commit a9e3074aa9f442c2fff1ba058ac8ed585c6caa24)

10 years agoUpdated from global requirements
OpenStack Jenkins [Sun, 6 Apr 2014 14:22:16 +0000 (14:22 +0000)]
Updated from global requirements

Change-Id: I73c3798ede53e2c4d936f997d9a502e1b5cfa462

10 years agoMerge "Fix test MAC addresses to be valid" into milestone-proposed
Jenkins [Sun, 6 Apr 2014 05:13:57 +0000 (05:13 +0000)]
Merge "Fix test MAC addresses to be valid" into milestone-proposed

10 years agoMerge "Cisco VPN driver correct reporting for admin state chg" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 14:06:09 +0000 (14:06 +0000)]
Merge "Cisco VPN driver correct reporting for admin state chg" into milestone-proposed

10 years agoMerge "De-duplicate unit tests for ports in Big Switch" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 07:10:43 +0000 (07:10 +0000)]
Merge "De-duplicate unit tests for ports in Big Switch" into milestone-proposed

10 years agoMerge "Add unit test for add_vxlan in test_linux_ip_lib" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 03:15:25 +0000 (03:15 +0000)]
Merge "Add unit test for add_vxlan in test_linux_ip_lib" into milestone-proposed

10 years agoMerge "Add missing DB migrations for BSN ML2 plugin" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 02:39:25 +0000 (02:39 +0000)]
Merge "Add missing DB migrations for BSN ML2 plugin" into milestone-proposed

10 years agoMerge "Set ns_name in RouterInfo as attribute" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 02:39:15 +0000 (02:39 +0000)]
Merge "Set ns_name in RouterInfo as attribute" into milestone-proposed

10 years agoMerge "use floatingip's ID as key instead of itself" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 02:27:30 +0000 (02:27 +0000)]
Merge "use floatingip's ID as key instead of itself" into milestone-proposed

10 years agoMerge "fixes tests using called_once_ without assert" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 02:22:48 +0000 (02:22 +0000)]
Merge "fixes tests using called_once_ without assert" into milestone-proposed

10 years agoMerge "Only send notifications on uuid device_id's" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 01:31:24 +0000 (01:31 +0000)]
Merge "Only send notifications on uuid device_id's" into milestone-proposed

10 years agoMerge "NSX: Fix pagination support" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 01:28:16 +0000 (01:28 +0000)]
Merge "NSX: Fix pagination support" into milestone-proposed

10 years agoMerge "Update BigSwitch Name to its correct name" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 01:28:06 +0000 (01:28 +0000)]
Merge "Update BigSwitch Name to its correct name" into milestone-proposed

10 years agoMerge "Fixing Arista CLI command" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 01:27:49 +0000 (01:27 +0000)]
Merge "Fixing Arista CLI command" into milestone-proposed

10 years agoMerge "Stop using portbindings_db in BSN ML2 driver" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 01:27:39 +0000 (01:27 +0000)]
Merge "Stop using portbindings_db in BSN ML2 driver" into milestone-proposed

10 years agoMerge "Don't emit log for missing attribute check policy" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 01:27:29 +0000 (01:27 +0000)]
Merge "Don't emit log for missing attribute check policy" into milestone-proposed

10 years agoMerge "Fix function parsing the kernel version" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 01:27:18 +0000 (01:27 +0000)]
Merge "Fix function parsing the kernel version" into milestone-proposed

10 years agoMerge "Return 409 for second firewall creation" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 01:27:09 +0000 (01:27 +0000)]
Merge "Return 409 for second firewall creation" into milestone-proposed

10 years agoMerge "Redundant SG rule create calls in unit tests" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 01:26:59 +0000 (01:26 +0000)]
Merge "Redundant SG rule create calls in unit tests" into milestone-proposed

10 years agoMerge "NSX plugin: return 400 for invalid gw certificate" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 01:26:48 +0000 (01:26 +0000)]
Merge "NSX plugin: return 400 for invalid gw certificate" into milestone-proposed

10 years agoMerge "fixes broken neutron-netns-cleanup" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 01:26:39 +0000 (01:26 +0000)]
Merge "fixes broken neutron-netns-cleanup" into milestone-proposed

10 years agoMerge "Log configuration values for OFA agent" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 00:24:14 +0000 (00:24 +0000)]
Merge "Log configuration values for OFA agent" into milestone-proposed

10 years agoMerge "Changed the message line of RouterInUse class" into milestone-proposed
Jenkins [Sat, 5 Apr 2014 00:11:42 +0000 (00:11 +0000)]
Merge "Changed the message line of RouterInUse class" into milestone-proposed

10 years agoSet ns_name in RouterInfo as attribute
Jakub Libosvar [Thu, 3 Apr 2014 12:52:59 +0000 (14:52 +0200)]
Set ns_name in RouterInfo as attribute

Closes-Bug: #1302007
Change-Id: I02a9b92eea06010569d3d9c5a987e69f89b23be5
(cherry picked from commit ceee7b4ac9d027499dfd2568868f1192bfb77879)

10 years agouse floatingip's ID as key instead of itself
Yong Sheng Gong [Wed, 19 Mar 2014 08:14:33 +0000 (16:14 +0800)]
use floatingip's ID as key instead of itself

Change-Id: I267f174a0e2e611ec007404c7b44e2c73a359c38
Closes-Bug: 1294526
(cherry picked from commit 7120325d37df414d8de084c5b41fdfbea3a06565)

10 years agoDe-duplicate unit tests for ports in Big Switch
Kevin Benton [Thu, 20 Mar 2014 14:24:33 +0000 (07:24 -0700)]
De-duplicate unit tests for ports in Big Switch

This eliminates the separate classes that existed
for the VIF type testing. Each class was going
through all of the port tests when none of the
logic those tests were exercising was affected by
the VIF types.

This cut the number of tests run in test_restproxy_plugin
by close to 44% without a reduction in code coverage.

Closes-Bug: #1295448
Change-Id: I8c84e1599568fad36b6dd3d51e4ba8a3c012c6c5
(cherry picked from commit 913f45bc16dd2c35f7be772d5867f9208064498a)

10 years agoNSX: Fix pagination support
armando-migliaccio [Fri, 21 Mar 2014 21:48:19 +0000 (14:48 -0700)]
NSX: Fix pagination support

Add pagination support to the base plugin,
leaving the service plugin unaltered.

Minor tweaks to the UT where required to
avoid intermittent failures caused by random
ordering.

Closes-bug: 1295854

Change-Id: I03e9e104967716046909d6120426e879f714a5c8
(cherry picked from commit 16ce0ae2c2b50b4317cdb95e62246d805b3d76a9)

10 years agofixes tests using called_once_ without assert
Miguel Angel Ajo [Mon, 31 Mar 2014 13:50:55 +0000 (15:50 +0200)]
fixes tests using called_once_ without assert

A few tests were using mock's called_once, or called_once_with_args
instead of assert_called_once or assert_called_once_with_args. Those
methods return a bool that needs to be actively checked.

The tests are fixed to avoid them from passing if the call condition
is not met.

Change-Id: I21e5257b26b2a08cc8f0b108233d1d5cc0b97b89
Closes-bug: #1297875
(cherry picked from commit c6c4a20777921dc1b21e80edb96ccd957a054c68)

10 years agoAdd missing DB migrations for BSN ML2 plugin
Kevin Benton [Tue, 1 Apr 2014 02:58:31 +0000 (19:58 -0700)]
Add missing DB migrations for BSN ML2 plugin

Adds missing database migrations for the Big Switch
ML2 driver and plugin.

Closes-Bug: #1298459
Change-Id: I6a46a53e069353501d85c4c8400f98514d6f0162
(cherry picked from commit d3be7b040eaa61a4d0ac617026cf5c9132d3831e)

10 years agoUpdate BigSwitch Name to its correct name
Kanzhe Jiang [Fri, 28 Mar 2014 18:31:56 +0000 (11:31 -0700)]
Update BigSwitch Name to its correct name

Update Neutron documentation and code comments to replace
"BigSwitch" name to "Big Switch"

Closes-Bug: #1299145
Change-Id: I7c14f6170871b361c8929898ee6af5d1a1f41714
(cherry picked from commit 408ef55d4ef1a9d246571511203ab337ba5346c6)

10 years agoStop using portbindings_db in BSN ML2 driver
Kevin Benton [Tue, 1 Apr 2014 08:05:29 +0000 (01:05 -0700)]
Stop using portbindings_db in BSN ML2 driver

Avoids using the portbindings_db in the Big Switch
ML2 driver since ML2 has deprecated that database for
its own version that tracks the same information.

Also eliminates unnecessary 'binding_host' field since
it is now always the same as as the 'portbinding:host_id'
field.

Closes-Bug: #1300628
Change-Id: I17d47cb446cdd2e989c3e0d01b797a81309faaa7
(cherry picked from commit c70c2719d700902854ef0381cb725722ac2da05e)

10 years agoFix function parsing the kernel version
Simon Pasquier [Tue, 1 Apr 2014 13:55:55 +0000 (15:55 +0200)]
Fix function parsing the kernel version

Change-Id: Id56efb476144a18cd9eb7279bc0f602760a86173
Closes-Bug: #1300808
(cherry picked from commit d4fdac7ae596888b8e83d9559019eafb728cd3fe)

10 years agoFixing Arista CLI command
sukhdev [Wed, 2 Apr 2014 02:01:50 +0000 (19:01 -0700)]
Fixing Arista CLI command

A minor change is made to the Arista API between ML2 Driver and the
back-end. This fix addresses this change to align Icehouse release with
Arista EOS releases.

Change-Id: Ia7cd3701c76d920a7e0d1334290c73ce7e8e5576
Closes-Bug: 1301093
(cherry picked from commit f3e9b6d6dc53d2e85c9085a1e3ec11b51f803948)

10 years agoReturn 409 for second firewall creation
Akihiro Motoki [Wed, 2 Apr 2014 02:34:01 +0000 (11:34 +0900)]
Return 409 for second firewall creation

Second firewall creation returns 500, but it is an expected behavior
of firewall reference implementation and an internal server error
should not be returned.

Change-Id: I9f537b238007d35172e2504591d9d3568ba3a41a
Closes-Bug: #1301105
(cherry picked from commit 9df867c672bfb3f80511086c889b744113c56604)

10 years agoDon't emit log for missing attribute check policy
Salvatore Orlando [Fri, 4 Apr 2014 10:30:12 +0000 (03:30 -0700)]
Don't emit log for missing attribute check policy

A missing policy for validating whether an attribute should
be visible or not is a perfectly normal condition, and
there is no value in logging it.

Writing this information to the log is also having a
considerable performance impact on list operations.

Change-Id: Ie9d3ae6b249a5c49f6d81c1e56915174d8479a07
Closes-Bug: 1302467
(cherry picked from commit ef01fb553a141c012c8d8600edd6b709c5807111)

10 years agoFix test MAC addresses to be valid
Brian Haley [Mon, 31 Mar 2014 16:14:59 +0000 (12:14 -0400)]
Fix test MAC addresses to be valid

MAC addresses should have 6 octets - 'ff:ff:ff:ff:ff:ff'.

Change-Id: I9c2457d978ccce15549d3258961093a130375bff
Closes-bug: #1302282
(cherry picked from commit 5f042a64308cb00698b454da09b4a87f2ac3fafd)

10 years agoRedundant SG rule create calls in unit tests
sridhargaddam [Thu, 3 Apr 2014 17:59:37 +0000 (23:29 +0530)]
Redundant SG rule create calls in unit tests

This patch removes the redundant calls in the test cases.

Closes-Bug: #1302091
Change-Id: I509843b427dc454c0e6b2fd2cbff1bbbb284337f
(cherry picked from commit c49ec8b3ba10bb414a0f135d29ff3685e26d58b3)

10 years agoNSX plugin: return 400 for invalid gw certificate
Salvatore Orlando [Sat, 15 Mar 2014 00:43:42 +0000 (17:43 -0700)]
NSX plugin: return 400 for invalid gw certificate

Gateway certificates are validated by the NSX backend.
The code currently treats a failure in certification
validation as a backend failure and therefore returns
a 500 status code.

This patch changes this behaviour by returning a 400
status code and an appropriate error description.
To this aim a handler for 400 errors has been added to
the NSX API client.

Closes-Bug: #1293508

Change-Id: I196f14337e47cd40710a6d8a30bbe1cac5ffe05b
(cherry picked from commit 13c9f3b813f5bb368e311ba0d428fa759d68289a)

10 years agoAdd unit test for add_vxlan in test_linux_ip_lib
Sphoorti Joglekar [Fri, 14 Mar 2014 12:52:43 +0000 (18:22 +0530)]
Add unit test for add_vxlan in test_linux_ip_lib

This patch adds unit tests for the add_vxlan function in the test_linux_ip_lib.py
file.

Fixes bug: 1291974

Change-Id: I0238bedab7a3566aff1115a091ada494a01d2e02
(cherry picked from commit dd52ddb1e9322b3985ceba2db842e8201220f67f)

10 years agofixes broken neutron-netns-cleanup
Miguel Angel Ajo [Tue, 18 Mar 2014 12:33:19 +0000 (13:33 +0100)]
fixes broken neutron-netns-cleanup

Some configuration parameters used in neutron.agent.linux.utils
were missing. The namespace attribute in the FakeNetwork object
was missing, and used in neutron.agent.linux.dhcp. Also, the
plugin object was missing for release_dhcp_port operation.

We provide a fake plugin object to accept current and any future
plugin calls as this is meant to be an standalone tool that
should work without any RPC connectivity.

FakeNetwork was switched for neutron.agent.linux.dhcp.NetModel
to follow any future changes in NetModel.

Two wrong called_once_with_args calls without assert were fixed.

Change-Id: Ia51ea9bd4c8eea6b250858964ad5286c933702e0
Closes-Bug: #1291915
Partial-Bug: #1297875
(cherry picked from commit 907bf41afbdb9f565c45a535f637c8928d0be52a)

10 years agoCisco VPN driver correct reporting for admin state chg
Paul Michali [Fri, 21 Mar 2014 13:14:07 +0000 (13:14 +0000)]
Cisco VPN driver correct reporting for admin state chg

Depends on reference implementation change (81124 review) that will pass VPN
service admin up/down changes to the service driver (for subsequent passing
to the device driver).

This change will save the runtime state of the IPSec connections that have
been removed due to a VPN service down change, so that this can be reported
to the plugin properly. Otherwise, without the change, there is no info
on the downed connection and no change report so the plugin thinks the
connection is still active.

In addition, the status for the VPN service will reflect whether there are
any IPSec connections ACTIVE. If one or more are acive, the service will
be active, otherwise it will be DOWN.

Updated UT to add tests for admin state and status reporting. Also changed
some IPSec create UTs because they were not cleaning up correctly upon test
failures (only seen with a live CSR).

In the future, when the Cisco CSR REST API supports admin up/down support,
the IPSec connections will not be deleted, but instead will be shut down, in
response to an admin down event (and then brought up, for admin up). During
the down time, the state will be reported correctly and no run-time state
recording needed.

Change-Id: I294bfb400c31ef36dfe5d9e85b34845e5aef8515
Closes-Bug: 1291619
(cherry picked from commit c1ccc585bda70925a4cffe617743ef6472fe60c4)

10 years agoLog configuration values for OFA agent
fumihiko kakuma [Fri, 7 Mar 2014 05:03:14 +0000 (14:03 +0900)]
Log configuration values for OFA agent

When other agents start up, they log the configuration values
to their logs. This patch adds the same feature to the
Openflow agent.

fixes bug 1289139

Change-Id: Ibab20154805a12ec265a2499cbfd6c376c376130
(cherry picked from commit 7d1e49a08a170ecf4e2546b25c67d4a8d41fd34a)

10 years agoOnly send notifications on uuid device_id's
Aaron Rosen [Mon, 31 Mar 2014 18:03:48 +0000 (11:03 -0700)]
Only send notifications on uuid device_id's

Neutron assumes that all ports with the device_owner that start with
'compute:' are ports created by nova compute. Thus, when the debug agent
creates a port with device_owner = compute:probe the nova notifier
feature tells nova when this port is wired even though nova does not know
about it (doesn't really matter we just log an error). This patch adds a check
to make sure the device_id is a uuid as nova only uses uuids and the debug
agent uses the hostname for device_id.

Change-Id: I04e7195a1fb30bc37e1c0141315c053174f8722c
Closes-bug: #1288582
(cherry picked from commit 6b4fecb9de0aa80e66b31555001dca95d14c789f)

10 years agoChanged the message line of RouterInUse class
sushma_korati [Thu, 27 Mar 2014 09:33:45 +0000 (15:03 +0530)]
Changed the message line of RouterInUse class

Implements: Changed the message line of RouterInUse class,
so user will not get confused with active or inactive ports
while deleting the router.

Closes-Bug: #1236372
Change-Id: I7a82550e2c6051f9e4940a8f1dd4401059e0a8d8
(cherry picked from commit 238689570145fdafe8e61967bb56133f167d39ab)

10 years agoReplace HTTPSConnection in NEC plugin
Daniel Gollub [Sun, 2 Mar 2014 08:33:38 +0000 (09:33 +0100)]
Replace HTTPSConnection in NEC plugin

Replace HTTPSConnection in NEC plugin PFC driver with Requests.

SSL Verification is from now on enabled by default.

This changes the default behaviour and is the primary intention of this
change: verify SSL certificates.

This might break existing configuration/setups where the SSL certificate
used by the NEC PFC driver would not pass the verification.

SecurityImpact
DocImpact
Partial-Bug: 1188189

Change-Id: I1e5fdc9c2ed5b812aa6509d1639bd499acc5c337
(cherry picked from commit 264b4a2523c165640f17aa4837f87ddfd0b49640)

10 years agoReleasing rc1
Thomas Goirand [Fri, 4 Apr 2014 13:31:28 +0000 (13:31 +0000)]
Releasing rc1

10 years agoUsing ml2 as default plugin
Thomas Goirand [Wed, 2 Apr 2014 10:19:37 +0000 (18:19 +0800)]
Using ml2 as default plugin

Change-Id: Ifb1cb9415522d97f357779306a561b543a17930f

10 years agoFixed service_plugin
Thomas Goirand [Wed, 2 Apr 2014 10:17:35 +0000 (18:17 +0800)]
Fixed service_plugin

Change-Id: I78eceab45ee0bf0bb786de4eda2cf919fade5833

10 years agoFixed default service_plugins value again.
Thomas Goirand [Wed, 2 Apr 2014 06:51:16 +0000 (14:51 +0800)]
Fixed default service_plugins value again.

Change-Id: I99ea1945d1ec7f34d0635bd3ecf2124f80de5b24

10 years agoActivates tunnel_type = gre by default.
Thomas Goirand [Wed, 2 Apr 2014 06:48:02 +0000 (14:48 +0800)]
Activates tunnel_type = gre by default.

Change-Id: I28b76e09cbc073783ca5be55eb8a52d37314ec64

10 years agoFixed service_plugins default value.
Thomas Goirand [Wed, 2 Apr 2014 06:41:41 +0000 (14:41 +0800)]
Fixed service_plugins default value.

Change-Id: Ida38e706fadc1341587865e179477de5710f52eb

10 years agoFixes an issue using ml2 and openvswitch plugin
gustavo panizzo [Wed, 2 Apr 2014 05:07:26 +0000 (02:07 -0300)]
Fixes an issue using ml2 and openvswitch plugin

10 years agoUse a temp dir for CONF.state_path
Joe Gordon [Tue, 1 Apr 2014 22:06:36 +0000 (15:06 -0700)]
Use a temp dir for CONF.state_path

external_pids will defaults to $state_path(/var/lib/neutron)/external/pids
which isn't accessible when running unit tests so use a tempdir for
CONF.state_path. This bug arose when oslo.config 1.3.0 came out which
fixed bug #1282250 (I4324bda6f3de3cdf05f8eb3cf16052c04018dec8) and
caused this issue.

Change-Id: I253c5ea85c51eff94399da0b9462d10a9c509a0f
Closes-Bug: #1301027

10 years agoFixed new (build-)depends.
Thomas Goirand [Tue, 1 Apr 2014 16:57:14 +0000 (00:57 +0800)]
Fixed new (build-)depends.

Change-Id: Ib3f371f3a46aa58af54a35c211bd5484e76f874a

10 years agoCommits staged files in the git status from rc1.
Thomas Goirand [Tue, 1 Apr 2014 16:54:18 +0000 (00:54 +0800)]
Commits staged files in the git status from rc1.

Change-Id: Ifb6114673f1d5d39dc074685cb4e82d596ff1a3a

10 years agoRefreshed better-config-default.patch
Thomas Goirand [Tue, 1 Apr 2014 16:28:44 +0000 (00:28 +0800)]
Refreshed better-config-default.patch

Change-Id: I1a04a29d091dd2ef89c5e03da08ae5ffe69fbdff

10 years agoRefreshed fix-alembic-migration-with-sqlite3.patch
Thomas Goirand [Tue, 1 Apr 2014 16:28:11 +0000 (00:28 +0800)]
Refreshed fix-alembic-migration-with-sqlite3.patch

Change-Id: Ib69cefb5e218a33193e494c81d43227c958d7b40

10 years agoRemoved SQLAlchemy version in requirements.txt patch (now useless).
Thomas Goirand [Tue, 1 Apr 2014 16:27:17 +0000 (00:27 +0800)]
Removed SQLAlchemy version in requirements.txt patch (now useless).

Change-Id: I114320c4ec46319382a5ac09954996f86b06e570

10 years agoNow packaging upstream release 2014.1~rc1
Thomas Goirand [Tue, 1 Apr 2014 16:25:50 +0000 (00:25 +0800)]
Now packaging upstream release 2014.1~rc1

Change-Id: Iff6ad4f3b7da6573d6e8f2093333d4261ff4458a

10 years agoMerge tag '2014.1_rc1' into debian/icehouse
Thomas Goirand [Tue, 1 Apr 2014 16:24:00 +0000 (00:24 +0800)]
Merge tag '2014.1_rc1' into debian/icehouse

Neutron icehouse-rc1 milestone (2014.1.rc1)

Conflicts:
neutron/openstack/common/rootwrap/__init__.py
neutron/plugins/ibm/common/constants.py
neutron/plugins/nicira/vshield/common/__init__.py
neutron/tests/unit/nicira/vshield/__init__.py
neutron/tests/unit/vmware/extensions/test_addresspairs.py
neutron/tests/unit/vmware/extensions/test_networkgw.py

Change-Id: I4c423fb197f97f6eed0616fb094e0a8a5e9e6de6

10 years agoMerge "Invoke _process_l3_create within plugin session"
Jenkins [Tue, 1 Apr 2014 11:47:19 +0000 (11:47 +0000)]
Merge "Invoke _process_l3_create within plugin session"

10 years agoBigSwitch: Semaphore on port status update
Kevin Benton [Tue, 1 Apr 2014 06:32:41 +0000 (23:32 -0700)]
BigSwitch: Semaphore on port status update

Adds a semaphore to the _set_port_status
function used by the Big Switch ML2 driver and
plugin. Without it, the async threads are
susceptible to deadlocking and causing the
known eventlet/mysql timeout exception.

Closes-Bug: #1300607
Change-Id: Ie89213a0bef37f9e7a30945df39c0f1b87a33b82

10 years agoMerge "Add Icehouse no-op migration"
Jenkins [Mon, 31 Mar 2014 22:58:16 +0000 (22:58 +0000)]
Merge "Add Icehouse no-op migration"

10 years agoMerge "Cancelling thread start while unit tests running"
Jenkins [Mon, 31 Mar 2014 20:31:00 +0000 (20:31 +0000)]
Merge "Cancelling thread start while unit tests running"

10 years agoMerge "Synced rpc and gettextutils modules from oslo-incubator"
Jenkins [Mon, 31 Mar 2014 19:30:57 +0000 (19:30 +0000)]
Merge "Synced rpc and gettextutils modules from oslo-incubator"

10 years agoMerge "Delete duplicate external devices in router namespace"
Jenkins [Mon, 31 Mar 2014 17:56:11 +0000 (17:56 +0000)]
Merge "Delete duplicate external devices in router namespace"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 31 Mar 2014 15:02:24 +0000 (15:02 +0000)]
Merge "Imported Translations from Transifex"

10 years agoAdd Icehouse no-op migration
Mark McClain [Fri, 28 Mar 2014 14:31:38 +0000 (10:31 -0400)]
Add Icehouse no-op migration

This migration marks the database migration timeline milestone for
Icehouse.

Change-Id: I8be0322843e506c07e83dc4ba1c135f36a6e2505

10 years agoMerge "Delete subnet fails if assoc port has IPs from another subnet"
Jenkins [Mon, 31 Mar 2014 08:43:23 +0000 (08:43 +0000)]
Merge "Delete subnet fails if assoc port has IPs from another subnet"