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