neutron/neutron/db
Michael Smith 30604c17e9 manual add/remove router for dvr_snat agent
This patch is to address the failure of manual move of
dvr_snat routers from one service node to another.

The entry in the csnat_l3_agent_bindings table is now removed
during the router to agent unbind operation.
Appropriate notification is now sent to the agent to remove
snat/qrouter namespace.

There were other places in the code
that needed to examine the snat binding table to
check if updates were required -
validate_agent_router_combination() and
check_agent_router_scheduling_needed().

Additionally, schedule_routers() was made optional
within the rpc _notification path since it can
override the manual move being attempted.

Conflicts:
        neutron/db/l3_agentschedulers_db.py

Co-Authored-By: Ila Palanisamy <ilavajuthy.palanisamy@hp.com>
Co-Authored-By: Oleg Bondarev <obondarev@mirantis.com>

Change-Id: Iac9598eb79f455c4ef3d3243a96bed524e3d2f7c
Closes-Bug: #1369721
(cherry picked from commit 7cfcbac066)
2015-11-10 17:10:28 +00:00
..
metering Merge "Send only one rule in queue on rule create/delete" 2015-03-27 19:17:37 +00:00
migration Add Kilo release milestone 2015-04-16 21:19:32 +00:00
__init__.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
agents_db.py Fix usage of 'default' parameter in 1955efc66455 migration 2015-03-20 14:42:07 -07:00
agentschedulers_db.py Avoid synchronizing session when deleting networkdhcpagentbinding 2015-07-13 12:57:42 +00:00
allowedaddresspairs_db.py Allowed address pair: Removing check for overlap with fixed ips 2014-06-12 09:43:09 +08:00
api.py Handle DBDuplicateError exception properly when creating default sg 2015-03-17 14:08:07 +03:00
common_db_mixin.py Added check for emptyness where in_ is being used 2015-03-10 11:31:29 +03:00
db_base_plugin_v2.py Fix usage of netaddr '.broadcast' 2015-08-31 15:23:35 +02:00
dvr_mac_db.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
external_net_db.py Add advsvc role to neutron policy file 2014-10-27 12:49:27 +00:00
extradhcpopt_db.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
extraroute_db.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
l3_agentschedulers_db.py manual add/remove router for dvr_snat agent 2015-11-10 17:10:28 +00:00
l3_attrs_db.py Add L3 VRRP HA base classes 2014-09-10 12:06:13 +00:00
l3_db.py Changed filter field to router_id 2015-10-09 13:57:24 -07:00
l3_dvr_db.py Only get host data for floating ips on DVR routers 2015-10-09 15:23:40 +00:00
l3_dvrscheduler_db.py manual add/remove router for dvr_snat agent 2015-11-10 17:10:28 +00:00
l3_gwmode_db.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
l3_hamode_db.py Add configurable options for HA networks 2015-09-17 15:41:56 +02:00
l3_hascheduler_db.py Expose ha_state per router to agent binding via API 2015-03-23 17:56:36 -04:00
model_base.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
models_v2.py Add index for port 2015-04-03 08:55:13 +08:00
netmtu_db.py Move network MTU from core REST API to extension API 2015-04-02 12:48:56 -04:00
portbindings_base.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
portbindings_db.py Remove unnecessary 'IN vs ==' sql query branches 2015-03-21 09:39:06 -07:00
portsecurity_db.py Merge "Add portsecurity extension support" 2015-03-18 16:48:40 +00:00
portsecurity_db_common.py Add portsecurity extension support 2015-03-17 05:13:04 +08:00
quota_db.py Raise QuotaResourceUnknown in the quota engine 2015-03-11 04:58:46 -07:00
securitygroups_db.py Fix _ensure_default_security_group logic 2015-09-29 14:29:21 -07:00
securitygroups_rpc_base.py Set security group provider rule for icmpv6 RA in DVR 2015-11-02 19:38:40 +00:00
servicetype_db.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
sqlalchemyutils.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
vlantransparent_db.py Moving VLAN Transparency support from core to extension 2015-04-08 08:35:13 -07:00