Masakari-DashBoard

Registered by Niraj Singh on 2017-10-12

Summary
========
1. Create Masakari dashboard for Horizon.
2. Follow OpenStack Horizon look and feel.

Motivation
========
1. No dashboard is available for Masakari

Description
=========
Implement the following GUI:

On the left hand side panel, "Masakari" option will be added and under it there will be two options
1. Segments
2. Hosts

Note: All business rules will be implemented as imposed by the respective Restful APIs specs.

A) Segments : When you click on Segments option from the lefthand panel, segment list screen will be displayed

1. Segment List -
  a. Columns are:
    * Name - Name of the segment, Link to open segment details
    * UUID - UUID of the segment
    * Recovery Method - Recovery method of the segment
    * Service Type - Service type of the segment
    * Created At
    * Actions - Update, Add host

  b. Sorting allowed by UUID, Name, Created at, Service Type, Recovery method.
      Default sort by "created_at" DESC

  c. Support filter by service type, recovery method.

2. Segment create : When user clicks on "Create Segment" button provided on right top of Segment list screen.
  a. A create dialog box with the following fields will be displayed:
    * Name - textinput
    * Recovery Method - Dropdown
    * Service Type - textinput
    * Description

3. Segment Update : When user clicks on Actions and selects "Update" option, Update host dialog box will appear with the following fields:
  a. A update dialog box with the following fields will be displayed:
    * Name - textinput
    * Recovery Method - Dropdown
    * Service Type - textinput
    * Description

4. Add Host: When user clicks on Actions and selects "Add Host" option, add host dialog box will appear with the following fields:
     * Available hosts - dropdown/textbox
     * Reserved - checkbox
     * On Maintenance - checkbox
     * Type - Dropdown
     * Control Attribute: textbox

5. Segment Overview: When user clicks on any one of the segment name from the segment list, Segment overview screen will be displayed
  a. Shows the following info in Segment tab:
    * Name - Name of the segment
    * UUID - UUID of the segment
    * Recovery Method - Recovery method of the segment
    * Service Type - Service type of the segment
    * Created at
    * Updated at
    * Description
  b. Host tab to show list of hosts assigned to the segment
     * From the list of hosts, you will be allowed to delete multiple hosts in one action.

6. Segment delete
  a. User can select multiple segments from the list and delete all of them in one action.

B) Hosts: When you click on Hosts option from the lefthand panel, host list screen will be displayed
  a. Columns are:
    * Name
    * UUID
    * Segment UUID
    * Reserved
    * On Maintenance
    * Type

Blueprint information

Status:
Not started
Approver:
SamP
Priority:
Undefined
Drafter:
Niraj Singh
Direction:
Approved
Assignee:
Niraj Singh
Definition:
Approved
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.