Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F OpenNebula/one#2410: VM autorefresh #1286

Merged
merged 1 commit into from
Sep 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions source/deployment/sunstone_setup/sunstone.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ Available options are:
+---------------------------+-----------------------------------------------------------------------------------------------+
| :threshold_high | Minimum percentage value for red color on thresholds |
+---------------------------+-----------------------------------------------------------------------------------------------+
| :zeromq_server | Endpoint to connect to the ZeroMQ server. |
+---------------------------+-----------------------------------------------------------------------------------------------+
| :autorefresh_ip | IP address where the sunstone is running. |
+---------------------------+-----------------------------------------------------------------------------------------------+

.. note:: To use Sunstone with IPv6 only systems and thin HTTP sever, use the full IPv6 address in the
field `:host`. If you need to set the localhost address (::1) or the unspecified address (::) please
Expand Down
11 changes: 11 additions & 0 deletions source/integration/references/sunstone_dev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -354,3 +354,14 @@ After the installation you can initialize ESLint with your own rules or use Open
The usage of ESLint is not mandatory but we recomend our contributors to use it, to be sure that the code is standardiced.

More information about `ESlint <https://eslint.org/>`__ project.

.. _autorefresh:

Autorefresh
================================================================================

Sunstone is on constant communication with the ZeroMQ server of OpenNebula, which means no more clicks on the refresh button at the VM instances view.

It works in a simple way when you execute the command sunstone-server start Sunstone will create a thread which is in charge of receiving all the information about the VMs and send it back to the front-end where the javascript functions update the views when they receive new information.

In order to configure the autorefresh feature to use non standard values, you need to tune the parameters ":zeromq_server", ":autorefresh_ip" in :ref:`sunstone-server.conf <sunstone_sunstone_server_conf>`.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Authentication

Sunstone
================================================================================
- VM info autorefresh with ZeroMQ. Check :ref:`this <autorefresh>` for more information.


Scheduler
Expand Down