* Added new CMake flag `WITH_MGR_DASHBOARD_V2_FRONTEND`:
Build the mgr/dashboard_v2 frontend using `npm install && npm run build`
* Set this flag to `OFF` when building packages.
* Removed creation of the frontend from `vstart.sh`
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Now every used cd-table with a valid "fetch" function will auto reload
itself by default every 10 seconds. You can also identify the unique
property of the row now, by default the unique identifier is "id".
Signed-off-by: Stephan Müller <smueller@suse.com>
Enable the ability to filter and paginate the performance counter tables
to make it easier to find specific information quickly.
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
Updated the dashboard chapter in the manual to reflect the
changes introduced by Dashboard v2 (e.g. username/password).
Updated description to include a high-level overview of the features
available.
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
Also:
* Made `get_daemons_and_pools` a function independant of `RbdMirroring`.
* Added tests
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
You can now list all osds and see details for each OSD.
The details can be viewed in tabs. You can view attributes, meta data
and histogram of the selected OSD.
Signed-off-by: Stephan Müller <smueller@suse.com>
Details:
* Moved `/dashboard/toplevel` API endpoint to `/summary`.
* Moved testcase to `tests/test_summary.py`.
* Also renamed service in the frontend.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
This commit adds the RBD mirroring functionality of the first dashboard to
the dashboard_v2 REST API. That's why the code is basically based on the
code of the first dashboard. It was just brought into a different structure
to fit into the structure of dashboard_v2.
The new API endpoint can be found at http://<host>:<port>/api/rbdmirror
The commit adds also related tests.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
This class provides methods to get the list of services registered in
the cluster, and also to get the list of pools by application type.
Signed-off-by: Ricardo Dias <rdias@suse.com>
The key value table can transform the input data into key value objects
now, you don't have to care about that anymore.
Also the first column of the data used in cd-table will be sorted if
not set manual through the "sorts" array.
Signed-off-by: Stephan Müller <smueller@suse.com>
This commit adds the ability to retrieve and filter the cluster
configuration of Ceph through the RESTful API.
Parameters `level` and `service` can be added to filter the list.
Example:
http://<host>:<port>/api/cluster_conf?level=basic&service=mds
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>