Deprecate LBaaS v1 dashboard

LBaaS v1 feature has been removed from neutron(-lbaas) recently.
Horizon keeps LBaaS v1 dahsboard for backward compatibilty in
Newton release and will remove it in the next release.

Change-Id: Ie97acbdde234dca14a586a434b59e74be869dbd2
This commit is contained in:
Akihiro Motoki 2016-08-27 01:02:42 +09:00 committed by Akihiro Motoki
parent edc97533a4
commit a0a8c07025
2 changed files with 14 additions and 0 deletions

View File

@ -42,4 +42,9 @@ class LoadBalancer(horizon.Panel):
return False return False
if not super(LoadBalancer, self).allowed(context): if not super(LoadBalancer, self).allowed(context):
return False return False
LOG.warning(
"DEPRECATION: LBaaS v1 dashboard in Horizon is deprecated "
"in 'Newton' release and will be removed in 'Ocata' release. "
"For more detail, check Horizon Newton release notes.")
return True return True

View File

@ -0,0 +1,9 @@
---
deprecations:
- LBaaS v1 dashboard is now deprecated and will be removed in Ocata release.
LBaaS v1 feature was removed from neutron-lbaas in Ocata and
this functionality in Horizon is only for backward compatibility
so that operators can upgrade Horizon first.
Note that the Dashboard support for LBaaS v2 is provided as
a Horizon plugin via `neutron-lbaas-dashboard project
<http://git.openstack.org/cgit/openstack/neutron-lbaas-dashboard/>`__.