diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 68d8ad7..d7a2105 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -1,3 +1,7 @@ + +.. warning:: + Neutron-lbaas-dashboard is now deprecated. Please see the FAQ: https://wiki.openstack.org/wiki/Neutron/LBaaS/Deprecation + If you would like to contribute to the development of OpenStack, you must follow the steps in this page: @@ -14,4 +18,4 @@ Pull requests submitted through GitHub will be ignored. Bugs should be filed on Launchpad, not GitHub: - https://bugs.launchpad.net/neutron-lbaas-dashboard + https://storyboard.openstack.org/#!/project/907 diff --git a/README.rst b/README.rst index 320fc32..f780012 100644 --- a/README.rst +++ b/README.rst @@ -7,6 +7,9 @@ Team and repository tags .. Change things from this point on +.. warning:: + Neutron-lbaas-dashboard is now deprecated. Please see the FAQ: https://wiki.openstack.org/wiki/Neutron/LBaaS/Deprecation + ======================= neutron-lbaas-dashboard ======================= diff --git a/doc/source/index.rst b/doc/source/index.rst index 658eeec..c585d07 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -6,6 +6,9 @@ Welcome to neutron-lbaas-dashboard's documentation! ======================================================== +.. warning:: + Neutron-lbaas-dashboard is now deprecated. Please see the FAQ: https://wiki.openstack.org/wiki/Neutron/LBaaS/Deprecation + Contents: .. toctree:: diff --git a/doc/source/installation.rst b/doc/source/installation.rst index b3d7454..44b1906 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst @@ -2,6 +2,10 @@ Installation ============ +.. warning:: + Neutron-lbaas-dashboard is now deprecated. Please see the FAQ: https://wiki.openstack.org/wiki/Neutron/LBaaS/Deprecation + + At the command line:: $ sudo pip install neutron-lbaas-dashboard diff --git a/doc/source/usage.rst b/doc/source/usage.rst index c450bf5..b061953 100644 --- a/doc/source/usage.rst +++ b/doc/source/usage.rst @@ -2,6 +2,9 @@ User Guide ========== +.. warning:: + Neutron-lbaas-dashboard is now deprecated. Please see the FAQ: https://wiki.openstack.org/wiki/Neutron/LBaaS/Deprecation + Load-Balancer-as-a-Service (LBaaS) enables networking to distribute incoming requests evenly among designated instances. This distribution ensures that the workload is shared predictably among instances and enables more effective diff --git a/neutron_lbaas_dashboard/dashboards/project/ngloadbalancersv2/panel.py b/neutron_lbaas_dashboard/dashboards/project/ngloadbalancersv2/panel.py index 959b4ab..80fcf95 100644 --- a/neutron_lbaas_dashboard/dashboards/project/ngloadbalancersv2/panel.py +++ b/neutron_lbaas_dashboard/dashboards/project/ngloadbalancersv2/panel.py @@ -28,6 +28,11 @@ class NGLoadBalancers(horizon.Panel): slug = 'ngloadbalancersv2' permissions = ('openstack.services.network',) + def __init__(self): + LOG.warning('neutron-lbaas-dashboard is now deprecated. See: ' + 'https://wiki.openstack.org/wiki/Neutron/LBaaS/' + 'Deprecation') + def allowed(self, context): request = context['request'] try: diff --git a/neutron_lbaas_dashboard/post_install.sh b/neutron_lbaas_dashboard/post_install.sh index e9d81e2..40a7afa 100755 --- a/neutron_lbaas_dashboard/post_install.sh +++ b/neutron_lbaas_dashboard/post_install.sh @@ -9,5 +9,8 @@ then wget -nv -t 3 https://raw.githubusercontent.com/openstack/horizon/master/test-shim.js fi +echo "Note: neutron-lbaas-dashboard is now deprecated." +echo "Please see the FAQ: https://wiki.openstack.org/wiki/Neutron/LBaaS/Deprecation" + echo "Creating a tox env which will contain xStatic libraries, horizon, and openstack_dashboard" tox -epy27 --notest; diff --git a/package.json b/package.json index 4dcf11b..829daad 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "version": "4.0.0b1", "private": true, "name": "neutron-lbaas-dashboard", - "description": "Neutron LBaaS v2 Dashboard", + "description": "Neutron LBaaS v2 Dashboard (deprecated)", "repository": "none", "license": "Apache 2.0", "devDependencies": { diff --git a/releasenotes/notes/neutron-lbaas-dashboard-deprecation-a3c910ababba8e78.yaml b/releasenotes/notes/neutron-lbaas-dashboard-deprecation-a3c910ababba8e78.yaml new file mode 100644 index 0000000..1524930 --- /dev/null +++ b/releasenotes/notes/neutron-lbaas-dashboard-deprecation-a3c910ababba8e78.yaml @@ -0,0 +1,11 @@ +--- +prelude: > + As of the Queens release, neutron-lbaas-dashboard is now deprecated and + being replaced by the octavia-dashboard project. Please see the FAQ + for more information: + https://wiki.openstack.org/wiki/Neutron/LBaaS/Deprecation +deprecations: + - | + The neutron-lbaas-dashboard project is now deprecated. Please see the FAQ + for more information: + https://wiki.openstack.org/wiki/Neutron/LBaaS/Deprecation