72 Commits
Author SHA1 Message Date
Ruben S. Montero ebbb7be5d4 M #-: Bump version 7.3.80 2026-03-30 09:58:53 +02:00
MarioRobres 77c59fb1c5 B OpenNebula/one#6951: delete cluster_vnc_bitmap record when deleting a cluster (#3882) 2025-10-17 10:36:09 +02:00
Pavel Czerný 63c6969a32 F #1550: DRS automation 2025-03-18 16:24:07 +01:00
Ruben S. Montero 494ed0b470 F #1550: Fix cluster elements in Host template for schedulers 2025-03-06 20:23:35 +01:00
Valentyn Bohdan 822e86ac40 F #1550: Add validation of Cluster template one_drs (#3442)
Signed-off-by: Valentyn Bohdan <vbohdan@opennebula.io>
2025-03-05 12:48:49 +01:00
Pavel Czerný a5687e9251 F 1550: Use update/insert to store plan in DB (#3436)
* bootsrap empty placement plan
* Create empty plan, when creating a cluster
2025-03-03 13:45:51 +01:00
Tino Vázquez a64f071808 M #-: Bump year 2025 2025-02-28 11:56:18 +01:00
eda55567b1 F #1550: New Scheduler Framework for OpenNebula & DRS scheduler
This commits introduces a new framework for OpenNebula, it is based on
standard the OpenNebula middleware access driver (mad) model. Benefits
compared to the current implementation:

* Less overhead on API server and streamlined communications
* Ease integration with third party schedulers
* New "optimize" action to balance the workload of a cluster
* Embedded Plan Manager to apply optimization and deployment plans with
  custom parameters for the scheduling window
* Custom optimization policies per cluster

This commits introduces 2 schedulers:

* Rank scheduler based on the match-making algorithm present in 6.x
  series
* OpenNebula DRS an optimization algorithm based on an ILP solver for
  placement and cluster optimization

Also new API calls has been added for onecluster as well as the CLI
updates to expose them.

co-authored-by: MarioRobres <mrobres@opennebula.io>
co-authored-by: Pavel Czerny <pczerny@opennebula.io>
co-authored-by: Mirko Stojiljkovic <mstojiljkovic@opennebula.io>
co-authored-by: Valentyn Bohdan <vbohdan@opennebula.io>
2025-02-27 16:33:05 +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
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
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
Ruben S. MonteroandPavel Czerný 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
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
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
Ruben S. MonteroandAlejandro Huertas 3c2df22ad7 F #3064: separate encrypted attrs by objects
* There are encrypted attributes for VMs, Hosts and VNets
    * For VMs the user template is also encrypted
    * For VNets its address ranges attributes are also encrypted

Co-authored-by: Alejandro Huertas <ahuertas@opennebula.systems>
2019-09-12 16:25:23 +02:00
Pavel Czerný 6c6a73092c B #3630: Fix CPU/MEM reservations (#3678) 2019-09-11 11:14:51 +02:00
Ruben S. MonteroandPavel Czerny a742b95d83 F #3064: Unified secret handling
Co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2019-09-03 16:46:36 +02:00
Ruben S. Montero 3d748610d4 B #2913: Do not update vnc bitmaps if not needed 2019-02-14 15:13:58 +01:00
Christian González 461def304e B #2913: Add an option for updating the vnc bitmap without updating the whole cluster 2019-02-14 14:57:16 +01:00
Ruben S. Montero 633b9616cc B #2913: Delay DB operations and perform object updates first 2019-02-13 18:09:27 +01:00
Christian González 78fe62f9a0 B #2913 datastore/network loses attachment to its cluster while trying to allocate VM (#2936) 2019-02-13 17:44:02 +01: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
Ruben S. Montero bca17f4ee6 F #4809: Update SqlDB method name. DO NOT replicate monitoring data 2017-04-21 19:16:45 +02:00
Ruben S. Montero a6d4ab3c9f F #4809: Update Sql database interface to include read/write/bootstrap
operations
2017-04-18 17:12:19 +02:00
Ruben S. Montero 09825bd7ba F #4901: RESERVED_CPU and RESERVED_MEM can be expressed using %. Update
HostShare interface.
2016-11-05 21:14:38 +01:00
Javi Fontan e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Ruben S. Montero 784a4fc960 feature #2980: VNC port tracking. Includes a VNC bitmap for each cluster to
track the ports in use in the cluster and avoid port collision. VNC ports are
assigned when the VM is deployed and released when the VM is stopped, undeployed
or done.

Includes the following:
  - 9da66150dc0e3dc2731518d8a215f9598696a999
  - 4c35a9fcccf70cbe87d2947403ea815967e7b605
  - ccfccb6d2fc40aa1c07eb994f37b8da4fb479082
  - b1b64e61a39f4452c7ba00e581de42888e0e84a5
  - d474ee4db9ed520bcae743d510be35b25ea988ed
  - dacb61b1402da2ec309b6e79bdd285d0d11de84f
2016-04-05 12:56:34 +02:00
Ruben S. Montero 3fb8a0e161 feature #4369: Better const signature. Removed unused varibles and
methods. ACL filter is generated in the ClusterPool class, moved DB name
to private scope. Copy constructor for object collection. Uniform
get_cluster_id function.
2016-03-21 13:01:45 +01:00
Carlos Martín b715c4f773 Feature #4369: Remove datastore_location setting by cluster 2016-03-16 13:07:10 +01:00
Carlos Martín f6d10bdec0 Feature #4369: Undo Host changes to have only one cluster 2016-03-15 16:37:36 +01:00
Carlos Martín 621a186947 Feature #4369: ACL engine uses multple clusters 2016-03-11 15:42:17 +01: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 9e4af1ebc6 feature #3204: Security Group dynamic update. Add support to update SG
rules of running VMs though a new one.secgroup.commit operation
2016-03-01 23:31:31 +01:00
Jaime Melis e20fb5c4c4 Fix copyright in banners 2015-09-23 16:51:10 +02:00
Carlos Martín 5000d27281 Feature #3778: Add new ds-id param to one.vm.migrate 2015-04-29 13:10:07 +02:00
Jaime Melis 8d00b74177 Change year to 2015 2015-02-24 12:27:59 +01:00
Ruben S. Montero 7577d6d6b9 feature #1798: Optionally reserve capacity from a host. Cluster defaults can be defined 2014-03-04 11:42:44 +01:00
Jaime Melis 11520021f7 Bump to version 4.5.0 2014-01-09 11:51:20 +01:00
Ruben S. Montero 56681cec9a Merge branch 'master' into feature-1712 2013-09-16 12:01:38 +02:00
Ruben S. Montero aaaadf3fc8 feature #1712: Default DS selection code moved to Cluster class 2013-09-16 12:00:34 +02:00
Carlos Martín 1d0cd105f4 Feature #1712: If the ds_id is not defined, the first cluster system DS is used 2013-09-10 13:43:50 +02:00
Carlos Martín 17052e6992 Feature #1713: Add host, ds and vnet rename actions 2013-09-02 12:53:54 +02:00