]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoMerge "Allow CIDRs with non-zero masked portions"
Jenkins [Thu, 20 Mar 2014 15:46:07 +0000 (15:46 +0000)]
Merge "Allow CIDRs with non-zero masked portions"

10 years agoMerge "ML2 BigSwitch: Don't modify parent context"
Jenkins [Thu, 20 Mar 2014 15:44:57 +0000 (15:44 +0000)]
Merge "ML2 BigSwitch: Don't modify parent context"

10 years agoMerge "BigSwitch: Widen range of HTTPExceptions caught"
Jenkins [Thu, 20 Mar 2014 15:30:24 +0000 (15:30 +0000)]
Merge "BigSwitch: Widen range of HTTPExceptions caught"

10 years agoMerge "NEC plugin: Honor Retry-After response from OFC"
Jenkins [Thu, 20 Mar 2014 13:33:05 +0000 (13:33 +0000)]
Merge "NEC plugin: Honor Retry-After response from OFC"

10 years agoMerge "Add a semaphore to some ML2 operations"
Jenkins [Thu, 20 Mar 2014 13:25:38 +0000 (13:25 +0000)]
Merge "Add a semaphore to some ML2 operations"

10 years agoMerge "NSX: Fix router-interface-delete returns 404 when router not in nsx"
Jenkins [Thu, 20 Mar 2014 10:22:43 +0000 (10:22 +0000)]
Merge "NSX: Fix router-interface-delete returns 404 when router not in nsx"

10 years agoMerge "return false or true according to binding result"
Jenkins [Thu, 20 Mar 2014 09:42:01 +0000 (09:42 +0000)]
Merge "return false or true according to binding result"

10 years agoMerge "Cisco plugin fails with ParseError no elem found"
Jenkins [Thu, 20 Mar 2014 09:41:48 +0000 (09:41 +0000)]
Merge "Cisco plugin fails with ParseError no elem found"

10 years agoMerge "Don't use root to list namespaces"
Jenkins [Thu, 20 Mar 2014 05:20:19 +0000 (05:20 +0000)]
Merge "Don't use root to list namespaces"

10 years agoMerge "Change report_interval from 4 to 30, agent_down_time from 9 to 75"
Jenkins [Thu, 20 Mar 2014 04:39:12 +0000 (04:39 +0000)]
Merge "Change report_interval from 4 to 30, agent_down_time from 9 to 75"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 20 Mar 2014 04:38:03 +0000 (04:38 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Show neutron API request body with debug enabled"
Jenkins [Thu, 20 Mar 2014 02:34:39 +0000 (02:34 +0000)]
Merge "Show neutron API request body with debug enabled"

10 years agoAdd a semaphore to some ML2 operations
Salvatore Orlando [Thu, 13 Mar 2014 22:06:12 +0000 (15:06 -0700)]
Add a semaphore to some ML2 operations

This patch adds a semaphore for serializing the delete port API
calls and update_port_status calls to avoid simultaneous
attempts to acquire SQL update locks on the port table from
the same thread pool.

This semaphore has been introduced to avoid undesired eventlet
yields which trigger 'lock wait timeout' errors in the DB backend;
it should have a negligible impact on the overall performance.

Change-Id: I0ec947086e533945942ae93402943dec69b218ef
Partial-Bug: 1283522

10 years agoMerge "API layer documentation"
Jenkins [Wed, 19 Mar 2014 23:20:28 +0000 (23:20 +0000)]
Merge "API layer documentation"

10 years agoMerge "Add session persistence support for NVP advanced LBaaS"
Jenkins [Wed, 19 Mar 2014 22:29:42 +0000 (22:29 +0000)]
Merge "Add session persistence support for NVP advanced LBaaS"

10 years agoMerge "BigSwitch: Watchdog thread start after servers"
Jenkins [Wed, 19 Mar 2014 22:29:33 +0000 (22:29 +0000)]
Merge "BigSwitch: Watchdog thread start after servers"

10 years agoMerge "Ensure to count firewalls in target tenant"
Jenkins [Wed, 19 Mar 2014 17:53:54 +0000 (17:53 +0000)]
Merge "Ensure to count firewalls in target tenant"

10 years agoMerge "Mock agent RPC for FWaaS tests to delete DB objs"
Jenkins [Wed, 19 Mar 2014 17:53:44 +0000 (17:53 +0000)]
Merge "Mock agent RPC for FWaaS tests to delete DB objs"

10 years agoMerge "Remove individual cfg.CONF.resets from tests"
Jenkins [Wed, 19 Mar 2014 17:37:37 +0000 (17:37 +0000)]
Merge "Remove individual cfg.CONF.resets from tests"

10 years agoMerge "Stop removing ip allocations on port delete"
Jenkins [Wed, 19 Mar 2014 09:52:56 +0000 (09:52 +0000)]
Merge "Stop removing ip allocations on port delete"

10 years agoNEC plugin: Honor Retry-After response from OFC
Akihiro Motoki [Wed, 19 Mar 2014 08:08:37 +0000 (17:08 +0900)]
NEC plugin: Honor Retry-After response from OFC

A backend OpenFlow controller nec plugin talks to can return
503 response with retry-after header when it is busy.
It is better to honor retry-after header to avoid unnecessary
user-visible errors due to temporary busy condition.

Change-Id: I2ff1c3ac8402a2207bd955e9a9bb61e147950c5c
Closes-Bug: #1294527

10 years agoreturn false or true according to binding result
Yong Sheng Gong [Wed, 19 Mar 2014 06:38:35 +0000 (14:38 +0800)]
return false or true according to binding result

Change-Id: I23a47c6c7c9be989e65c144b2277c42eeaaade3f
Closes-Bug: 1294500

10 years agoMerge "Kill 'Skipping unknown group key: firewall_driver' log trace"
Jenkins [Wed, 19 Mar 2014 05:04:18 +0000 (05:04 +0000)]
Merge "Kill 'Skipping unknown group key: firewall_driver' log trace"

10 years agoEnsure to count firewalls in target tenant
Akihiro Motoki [Fri, 14 Mar 2014 22:57:34 +0000 (07:57 +0900)]
Ensure to count firewalls in target tenant

Previously admin tenant cannot create a firewall if other tenant
already created a firewall. We need to count firewalls only in
a target tenant.

Change-Id: I3e6d151d00d4a487bdd858e94929fab8960511a2
Closes-Bug: #1258438

10 years agoMock agent RPC for FWaaS tests to delete DB objs
Kevin Benton [Tue, 4 Mar 2014 11:27:11 +0000 (03:27 -0800)]
Mock agent RPC for FWaaS tests to delete DB objs

This changes the firewall service unit tests to
mock the RPC calls from the firewall service to
the agent. This allows the tests to fake the
agent response RPC that removes the firewall
from the DB so the all of the other objects that
the firewall depends on can be deleted.

Closes-Bug: #1288441
Change-Id: I32462ab5557b9c52328bf6a23a12efc2d799644c

10 years agoAllow CIDRs with non-zero masked portions
Kevin Benton [Tue, 18 Mar 2014 00:06:46 +0000 (17:06 -0700)]
Allow CIDRs with non-zero masked portions

Allow users to specify CIDRs with bits other
than zeros in the masked portion of the subnet.
e.g. 192.168.1.5/24 is accepted and converted
to 192.168.1.0/24.

Closes-Bug: #1204173
Change-Id: I7ddff41e6988feb6e2a87e40a4d99db7174415b1

10 years agoCisco plugin fails with ParseError no elem found
Dane LeBlanc [Tue, 18 Mar 2014 16:37:33 +0000 (12:37 -0400)]
Cisco plugin fails with ParseError no elem found

When the Cisco nexus plugin is configured on DevStack, the tempest
Neutron API test test_port_list_filter_by_router_id fails with the
following error:
     ParseError: no element found: line 1, column 0

The root cause is that the Cisco Nexus plugin model layer
is encapsulating each dictionary response from the OVS subplugin
into a list, whereas the WSGI layer is expecting a dictionary
response. The fix is not to encapsulate these responses into a list.

Change-Id: I4b589e8e5696c0eae43cafc46912b3d7f29bbdb6
Closes-Bug: #1284162

10 years agoDon't use root to list namespaces
Carl Baldwin [Mon, 17 Mar 2014 22:19:04 +0000 (22:19 +0000)]
Don't use root to list namespaces

A bit of low hanging fruit.  I just noticed that this hadn't been
fixed yet.

Change-Id: Iea9210098b6acf4ab24a89287529ff82986faaad
Closes-Bug: #1293818

10 years agoML2 BigSwitch: Don't modify parent context
Kevin Benton [Tue, 18 Mar 2014 19:11:53 +0000 (12:11 -0700)]
ML2 BigSwitch: Don't modify parent context

Makes a copy of the port context before changing
it in preparation for the backend controller so
other drivers are not affected. Also removes a
UT that was exercising direct modification of VIF
details in the port context, which is not allowed
by the ML2 plugin.

Closes-Bug: #1294308
Change-Id: I47281dcd23c022813b8b6eda0a3d39c4482277b9

10 years agoMerge "NSX: Ensure gateway devices are usable after upgrade"
Jenkins [Tue, 18 Mar 2014 18:06:59 +0000 (18:06 +0000)]
Merge "NSX: Ensure gateway devices are usable after upgrade"

10 years agoChange report_interval from 4 to 30, agent_down_time from 9 to 75
Assaf Muller [Sun, 16 Mar 2014 11:01:18 +0000 (13:01 +0200)]
Change report_interval from 4 to 30, agent_down_time from 9 to 75

report_interval is how often an agent sends out a heartbeat to the
service. The Neutron service responds to these 'report_state' RPC
messages by updating the agent's heartbeat DB record.
The last heartbeat is then compared to the configured
agent_down_time to determine if the agent is up or down.
The agent's status is used when scheduling networks on DHCP
and L3 agents.

In the spirit of sane defaults suited for production, these values
should be bumped to reduce the load on the Neutron service
dramatically, freeing up CPU time to perform intensive operations.

DocImpact
Closes-Bug: #1293083
Change-Id: I77bcf8f66f74ba55513c989caead1f96c92b9832

10 years agoStop removing ip allocations on port delete
Maru Newby [Fri, 14 Mar 2014 22:14:09 +0000 (22:14 +0000)]
Stop removing ip allocations on port delete

The _delete_port() method was manually removing related
IPAllocation instances despite the existence of a perfectly
good cascade deletion relationship in the model.  This patch
puts an end to that nonsense and the potential for deadlock that
it represented.

Closes-bug: #1288379
Related-Bug: #1283522

Change-Id: Ib31550fa9000fc75768a327cb6cc1c419e06568f

10 years agoMerge "Validate multicast ip range in Cisco N1kv Plugin"
Jenkins [Tue, 18 Mar 2014 06:40:31 +0000 (06:40 +0000)]
Merge "Validate multicast ip range in Cisco N1kv Plugin"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 18 Mar 2014 06:37:34 +0000 (06:37 +0000)]
Imported Translations from Transifex

Change-Id: I2e20faef71a104c1a58f20b9c0d8a14ed388a330

10 years agoMerge "Added missing l3_update call in update_network"
Jenkins [Tue, 18 Mar 2014 04:37:38 +0000 (04:37 +0000)]
Merge "Added missing l3_update call in update_network"

10 years agoMerge "Calculate stateless IPv6 address"
Jenkins [Tue, 18 Mar 2014 02:32:36 +0000 (02:32 +0000)]
Merge "Calculate stateless IPv6 address"

10 years agoMerge "Create new IPv6 attributes for Subnets"
Jenkins [Tue, 18 Mar 2014 02:26:34 +0000 (02:26 +0000)]
Merge "Create new IPv6 attributes for Subnets"

10 years agoShow neutron API request body with debug enabled
Kevin Benton [Mon, 17 Mar 2014 22:21:08 +0000 (15:21 -0700)]
Show neutron API request body with debug enabled

Shows the contents of update and create requests
to the neutron API when debugging is enabled.

Closes-Bug: #982504
Change-Id: I90680721aee9efbcb01779cdfacc86b90b37bf8f

10 years agoAdd session persistence support for NVP advanced LBaaS
berlin [Fri, 29 Nov 2013 09:45:33 +0000 (17:45 +0800)]
Add session persistence support for NVP advanced LBaaS

Change-Id: I2042894755cdaf54b2bc39e58028746aa7c1e8ea
Closes-Bug: #1256243

10 years agoMerge "Check vxlan enablement via modinfo"
Jenkins [Mon, 17 Mar 2014 22:52:36 +0000 (22:52 +0000)]
Merge "Check vxlan enablement via modinfo"

10 years agoNSX: Fix router-interface-delete returns 404 when router not in nsx
Aaron Rosen [Thu, 13 Mar 2014 05:22:53 +0000 (22:22 -0700)]
NSX: Fix router-interface-delete returns 404 when router not in nsx

Previously, if one would run router-interface-delete and the router
was not found in NSX. Neutron would raise a 404 error and remove the interface
from the database. In this case it would be better if we did not raise
a 404 error as the caller shouldn't be aware that the backend is out of sync.

Closes-bug: #1291690

Change-Id: I2400f8b31817e6dd4bc8aa08f07e1613fc2deeae

10 years agoBigSwitch: Watchdog thread start after servers
Kevin Benton [Mon, 17 Mar 2014 20:39:50 +0000 (13:39 -0700)]
BigSwitch: Watchdog thread start after servers

Start the watchdog thread after the servers have
been initialized.

Closes-Bug: #1293799
Change-Id: Ic7ae1f55bd7faed6edde84d9d0b52fc8fe7a1fc1

10 years agoMerge "NVP LBaaS: check for association before deleting health monitor"
Jenkins [Mon, 17 Mar 2014 20:27:46 +0000 (20:27 +0000)]
Merge "NVP LBaaS: check for association before deleting health monitor"

10 years agoCalculate stateless IPv6 address
Dazhao [Wed, 13 Nov 2013 10:24:32 +0000 (18:24 +0800)]
Calculate stateless IPv6 address

In order to support stateless IPv6, neutron should calculate IPv6 address base
on IPv6 prefix and MAC address via EUI-64 specification.  This change adds
common library to calculate IPv6 address.

Partially-implements bp ipv6-two-attributes
Co-Authored-By: Xu Han Peng <xuhanp@cn.ibm.com>
Change-Id: I68ccbc42388ec760d6fead242e080822ca753913

10 years agoCreate new IPv6 attributes for Subnets
Sean M. Collins [Thu, 30 Jan 2014 19:12:17 +0000 (14:12 -0500)]
Create new IPv6 attributes for Subnets

* Introduces two new optional attributes for Subnets:
  * ipv6_ra_mode
  * ipv6_address_mode

Both attributes accept the following values:

* dhcpv6-stateful
* dhcpv6-stateless
* slaac

In addition to these values, additional behaviors are specified for
when only one of the attributes is set. For example, a Neutron network
that uses a physical router as a gateway, that transmits ICMPv6 Router
Advertisement packets to configure hosts on the network will create
Neutron Subnets that have ipv6_ra_mode *not* set, and ipv6_address_mode
set to 'slaac' so that Neutron will calculate EUI64 addresses for
each port assigned to the subnet, and not spawn a Dnsmasq process.

These attributes maintain backwards compatability with the enable_dhcp
Subnet attribute, by requiring a subnet with these attributes to also
have enable_dhcp set to True.

DocImpact

Implements bp ipv6-two-attributes
Change-Id: I5b2313fff5dca1c16ff939fdc4397d7f95ba3ba5

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 17 Mar 2014 18:08:16 +0000 (18:08 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "ML2 plugin involves in agent_scheduler migration"
Jenkins [Mon, 17 Mar 2014 18:07:57 +0000 (18:07 +0000)]
Merge "ML2 plugin involves in agent_scheduler migration"

10 years agoRemove individual cfg.CONF.resets from tests
Henry Gessau [Wed, 12 Mar 2014 05:36:13 +0000 (01:36 -0400)]
Remove individual cfg.CONF.resets from tests

oslo.config.CONF.reset is added to cleanup in BaseTestCase, so it does
not need to be done by individual test cases.

Change-Id: I5fced5c2d480e78e5bb7cc150f0b653313884456
Closes-Bug: #1291144

10 years agoNSX: Ensure gateway devices are usable after upgrade
Salvatore Orlando [Mon, 17 Mar 2014 14:43:53 +0000 (15:43 +0100)]
NSX: Ensure gateway devices are usable after upgrade

The gateway device database migration upon an upgrade creates
gateway devices objects from references in network gateway
objects.
While these gateway devices are perfectly usable
in network gateways, they are not directly visible to tenants
and also cannot be updated to change details such as name,
connector type or ip as well as the client certificate.

This patch fixes the DB migration in order to ensure tenant
have access to gateway devices created after an upgrade.
This patch also modifies the l2 gateway nsxlib module to
ensure request bodies are correctly created even when not all
the attributes of a gateway device are specified.

Change-Id: I7077e9884adc739fb75e64a6e9a17a124d79fb6b
Closes-Bug: 1293617

10 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 17 Mar 2014 06:21:11 +0000 (06:21 +0000)]
Imported Translations from Transifex

Change-Id: I78925e933b51f5cc7a5b3d71e35eb4819af869ba

10 years agoAdded missing l3_update call in update_network
Fawad Khaliq [Mon, 17 Mar 2014 03:51:16 +0000 (20:51 -0700)]
Added missing l3_update call in update_network

Change-Id: Id907ae692140fd52762ef6ac4fc1613897eb5065
Closes-Bug: #1259125

10 years agoMerge "Avoid long transaction in plugin.delete_ports()"
Jenkins [Sun, 16 Mar 2014 22:23:54 +0000 (22:23 +0000)]
Merge "Avoid long transaction in plugin.delete_ports()"

10 years agoML2 plugin involves in agent_scheduler migration
Li Ma [Sun, 16 Mar 2014 11:32:22 +0000 (04:32 -0700)]
ML2 plugin involves in agent_scheduler migration

In agent_scheduler migration script which creates
network-dhcp-binding table and router-l3-binding table,
ML2 plugin should be included in the plugin list.

Change-Id: If39ef2a488513a58d608c70e26a2b9f960dbe904
Closes-Bug: #1293089

10 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 16 Mar 2014 06:15:20 +0000 (06:15 +0000)]
Imported Translations from Transifex

Change-Id: I6fd6f5592874892988a670dae7f7209f2b1e9eab

10 years agoAvoid long transaction in plugin.delete_ports()
Akihiro Motoki [Fri, 7 Mar 2014 06:58:46 +0000 (15:58 +0900)]
Avoid long transaction in plugin.delete_ports()

db_plugin.delete_ports() called plugin.delete_port() under
a transaction. It leads to long transaction if plugin.delete_port
talks with external systems. This commit changes each delete_port
outside of a transaction to avoid longer transaction.

plugin.delete_ports is now called by release_dhcp_ports and
dhcp-agent ports can be deleted separately, so this changes
does not break the existing behavior.

delete_ports is renamed to delete_ports_by_device_id
to clarify the usage of this method.

NEC plugin already has this change and it is no longer needed.

_do_side_effect helper method in test_db_plugin is renamed
to more self-descriptive name.

Change-Id: Ied5883a57c7774c3b0778453d84c717b337f88c0
Closes-Bug: #1282925
Related-Bug: #1283522

10 years agoMerge "Fix KeyError except on router_info in FW Agent"
Jenkins [Sat, 15 Mar 2014 13:05:36 +0000 (13:05 +0000)]
Merge "Fix KeyError except on router_info in FW Agent"

10 years agoMerge "NSX: fix intermetting UT failure on vshield test_router_create"
Jenkins [Sat, 15 Mar 2014 07:30:01 +0000 (07:30 +0000)]
Merge "NSX: fix intermetting UT failure on vshield test_router_create"

10 years agoMerge "NSX: Propagate name updates for security profiles"
Jenkins [Sat, 15 Mar 2014 06:15:36 +0000 (06:15 +0000)]
Merge "NSX: Propagate name updates for security profiles"

10 years agoMerge "Remove legacy quantum config path"
Jenkins [Sat, 15 Mar 2014 01:24:01 +0000 (01:24 +0000)]
Merge "Remove legacy quantum config path"

10 years agoMerge "Add extraroute_db support for Cisco N1kv Plugin"
Jenkins [Sat, 15 Mar 2014 01:22:57 +0000 (01:22 +0000)]
Merge "Add extraroute_db support for Cisco N1kv Plugin"

10 years agoMerge "Fix ml2 & nec plugins for allowedaddresspairs tests"
Jenkins [Sat, 15 Mar 2014 00:47:15 +0000 (00:47 +0000)]
Merge "Fix ml2 & nec plugins for allowedaddresspairs tests"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 14 Mar 2014 22:03:35 +0000 (22:03 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Send fdb remove message when a port is migrated"
Jenkins [Fri, 14 Mar 2014 21:42:58 +0000 (21:42 +0000)]
Merge "Send fdb remove message when a port is migrated"

10 years agoFix KeyError except on router_info in FW Agent
Sridar Kandaswamy [Mon, 10 Mar 2014 06:31:28 +0000 (23:31 -0700)]
Fix KeyError except on router_info in FW Agent

The workflow of creating a firewall when a router without any i/f is present in that tenant
causes a KeyError on the FWAgent. The issue occurs as such routers are present in the list of
routers returned by get_routers() but are not populated in the router_info dict. Adding a check
before accessing the dict to prevent the exception. When an i/f is added to such routers -
_router_added processing in the l3agent will populate the router_info dict and the FWAgent
also picks this up in that context.

Change-Id: I5ea22e88a46e62372a0462e9cb958a08dd9f4c7d
Closes-Bug: #1289643

10 years agoMerge "NSX: remove last of unneed quantum references"
Jenkins [Fri, 14 Mar 2014 20:21:54 +0000 (20:21 +0000)]
Merge "NSX: remove last of unneed quantum references"

10 years agoMerge "Fix in admin_state_up check function"
Jenkins [Fri, 14 Mar 2014 18:28:37 +0000 (18:28 +0000)]
Merge "Fix in admin_state_up check function"

10 years agoMerge "Adds state reporting to SDN-VE agent"
Jenkins [Fri, 14 Mar 2014 16:50:56 +0000 (16:50 +0000)]
Merge "Adds state reporting to SDN-VE agent"

10 years agoNSX: remove last of unneed quantum references
Aaron Rosen [Thu, 13 Mar 2014 20:18:42 +0000 (13:18 -0700)]
NSX: remove last of unneed quantum references

Bye bye quantum!

Change-Id: Idabb3c28abfafedb1740d55aead1745725f6ca63

10 years agoNSX: fix intermetting UT failure on vshield test_router_create
armando-migliaccio [Fri, 14 Mar 2014 15:07:23 +0000 (08:07 -0700)]
NSX: fix intermetting UT failure on vshield test_router_create

Logstash shows this happened twice during the past 24 hours.
Let's be proactive and see if we can mitigate the random failure
by raising the poll time.

Change-Id: Icef7de4d9fbb3da037337c607fd7642cc15e0257
Closes-bug: 1292506

10 years agoMerge "Fixing lost vlan ids on interfaces"
Jenkins [Fri, 14 Mar 2014 11:12:08 +0000 (11:12 +0000)]
Merge "Fixing lost vlan ids on interfaces"

10 years agoMerge "NSX: nicira_models should import model_base directly"
Jenkins [Fri, 14 Mar 2014 11:10:40 +0000 (11:10 +0000)]
Merge "NSX: nicira_models should import model_base directly"

10 years agoSend fdb remove message when a port is migrated
mathieu-rohon [Fri, 14 Mar 2014 09:17:55 +0000 (10:17 +0100)]
Send fdb remove message when a port is migrated

the fdb_remove rpc message is sent when the status
of the port goes to BUILD, that is when the new host
send a get_device_details which means that it owns
the migrated port. The fdb_add message will be sent
as soon as the new host send update_device_up

Closes bug: #1237841

Change-Id: Ibdc7768d8db922b7e6eb9dc505382168cbb8e55d

10 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 14 Mar 2014 06:28:15 +0000 (06:28 +0000)]
Imported Translations from Transifex

Change-Id: I5666887bf63545e4c32617eebb215b7de339efd1

10 years agoSend network-changed notifications to nova
Aaron Rosen [Tue, 4 Mar 2014 18:47:07 +0000 (10:47 -0800)]
Send network-changed notifications to nova

This patch notifies nova whenever a floatingip or fixed_ip is updated.

Implements blueprint: nova-event-callback

DocImpact - This notifications are off by default.

Change-Id: Ifbe9d856e80e512d5595fd72ea2d7c047ce0de9d

10 years agoNotify nova when ports are ready
Aaron Rosen [Fri, 21 Feb 2014 00:18:11 +0000 (16:18 -0800)]
Notify nova when ports are ready

The following patch adds a callback from neutron to nova that notifies nova
when a port for an instance is *ready to be used*. After nova receives this
event it will then start the instance in a hope that when it comes up
its networking should be in working order.

NOTE: *ready to be used* currently means that a plugin changes the status
in the db associated with a port from:
NO_VALUE/PORT_STATUS_DOWN/PORT_STATUS_ACTIVE to ACTIVE/ERROR.

Neutron will then signal nova: network_vif_plugged:<status> where status
will either be 'completed' or 'failed' given the neutron port status.

Neutron also notifies nova when a port goes from status:
PORT_STATUS_ACTIVE to PORT_STATUS_DOWN and sends nova a network_vif_unplugged
event.

Currently this patch breaks multiregion support (i.e previously you could
back multiple nova regions by one neutron server) though now since neutron
needs to notify nova we'll need to add a way to determine which region a
given port is in.

For now the work around for this would be to set: notify_nova_port_active=False
in neutron to prevent neutron from sending the notification and setting:
vif_plugging_is_fatal=False in nova.conf. Doing this will keep the current
interaction where an instance will be booted without waiting for the network
to be ready.

DocImpact

implements blueprint: nova-event-callback

Change-Id: I4177124485b986706fcf8e73b928024b5d82b822

10 years agoSkip radware failing test for now
Aaron Rosen [Fri, 14 Mar 2014 00:14:52 +0000 (17:14 -0700)]
Skip radware failing test for now

Change-Id: Ic6c9b1aad20c732864fc4569fb566263df0f6879
Related-bug: #1288312

10 years agoMerge "Embrane LBaaS Driver"
Jenkins [Thu, 13 Mar 2014 23:05:12 +0000 (23:05 +0000)]
Merge "Embrane LBaaS Driver"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 13 Mar 2014 23:03:45 +0000 (23:03 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Create agents table when ML2 core_plugin is used"
Jenkins [Thu, 13 Mar 2014 21:50:11 +0000 (21:50 +0000)]
Merge "Create agents table when ML2 core_plugin is used"

10 years agoNSX: Propagate name updates for security profiles
armando-migliaccio [Thu, 6 Mar 2014 20:06:18 +0000 (12:06 -0800)]
NSX: Propagate name updates for security profiles

...All the way to the controller.

Change-Id: I4740f632eeafdd165dbd0208e37acc85ff883925
Closes-bug: #1285845

10 years agoFix in admin_state_up check function
Fawad Khaliq [Wed, 12 Mar 2014 00:33:30 +0000 (17:33 -0700)]
Fix in admin_state_up check function

Change-Id: If221cf5546e6432b31dd11ec322ddd4b69d161b2
Closes-Bug: #1291103
Signed-off-by: Fawad Khaliq <fawad@plumgrid.com>
10 years agoKill 'Skipping unknown group key: firewall_driver' log trace
armando-migliaccio [Thu, 13 Mar 2014 19:40:01 +0000 (12:40 -0700)]
Kill 'Skipping unknown group key: firewall_driver' log trace

This is done by trying to import the option first. If this
does not work, emit a warning instead as in most cases this is
harmless for a number of reasons: a) the service might not
even need the opt; b) if things do break down the line, we'll
see bigger traces; c) it's not gonna be long for this legacy
quantum/neutron stuff to be removed altogether.

Closes-bug: 1210121

Change-Id: I34917da9cb6117ee1d42140621c742f503279b6b

10 years agoMerge "Fix usage of sqlalchemy type Integer"
Jenkins [Thu, 13 Mar 2014 19:03:09 +0000 (19:03 +0000)]
Merge "Fix usage of sqlalchemy type Integer"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 13 Mar 2014 06:31:04 +0000 (06:31 +0000)]
Imported Translations from Transifex

Change-Id: I9d442b17bd3febfa61277722d381fac42edaefc6

10 years agoAPI layer documentation
Sean M. Collins [Sun, 9 Mar 2014 02:11:23 +0000 (21:11 -0500)]
API layer documentation

* Discuss the WSGI layer of Neutron
* Describe the startup code that creates the WSGI application
* Briefly discuss the URL routing and resource creation

Change-Id: Id82a2a5679d7e29c0a19d1a20942a9249946b011

10 years agoMerge "Removes calls to mock.patch.stopall in unit tests"
Jenkins [Thu, 13 Mar 2014 01:59:54 +0000 (01:59 +0000)]
Merge "Removes calls to mock.patch.stopall in unit tests"

10 years agoEmbrane LBaaS Driver
Ivar Lazzaro [Wed, 30 Oct 2013 02:05:20 +0000 (19:05 -0700)]
Embrane LBaaS Driver

Implements blueprint embrane-lbaas-driver

This commit implements Embrane's driver for LBaaS,
which uses Embrane's heleos(tm) appliances to provide Load Balancing.

Change-Id: Ia76fbc8881d178cfe6df11a2cfe8e77d3f36094f

10 years agoBigSwitch: Widen range of HTTPExceptions caught
Kevin Benton [Fri, 7 Mar 2014 19:30:45 +0000 (11:30 -0800)]
BigSwitch: Widen range of HTTPExceptions caught

In order to trigger a reconnect, the Big Switch
plugin was only checking for httplib.ImproperConnectionState
which doesn't include relevant exceptions that
indicate a reconnect is necessary. This patch
adjusts it to reconnect on any HTTPException.

Closes-Bug: #1289236
Change-Id: I4b389172dc4a53b0381e40005d8421f71b7d8522

10 years agoFix ml2 & nec plugins for allowedaddresspairs tests
Jon Grimm [Thu, 28 Nov 2013 00:34:45 +0000 (18:34 -0600)]
Fix ml2 & nec plugins for allowedaddresspairs tests

Enabling the allowedaddresspairs tests uncovered that update_port()
was not returning the expected updated port info (still contained
original info).

Change-Id: I88f252e1348d272edd114fbee69e2309d3740213
Closes-bug: #1255150

10 years agoFix unittest failure in radware lbaas driver
Eugene Nikanorov [Wed, 12 Mar 2014 08:35:45 +0000 (12:35 +0400)]
Fix unittest failure in radware lbaas driver

Wait for vip delete completion before deleting network
and subnet.
Also fix indentation in the driver

Closes-Bug: #1288312
Change-Id: I88b3252102d6c4a60bbadf2951bbb74fcd19792b

10 years agoMerge "After bulk create send DHCP notification"
Jenkins [Wed, 12 Mar 2014 07:12:12 +0000 (07:12 +0000)]
Merge "After bulk create send DHCP notification"

10 years agoMerge "NSX: Allow multiple references to same gw device"
Jenkins [Wed, 12 Mar 2014 06:49:14 +0000 (06:49 +0000)]
Merge "NSX: Allow multiple references to same gw device"

10 years agoMerge "Stop mock patches by default in base test class"
Jenkins [Wed, 12 Mar 2014 06:30:30 +0000 (06:30 +0000)]
Merge "Stop mock patches by default in base test class"

10 years agoMerge "Query for port before calling l3plugin.disassociate_floatingips()"
Jenkins [Wed, 12 Mar 2014 05:34:45 +0000 (05:34 +0000)]
Merge "Query for port before calling l3plugin.disassociate_floatingips()"

10 years agoMerge "Optimize floating IP status update"
Jenkins [Wed, 12 Mar 2014 05:33:22 +0000 (05:33 +0000)]
Merge "Optimize floating IP status update"

10 years agoMerge "Updated from global requirements"
OpenStack Jenkins [Wed, 12 Mar 2014 05:33:08 +0000 (05:33 +0000)]
Merge "Updated from global requirements"

10 years agoMerge "Call target plugin out of DB transaction in the Metaplugin"
Jenkins [Wed, 12 Mar 2014 05:25:21 +0000 (05:25 +0000)]
Merge "Call target plugin out of DB transaction in the Metaplugin"

10 years agoMerge "NSX: Add ability to retry on 503's returned by the controller"
Jenkins [Wed, 12 Mar 2014 05:25:11 +0000 (05:25 +0000)]
Merge "NSX: Add ability to retry on 503's returned by the controller"

10 years agoRemoves calls to mock.patch.stopall in unit tests
Kevin Benton [Wed, 12 Mar 2014 02:13:30 +0000 (02:13 +0000)]
Removes calls to mock.patch.stopall in unit tests

Removes unnecessary calls to mock.patch.stopall
in individual unit tests since it is now
automatically called from the base test case.

Closes-Bug: #1291130
Change-Id: Ia8e82d6a9a9bc9bd5f48146c1be53069ff1cdb01

10 years agoStop mock patches by default in base test class
Kevin Benton [Mon, 10 Mar 2014 20:49:51 +0000 (20:49 +0000)]
Stop mock patches by default in base test class

Adds a mock.patch.stopall to the base unit test
case cleanup routines to stop patches by default
in unit tests. This behavior can be overwritten
by setting an attribute on the test class if
required.

Also removes the explicit stops in the Cisco n1kv,
VMware, and NEC unit tests to leverage the new
automatic cleanup.

Closes-Bug: #1290550
Change-Id: Ic642430a765ea8deb07ebd88b619da58a58e0edd