1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-20 14:03:36 +03:00

62 Commits

Author SHA1 Message Date
Pavel Czerný
aa1775616b
F #6103: CppCheck version 2.10 - solved issues (#2492)
* Update smoke test checkout action

(cherry picked from commit 466d336d7e264b22e19576e42e39252921f1f0a6)
2023-02-14 09:51:21 +01:00
Pavel Czerný
6b5f78fc1a
F #6103: More CppCheck issues solved (#2477)
(cherry picked from commit 3fd059c54307722d484ea3d4b6f245bbe799978a)
2023-02-02 12:56:03 +01:00
Tino Vázquez
8daf5de374
M #-: Bump year 2023 2023-01-09 13:42:55 +01:00
Ruben S. Montero
865908de1c
F #5989: Live update of Virtual Network attributes
co-authored-by: Pavel Czerný <pczerny@opennebula.systems>
co-authored-by: Frederick Borges <fborges@opennebula.io>
co-authored-by: Christian González <cgonzalez@opennebula.io>

* VNET updates trigger a driver action on running VMs with NICs in the
  network.

* VNET includes a sets with VM status: updated, outdated, error and
  updating. With VMs in each state.

* VNET flags error situations with a new state UPDATE_FAILURE.

* The same procedure is applied when an AR is updated (only VMs in that
  AR are updated).

* A new options in the one.vn.recover API call enable to recover or
  retry this VM update operations.

* The following attributes can be live-updated per VNET driver:
    - PHYDEV (novlan, vlan, ovs driver)
    - MTU (vlan, ovs driver)
    - VLAN_ID (vlan, ovs driver)
    - QINQ_TYPE (ovs driver)
    - CVLANS (ovs driver)
    - VLAN_TAGGED_ID (ovs driver)
    - OUTER_VLAN_ID (ovs driver)
    - INBOUND_AVG_BW (SG, ovs driver + KVM)
    - INBOUND_PEAK_BW (SG, ovs driver + KVM)
    - INBOUND_PEAK_KB (SG, ovs driver + KVM)
    - OUTBOUND_AVG_BW (SG, ovs driver + KVM)
    - OUTBOUND_PEAK_BW (SG, ovs driver + KVM)
    - OUTBOUND_PEAK_KB (SG, ovs driver + KVM)

* New API call one.vm.updatenic, allows to update individual NICs
  without the need of detach/attach (only QoS supported).

* Update operations for: 802.1Q, bridge, fw, ovswitch, ovswitch_vxlan
  and vxlan network drivers.

* VNET attributes (old values) stored in VNET_UPDATE to allow
  implementation of update operations. The attribute is removed after a
  successful update.

* Updates to CLI onevnet (--retry option) / onevm (nicupdate command)

* XSD files updated to reflect the new data model

* Ruby and JAVA bindings updated: new VNET state and recover option, new
  VM API call.

* Suntone and Fireedge implementation (lease status, recover option, new
  states)

TODO: Virtual Functions does not support this functionality

iii
2022-11-16 15:06:49 +01:00
Tino Vazquez
f7d53e75ff M #-: Bump version 6.3.85 2022-04-07 19:49:58 +02:00
Pavel Czerný
de6d7dd150
B #2187: Increase AR size from 32 bit to 64 bit (#1295) 2021-06-24 10:52:46 +02:00
Ruben S. Montero
f1a48bdc0d
F #5270, #5272: Support for Google Compute and DigitalOcean
co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
co-authored-by: Juan Antonio <jescobar@opennebula.io>
co-authored-by: Sergio Betanzos <sbetanzos@opennebula.io>
2021-05-01 21:53:09 +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ý
0292f690c4
F #4936: Fix valgrind issues (#64) 2020-07-02 22:52:05 +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
Pavel Czerný
36c79d643b
F #2837: Add --force option to 'onevnet rmar' (#4511) 2020-04-14 10:49:06 +02:00
Ruben S. Montero
c78e2f2006
F #3064: Do not expose internal attribute in AddressRange class 2019-09-17 17:19:04 +02:00
Alejandro Huertas Herrero
2c9bbb9642 B #3070: delete IPAM ars when deleting vnet (#3719) 2019-09-17 15:53:02 +02:00
Alejandro Huertas Herrero
536672833a F #3064: pass decrypted attributes to IPAM driver (#3706) 2019-09-16 15:51:38 +02:00
Alejandro Huertas
e997d2b2b3
F #3064: encrypt address range template
The address range template in address range pool is encrypted
2019-09-13 11:35:53 +02:00
Ruben S. Montero
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
Ruben S. Montero
a742b95d83
F #3064: Unified secret handling
Co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2019-09-03 16:46:36 +02:00
Vlastimil Holer
441cf1f7f9 Bump version to 5.7.85, year to 2019 2019-01-16 11:47:59 +01:00
Alejandro Huertas Herrero
7e36bc7c74 F #2490: Add new unregister address range functionality
* Modify the IPAM driver
    * Modify AddressRangePool to call the new action script
    * Add example dummy script
2018-10-18 15:20:47 +02:00
juanmont
098ce33e79 F #1976: Test access rights to the security groups of a VNet and its ARs 2018-04-27 16:31:12 +02: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
ba40cffd61 F #5027: Operations (hold, release, reserve...) for IP6 no-slaac ARs 2017-02-21 16:50:45 +01:00
Ruben S. Montero
948d1d98c4 F #5027: New address range types for IP6 no SLAAC. Basic lease
functionality
2017-02-17 23:49:05 +01:00
Guillaume Oberlé
f8874bb320 feature #4446: Reservations are handled always by OpenNebula's internal
IPAM. Add consistency check to IPAM results. Log error messages from
IPAM drivers. Remove unused internal AR attribute (ipam_mad)

Signed-off-by: Ruben S. Montero <rsmontero@opennebula.org>
2016-08-26 17:21:07 +02:00
Guillaume Oberlé
5ebe8c5e0d feature #4446: IPAM driver - OpenNebula core message parsing
Signed-off-by: Ruben S. Montero <rsmontero@opennebula.org>
2016-08-19 13:26:08 +02:00
Guillaume Oberlé
1772a358f5 feature #4446: Extends IPAMRequest to include driver formatting.
Implements IPAM AddressRange (callbacks still missing).

Signed-off-by: Ruben S. Montero <rsmontero@opennebula.org>
2016-08-18 21:42:24 +02:00
Guillaume Oberlé
f8615d6e5c Feature #4446: Redesign of AddressRange class to include multiple
implementations. When managing leases 4 abstract methos have been added
to the interface:
  - from_vattr, to notify/request a new network from IPAM
  - allocate_addr, to set an address as used
  - get_addr, to request a free address
  - free_addr, to set an address as unused

This commits also includes an AddressRange implementation based on
OpenNebula's internal IPAM

Signed-off-by: Ruben S. Montero <rsmontero@opennebula.org>
2016-08-17 19:22:53 +02:00
Javi Fontan
e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Carlos Martín
b8c5fd4cd7 Feature #3848: Remove VLAN=YES from sunstone 2016-03-31 16:24:45 +02:00
Ruben S. Montero
5761be4d10 feature #4217: Simplify Template, Attribute and PoolObjectSQL class interfaces 2016-02-05 00:33:37 +01:00
Carlos Martín
034943e6b1 Feature #4215: Filter VR leases in onevnet show 2016-01-07 16:58:54 +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
788c909c0a Feature #3540: Show vnet start-end ranges for mac, ip, ipv6 2015-02-11 19:01:24 +01:00
Ruben S. Montero
18786ec0e6 feature #3175: Cache SECURITY_GROUP parsing 2014-11-11 16:27:46 +01:00
Ruben S. Montero
62b241df28 feature #3175: Move AR attributes for SG to class constants 2014-10-31 16:57:54 +01:00
Carlos Martín
76218309bc Feature #3175: Core support for RULE/NETWORK_ID
Each rule is copied once for each vnet's AR
2014-10-10 16:52:51 +02:00
Ruben S. Montero
dcd2e80281 feature #3183:Extend VNET to_xml method to list only VM and VNET information granted by the ACL system 2014-09-11 17:01:14 +02:00
Carlos Martín
36f19c0dcf Feature #3167: Allow users to edit their VNet's AR, respecting restricted attributes 2014-09-04 13:38:11 +02:00
Carlos Martín
faa407e0ec Feature #2858: Return error for wrong AR update actions. Do not allow to update a reservation SIZE 2014-06-16 17:56:50 +02:00
Ruben S. Montero
f57e0b4c1c feature #2858: Adjust quotas on VNET chown 2014-06-03 16:09:26 +02:00
Ruben S. Montero
e971911068 feature #2858: Free address ranges on VNET 2014-06-02 19:18:32 +02:00
Ruben S. Montero
be238e98ee feature #2858: Add reservations to an exisiting network. VNETs are labeled with the PARENT_NETWORK_ID if any. Just one PARENT VNET is allowed 2014-05-30 19:00:59 +02:00
Ruben S. Montero
0fbef4c68c feature #2858: Reserve by IP & MAC 2014-05-30 00:00:32 +02:00
Ruben S. Montero
977fc0d9e3 feature #2858: Reserve by AR_ID, fix DB storage of reservations 2014-05-29 12:44:41 +02:00
Ruben S. Montero
28e7faf54e feature #2858: Check quotas for reserve addresses. Update AR on reservation 2014-05-28 10:59:02 +02:00
Ruben S. Montero
d5deaaf9e4 feature #2858: First version of VNET reservation. VNET is created, addresses allocated. Needs to set free addr methods upon reservation removal. 2014-05-27 17:19:36 +02:00