Miles Gould a4c89967d8 Fix mocks that were breaking Jasmine tests
- The getNode mock was wrapping the node in an outer object. This does
   not match the behaviour of the real function, and was breaking
   JavaScript unit tests.
 - The getPortsWithNode mock was wrapping the list of nodes in *two*
   outer objects, and not populating the created port objects with all
   the expected fields. This commit changes it to match the expected
   behaviour (and the real behaviour of the method it's mocking).

Change-Id: I1abaaa932e4f80780d3b8d61c6ca12557430ab26
2017-03-24 12:31:04 +00:00
2016-03-23 11:55:49 +00:00
2016-03-23 11:55:49 +00:00
2016-01-11 14:56:03 +00:00
2016-01-20 19:00:52 +00:00
2016-01-20 19:00:52 +00:00
2016-03-13 08:00:06 +00:00
2016-03-13 08:00:06 +00:00
2016-01-20 19:00:52 +00:00
2016-01-20 19:00:52 +00:00
2016-01-20 19:00:52 +00:00
2016-02-01 13:15:11 +00:00
2016-02-01 13:15:11 +00:00
2016-03-23 11:55:49 +00:00
2017-02-09 11:39:48 +08:00
2017-03-05 03:13:02 +00:00
2017-02-09 11:39:48 +08: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 the Ironic UI repository:

    git clone https://git.openstack.org/openstack/ironic-ui
  2. Change into the root directory of your horizon installation and activate the python virtual environment. Example:

    source .venv/bin/activate

    Note

    The .venv folder is preinstalled when horizon is setup with ./run_tests.sh. Do not attempt to reinstall the virtual environment.

  3. Copy the _2200_ironic.py file from ironic_ui/enabled/_2200_ironic.py file to horizon/openstack_dashboard/local/enabled directory. Example, set as if being executed from the root of the ironic-ui repository:

    cp ./ironic_ui/enabled/_2200_ironic.py ../horizon/horizon/openstack_dashboard/local/enabled
  4. 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.

  5. 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.

Uninstallation

To uninstall, use pip uninstall ironic-ui from with-in the horizon virtual environment. You will also need to remove the openstack_dashboard/enabled/_2200_ironic.py file from the horizon installation.

Description
Ironic plugin UI for Horizon to allow users to view and manage bare metal.
Readme 4.9 MiB
Languages
JavaScript 72.3%
HTML 13%
Python 11.1%
Batchfile 1.7%
Makefile 1.6%
Other 0.3%