60 Commits
Author SHA1 Message Date
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ý 31a238e727 F OpenNebula/one#5861: Fix json history body (#3111)
* Fix body_json for history record
* Update the body_json on every VM update to keep the data synced with the xml body
* Remove few duplicated VM updates
2024-07-03 13:10:41 +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ýandRuben S. Montero 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ý c5392d08b8 F #6063: Update Backup Job fix (#2715)
* Set priority on Backup Job create

* Fix a bug when running backup jobs in sequential mode

* Change the update semantics to support replace mode

* Update Ruby, Golang and Java API accordingly

* F #6063: Adress PR comments
2023-09-07 11:11:02 +02:00
Ruben S. Montero 6bbfbb03e4 F #6063: Backup Jobs for OpenNebula
Includes the following changes:
- xml-schema for Backup Job and Scheduled Actions
- GO, Java api
- Deprecate onevm update-chart, delete-chart
    * The commands are replaced by sched-update and sched-delete
    * Refactor method deprecate_command, it's still possible to run the
    command
    * Delete 'shutdown' and 'delete' commands deprecated years ago
    * Fix --verbose option for sched-update and sched-delete
- Re-implementation of scheduled actions, now are managed and executed
  by oned
- Backup Job objects, API, and CLI commands
2023-07-03 18:15:52 +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
Pavel Czerný 3c2efafcc5 B #4193: Limit action execution on wilds (#1496) 2021-10-08 19:27:06 +02:00
Vlastimil Holer 096754b63f M #-: Bump year to 2021 (#778) 2021-02-09 16:07:56 +01: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
Ruben S. Montero 44e44b47a8 F #3859: New monitoring architecture
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
  co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.systems>
2020-03-04 16:05:57 +01: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. MonteroandChristian González 6143dd95ce F #3380: New Hook system. Drivers, oned and command line tool
Co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-09-09 14:47:42 +02:00
Ruben S. MonteroandPavel Czerny 500e45dbd6 F #1401: Configurable VM_*_OPERATIONS per group and user. Restructure of the API
authorization levels and initialization logic.

Co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2019-09-09 13:13:52 +02:00
Ruben S. MonteroandPavel Czerny 217ff30a76 B #1815: Remove resource from VDC when erased
L #-: Derived virtual methods use override keyword

Co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2019-07-05 17:23:21 +02:00
Ruben S. MonteroandChristian González cbd9aee912 F #3393: Reduce number of updates referencing FTS field. Changed REPLACE
operations to UPDATE to improve DB performance

co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-06-12 17:20:50 +02:00
Vlastimil Holer 441cf1f7f9 Bump version to 5.7.85, year to 2019 2019-01-16 11:47:59 +01:00
Christian González d921610d15 F #826 Authorize user/group to create restricted networks (#2625) 2018-11-20 17:24: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 503b2835b8 F #4809: Update API internal name to match public xml-rpc names. Do not log
heartbeat/replicate log entries
2017-05-07 23:43:20 +02:00
Ruben S. Montero 5a856f87d3 F #4845: Add missing VM actions to get auth operation from configuration 2017-01-30 13:46:05 +01:00
Ruben S. Montero 8b3abfab09 F #2347: Mora API calls for VMGroup 2017-01-03 21:12:27 +01:00
Javi Fontan e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Ruben S. Montero a4cf0cc387 feautre #4217: API, OCA and command line tools for marketplace apps. Fix minor bugs 2015-12-11 15:53:19 +01:00
Ruben S. Montero ed92441582 feature #4217: OpenNebula core methods for MarketPlace class. OCA
binding and onemarket tool
2015-12-05 23:52:28 +01:00
Carlos Martín c5b19f45df Feature #4215: Create new Virtual Router pool 2015-11-30 16:50: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
Carlos Martín dca0c29244 Feature #3471: New pool VDC, ruby oca and cli 2014-12-19 17:30:00 +01:00
Carlos Martín 49b94d12ea Merge remote-tracking branch 'origin/master' into feature-3175
Conflicts:
	install.sh
2014-10-03 15:55:29 +02:00
Carlos Martín 00990b33a1 Feature #3175: New Security Group pool in the core 2014-09-08 11:50:25 +02:00
Carlos Martín 00cb00b0e8 Feature #3167: Allow users to edit their VNets, add vnet restricted attributes 2014-09-03 15:31:00 +02:00
Carlos Martín efe97e0ade Feature #3167, #3169: Make the restricted attr. mechanism generic for all pool objects 2014-09-03 11:36:46 +02:00
Ruben S. Montero 509529bac6 feature #2858: one.vn.[update, update_ar, add_ar, rm_ar] require ADMIN rights 2014-05-30 19:00:59 +02:00
Tino Vazquez c58cc19d01 Feature #2696: Add generic Template for Groups 2014-02-26 12:59:29 +01:00
Ruben S. Montero 7686ca93e0 Merge branch 'master' into vdc-federation
Conflicts:
	include/GroupPool.h
	include/UserPool.h
2014-01-23 16:36:22 +01:00
Tino Vazquez 461bda9f82 Feature #2613: Extend zonepool with endpoint + update
Done for CLI and Sunstone
2014-01-13 18:26:21 +01:00
Jaime Melis 11520021f7 Bump to version 4.5.0 2014-01-09 11:51:20 +01:00
Carlos Martín c632828876 Feature #2124: New template append action in core 2013-06-28 18:45:27 +02:00
Carlos Martín 948f7bc301 Feature #1556: onevm update does not allow users to change restricted attributes 2013-03-12 15:26:14 +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 c3bbc983ca Bug #1733: Change onehost update method rights to ADMIN 2013-01-17 15:52:02 +01:00
Ruben S. Montero 8a2597cd90 feature #1556: Add a new user template to the VM to store user defined variables. Add OCA Ruby & JAVA bindings for the new update method. Add command option for onevm tool. 2013-01-04 00:04:01 +01:00
Carlos Martín a6b2c86bfb Bug #1306: Add Template contents to Clusters 2012-06-28 17:51:21 +02:00
Ruben S. Montero 9da2602949 feature #1304: Fix signature for XML-RPC methods. Remove publish methods for OCA 2012-06-13 17:41:54 +02:00
Ruben S. Montero cb9e8bdb82 feature #1304: Removed name uniqueness for document pool. Simplify related functions because of this 2012-06-13 12:44:04 +02:00