Ironic plugin UI for Horizon to allow users to view and manage bare metal.
Go to file
Peter Piela 7971aea3d9 Consolidate node last_error processing
Consolidate last_error processing for the node-list and node-detail
views using a newly added node-error service. The service provides
a function checkNodeError that will compare the error condition
of a specified node with its last known value which is stored
in browser session persistent storage (as part of each check).
If a change in the node error condition has occurred the user
is notified using the toast service. The use of persistent storage
eliminates duplicate notifications that would otherwise be
generated from page transitions and service re-initializations.

The checkNodeError function is called whenever node information
is retrieved using the ironic service getNode/getNodes functions.

Change-Id: Iba7bdaaa78d51384b6b9d79d2d723b8e7607eb9a
2016-12-06 18:04:16 -05:00
doc/source Added release notes for 2.1.0 release 2016-09-28 15:28:08 +01:00
ironic_ui Consolidate node last_error processing 2016-12-06 18:04:16 -05:00
releasenotes Imported Translations from Zanata 2016-11-15 08:57:24 +00:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 17:16:48 +05:30
.eslintignore Added eslint config to ironic-ui 2016-03-23 11:55:49 +00:00
.eslintrc Added eslint config to ironic-ui 2016-03-23 11:55:49 +00:00
.gitignore Added release notes for 2.0.0 release 2016-08-17 13:15:21 +01:00
.gitreview Added .gitreview 2016-01-11 14:56:03 +00:00
.mailmap Added cookiecutter files 2016-01-20 19:00:52 +00:00
.testr.conf Added cookiecutter files 2016-01-20 19:00:52 +00:00
babel-django.cfg Fix translation setup 2016-03-13 08:00:06 +00:00
babel-djangojs.cfg Fix translation setup 2016-03-13 08:00:06 +00:00
CONTRIBUTING.rst Added cookiecutter files 2016-01-20 19:00:52 +00:00
HACKING.rst Added cookiecutter files 2016-01-20 19:00:52 +00:00
LICENSE Added cookiecutter files 2016-01-20 19:00:52 +00:00
manage.py Plugin setup 2016-02-01 13:15:11 +00:00
MANIFEST.in Plugin setup 2016-02-01 13:15:11 +00:00
package.json Added eslint config to ironic-ui 2016-03-23 11:55:49 +00:00
README.rst Show team and repo badges on README 2016-11-25 13:38:09 +01:00
requirements.txt Added installation instructions to the Readme 2016-03-02 14:47:55 +00:00
setup.cfg Update homepage with developer documentation page 2016-09-24 13:34:40 +08:00
setup.py Remove python-ironicclient from setup_requires 2016-03-24 11:30:05 -04:00
test-requirements.txt Add reno for release notes management 2016-08-16 21:34:24 -04:00
tox.ini Add translation support 2016-09-01 15:11:33 +01:00

Team and repository tags

image

Ironic UI

The Ironic UI is a Horizon plugin that will allow users to view and manage bare metal nodes, ports and drivers.

Features

  • View bare metal nodes
  • View node details
  • Apply maintenance and power on/off actions to the nodes

Installation Instructions

Please note that the following instructions assume that you have an existing installation of the OpenStack Horizon dashboard application. For Horizon installation please see http://docs.openstack.org/developer/horizon/quickstart.html

  1. Clone Ironic UI repository:

git clone https://git.openstack.org/openstack/ironic-ui

2. Change into the root directory of your horizon installation and run the venv.

NOTE: this has been preinstalled when horizon was setup with ./run_tests.sh -do not reinstall venv

source .venv/bin/activate

3. Copy the _2200_ironic.py file from ironic_ui/enabled directory to horizon/openstack_dashboard/local/enabled

  1. Change into the ironic-ui repository and package the plugin:

pip install -e .

This will build and install the ironic-ui plugin into the active virtual environment associated with your horizon installation. The plugin is installed in "editable" mode as a link back to your ironic-ui plugin directory.

Also ensure that all packages as per requirements.txt have been installed.

  1. Change back into the horizon repository and bring up your environment:

./run_tests.sh --runserver

The Ironic Bare Metal Provisioning plugin should now be visible in the Horizon navigation.

To uninstall, use pip uninstall (find the name of the package to uninstall by running pip list from inside the horizon .venv). You will also need to remove the enabled file from the openstack_dashboard/enabled folder.