]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 9 Dec 2013 20:38:17 +0000 (20:38 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Add LeastRouters Scheduler to Neutron L3 Agent"
Jenkins [Mon, 9 Dec 2013 14:07:58 +0000 (14:07 +0000)]
Merge "Add LeastRouters Scheduler to Neutron L3 Agent"

10 years agoMerge "l3_agent: make process_router more robust"
Jenkins [Mon, 9 Dec 2013 13:06:59 +0000 (13:06 +0000)]
Merge "l3_agent: make process_router more robust"

10 years agoMerge "Remove dead code _arp_spoofing_rule()"
Jenkins [Mon, 9 Dec 2013 12:54:27 +0000 (12:54 +0000)]
Merge "Remove dead code _arp_spoofing_rule()"

10 years agoAdd LeastRouters Scheduler to Neutron L3 Agent
Sylvain Afchain [Tue, 26 Nov 2013 21:24:33 +0000 (22:24 +0100)]
Add LeastRouters Scheduler to Neutron L3 Agent

Allow scheduling of a virtual router on an L3 Agent node with the least
number of routers currently scheduled. This scheduler can be used
instead of the default random scheduler.

Also refactor the l3_agent_scheduler to allow for adding new schedulers.

Implement blueprint lessrouter-scheduler
Change-Id: Ie539c08bdc8a6e1430a106f77d08f15abd0903e7

10 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 9 Dec 2013 06:32:38 +0000 (06:32 +0000)]
Imported Translations from Transifex

Change-Id: I8899e6ade1eb38e6d183cb35a509fcbecdc04b47

10 years agoMerge "Preserve floating ips when initializing l3 gateway interface"
Jenkins [Sat, 7 Dec 2013 23:05:30 +0000 (23:05 +0000)]
Merge "Preserve floating ips when initializing l3 gateway interface"

10 years agoMerge "Add fwaas_driver.ini to setup.cfg"
Jenkins [Sat, 7 Dec 2013 16:50:01 +0000 (16:50 +0000)]
Merge "Add fwaas_driver.ini to setup.cfg"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sat, 7 Dec 2013 15:47:24 +0000 (15:47 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Removed erronus config file comment"
Jenkins [Sat, 7 Dec 2013 10:22:40 +0000 (10:22 +0000)]
Merge "Removed erronus config file comment"

10 years agoMerge "Add request timeout handling for Mellanox Neutron Agent"
Jenkins [Sat, 7 Dec 2013 10:05:57 +0000 (10:05 +0000)]
Merge "Add request timeout handling for Mellanox Neutron Agent"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 7 Dec 2013 06:33:24 +0000 (06:33 +0000)]
Imported Translations from Transifex

Change-Id: I6f89af93f175d2de8eb2e00b08217a0b29e44385

10 years agoMerge "Improve unit test coverage for Cisco plugin common code"
Jenkins [Fri, 6 Dec 2013 19:28:08 +0000 (19:28 +0000)]
Merge "Improve unit test coverage for Cisco plugin common code"

10 years agoRemove dead code _arp_spoofing_rule()
Aaron Rosen [Fri, 6 Dec 2013 19:12:33 +0000 (11:12 -0800)]
Remove dead code _arp_spoofing_rule()

This code should have been removed when the allowed_address_pair
extension was added here (0efce6195fa7be80e110bd841dc9b3537a94c376).
The arp spoofing rules are handled in the method _setup_spoof_filter_chain().

Reported by: Amir Sadoughi that this was crud I left behind :)

Change-Id: Ib0e2e2a5c13fb8fa7af1f988510143f40ac335e2
Closes-bug: #1258629

10 years agoMerge "Fix unable to add allow all IPv4/6 security group rule"
Jenkins [Fri, 6 Dec 2013 19:14:07 +0000 (19:14 +0000)]
Merge "Fix unable to add allow all IPv4/6 security group rule"

10 years agoMerge "Do not concatenate localized strings"
Jenkins [Fri, 6 Dec 2013 19:13:57 +0000 (19:13 +0000)]
Merge "Do not concatenate localized strings"

10 years agoMerge "Sync rpc fix from oslo-incubator"
Jenkins [Fri, 6 Dec 2013 19:13:48 +0000 (19:13 +0000)]
Merge "Sync rpc fix from oslo-incubator"

10 years agoMerge "Fix a typo in log exception in the metering agent"
Jenkins [Fri, 6 Dec 2013 19:13:38 +0000 (19:13 +0000)]
Merge "Fix a typo in log exception in the metering agent"

10 years agoAdd fwaas_driver.ini to setup.cfg
Terry Wilson [Fri, 6 Dec 2013 17:13:09 +0000 (11:13 -0600)]
Add fwaas_driver.ini to setup.cfg

Change-Id: Ie8157c0df343fb1009e7bc5b3ed2f2d4b0d0afec
Closes-Bug: 1258585

10 years agoFix a typo in log exception in the metering agent
Sylvain Afchain [Thu, 28 Nov 2013 16:30:47 +0000 (17:30 +0100)]
Fix a typo in log exception in the metering agent

This patch fixes a typo when there is a exception
when the agent try to invoke a method of the driver.

Change-Id: I4fcf19fa84f178348abfb3563bbfd52f0dfcc095
Closes-bug: #1256041

10 years agoSync rpc fix from oslo-incubator
Flavio Percoco [Fri, 6 Dec 2013 14:35:14 +0000 (15:35 +0100)]
Sync rpc fix from oslo-incubator

Sync the following fixes from oslo-incubator:

e227c0e Properly reconnect subscribing clients when QPID broker restarts
ef406a2 Create a shared queue for QPID topic consumers

Change-Id: I286edf6bc4a677aa61f60da785802c19878c79c7
Closes-bug: #1251757
Closes-bug: #1257293

10 years agoMerge "Handle failures on update_dhcp_port"
Jenkins [Fri, 6 Dec 2013 13:26:09 +0000 (13:26 +0000)]
Merge "Handle failures on update_dhcp_port"

10 years agoMerge "Sync dhcp_agent.ini with the codes"
Jenkins [Fri, 6 Dec 2013 12:49:15 +0000 (12:49 +0000)]
Merge "Sync dhcp_agent.ini with the codes"

10 years agoDo not concatenate localized strings
Dirk Mueller [Mon, 21 Oct 2013 11:03:04 +0000 (13:03 +0200)]
Do not concatenate localized strings

This makes it hard for translators to understand what is going
on. Use string formatting with kwargs expansion.

Change-Id: Ic9ad8bb4e3d9c32188f4175bb0359e268921696b

10 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 6 Dec 2013 06:31:57 +0000 (06:31 +0000)]
Imported Translations from Transifex

Change-Id: I10900cbcfdd3e1568d48dc2e17ccb1a426cd27cb

10 years agoRemoved erronus config file comment
John Dewey [Fri, 6 Dec 2013 03:35:37 +0000 (19:35 -0800)]
Removed erronus config file comment

The comment stating 'DHCP agents needs it.' with regards to the
rpc_notifier notification_driver is incorrect.  Looking through
the code, I see no place this is true.  I believe it to be an
error.

Closes-Bug: #1258390

Change-Id: I58c2f9290731f3e88e4b4a5bdb600aa5bac1a12b

10 years agoMerge "Change to improve dhcp-agent sync_state"
Jenkins [Fri, 6 Dec 2013 03:42:29 +0000 (03:42 +0000)]
Merge "Change to improve dhcp-agent sync_state"

10 years agoMerge "Fix downgrade in migration"
Jenkins [Fri, 6 Dec 2013 00:00:45 +0000 (00:00 +0000)]
Merge "Fix downgrade in migration"

10 years agoImprove unit test coverage for Cisco plugin common code
Dane LeBlanc [Thu, 5 Dec 2013 22:04:55 +0000 (17:04 -0500)]
Improve unit test coverage for Cisco plugin common code

Closes-Bug: #1190615

This fix improves the unit test coverage for the Cisco Nexus plugin
common modules (directory neutron/plugins/cisco/common) from:
--- cisco_credentials_v2.py 82%
--- cisco_faults.py 0%
--- config.py 84%
To:
--- cisco_credentials_v2.py 100%
--- cisco_faults.py 76%
--- config.py 100%

Change-Id: Id1ccfee1317309039fab83f622ced58efc3b2ae7

10 years agoChange to improve dhcp-agent sync_state
Ed Bak [Tue, 3 Dec 2013 23:00:23 +0000 (23:00 +0000)]
Change to improve dhcp-agent sync_state

Added a pool.waitall to dhcp-agent sync_state
to ensure that the last pool of threads are complete
before another sync_state begins.  Added another
log message to aid in debugging. Also added the
test_sync_state_waitall unit test.

Change-Id: I13d79a212672c4086e3082783743cb1ef2b48cfb
Closes-Bug: #1257514

10 years agoMerge "Ensure NVP API connection port is always an integer"
Jenkins [Thu, 5 Dec 2013 16:59:47 +0000 (16:59 +0000)]
Merge "Ensure NVP API connection port is always an integer"

10 years agoFix downgrade in migration
Ann Kamyshnikova [Tue, 22 Oct 2013 10:29:26 +0000 (14:29 +0400)]
Fix downgrade in migration

In method downgrade_cisco in migration folsom_initial instead of
local method drop_tables op.drop_tables is used

Closes-Bug: #1243148

Change-Id: Ida6c52653c065e49c85141a7d1e61d394c1d709e

10 years agoMerge "Fix MeteringLabel model to not clear router's tenant id on deletion"
Jenkins [Thu, 5 Dec 2013 15:05:35 +0000 (15:05 +0000)]
Merge "Fix MeteringLabel model to not clear router's tenant id on deletion"

10 years agoMerge "Improve unit test coverage for Cisco plugin nexus code"
Jenkins [Thu, 5 Dec 2013 14:39:30 +0000 (14:39 +0000)]
Merge "Improve unit test coverage for Cisco plugin nexus code"

10 years agoMerge "Midonet to support port association at floating IP creation"
Jenkins [Thu, 5 Dec 2013 14:09:51 +0000 (14:09 +0000)]
Merge "Midonet to support port association at floating IP creation"

10 years agoMerge "metaplugin: use correct parameter to call neutron client"
Jenkins [Thu, 5 Dec 2013 11:00:40 +0000 (11:00 +0000)]
Merge "metaplugin: use correct parameter to call neutron client"

10 years agoMerge "Fix bad call in port_update in linuxbridge agent"
Jenkins [Thu, 5 Dec 2013 11:00:31 +0000 (11:00 +0000)]
Merge "Fix bad call in port_update in linuxbridge agent"

10 years agoMerge "Improve unit test coverage for Cisco plugin base code"
Jenkins [Thu, 5 Dec 2013 11:00:21 +0000 (11:00 +0000)]
Merge "Improve unit test coverage for Cisco plugin base code"

10 years agoMerge "Fix metering iptables driver doesn't read root_helper param"
Jenkins [Thu, 5 Dec 2013 10:56:32 +0000 (10:56 +0000)]
Merge "Fix metering iptables driver doesn't read root_helper param"

10 years agoMerge "atomically setup ovs ports"
Jenkins [Thu, 5 Dec 2013 09:52:40 +0000 (09:52 +0000)]
Merge "atomically setup ovs ports"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 5 Dec 2013 09:46:11 +0000 (09:46 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Handle exceptions on create_dhcp_port"
Jenkins [Thu, 5 Dec 2013 09:10:18 +0000 (09:10 +0000)]
Merge "Handle exceptions on create_dhcp_port"

10 years agoMerge "Fix misspells"
Jenkins [Thu, 5 Dec 2013 07:08:16 +0000 (07:08 +0000)]
Merge "Fix misspells"

10 years agoSync dhcp_agent.ini with the codes
Hui HX Xiang [Fri, 29 Nov 2013 04:38:10 +0000 (20:38 -0800)]
Sync dhcp_agent.ini with the codes

Add an option item into dhcp_agent.ini to sync with the codes.
* Add ovs_integration_bridge in /etc/dhcp_agent.ini
* Add corresponding unit test

Change-Id: Ia78e7ca6c1fcbeca3e962f870a393e44183d719c
closes-Bug: #1256197

10 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 5 Dec 2013 06:31:45 +0000 (06:31 +0000)]
Imported Translations from Transifex

Change-Id: Ibcfc7b6c53ef506a9dd9951e8ee2c4c558fd99b7

10 years agoHandle failures on update_dhcp_port
armando-migliaccio [Tue, 26 Nov 2013 22:45:24 +0000 (14:45 -0800)]
Handle failures on update_dhcp_port

Ensure exceptions due to conflicting
state of network or subnet resources
are dealt with by the dhcp agent.

Closes-bug:  #1253344
Related-bug: #1243726

Change-Id: I4fd51442c034fabc91d5a3f065f4df98f5fad35b

10 years agoHandle exceptions on create_dhcp_port
armando-migliaccio [Fri, 22 Nov 2013 02:42:08 +0000 (18:42 -0800)]
Handle exceptions on create_dhcp_port

If a network/subnet is deleted while creating the dhcp
port, the agent will detect a conflict on state of the
network and deal with it accordingly.

A concurrent delete may manifest itself via a number
of exceptions, IPAddressGenerationFailure amongst others,
hence the refactoring of the error handling logic into its
own utility method.

Partial-bug: #1253344
Related-bug: #1243726

Change-Id: I442beb5f82f3db8786eea53926903ef0ba0efbf1

10 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 4 Dec 2013 06:44:33 +0000 (06:44 +0000)]
Imported Translations from Transifex

Change-Id: I08f5f8be8a293e2bffad32f8290f20b693d715cc

10 years agoAdd vpnaas and debug filters to setup.cfg
Terry Wilson [Tue, 3 Dec 2013 23:26:07 +0000 (17:26 -0600)]
Add vpnaas and debug filters to setup.cfg

Change-Id: I44f7e4a44276a386b6e4d8bfb8370eb103787a21
Closes-Bug: 1257523

10 years agoFix misspells
Nachi Ueno [Tue, 3 Dec 2013 18:43:23 +0000 (10:43 -0800)]
Fix misspells

Change-Id: I8be38727ca55ebbead9032cf69f10a1006fd004b
Closes-bug:1257424

10 years agoMerge "Cisco nexus plugin fails to untrunk vlan if other hosts using vlan"
Jenkins [Tue, 3 Dec 2013 20:42:00 +0000 (20:42 +0000)]
Merge "Cisco nexus plugin fails to untrunk vlan if other hosts using vlan"

10 years agoMerge "Fix downgrade in migration"
Jenkins [Tue, 3 Dec 2013 16:52:18 +0000 (16:52 +0000)]
Merge "Fix downgrade in migration"

10 years agoMerge "Adds id in update_floatingip API in PLUMgrid plugin driver"
Jenkins [Tue, 3 Dec 2013 15:44:14 +0000 (15:44 +0000)]
Merge "Adds id in update_floatingip API in PLUMgrid plugin driver"

10 years agoMerge "Sync Log Levels from OSLO"
Jenkins [Tue, 3 Dec 2013 15:44:04 +0000 (15:44 +0000)]
Merge "Sync Log Levels from OSLO"

10 years agoFix bad call in port_update in linuxbridge agent
Darragh O'Reilly [Mon, 2 Dec 2013 12:49:50 +0000 (12:49 +0000)]
Fix bad call in port_update in linuxbridge agent

A call to update_device_down() was made on the wrong object.
Also adds unit tests for code paths to update_device_down() and
update_device_up().

Partial-Bug: 1256950
Change-Id: I34e364d4c29441d0b62b665a4ce1d02b5d08d465

10 years agoMerge "update error msg for invalid state to update vpn resources"
Jenkins [Tue, 3 Dec 2013 11:35:40 +0000 (11:35 +0000)]
Merge "update error msg for invalid state to update vpn resources"

10 years agoMerge "Move MidonetInterfaceDriver and use mm-ctl"
Jenkins [Tue, 3 Dec 2013 08:15:41 +0000 (08:15 +0000)]
Merge "Move MidonetInterfaceDriver and use mm-ctl"

10 years agoatomically setup ovs ports
Yong Sheng Gong [Tue, 3 Dec 2013 03:47:33 +0000 (11:47 +0800)]
atomically setup ovs ports

Change-Id: I7c4d4cac8150439f26b81d5727a5b7efb0a115f4
Closes-Bug: #1257014

10 years agoAdds id in update_floatingip API in PLUMgrid plugin driver
Edgar Magana [Tue, 3 Dec 2013 00:10:14 +0000 (16:10 -0800)]
Adds id in update_floatingip API in PLUMgrid plugin driver

The id parameter is missing in the update_floatingip API, this patch
adds it.

Change-Id: I7407fe34628f8ef03a946a11fea9dad8b0f6c256
Closes-Bug: #1257119

10 years agoSync Log Levels from OSLO
Peter Feiner [Fri, 29 Nov 2013 21:29:26 +0000 (16:29 -0500)]
Sync Log Levels from OSLO

The iso8601 debug messages were spamming neutron-server's logs.

cbfded9c Default iso8601 logging to WARN

Change-Id: Ia827e68783fd2079fe55ae24253488e61cd4c0ee
Closes-Bug: 1257107

10 years agoupdate error msg for invalid state to update vpn resources
Yong Sheng Gong [Mon, 2 Dec 2013 07:17:39 +0000 (15:17 +0800)]
update error msg for invalid state to update vpn resources

Change-Id: I6719fa359d0c14accfa8b9b440c2b7fbabbdcfdb
Closes-Bug: #1256766

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 2 Dec 2013 11:25:26 +0000 (11:25 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Updates .gitignore"
Jenkins [Mon, 2 Dec 2013 09:35:25 +0000 (09:35 +0000)]
Merge "Updates .gitignore"

10 years agoMerge "Pass in certain ICMPv6 types by default"
Jenkins [Mon, 2 Dec 2013 07:45:58 +0000 (07:45 +0000)]
Merge "Pass in certain ICMPv6 types by default"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 2 Dec 2013 06:39:07 +0000 (06:39 +0000)]
Imported Translations from Transifex

Change-Id: Ib10116cf71536ff8af7e09af257169057371448e

10 years agoMerge "Improve OVS agent logging for profiling"
Jenkins [Mon, 2 Dec 2013 04:02:35 +0000 (04:02 +0000)]
Merge "Improve OVS agent logging for profiling"

10 years agoFix unable to add allow all IPv4/6 security group rule
Aaron Rosen [Thu, 21 Nov 2013 13:28:28 +0000 (05:28 -0800)]
Fix unable to add allow all IPv4/6 security group rule

Previously, if one tried to add a rule to allow all ingress ipv4 neutron
would respond that the rule was already part of the security group.
This happened as the filter for querying existing rules uses a wildcard for
remote_group_id thus returning a false match. This patch addresses
this issue.

Change-Id: I0320013a3869d25fb424995354721929465d2848
Closes-bug: #1252806

10 years agoAdd request timeout handling for Mellanox Neutron Agent
Irena Berezovsky [Sun, 29 Sep 2013 11:09:44 +0000 (13:09 +0200)]
Add request timeout handling for Mellanox Neutron Agent

Add request timeout handling for messages sent to eswitch Daemon.
Using configurable number of retries and increasing waiting interval
between retries resend the message.
If request timeout persists, eswitch daemon is not reachable.
In such case, exit the agent process.

Closes-Bug: #1228827

Change-Id: If1290bedafe7a0dd8a61cbe328510075edeb1e5b

10 years agoMerge "Add support for NSX/NVP DHCP services"
Jenkins [Sat, 30 Nov 2013 04:09:11 +0000 (04:09 +0000)]
Merge "Add support for NSX/NVP DHCP services"

10 years agoMerge "Revert "ML2 plugin should not delete ports on subnet deletion""
Jenkins [Sat, 30 Nov 2013 01:44:17 +0000 (01:44 +0000)]
Merge "Revert "ML2 plugin should not delete ports on subnet deletion""

10 years agoRevert "ML2 plugin should not delete ports on subnet deletion"
Salvatore Orlando [Wed, 27 Nov 2013 14:09:25 +0000 (14:09 +0000)]
Revert "ML2 plugin should not delete ports on subnet deletion"

This reverts commit 0d131ff0e9964cb6a65f64809270f9d597c2d5d1

There is really no problem with this change. However, it is probably
triggering a port_update notification to the agent for each port
with an allocated IP.
The agent handles that notification in a way which might be improved
from a scalability perspective.

I don't actually want this change to removed, I am just checking
whether neutron without it passess jobs.

Change-Id: I5494b607127b261043dcddfdc10c93a28ec20af5
Related-Bug: 1253896
Related-Bug: 1254236

10 years agoImprove OVS agent logging for profiling
Salvatore Orlando [Fri, 29 Nov 2013 13:50:04 +0000 (05:50 -0800)]
Improve OVS agent logging for profiling

This patch adds some debug logging statements aimed at profiling
tasks in the agent's main rpc loop.
These logging capabilities will help gain some better insights into
the performance bottlenecks of the agent.

Part of blueprint neutron-tempest-parallel

Change-Id: Ied04b906dbbb9993283981bdee6c96e43a7d19a3

10 years agoMerge "Mock the udevadm in the TunnelTestWithMTU test"
Jenkins [Fri, 29 Nov 2013 07:21:25 +0000 (07:21 +0000)]
Merge "Mock the udevadm in the TunnelTestWithMTU test"

10 years agol3_agent: make process_router more robust
Jian Wen [Wed, 27 Nov 2013 14:23:26 +0000 (22:23 +0800)]
l3_agent: make process_router more robust

If internal_network_added/removed fails, _sync_routers_task will call
process_router to do fault recovery. Because the port is already
added/removed to/from ri.internal_ports, internal_network_added or
internal_network_removed will not be called again.

The patch fix this issue by calling ri.internal_ports.append/removed
only if internal_network_added/removed succeed. Without the patch,
the added testcases would fail.

Change-Id: I2d2e004caa670c1624257c1d7ccc900438b42d08
Co-Authored-By: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp>
Closes-Bug: #1255871

10 years agoMerge "Avoid loading policy when processing rpc requests"
Jenkins [Thu, 28 Nov 2013 21:14:17 +0000 (21:14 +0000)]
Merge "Avoid loading policy when processing rpc requests"

10 years agoMerge "Fix random unit-test failure for NVP advanced plugin"
Jenkins [Thu, 28 Nov 2013 21:09:41 +0000 (21:09 +0000)]
Merge "Fix random unit-test failure for NVP advanced plugin"

10 years agoMerge "Do not add DHCP info to subnet if DHCP is disabled"
Jenkins [Thu, 28 Nov 2013 20:01:14 +0000 (20:01 +0000)]
Merge "Do not add DHCP info to subnet if DHCP is disabled"

10 years agoMerge "Add test_handle_router_snat_rules_add_rules"
Jenkins [Thu, 28 Nov 2013 20:01:05 +0000 (20:01 +0000)]
Merge "Add test_handle_router_snat_rules_add_rules"

10 years agoMerge "Rebind allowed address pairs only if they changed"
Jenkins [Thu, 28 Nov 2013 19:58:53 +0000 (19:58 +0000)]
Merge "Rebind allowed address pairs only if they changed"

10 years agoFix metering iptables driver doesn't read root_helper param
Sylvain Afchain [Thu, 28 Nov 2013 16:17:11 +0000 (17:17 +0100)]
Fix metering iptables driver doesn't read root_helper param

With this patch the iptables driver instantiates the
iptables_manager with the correct root_helper value.

Change-Id: I9a37bae92dc12a8a78ea2d1b9fc5e995321ca322
Closes-bug: #1256036

10 years agoUpdates .gitignore
Zhenguo Niu [Thu, 28 Nov 2013 15:12:00 +0000 (23:12 +0800)]
Updates .gitignore

To ignore swap files from getting into repository
currently the implemented ignores are *.swp and *.swo
however vim adds more swap files if these files exists,
so improving this with *.sw?

Change-Id: Ie1b458d2b862e6cf2552ae5be6c6178b72e960ab
Closes-Bug: #1255876

10 years agoMerge "Optionally delete namespaces when they are no longer needed"
Jenkins [Thu, 28 Nov 2013 13:56:45 +0000 (13:56 +0000)]
Merge "Optionally delete namespaces when they are no longer needed"

10 years agoMerge "Fix showing nonexistent NetworkGateway throws 500 instead of 404"
Jenkins [Thu, 28 Nov 2013 13:51:56 +0000 (13:51 +0000)]
Merge "Fix showing nonexistent NetworkGateway throws 500 instead of 404"

10 years agoMerge "Stop logging unnecessary warning on context create"
Jenkins [Thu, 28 Nov 2013 12:44:06 +0000 (12:44 +0000)]
Merge "Stop logging unnecessary warning on context create"

10 years agoStop logging unnecessary warning on context create
Maru Newby [Wed, 27 Nov 2013 07:57:48 +0000 (07:57 +0000)]
Stop logging unnecessary warning on context create

The context was previously logging at the 'warn' level when unknown
kwargs were being passed to its __init__().  Since the agents were
passing tenant=None with each rpc request, this was generating an
unreasonable amount of log chatter that would not be useful to an
operator.  The fix is to log at the debug level instead so that
the operators don't see the output by default but developers can
still choose to.

Change-Id: I5c328f628c597eb949c1fe67b23120d2b5d1c7da
Related-Bug: #1254530
Partial-Bug: #1255441

10 years agoMerge "Fwaas can't run in operating system without namespace feature"
Jenkins [Thu, 28 Nov 2013 09:10:59 +0000 (09:10 +0000)]
Merge "Fwaas can't run in operating system without namespace feature"

10 years agoAvoid loading policy when processing rpc requests
Eugene Nikanorov [Thu, 28 Nov 2013 08:46:41 +0000 (12:46 +0400)]
Avoid loading policy when processing rpc requests

When Neutron server is restarted in the environment where multiple agents
are sending rpc requests to Neutron, it causes loading of policy.json
before API extensions are loaded. That causes different policy check
failures later on.
This patch avoids loading policy when creating a Context in rpc layer.

Change-Id: I66212baa937ec1457e0d284b5445de5243a8931f
Partial-Bug: 1254555

10 years agoMerge "Handle IPAddressGenerationFailure during get_dhcp_port"
Jenkins [Thu, 28 Nov 2013 04:57:37 +0000 (04:57 +0000)]
Merge "Handle IPAddressGenerationFailure during get_dhcp_port"

10 years agoMerge "Avoid dhcp agent race condition on subnet and network delete"
Jenkins [Thu, 28 Nov 2013 02:36:25 +0000 (02:36 +0000)]
Merge "Avoid dhcp agent race condition on subnet and network delete"

10 years agoImprove unit test coverage for Cisco plugin base code
Dane LeBlanc [Wed, 27 Nov 2013 22:24:35 +0000 (17:24 -0500)]
Improve unit test coverage for Cisco plugin base code

Closes-Bug: #1190621

This fix improves test code coverage for the file:
neutron/plugins/cisco/network_plugin.py
from 34% to 98%.

Some of the changes made to realize this code coverage improvements
are the following:
- Core API methods (create_network, update_network, etc.) have been
  removed from the core plugin (network_plugin.py). These methods
  are currently unused. Before this change, we relied on the underlying
  model layer to inform the core plugin whether or not the model layer
  was capable of handling these core API calls itself via a 'MANAGE_STATE'
  attribute. However, there is only one existing model layer
  implementation (i.e. for Nexus plugin; the N1KV plugin does not use
  network_plugin.py), and that model layer supports the core API calls.
  Given that it is unlikely that another model layer for the Cisco Nexus
  plugin will ever be developed (esp. with the availability of the ML2
  plugin), so it makes more sense to delete this untested code.
- Exception raising for non-existent credentials has been removed from
  get_credential_details and rename_credential methods since
  exceptions are already raised for this condition in lower-level
  credential database code.
- The schedule_host, associate_port, and detach_port methods are
  deleted because these essentially do nothing useful (log a debug
  message and then return None), since these methods look for
  the same-named methods in the model layer, but these methods are
  not defined in the model layer.
- The helper functions _invoke_device_plugins and _func_name are
  deleted because they are no longer used.
- In unit test code for the Cisco QoS and credentials database, calls
  are now made indirectly through the core plugin (network_plugin.py)
  extension API methods, as a quick-and-easy way to provide code
  coverage for these core plugin methods.

Change-Id: I0c0d9e2b251a7c0355d83e495912302c5cc4d032

10 years agoMerge "Apply six for metaclass"
Jenkins [Wed, 27 Nov 2013 20:31:05 +0000 (20:31 +0000)]
Merge "Apply six for metaclass"

10 years agoMerge "Added check on plugin.supported_extension_aliases"
Jenkins [Wed, 27 Nov 2013 19:34:36 +0000 (19:34 +0000)]
Merge "Added check on plugin.supported_extension_aliases"

10 years agoMerge "Rebind security groups only when they're updated"
Jenkins [Wed, 27 Nov 2013 19:32:14 +0000 (19:32 +0000)]
Merge "Rebind security groups only when they're updated"

10 years agoMerge "Fix downgrade in migration"
Jenkins [Wed, 27 Nov 2013 19:20:21 +0000 (19:20 +0000)]
Merge "Fix downgrade in migration"

10 years agoMerge "Mocking ryu plugin notifier in ryu plugin test"
Jenkins [Wed, 27 Nov 2013 18:27:58 +0000 (18:27 +0000)]
Merge "Mocking ryu plugin notifier in ryu plugin test"

10 years agoPass in certain ICMPv6 types by default
Sean M. Collins [Fri, 18 Oct 2013 18:33:23 +0000 (14:33 -0400)]
Pass in certain ICMPv6 types by default

This allows instances to do SLAAC configuration, without requiring
explicit security group rules to do so.

Closes-Bug: #1242933

Change-Id: I517c66a470296141c0024a64e39b6d40b0c0d581

10 years agoMerge "Fix format errors seen in rpc logging"
Jenkins [Wed, 27 Nov 2013 15:46:23 +0000 (15:46 +0000)]
Merge "Fix format errors seen in rpc logging"

10 years agoEnsure NVP API connection port is always an integer
Salvatore Orlando [Wed, 27 Nov 2013 13:06:20 +0000 (05:06 -0800)]
Ensure NVP API connection port is always an integer

Convert the 'port' part of a NVP endpoint to int before passing
it to the NVP API client.

Change-Id: I15137d943ab950cb5cc80d7af2971bce3ac1a265
Closes-Bug: #1255519

10 years agoMerge "Send only one agent notification on port update"
Jenkins [Wed, 27 Nov 2013 12:30:13 +0000 (12:30 +0000)]
Merge "Send only one agent notification on port update"

10 years agoMocking ryu plugin notifier in ryu plugin test
Akihiro Motoki [Wed, 27 Nov 2013 10:09:01 +0000 (19:09 +0900)]
Mocking ryu plugin notifier in ryu plugin test

Previously RPC notifier is not mocked in ryu plugin test and the
plugin tries to send RPC notifications. It may interact with
impl_fake RPC set up in previous tests by other plugin
and sometimes leads to unexpected ovs-vsctl invoking.

Change-Id: I11714a160faa4d3ded7f312c39afba0b426ccd8a
Closes-Bug: #1255421