Operation messages use sentence case in html files
(e.g. 'Create port') while capital case in js files
(e.g. 'Create Port'). Normalize them to use capital case in order
not to generate different translation items for same message.
Change-Id: I1a40859447eb6ba53eef19521e110f786380a00b
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
Adds menu option to set basic target raid configuration.
Unit tests to be added in a follow-up patch.
Change-Id: I2886e5ca4e5757209ff6da5f9162f874f648e135
Partial-Bug: #1648553
Replaced several instances of the action directive with HTML list-item/
anchor equivalents. Because the action uses two-way bound scope
variables for "callback" and "item" arguments you cannot specify a
literal value as an argument to the callback function. Two-way bound
variables must be assignable. In my mind there is some question as
to whether the action directive should have been implemented in this
way, but for now I am proposing to use an ng-click directive within
an anchor to implement callback functionality when a literal argument
is needed.
Change-Id: I2baf17c2784faeb92da362544c53e444e6d01afc
The following changes are part of a larger cleanup/refactoring
project.
- Eliminate the use of certain event handlers in the node-list
and node-details controllers, and replace with linear promise
chaining. I believe the use of promise chaining is more performant,
and reduces code complexity.
- Provide more descriptive names for several functions
- Add documentation for several functions
Change-Id: Iba184e4aaf79c7f7c99b3012175f1d8a1bfc79f0
- Add support for reboot, soft reboot, and soft power off transitions
- When appropriate node action lists will contain additional items
for soft power transitions
- The order of items in node action lists has been slightly modified,
placing a known to exist singleton "Edit" at the top of the list.
Power items are now generated as a data-driven enumeration.
Change-Id: If308539e78a7bf707304049534affaa8468fe9f0
Closes-Bug: #1663341
- The action menu in the node-details panel has a new item
Enable|Disable console.
- The node-details/overview panel has a new "Console info." item
in the "General" section. The value of this field is dependent on
the console type. For "shellinabox" the value is an anchor with
the URL of the console and title "shellinabox". For others, the
value is a string representation of the console_info object
returned by the get_console api call.
Closes-Bug: #1655690
Change-Id: Ibfa687f50d2251987276367d743ffb2a88e52796
Made the following changes:
- Eliminate separate functions for single node processing. Functions
that set node maintenance mode now accept a list of nodes
- Eliminate service thin wrapper functions inside controllers that
dont manipulate controller state.
Change-Id: I148f965618ab43f93732ac82cd5663a76bef1b9e
Horizon has updated its version of Bootstrap to 0.14.0 that
introduced the uib prefix for all components.
Change-Id: I05589d38b11a3b4e40e247dfcaf0fc02deccd1b6
The following changes have been made:
(1) Create a separate node-state-transition service that is used
to orchestrate changes in the node provision state
(2) Extend the node list and detail UIs (actions) to support
states other the manageable, available, and active
(3) It should be noted that state transition actions are rendered
as html list items as opposed to actions. The reason for this is
that the <action> tag is not compatible with the ng-repeat
directive.
Change-Id: Id6543667f944c47f8f9727c1c2f3085ae75a1625
- 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
Newly registered nodes begin in the enroll provision state by default
instead of available.
Actions added to the current dropdown on node view to enable move to
manageable, available and active states. Actions are enabled and
disabled in view as the current state permits.
All necessary fields required to move a node to available state are
still required on the enroll node modal. This will be changed to only
the necessary fields to move a node to enroll state once the
functionality for editing a node is ready.
Change-Id: I349a293a1069ad01fd782d1828bad607f9b9d6b0
Co-Authored-By: Peter Piela <ppiela@cray.com>
Only provide hyperlinks to Image instance pages for images specified using
a uuid.
Closes-Bug: #1548928
Change-Id: I615c3288f2ca4aa790d55b5bf2e1f4f3fd9fab5f