49 Commits
Author SHA1 Message Date
Ruben S. MonteroandPavel Czerny d2c0104747 F #6342: Support for cluster quotas
This feature adds support for VM quotas at cluster level. CLUSTER_IDS
can be set for a VM quota so the admin can limit the number of resources (e.g. VMs) a
user/group can create in a given cluster.

This commit also fixes:

- B #2226
- B #6823

Co-authored-by: Pavel Czerny <pczerny@opennebula.io>
2025-01-20 09:50:06 +01:00
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ý 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. MonteroandChristian González 95a7a4ede5 F #4089: Support to FS formatt VM disk images
- Consistency set of FORMAT attribute for images, and volatile disks
    - DRIVER does not be specified by the USER and it is derived from driver
      configuration for the Datastore and TM driver
    - CP action from DS_MAD now needs to return the image FORMAT
    - FSTYPE is deprecated and no longer used
    - FS new attribute to specify file system FS.

co-authored-by: Christian González <cgonzalez@opennebula.io>
2020-09-25 12:15:03 +02:00
Pavel Czerný 3ea67d3645 F #4936: Reduce number of new/delete, use unique_ptr (#212)
* On exit stop RequestManager first

* Use unique_ptr for pointers to Template

* Reduce number of new/delete
2020-09-15 11:16:00 +02:00
Ruben S. MonteroandPavel Czerný 5ce49ed404 F #4936: Refactor pools to use unique_ptr
co-authored-by: Pavel Czerný <pczerny@opennebula.systems>
2020-09-10 09:08:29 +02:00
Pavel Czerný daaf132a43 F #4936: Remove 'using namespace std' from headers (#60) 2020-07-02 22:42:10 +02:00
Ruben S. MonteroandPavel Czerny a3d8d4a65e F #4936: Refactor Driver and Message classes in OpenNebula daemon
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2020-06-29 12:14:00 +02:00
Vlastimil Holer f3c50a5d89 M #-: Year bump to 2020 (#4634) 2020-04-30 15:00:02 +02:00
Ruben S. Montero 9aa1041103 F #3600: Initial PostgreSQL Support
co-authored-by: Igor Sivy <igorsivy@gmail.com>
co-authored-by: Pavel Czerny <pczerny@opennebula.io>
co-authored-by: Vlastimil Holer <vholer@opennebula.io>
(cherry picked from commit c52f62018c32281c6e418211f33f1bba46388e98)
2020-04-13 17:35:06 +02:00
Pavel Czerný 8d12e78fbe F #4032: Speed up C++ build (#4035)
In Nebula.h use forward declarations instead of #include
2019-12-10 11:45:14 +01:00
Alejandro Huertas Herrero 12928399d5 F #3064: add datasores clusters encrypted attrs (#3722) 2019-09-17 16:18:54 +02:00
Vlastimil Holer 441cf1f7f9 Bump version to 5.7.85, year to 2019 2019-01-16 11:47:59 +01:00
Ruben S. Montero f54e066949 F #2489: Improve performance of oned:
* Reduce memory footprint
    * Improve connection handling in the RequestManager
    * Reduce the number of locking calls
    * Reduce the size of the VM pool
2018-10-09 11:15:59 +02:00
Ruben S. Montero 21fe311681 F #2183: Use pager for list commands (e.g. onevm list). Support for
custom ordering (by ID) in list API calls, this can be set per user,
group and default in oned.conf
2018-08-06 14:16:00 +02:00
Ruben S. Montero 37222d65dc F #1792: Greatly improve concurrency by: Remove big lock on pool control class. Increase number of MySQL connections (new configuration variable). Make all parser reentrants. This commit also simplifies the pool references.
(cherry picked from commit a3d3ceb771034794c4fb453dcd9aaff64c53baed)
2018-03-17 23:35:21 +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
Ruben S. Montero 9297321d91 F #4393: New VirtualMachineDisk interface to abstract all disk
management logic. Adapted classes to new interface and re-allocated some
functions. Work on disk resize operations.
2016-12-12 02:28:00 +01:00
Javi Fontan e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Carlos Martín e8a05ca1d7 Feature #4369: Replace cluster ID with a set of IDs 2016-03-10 16:28:33 +01: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 e958ed3c2d feature - : Remove unused update methods 2015-12-10 15:39:23 +01:00
Ruben S. Montero dd882538eb feature #3987: DS inherited attributes logic moved to the DatastorePool class 2015-10-28 19:29:23 +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
Javi Fontan 193e7a9cf6 feature #2371: add pagination to pool info
When the end_id of pool.info xmlrpc call is lower than -1 the parameters
do not refer to object ids but offset and cuantity used for pool pagination.r
The SQL query will have "LIMIT start_id,-end_id".
2014-01-13 16:30:43 +01:00
Jaime Melis 11520021f7 Bump to version 4.5.0 2014-01-09 11:51:20 +01:00
Ruben S. Montero 4309d10c12 bug #2326 2013-10-04 13:26:03 +02:00
Ruben S. Montero d32c736b5c feature #1613: Function to list the oids of a Pool. 2013-06-27 01:11:41 +02:00
Ruben S. Montero c3861de27a feature #2097: Checks trailing character in ds_location before creating a new datastore. Adds '/' if needed. 2013-06-20 17:43:05 +02:00
Ruben S. Montero 2ca5c88e50 feature #2097: Get DS_LOCATION from cluster when allocating a new DS
(cherry picked from commit 1f69905000)
2013-06-03 23:38:22 +02: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 d4245a6699 Feature #1681: Add new oned.conf att. for a default umask 2013-01-18 18:34:51 +01:00
Ruben S. Montero dd914b687c feature #1617: Create a FILE datastore when bootstraping OpenNebula 2012-11-18 00:47:48 +01:00
Carlos Martín f69a646ceb Feature #1112: Add owner and group to DS. To do: chown, chmod methods 2012-03-01 18:50:17 +01:00
Carlos Martín dd51ce11bf Feature #1112: Associate Datastores to Clusters 2012-02-28 12:17:33 +01:00
Carlos Martín 7ffae6fb8e Feature #1112: Remove datastore initialization from oned.conf 2012-02-23 18:27:35 +01:00
Carlos Martín 1e63b6ce4e Feature #1112: Add TM_MAD to Datastores 2012-02-22 18:22:41 +01:00
Carlos Martín 546b6c8a4e Feature #1112: Restrict image creation on system DS. Create new default DS 2012-02-22 12:19:47 +01:00
Carlos Martín d2ad28a909 Feature #1112: Use SYSTEM_DS values from oned.conf to create default DS 2012-02-16 20:17:36 +01:00
Carlos Martín 4e2bd36415 Feature #1112: Datastores are now defined with templates. New att. type and base path 2012-02-16 19:37:08 +01:00
Carlos Martín 0dfb521b9b Feature #1112: Create default system datastore at bootstrap 2012-02-15 17:17:32 +01:00
Carlos Martín 9ec4b450a4 Feature #1112: Create Datastore and DatastorePool classes, and RM methods 2012-02-09 17:56:47 +01:00