Commit Graph

13 Commits

Author SHA1 Message Date
Jason E. Rist b6367383e4 Retiring TripleO-UI
Depends-On: https://review.opendev.org/#/c/661332
Change-Id: Id342707ec1f32cdb2914fdcec4f1531e551ebd98
2019-05-31 21:44:40 +00:00
Jiri Tomasek 2268b054b2 Refactor Register nodes dialog to use redux-form
* RegisterNodesDialog now connects to registerNodesForm and uses selectors
  action creators to access form state
* RegisterNodesForm uses redux-form and lists node forms as fieldArray
* Adds Horizontal field components to use with redux-form
* Uploading nodes from file is extracted into separate component
* Uses redux-form-validators to provide validations for fields
* Updates DriverFields components to be used with redux-form
* Adds Fieldset component
* Changes nodes registration logic:
  * Function for handling form submit replaces thunk action to simplify
    work with redux-form as it can return Promise which redux-form expects
  * validateNodes Mistral action is called explicitly to act as a standalone
    server side validation
  * When register nodes workflow successfully starts, form is reset and app
    redirects to nodes page where registration continues
  * Logic is prepared to work on individual nodes which will be introduced in
    subsequent patch

Implements: blueprint ui-redux-form-migration
Change-Id: I2d64f95bfbde47b89824a102fa51034db5869cdd
2017-11-15 10:27:59 +01:00
Ana Krivokapic 2ee17d6eb8 Remove pxe_ssh option from node registration
The pxe_ssh driver is deprecated so we are removing it from the UI.
The new default is pxe_ipmitool.

Change-Id: Idf047975aa6831a20d846cae315874e67dc64e81
Closes-bug: #1703566
2017-07-11 18:33:05 +02:00
Jiri Tomasek 046188f13a Show Node Introspection Data
* Fetches introspection data on expanding node
* If introspection data are available, display them in NodeExtendedInfo

Change-Id: I5feac2b64803e1cf2c31f0bbc259940a80ddae3c
2017-06-23 13:28:04 +02:00
Jiri Tomasek 7e65fba52f Add Introspection status to Nodes
* Adds Introspection status info to NodesListView
* Adds IronicInspectorApiService to handle Inspector API calls
* Adds fetching introspection statuses to fetchNodes action
* Improves fetchNodes action performance by running all API
  calls in paralel
* Adds option to filter Nodes by introspection status

Change-Id: I22859e25017d73494a3bbaf7af1ac17e9e41169e
2017-06-23 13:28:04 +02:00
Honza Pokorny 04a7e70dd3 Add license headers to all js and less files
The Apache 2.0 license states that "To apply the Apache License to your
work, attach the following boilerplate notice".  Furthermore, it's the
standard practice within OpenStack.

Change-Id: I5ab73bc2b6065ea5943b3580bf60a9517dded24f
2017-05-16 18:21:31 +02:00
Jiri Tomasek 2b74192998 Fix nodes registration
* Don't include uuid in nodes registration
* Add IPMI port to driver fields

Closes-Bug: 1689507
Closes-Bug: 1688543
Change-Id: I35df26175aa3fe44970420d8e1f0936fc1005337
2017-05-15 13:58:34 +02:00
Jiri Tomasek 85e79ff8f3 Simplify Node Ports fetching
This change introduces using Ironic API to fetch all ports
and combine them with Nodes. This greatly improves performance
of fetching Nodes, as it now requires 2 API calls rather than
N+1.

Change-Id: I2e38b8b8b948c20e05da6f846bf236b7633c7b85
2017-04-27 18:16:21 +02:00
Jiri Tomasek 95b70b100e Nodes Table tagging
This change adds Nodes table action to tag Nodes to a Profile

By selecting nodes in table and clicking 'Tag Nodes' table action,
A form is displayed to let user select from existing profiles or
specify custom one. Available profiles are gathered from the list
of existing profiles on all nodes and roles available in current plan

The way Nodes are stored in app state is slightly changed. Node ports
are normalized into separate map in nodes state. References to them
are stored in 'portsDetail' Node attribute rather than 'ports'
so in case when node is updated (response does not include nested
ports), the portsDetail won't get overwritten

Partial-Bug: #1640103
Change-Id: Icc61fbeda133845b5aadef8b749db20c2c411d3a
2017-02-06 16:46:16 +01:00
Jiri Tomasek 301f34ea46 Add boot_option default value to registered node
Closes-Bug: #1594334
Change-Id: I3f3015caae1b837aa62fe33704e484f270c26eca
2016-06-22 18:22:11 +02:00
Jiri Tomasek eb5ec78ff0 Register nodes new workflow
This implements nodes registration using new baremetal Mistral workflows

Implements: blueprint node-names
Change-Id: Ia711d2693ff559f3a16752403657853a2d3c83c4
2016-06-14 21:35:33 +02:00
Jiri Tomasek 4b72a611de Nodes Registration
Updated Nodes registration dialog and form
Added HorizontalArrayInput
Fixed sidebar responsiveness
fixed dropdown z-index
Added ability to set Node name
Added nodes registration actions and reducer

Change-Id: Id3d4021cffc9e9ef3613d3e7641e5c24204027b6
2016-05-19 12:01:49 +02:00
Jiri Tomasek 6b158e3d5a Change nodes registration to use Redux app state
Change-Id: I08032209767a889afadacc2823b28466d22135b9
2016-03-08 16:07:34 +01:00