Skip to main content

Iotronic plugin for the OpenStack Dashboard

Features

  • TODO

Manual Installation

Begin by cloning the Horizon and IoTronic Panels repositories:

git clone https://github.com/openstack/horizon.git
git clone https://github.com/openstack/iotronic-ui.git

Install IoTronic Panels with all the dependencies:

cd iotronic-ui
pip install -r requirements.txt
python setup.py install

Copy the Iotronic API and enable the plugin in Horizon:

cp iotronic_ui/api/iotronic.py /usr/share/openstack-dashboard/openstack_dashboard/api/
cp iotronic_ui/enabled/_60*.py /usr/share/openstack-dashboard/openstack_dashboard/enabled/

To run horizon with the newly enabled IoTronic Panels plugin restart apache:

systemctl restart apache2.service

Check the Horizon Login page on your browser and you will see the new Dashboard called “IoT”.

Extra info

If you want to enable logs for a better debug follow the following steps or just skip them.:

mkdir /var/log/horizon
touch /var/log/horizon/horizon.log
chown -R horizon:horizon /var/log/horizon

vim /etc/openstack-dashboard/local_settings.py

    'formatters': {
        'verbose': {
            'format': '%(asctime)s %(process)d %(levelname)s %(name)s %(message)s'
        },
    },

    ....

    'handlers': {
        ....
        'file': {
               'level': 'DEBUG',
               'class': 'logging.FileHandler',
               'filename': '/var/log/horizon/horizon.log',
               'formatter': 'verbose',
         },
    },

    ....

    'loggers': {
        ....
        'horizon': {
            ....
            'handlers': ['file'],
            ....
        },
        'openstack_dashboard': {
            ....
            'handlers': ['file'],
            ....
        },
        'iotronic_ui': {
            'handlers': ['file'],
            'level': 'DEBUG',
            'propagate': False,
        },
    }

Verify if Apache Openstack Dashboard Configuration file is correctly set with what follows:

vim /etc/apache2/conf-available/openstack-dashboard.conf
    WSGIApplicationGroup %{GLOBAL}

service apache2 reload
systemctl restart apache2.service

Metadata

Release files for iotronic-ui 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iotronic-ui 0.4.3
File Size Uploaded
iotronic_ui-0.4.3.tar.gz 47.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iotronic-ui 0.4.3
File Interpreter ABI Platform
iotronic_ui-0.4.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 131.3 kB

Release files / iotronic_ui-0.4.3.tar.gz

Download URL iotronic_ui-0.4.3.tar.gz
Size 47.9 kB
Tags Source
SHA-256 checksum
How to use checksums
682591c77f569cf9ec0fbe733e2261e6efdc60debd88a224ac6f4bf623b8b8da
BLAKE2b-256 checksum
How to use checksums
0f0ee2485ecfade3d9cf05f82762a5d306a29c7037e78e13af8f5c00bb8bde52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.5.2

Release files / iotronic_ui-0.4.3-py2.py3-none-any.whl

Download URL iotronic_ui-0.4.3-py2.py3-none-any.whl
Size 83.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
559f18271d967663111945cb4c83960a07ce4e88168382866516140cd755f4de
BLAKE2b-256 checksum
How to use checksums
7ac2873bce6024a8ad57f23a37af9ee3eb48bcf7455392f1cc5d40daa91d251d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.5.2

Release history Release notifications | RSS feed

This release

0.4.3 This release

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.0

2 release files

0.0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page