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
This commit is contained in:
linb 2016-01-23 04:19:20 +08:00 committed by Kobi Samoray
parent 124faf42f7
commit 44c5f7bb1b

View File

@ -1087,7 +1087,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: