Commit Graph

11 Commits

Author SHA1 Message Date
manchandavishal 23914cc56c Migrate to AngularJS v1.8.2
This patch aligns current code with AngularJS v1.8.2 requirements.
It also updates zun-ui to use the Firefox browser instead of phantomjs
browser to fix "nodjs-run-test" job because phantomjs browser has some
issue with backticks.

Change-Id: I40857bea1c83704106277bbb858eb35ee39f360f
2022-08-18 23:08:18 +05:30
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 c73492c877 Allow selecting interfaces while enrolling nodes
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
2017-10-22 20:21:09 -04:00
Ramamani Yeleswarapu 07071ea31d Unit tests for set target raid configuration
Unit tests for the set target raid configuration patch.

Change-Id: Ia75e6a9301023f7a55fc81ff7c6f44f0eef6ee23
Partial-Bug: #1648553
2017-09-22 15:31:14 -07:00
Ramamani Yeleswarapu 5b9c6f61b7 Set target raid configuration on a node
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
2017-08-24 14:08:00 -07:00
Peter Piela 00a09331cb Adds support for editing portgroups
Adds support for editing portgroups from the node-details/configuration
page. Each entry in the portgroups table has an associated
``Edit portgroup`` button that when clicked will launch a modal
dialog that guides the user in making changes.

Unit tests will follow.

Change-Id: I8907800f23cc42c301fc8f077fb00a9a6cb18821
2017-07-27 20:46:28 -04:00
Peter Piela 386b6783cf Add the capability to associate ports with portgroups
The create/edit port elements have been modified to enable
specification of an associated portgroup. The portgroup table in
the node-detail/configuration tab has been modeified to show the
number of ports for each portgroup.

Change-Id: I851b07110bcf85cce8ba1351509d4a8afcc9cd60
2017-07-18 16:51:28 -04:00
Ramamani Yeleswarapu 41488737f6 Set current boot device on a node
This would also include collecting the possible boot devices.

Change-Id: I49c47169d5c511f992480c60f64062183064bfc6
Closes-Bug: #1671567
2017-06-30 12:05:42 -07: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 d6f90b4d34 Extend backend mock with port operations
Extended the backend mock with handlers to create, delete, and retrieve
ports. Added unit tests to the Ironic-API service for port creation and
deletion.

Change-Id: I8488a8662db2cf4804150405e1646efe1fc8b363
2017-06-22 19:15:28 -04:00
Peter Piela b55a1004ff Unit test framework for Ironic-UI API service
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
2017-06-20 13:07:13 -04:00