Commit Graph

15 Commits

Author SHA1 Message Date
Peter Piela 2e9c34b4cc Added support for injecting non-maskable interrupts
A a new action 'Inject NMI' has been added to node actions dropdown
menu in the 'Node Details' page.

Closes-Bug: #1713519
Change-Id: I01e9d7f352119c201d701127bb08fa2f0607a214
2018-01-02 13:57:31 +00:00
Anup Navare 0142c9e89f Display enabled interfaces for underlying driver
Adds support for displaying the enabled interfaces for underlying
driver. A new column is added in the driver validation table to
display the enabled interfaces for different types of interface
that driver supports.

Change-Id: I8c732d3b7a7806ccd4e83aefe96cca3b09c44a9e
Partial-Bug: #1672729
2017-07-27 17:47:14 +00:00
Peter Piela 36790d4d6c Migrate node-details controller tests to new framework
Previously, the node-details controller tests used a locally defined mock
of the ironic-api. With this change the tests now use the recently
developed common backend mock.

Change-Id: Ibbae1f48e1c2f592fab5b9cde6a7b3712460e8a9
Co-Authored-By: Anup Navare <anup.d.navare@intel.com>
2017-07-25 22:45:51 +00:00
Peter Piela 863e9e6295 Add functionality to view portgroups
This is the first in a series of reviews that will add functionality
to manage portgroups within the Ironic UI. Specifically, this commit
adds the following items:

- API functions for listing, creating, and deleting portgroups
- A tabular view of the portgroups associated with a node in
  the node-details/configuration table
- The portgroup table utilizes expandable detail rows for
  giving the user access to additional information. Detail
  rows provide a scalable way to display additional information
  without resorting to a separate tab/page.
- The node-details/configuration ports table has been reworked
  to take advantage of detail rows.
- The batch and inividual delete-portgroup actions are working.

I am looking for feedback on all aspects of the new functionality,
including the use of detail rows in data tables.

Change-Id: I4c150db4e56fa6970cc112c87cdc54cb3fbb28e5
2017-06-28 16:02:26 -04:00
Peter Piela 2db9dfc3dd Fix Javascript unit tests
Updated Javascript unit tests to support recent feature additions.

Change-Id: I9be76559fffe6ccb4d1af0d3bca3d0072ac2c7a9
2017-05-19 08:46:19 -04:00
Miles Gould 18e6379814 Show boot device in Node Details/Configuration
Partial-Bug: #1671567
Change-Id: I3208dde3e47477e42f4ce59d8c65e8d5049d0c0e
2017-03-28 15:25:49 +01:00
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
Peter Piela 0c4c948324 Add support for editing Ironic network ports
The port table in node-detais/configuration tab has been updated to
include an "Edit port" action for each port.

Closes-Bug: #1648563
Change-Id: I04ec8904dc67f98ff9f0d94a7fa46618cfba956c
2017-02-06 09:28:51 -05:00
Peter Piela eeaa2ecf06 Incorporate driver-validation into node-detail panels
Driver validation information has been added to the node-details/
configuration page. The driver validation information is located
in close proximity to the driver properties section, and will
update as property values are changed.

To accomodate the driver validation information the following
changes have been made to the layout and organization of the
node-details/configuration page:
(1) The list of Extra properties has been removed from the General
section and is now treated as a separate collection in a similar
manner to Properties and Instance_info.
(2) The new grid layout is:
  Row 1 (top) General, Ports
  Row 2 Driver Info, Driver Validation
  Row 3 Properties, Instance Info
  Row 4 Extra
(3) The list of instance_info items displayed for the pxe_ssh
driver has been enhanced.

Change-Id: I0ba8ac0fc1e4a1b0f2f4b03b738f56ed380a11c7
2016-11-21 13:32:22 -05:00
Peter Piela e75193224f Eliminate references to non-existent admin module
This commit extends the recent basepath change. The angular
horizon.dashboard.admin module has been eliminated.

Change-Id: I9f915b7a1662998fcca12f0f2c1c1684bff1a9fc
2016-11-06 17:30:26 -05:00
Peter Piela 9dcdc2ff62 Fix Jasmine unit tests
Fixed unit tests in the base-node and node-details areas. The tests had not
kept up with development updates.

Change-Id: I88b4aa00bb811a02d51c5818e70ce5ceb0f8c896
2016-10-04 18:32:49 -04:00
Peter Piela ad67ad1c06 Fixed node-detail controller unit test
Jasmine tests for the node-detail controller started failing after
recent functionality updates.

Change-Id: Ia7106dfcdcc892c2bf9801ed43ca6b3e9ca78cc4
2016-06-02 10:48:59 +01:00
Elizabeth Elwell a4c47b80f7 Added eslint config to ironic-ui
Set up package to use eslint-openstack-config for linting.

Amended existing files to ensure they pass linting tests.
Change-Id: I55dfe4cd9cdee99f19b80147df73f66951ca1372
2016-03-23 11:55:49 +00:00
Peter Piela 1bc24799b9 Don't hyperlink images that are specified as URLs
Only provide hyperlinks to Image instance pages for images specified using
a uuid.

Closes-Bug: #1548928
Change-Id: I615c3288f2ca4aa790d55b5bf2e1f4f3fd9fab5f
2016-03-12 18:50:53 -05:00
Elizabeth Elwell f230e96da5 Added node details page to the plugin
Added details page files to the plugin.

Change-Id: I17e4c749038dfa9f4a8423796186c133d248fba0
Co-Authored-By: Peter Piela <ppiela@cray.com>
2016-03-04 23:25:01 +00:00