vmware-nsx/neutron
armando-migliaccio 65543081f8 Fix AttributeError when setting external gateway on DVR router
DVR routers will have this manager initialized only after one
or more subnets have been attached to the router. To address
the issue, make sure the manager is defined and handle the snat
rules appropriately.

This patch also makes _update_arp_entry more defensive; this is
because the arp update process can be affected by the same issue:
the router may not have internal ports at the time the request
come in. This is likely when VM's port creation and router
configuration overlap slightly.

Closes-bug: #1353006

Change-Id: Ib46852f5b264e5ef2e2d499d3351f8974e393011
Co-authored-by: Rajeev Grover <rajeev.grover@hp.com>
2014-09-05 15:24:01 -07:00
..
agent Fix AttributeError when setting external gateway on DVR router 2014-09-05 15:24:01 -07:00
api Support for extensions in ML2 2014-08-31 05:43:01 -07:00
cmd remove explicit include of the ovs plugin 2014-08-29 19:25:35 +05:30
common Merge "Check for IPv6 file before reading" 2014-08-30 00:20:38 +00:00
db Merge "Remove SELECT FOR UPDATE use in update_firewall" 2014-09-02 09:18:38 +00:00
debug Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
extensions Fixed template of IPsecSiteConnectionNotFound message 2014-08-26 18:24:20 +04:00
hacking Use jsonutils instead of stdlib json 2014-08-14 12:45:58 +02:00
locale Imported Translations from Transifex 2014-09-01 06:19:19 +00:00
notifiers Fix spelling mistakes 2014-08-01 16:10:23 +00:00
openstack Fix spelling mistakes 2014-08-01 16:10:23 +00:00
plugins Merge "Big Switch: Separate L3 functions into L3 service" 2014-09-03 16:27:08 +00:00
scheduler Fix InvalidRequestError in auto_schedule_routers 2014-08-27 05:11:53 +00:00
server Configure agents using neutron.common.config.init (formerly .parse) 2014-06-17 21:56:24 +02:00
services Merge "Remove status initialization from plugin's create_firewall" 2014-09-03 17:49:00 +00:00
tests Fix AttributeError when setting external gateway on DVR router 2014-09-05 15:24:01 -07:00
__init__.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
auth.py add auth token to context 2014-08-12 11:17:21 +09:00
context.py add auth token to context 2014-08-12 11:17:21 +09:00
hooks.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
manager.py Moved rpc_compat.py code back into rpc.py 2014-06-24 10:35:39 +02:00
neutron_plugin_base_v2.py Renamed start_rpc_listener -> start_rpc_listeners 2014-06-19 12:58:01 +02:00
policy.py Allow to import _LC, _LE, _LI and _LW functions directly 2014-07-17 14:56:19 +00:00
quota.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
service.py Moved rpc_compat.py code back into rpc.py 2014-06-24 10:35:39 +02:00
version.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
wsgi.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00