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 44c5f7bb1b)
This commit is contained in:
linb 2016-01-23 04:19:20 +08:00 committed by garyk
parent d8d167095c
commit 66a2716e2c
1 changed files with 2 additions and 1 deletions

View File

@ -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: