-
Story
-
Resolution: Done
-
Critical
-
None
-
None
-
None
-
Product / Portfolio Work
-
3
-
-
False
-
-
-
3
-
OCMUI Core Sprint 268
Day 2
On ClusterDetails page of a ready (ROSA HCP) cluster, go to 'Machine pools' Tab (You need to own the cluster or to have permissions to add new Machine pools in order to be able to proceed to the next steps)
Click on 'Add machine pool' button which should open a modal entitled "Add machine pool"
Under 'Compute node instance type' section, we can find different groups of node instance types. Some of the instance types are 'WindowsLICompatible' (See explanation on the 'User Story' section and the attached documents found on the linked Epic for more information)
What is the scope of this story?
- Create a Feature Flag
- On the "Add machine pool" modal, under the 'Compute node instance type' section below the Select, add a new checkbox with the description:
"Enable machine pool for Windows License Included"
(See screenshot 1)
This checkbox should have the following functionality:
-
- In case the selected MachineType is 'WindowsLICompatible' according to the value which the backend provides (See {**} on the Important Notes section on the Epic for more details) -> the checkbox should be selectable (enabled).
-
- In case it isn't -> the checkbox should be disabled
- When a user has selected a 'WindowsLICompatible' instance type, has checked the checkbox, and then selected a different 'WindowsLICompatible' instance type -> the checkbox should remain checked
- When a user has selected a 'WindowsLICompatible' instance type, checked the checkbox, and then selected a non 'WindowsLICompatible' instance type -> the checkbox should be un-checked and disabled
- Also, we should add a ' ? ' icon with a Popover including the following description:
"""
Learn more about Microsoft Licensing on AWS and how to work with AWS-Windows-LI hosts
When enabled, the machine pool is AWS License Included for Windows with associated fees.
"""
The two links leading to documentation:
-
- Microsoft Licensing on AWS
- Preview: AWS-Windows-LI hosts for ROSA - Red Hat Customer Portal -> This link will be switched in the future with official Red Hat documentation as soon as it is ready (sraghupu should update when it is)
- In case a user hovers over the disabled checkbox, a Tooltip should pop out containing the following description:
"This instance type is not Windows License Included compatible, please see documentation for further details."
The same Popover should still be present next to it.
(See screenshot 2) - On the "Edit machine pool" modal, add text specifying if the currently edited machine pool has Windows LI enabled.
"This machine pool is Windows LI enabled." with a Popover containing the same description mentioned above.
(See screenshot 3)
Important to mention:
- All added components should be hidden under a related Feature Flag: "ocmui-windows-license-included"
- Once the backend team will implement the necessary API queries, we'll add the values from the backend -> Phase 2
- For more information, have a look at the linked Epic
- is cloned by
-
OCMUI-3576 [ROSA-HCP] Windows LI Phase 1: Add UI Implementation
-
- Closed
-