Merge "Remove the invalid example of floating IPs tab from doc"

This commit is contained in:
Jenkins 2017-05-05 01:32:28 +00:00 committed by Gerrit Code Review
commit 14aae64c48

View File

@ -458,13 +458,12 @@ the following::
You can also override existing methods with your own versions::
# Disable Floating IPs
from openstack_dashboard.dashboards.project.access_and_security import tabs
from openstack_dashboard.dashboards.admin.info import tabs
from openstack_dashboard.dashboards.project.instances import tables
NO = lambda *x: False
tabs.FloatingIPsTab.allowed = NO
tabs.HeatServiceTab.allowed = NO
tables.AssociateIP.allowed = NO
tables.SimpleAssociateIP.allowed = NO
tables.SimpleDisassociateIP.allowed = NO