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.
 
 
 
 
 
 
Zuul 8bc9329b5f Merge "Switch to hacking 3.0" 3 weeks ago
devstack Fix devstack plugin python3 support 1 year ago
doc Switch to newer openstackdocstheme and reno versions 2 months ago
octavia_dashboard Merge "Switch to hacking 3.0" 3 weeks ago
releasenotes Imported Translations from Zanata 1 month ago
zuul.d Add Python3 victoria unit tests 3 months ago
.coveragerc Remove old unused code. 3 years ago
.eslintrc Update npm dependencies 4 years ago
.gitignore Implements a filtered select 1 year ago
.gitreview OpenDev Migration Patch 1 year ago
.mailmap Initial cookiecutter commit 5 years ago
.stestr.conf Update octavia-dashboard tox for stestr 2 years ago
CONTRIBUTING.rst Update the installation and contributors documents 2 years ago
HACKING.rst Replace http with https for doc links in octavia-dashboard 2 years ago
LICENSE Initial cookiecutter commit 5 years ago
README.rst Generate PDF documentation 10 months ago
babel-django.cfg translation: drop babel extractor definitions 7 months ago
babel-djangojs.cfg translation: drop babel extractor definitions 7 months ago
lower-constraints.txt Merge "Switch to hacking 3.0" 3 weeks ago
manage.py Make sure django env var is set 4 years ago
package-lock.json Add package-lock.json 2 years ago
package.json Changes for url transition to OpenDev 1 year ago
requirements.txt Bump the minimum openstacksdk version 2 months ago
setup.cfg Cleanup py27 support 2 months ago
setup.py Cleanup py27 support 2 months ago
test-requirements.txt Switch to hacking 3.0 2 months ago
tox.ini Merge "Switch to hacking 3.0" 3 weeks ago

README.rst

Octavia Dashboard

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