Adds support for selecting from the enabled interfaces for the
underlying driver while creating nodes. A new tab is added in the
enroll node modal.
Also enhanced "package.json" and "karma.conf.js" to widen the
range of accepted versions and jasmine capabilities.
Change-Id: Ie1b24cbf147b849a1d57fcdcbd735429ea7c9e34
Partial-Bug: #1672729
This patch adds support to edit/update a node's 'resource_class'
info when enrolling/updating a node.
Change-Id: I3dbbcac05c29aef27443441365651c8f8d9ccafa
Closes-Bug: #1672709
This commit is a first step in the development of a unit test framework for
the Ironic-UI API service. The approach being used is to provide an emulation
of the Ironic backend using a mock that utilizes Angular $httpbackend
handlers to intercept requests targeted at the Ironic-UI server side REST
endpoints.
In addition to demonstrating the mock I have coded some basic tests to
show how it is used. At this point I would like to get feedback from the team,
and consensus on whether we should continue the process of building
additional tests.
Change-Id: Iaec83b0e19b5051ebf1257ddc56efcc6f11ee39d
A node definition is not considered valid for submission if it contains
a user added property that does not have a value. The code that monitors
this condition had gotten out of sync with other recent updates in this
area.
Change-Id: Iec6afa68977b52c1742b3c1bbc29be0123caff5f
Rework HTML and Javascript to provide better strings for the translators
to work on. The existing code generated strings that contained unnecessary
HTML markup.
Change-Id: Ib528c64234d88c39b266e03a702f1ce50a96684f
For the nework_interface attribute the user can:
- select a value for network_interface as part of enrolling a node
- update its value as part of editing a node,
- see its value in the node-details/overview page
Change-Id: I6bdbd9e6596de3f7da3bbcf75b511e5bc54b781a
Closes-Bug: #1648566
- In the ironic_rest_api module use specific names like node, port,
driver for return values. I believe this is more descriptive than
the current approach of using "items" in all function returns. The
use of specific names also reduces the possibility of cut and paste
errors in client code.
- Rethink data returned from functions in the ironic.service. For
example, I believe that a function like getNodes should return a
list of nodes as opposed to a HTTP response as is done today. The
client should receieve the requested data, and be abstracted from
how it was obtained
- Modify controllers to take advantage of the api simplifications
Change-Id: Ica8c9ff8dfa9299cd5ef2893d296e366065bca97
The nodeUpdatePatch class has been refactored in to a separate
updatePatch service that will be used to patch both nodes and
ports.
Change-Id: I725bfe92fb9f878db243dd987f07f1c8eb04440c
Horizon has updated its version of Bootstrap to 0.14.0 that
introduced the uib prefix for all components.
Change-Id: I05589d38b11a3b4e40e247dfcaf0fc02deccd1b6
- Split out base-node from enroll-node and use it to implement edit-node
- Enrollemnt no longer requires that all required attributes be specified
- Edit-node functionality supports instance_info properties
Change-Id: Ied1f21c8790f0d9dc3a238defa930181789a7281
Co-Authored-By: Beth Elwell