* 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
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
* Don't include uuid in nodes registration
* Add IPMI port to driver fields
Closes-Bug: 1689507
Closes-Bug: 1688543
Change-Id: I35df26175aa3fe44970420d8e1f0936fc1005337
Run the code through eslint and prettier. Eslint checks structural
things (e.g. console.log), and prettier checks stylistic things.
The "npm run lint" script will fail if your code isn't properly
formatted with prettier.
You can use "npm run prettier" to format your code.
Change-Id: Ie44e17d29e59cb4e3089ade2fb2b20f8213b5853
Reduce code duplication between PXEAndSSHDriverFields and
PXEAndSSHDriverFields by introducing a base component for them.
Change-Id: Idede394f7b6d5eeb1c49e9c2b0b8677f9c78c60c