From 66a2716e2c11681b2797b4515b26af1f113f6254 Mon Sep 17 00:00:00 2001 From: linb Date: Sat, 23 Jan 2016 04:19:20 +0800 Subject: [PATCH] Always set advertise_nat_route_flag True for FIP We should always enable advertise_nat_route_flag in case of FIP support. Change-Id: I374299001d358bd658c697481d3860102a3eb884 Closes-Bug: #1535888 (cherry picked from commit 44c5f7bb1b2076168794b34f1a0e9cdfa3db6e3c) --- vmware_nsx/plugins/nsx_v3/plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vmware_nsx/plugins/nsx_v3/plugin.py b/vmware_nsx/plugins/nsx_v3/plugin.py index dc78371f6d..dd95d41a3b 100644 --- a/vmware_nsx/plugins/nsx_v3/plugin.py +++ b/vmware_nsx/plugins/nsx_v3/plugin.py @@ -1063,7 +1063,8 @@ class NsxV3Plugin(addr_pair_db.AllowedAddressPairsMixin, (new_tier0_uuid != org_tier0_uuid or not org_enable_snat)) - advertise_route_nat_flag = True if new_enable_snat else False + # Always set nat route flag True to support FIP + advertise_route_nat_flag = True advertise_route_connected_flag = True if not new_enable_snat else False if revocate_bgp_announce: