1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-03 13:47:01 +03:00
Pavel Czerný 442041fd07
F #6341: Generic Quotas
- Generic quotas are defined and read from oned.conf (QUOTA_VM_ATTRIBUTE)
- Generic quotas react to the running mode (i.e. account only when the VM is
  running). For each quota oned also adds a RUNNIN_* metric
- one.system.config API call has been updated so every user can read
  quota configuration:
    . Sensitive information is hidden (***)
    . Oneadmin group has no longer access to sensitive information
      through the API
- CLI has been updated to render generic quotas
- onedb fsck fixes generic quotas reading the configuration from
  oned.conf

Other changes in this PR:
- Refactor Quota metrics to use std::vector instead of C array
Squashed commit of the following:
- New methods to Template and Attribute classes to render hidden
  attributes as "***"
- Update Quota calls to not include unneeded quotas

co-authored-by:Ruben S. Montero <rsmontero@opennebula.org>
2024-01-08 14:07:03 +01:00
..
2023-01-09 12:23:19 +01:00
2024-01-08 14:07:03 +01:00
2023-09-15 09:22:57 +02:00
2023-12-04 10:40:53 +01:00
2023-07-03 18:15:52 +02:00
2023-10-18 16:00:52 +02:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2023-08-29 17:11:01 +02:00