Skip to main content

Horizon panels for Octavia

Project description

Team and repository tags

https://governance.openstack.org/tc/badges/octavia-dashboard.svg

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

octavia-dashboard-14.0.0.tar.gz (285.2 kB view details)

Uploaded Source

Built Distribution

octavia_dashboard-14.0.0-py3-none-any.whl (377.1 kB view details)

Uploaded Python 3

File details

Details for the file octavia-dashboard-14.0.0.tar.gz.

File metadata

  • Download URL: octavia-dashboard-14.0.0.tar.gz
  • Upload date:
  • Size: 285.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for octavia-dashboard-14.0.0.tar.gz
Algorithm Hash digest
SHA256 90361cfcc94624d03606243b367a213dba5f9d2983219cad4b64d1a1b282b84e
MD5 39cd8994bd12e5dfa7cc82add89dbfa6
BLAKE2b-256 26c899175a1d705e80ca472499b4180c1c29c6f95964f2a3c35d7f39f14de005

See more details on using hashes here.

File details

Details for the file octavia_dashboard-14.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for octavia_dashboard-14.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e98feb0f9dcdffce8224867ddf4438da915c37efd176fb87507be3ff44b143ff
MD5 5d2c70312038da0bd8e9ea7402b82b0c
BLAKE2b-256 3085ca55afa3b5a9d0a8eac07de06cc6a667b36441ca604b1e64748363153fa0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page