-
Story
-
Resolution: Done
-
Medium
-
None
-
None
-
None
-
VID Sprint 17
As a VID user,
I would like to be able to initiate a scale out workflow for one or more vf_modules, so that I can add instances of in-service modules as part of VNF Change Management.
- Add a new workflow option in the New VNF Change' window - 'Scale out'.
- When the user selects the 'Scale out' workflow, an additional dropdown field will be displayed below the wf dropdown, labeled 'Controller'. The values in the dropdown should be taken from configuration (initial values: 'appc', 'sdnc').
- When the user selects the 'Scale out' workflow, a new 'Select VF modules' button will appear beneath the workflow selection field.
- The 'Schedule'/'Confirm' button should be disabled until selecting at least 1 module to scale in the next popup.
- When the user clicks the 'Select VF modules' button, a modal popup window will be displayed over the existing window, labeled 'Select VF Modules'. In this window, a message will be displayed - 'Please select modules to add:'
- Beneath the message, a nested table will be displayed with the following fields:
- Level 1:
- VNF instance name (non-editable)
- Model version (non-editable)
- Category - non-editable
- Sub category - non-editable
- UUID (non-editable)
- Invariant UUID (non-editable)
- Level 2 (opens all modules under each level-1 row):
- Module instance name (non-editable)
- # In service (the number of instances of this module already instantiated - from A&AI - non-editable)
- # to add (Input field - the number of instances of this module to add as part of the scale out - a dropdown with all the integer options between 0 and [max instances - in service] - so that the number of instances of this module will not exceed [max instances] after the scale out). Default value in the field should be 0. Mandatory field.
- Module UUID - non-editable
- Supplementary file (input button - clicking it will allow the user to upload a file, similar to Module sup file). Non-mandatory. If a file is uploaded, display the file name next to the button and allow removing with an 'X' icon.
- Level 1:
- The table should be sorted by VNF Name in level 1, then VF Module name in level 2.
- Under the table, 'Confirm' and 'Cancel' buttons will appear. If no changes were made since the page was loaded, the 'Submit' button should be grayed out.
- Clicking 'Cancel' will return to the 'New VNF Change' window without saving any changes.
- Clicking 'Submit' will return to the 'New VNF Change' window, saving all changes.
- Upon returning to the 'New VNF Change' window, a message will be displayed next to the 'Select VF Modules' button: "[xx] modules selected".
- Once at least 1 module was selected, the 'Schedule'/'Confirm' button should be enabled.
- When the user clicks 'Schedule'/'Confirm', the information required for the scale out will be passed to SO as a TOSCA (see story
VID-191for the interface changes).
**TODO: verify if any changes required to scheduler