lbaas associate fip to vip table action bug
The associate fip to a lbaas vip incorrectly shows up as a table action, when no vip is setup yet. This does not make sense, correcting the default table action allowed check. Change-Id: I261b80fa461aaa5ce1b5febf48c1056a277ebf5a Closes-bug: #1499800
This commit is contained in:
parent
83045e3ed7
commit
e770744cf1
@ -316,7 +316,7 @@ class AddVIPFloatingIP(policy.PolicyTargetMixin, tables.LinkAction):
|
|||||||
if hasattr(pool, "vip") and pool.vip:
|
if hasattr(pool, "vip") and pool.vip:
|
||||||
vip = pool.vip
|
vip = pool.vip
|
||||||
return not (hasattr(vip, "fip") and vip.fip)
|
return not (hasattr(vip, "fip") and vip.fip)
|
||||||
return True
|
return False
|
||||||
|
|
||||||
def get_link_url(self, datum):
|
def get_link_url(self, datum):
|
||||||
base_url = reverse(self.url)
|
base_url = reverse(self.url)
|
||||||
|
Loading…
Reference in New Issue
Block a user