[pve-devel] applied: add guest lock information to API resource call and show it in WebUI tree
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Jun 14 07:32:00 CEST 2019
On 6/11/19 6:02 AM, Thomas Lamprecht wrote:
> Add the lock information of virtual guests configuration files to the
> /cluster/resource API call. To do this in a way which does not breaks this
> call's performance we add an specialized IPCC call.
> See the single patches for more details.
>
> pve-cluster:
>
> Thomas Lamprecht <t.lamprecht at proxmox.com> (1):
> add get_guest_config_property IPCC method
>
> data/PVE/Cluster.pm | 15 +++++
> data/src/cfs-ipc-ops.h | 2 +
> data/src/server.c | 28 ++++++++++
> data/src/status.c | 148 +++++++++++++++++++++++++++++++++++++++++++++++++
> data/src/status.h | 3 +
> 5 files changed, 196 insertions(+)
>
> pve-manager:
>
> Dominik Csapak <d.csapak at proxmox.com> (2):
> gui: add lock to resource store and tree
> gui: add lock icons to css
>
> Thomas Lamprecht <t.lamprecht at proxmox.com> (2):
> api: cluster/resources: add information about guest locks
> gui: tree: add lock information to tooltips
>
> PVE/API2/Cluster.pm | 7 +++++
> www/css/ext6-pve.css | 53 ++++++++++++++++++++++++--------------
> www/manager6/Utils.js | 4 +++
> www/manager6/data/ResourceStore.js | 7 +++++
> www/manager6/tree/ResourceTree.js | 22 +++++++++++-----
> 5 files changed, 66 insertions(+), 27 deletions(-)
>
The cluster part was applied by Wolfgang from a followup version[0],
thus I applied the manager part with a bit reworked "tree: add lock
information to tooltips" patch (i.e., no lock symbol in tooltip, but
"Config locked (LOCKNAME)" to mark it a bit clearer (which tooltips
are for).
[0]: https://pve.proxmox.com/pipermail/pve-devel/2019-June/037501.html
More information about the pve-devel
mailing list