Tino Vázquez
05d147c524
M #-: Bump version 6.10.0
...
Also bump copyright year to 2024
2024-07-29 14:27:11 +02:00
Pavel Czerný
2fe396ae15
L #-: Add Astyle linting
...
* Add AStyle to smoke tests
* Format C++ files using AStyle
2024-06-03 11:40:24 +02: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
Pavel Czerný
725337ea5e
B #6355 : Fix VM quotas ( #2861 )
...
* Remove useless default values from VM quotas, adapt chown and chgrp to it
* Fix VM transition from poweroff, stopped, suspended, undeployed to done when quotas are tmp exceeded
* Fix VM transition from poweroff to undeployed
* Fix VM transition from suspended to stopped
(cherry picked from commit 1e25904148
)
2023-12-12 16:20:08 +01:00
Pavel Czerný
75ee27eb32
M #-: Add more build warnings, const version of vector_value method ( #2534 )
...
* M #-: const version of vector_value returns const&
* M #-: Turn on compiler flags -Wextra -Werror
2023-03-08 15:52:20 +01:00
Pavel Czerný
8e7ff2ed36
F #6103 : Last set of CppCheck issues ( #2481 )
...
(cherry picked from commit 4a9662a551
)
(cherry picked from commit d7b7303f8f
)
2023-02-07 08:56:52 +01:00
Tino Vázquez
3376afdaf0
M #-: Bump year 2023
2023-01-09 12:23:19 +01:00
Tino Vazquez
f7d53e75ff
M #-: Bump version 6.3.85
2022-04-07 19:49:58 +02:00
Vlastimil Holer
096754b63f
M #-: Bump year to 2021 ( #778 )
2021-02-09 16:07:56 +01:00
Ruben S. Montero
565094961a
F #4936 : oned refactor
...
* Remove duplicit methods from NebulaUtil
* Const correctness
* Fix minor code quality issues
* Remove ObjectCollection::clone()
* Minor SSLUtil interface change
co-authored-by: Pavel Czerný <pczerny@opennebula.systems>
2020-07-05 22:01:32 +02:00
Pavel Czerný
daaf132a43
F #4936 : Remove 'using namespace std' from headers ( #60 )
2020-07-02 22:42:10 +02:00
Vlastimil Holer
f3c50a5d89
M #-: Year bump to 2020 ( #4634 )
2020-04-30 15:00:02 +02:00
Vlastimil Holer
441cf1f7f9
Bump version to 5.7.85, year to 2019
2019-01-16 11:47:59 +01:00
Vlastimil Holer
a4c0447ccf
Bump year to 2018 ( #1623 )
2018-01-02 18:27:37 +01:00
Javi Fontan
8de979e42c
Bump version 5.3.80
2017-05-25 16:07:35 +02:00
Javi Fontan
e1f6dee180
Update copyright notice year
2016-05-04 12:33:23 +02:00
Ruben S. Montero
5761be4d10
feature #4217 : Simplify Template, Attribute and PoolObjectSQL class interfaces
2016-02-05 00:33:37 +01:00
Ruben S. Montero
c9dd78ce85
feature #4215 : Add decorator interface for Quota class. Implement a
...
Virtual Router decorator for QuotaNetwork
2016-02-05 00:31:50 +01:00
Carlos Martín
68a0184ed2
Feature #4215 : Implement auth & quotas for all VR actions
2016-02-01 17:07:04 +01:00
Jaime Melis
e20fb5c4c4
Fix copyright in banners
2015-09-23 16:51:10 +02:00
Jaime Melis
8d00b74177
Change year to 2015
2015-02-24 12:27:59 +01:00
Carlos Martín
8198887ca2
Feature #3264 : Move float_to_str to NebulaUtil
2014-11-06 18:27:17 +01:00
Carlos Martín
1b668757fe
Feature #2964 : unlimited quota is now -2, in core
2014-07-03 12:16:29 +02:00
Jaime Melis
11520021f7
Bump to version 4.5.0
2014-01-09 11:51:20 +01:00
Ruben S. Montero
00e38376a9
Revert "Bug #2200 : VM Resize uses the same quota mechanism as all the other methods"
...
This reverts commit 886346606d
.
(cherry picked from commit 9126e8a8f6
)
2013-07-22 23:36:24 +02:00
Carlos Martín
7658e9cd94
Bug #2200 : VM Resize uses the same quota mechanism as all the other methods
...
(cherry picked from commit 886346606d
)
2013-07-22 15:50:34 +02:00
Ruben S. Montero
dcfa0a1773
feature #1772:Resize VM capacity (cpu, memory and vcpu) offline
2013-02-23 19:49:06 +01:00
Jaime Melis
7357bffe34
Update copyright notice
2013-01-24 16:18:30 +01:00
Jaime Melis
af61e33f8c
Update year to 2013
2013-01-24 16:03:57 +01:00
Carlos Martín
085fa15535
Bug #1659 : Write quota numbers with the fixed format flag
2012-12-10 17:19:02 +01:00
Ruben S. Montero
e4a601dde8
feature #1611 : Default attribute for quotas can only be set at initialization
2012-11-30 00:16:52 +01:00
Carlos Martín
9d3fb42970
Feature #1611 : Better handling of default vs non-default quotas
2012-11-29 17:26:21 +01:00
Carlos Martín
fba200499b
Feature #1611 : Instead of changing negative limits to 0, report the error
2012-11-29 12:49:29 +01:00
Carlos Martín
edfed5e531
Feature #1611 : Create new class DefaultQuotas, and disable the limit '-1' for def. quotas
2012-11-26 12:48:10 +01:00
Carlos Martín
8ed9fa884a
Feagture #1611 : Make the default quotas work for both user and group
2012-11-19 16:38:39 +01:00
Carlos Martín
c04f35d5ed
Feature #1611 : Start working in support for default User quotas
2012-11-19 15:20:36 +01:00
Carlos Martín
c94bfcab5e
Bug #1347 : quota update accepts float values
2012-07-16 18:28:58 +02:00
Carlos Martín
6cc05f5b81
Bug #1347 : Add support for float quotas. The update quotas method needs to be changed too
2012-07-16 17:15:22 +02:00
Carlos Martín
73baa84fbd
Feature #1288 : Code cleanup
2012-06-21 18:30:13 +02:00
Carlos Martín
06581af467
Feature #1288 : Re-do commit:e2f59f0c .
...
Previous code didn't check that all quota limits are 0, just the
ones requested. This version also cleans quotas that have 0 limit
and usage after a 'oneuser quota' operation
2012-06-21 18:12:50 +02:00
Carlos Martín
e2f59f0cbb
Feature #1288 : Clean quotas that reach 0 usage and limit
2012-06-19 18:02:55 +02:00
Ruben S. Montero
82e3f2e052
feature 1288: Add missing updates after modifying user quotas. XML-RPC method to set user quotas
2012-06-07 00:04:08 +02:00
Ruben S. Montero
2a33492ad8
feature #1288 : Generic quota implementation
2012-06-05 13:34:28 +02:00
Ruben S. Montero
e60efb1480
feature #1288 : Generic Quota Management
2012-06-05 01:58:37 +02:00
Ruben S. Montero
e73c78869b
feature #1288 : Better interface for Quotas
2012-06-04 00:45:56 +02:00
Ruben S. Montero
ce3609c28c
feature #1288 : Better syntax to define DATASTORE quotas
2012-06-02 02:58:46 +02:00
Ruben S. Montero
552d370593
feature #1288 : Better integration for Quotas with RequestManager
2012-05-30 02:20:16 +02:00
Ruben S. Montero
d6beb1fb06
feature #1288 : Work on Quota interface. Integration with authZ/authN system
2012-05-29 00:36:13 +02:00
Ruben S. Montero
99cd9aa69d
feature 1288: Add base class for Quotas. Implementation of Image Quotas
2012-05-27 23:15:05 +02:00