Masakari-DashBoard

Registered by Niraj Singh

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:
Complete
Approver:
SamP
Priority:
Undefined
Drafter:
Niraj Singh
Direction:
Approved
Assignee:
Niraj Singh
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
SamP
Completed by
SamP

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/masakari-dashboard,n,z

Addressed by: https://review.openstack.org/543870
    Add segment panel

Addressed by: https://review.openstack.org/558721
    Implement delete segment

Addressed by: https://review.openstack.org/558718
    Implement segment detail tab

Addressed by: https://review.openstack.org/558746
    Implement update segment

Gerrit topic: https://review.openstack.org/#q,topic:masakari-dashboard-host-delete,n,z

Addressed by: https://review.openstack.org/558753
    Implement delete host

Addressed by: https://review.openstack.org/558747
    Add host panel

Gerrit topic: https://review.openstack.org/#q,topic:masakari-dashboard-notification-list,n,z

Addressed by: https://review.openstack.org/558749
    Implement host detail

Addressed by: https://review.openstack.org/558758
    Implement update host

Addressed by: https://review.openstack.org/569757
    Added notification panel

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.