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>
Add a 404 page that will be triggered every time the user tries to
access a route that does not exists or the servers responds with 404.
Signed-off-by: Tiago Melo <tmelo@suse.com>
By moving the datatable module outside of the components module we
can avoid a circular dependency between the datatable and sparkline
component.
Signed-off-by: Tiago Melo <tmelo@suse.com>
This commit will add a StandbyModule class to enable redirects from any
inactive MGR instance to the active MGR instance.
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Moved developer-related documentation from `README.rst` to a
new file `HACKING.rst`.
Converted `frontend/README.md` to ReST and merged it into `HACKING.rst`.
Added updates to the README provided by @rjfd in PR#83
(updated the whole unit tests content to match the latest changes
on unit test execution, updated the development notes about
controller development)
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
This modifies how pool detail show the cache information to the user
and implements a continuous update of the images information.
Signed-off-by: Tiago Melo <tmelo@suse.com>
This component should be used in components that access endpoints
that implement ViewCache.
It will inform the user if the data is stale or if there were some
problems fetching it.
Signed-off-by: Tiago Melo <tmelo@suse.com>