Horizon UI support for Octavia
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Carlos Goncalves 4b268b775e Remove reference to Neutron LBaaS dashboard 3 weeks ago
devstack Fix devstack plugin python3 support 1 month ago
doc Update octavia-dashboard tox for stestr 1 year ago
octavia_dashboard Fix 403 issue when creating load balancers 1 month ago
releasenotes Fix 403 issue when creating load balancers 1 month ago
zuul.d witch python3 versions of test jobs to match Train PTI 2 months ago
.coveragerc Remove old unused code. 1 year ago
.eslintrc Update npm dependencies 3 years ago
.gitignore Implements a filtered select 6 months ago
.gitreview OpenDev Migration Patch 2 months ago
.mailmap Initial cookiecutter commit 3 years ago
.stestr.conf Update octavia-dashboard tox for stestr 1 year ago
CONTRIBUTING.rst Update the installation and contributors documents 1 year ago
HACKING.rst Replace http with https for doc links in octavia-dashboard 1 year ago
LICENSE Initial cookiecutter commit 3 years ago
README.rst Remove reference to Neutron LBaaS dashboard 3 weeks ago
babel-django.cfg Translation preparation for neutron-lbaas-dashboard 2 years ago
babel-djangojs.cfg Translation preparation for neutron-lbaas-dashboard 2 years ago
lower-constraints.txt Add load balancer flavor support 3 months ago
manage.py Make sure django env var is set 3 years ago
package-lock.json Add package-lock.json 1 year ago
package.json Changes for url transition to OpenDev 1 month ago
requirements.txt Add load balancer flavor support 3 months ago
setup.cfg witch python3 versions of test jobs to match Train PTI 2 months ago
setup.py Updated from global requirements 2 years ago
test-requirements.txt Update hacking version 5 months ago
tox.ini Changes for url transition to OpenDev 1 month ago

README.rst

Team and repository tags

image

octavia-dashboard

Horizon panels for Octavia

Features

  • Please see octavia repository

Howto

  1. Package the octavia_dashboard by running:

    python setup.py sdist

    This will create a python egg in the dist folder, which can be used to install on the horizon machine or within horizon's python virtual environment.

  2. Copy _1482_project_load_balancer_panel.py in octavia_dashboard/enabled directory to openstack_dashboard/local/enabled:

    $ cp -a \
      ${OCTAVIA_DASHBOARD_DIR}/octavia_dashboard/enabled/_1482_*.py \
      ${HORIZON_DIR}/openstack_dashboard/local/enabled/
  3. (Optional) Generate the policy file and copy into horizon's policy files folder, and copy _1499_load_balancer_settings.py in octavia_dashboard/local_settings.d directory to openstack_dashboard/local/local_settings.d:

    $ oslopolicy-policy-generator \
      --config-file \
      ${OCTAVIA_DIR}/etc/policy/octavia-policy-generator.conf \
      --output-file \
      ${OCTAVIA_DASHBOARD_DIR}/octavia_dashboard/conf/octavia_policy.yaml
    $ cp -a \
      ${OCTAVIA_DASHBOARD_DIR}/octavia_dashboard/conf/octavia_policy.yaml \
      ${HORIZON_DIR}/openstack_dashboard/conf/
    $ cp -a \
      ${OCTAVIA_DASHBOARD_DIR}/octavia_dashboard/local_settings.d/_1499_*.py \
      ${HORIZON_DIR}/openstack_dashboard/local/local_settings.d/
  4. Django has a compressor feature that performs many enhancements for the delivery of static files. If the compressor feature is enabled in your environment (COMPRESS_OFFLINE = True), run the following commands:

    $ ./manage.py collectstatic
    $ ./manage.py compress
  5. Finally restart your web server to enable octavia-dashboard in your Horizon:

    $ sudo service apache2 restart