Commit Graph
111 Commits
Author SHA1 Message Date
Daniel Clavijo Coca 137d0aa5ec F OpenNebula/one#6242: prioritize file read (#2779)
(cherry picked from commit 7c91082e33)
2023-10-23 12:20:08 +02:00
Daniel Clavijo Coca 1804583ece F OpenNebula/one#6242: Allow templates via STDIN on CLI (#2660) 2023-07-07 10:21:38 +02:00
Daniel Clavijo Coca a2db634569 F OpenNebula/one#6006: Add CLI yamls for listing commands (#2643)
(cherry picked from commit 1a98b9b409)
2023-06-28 17:40:35 +02:00
Tino Vázquez 3376afdaf0 M #-: Bump year 2023 2023-01-09 12:23:19 +01:00
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
Pavel Czerný 0b3f786441 F #5943: Update verbose msg for async commands (#2263)
(cherry picked from commit cd35ad4eaa)
2022-08-25 20:07:07 +02:00
Alejandro Huertas Herrero 5b35eb7946 F #5356: add CLI chmod support /u/g/o (#2054) 2022-05-18 14:51:51 +02:00
4b746348b3 f #5725: State for Virtual Networks
* VNETs include state to flag their configuration status
  (READY/ERROR/LOCK)
* Hooks can be program based on VNET state transitions
* Include Java/Go/Ruby bindings
* New vCenter network drivers
* Place-holder to customize actions (create/delete) for other netowrk drivers
* Sunstone integration
* OneFlow syncs flow creation on VNET status
* Remove deprecated vcenter hooks and autoregistration

co-authored-by: Frederick Ernesto Borges Noronha <fborges@opennebula.io>
co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2022-04-09 15:20:17 +02:00
Tino Vazquez f7d53e75ff M #-: Bump version 6.3.85 2022-04-07 19:49:58 +02:00
Pavel Czerný 3a3798a239 M #-: Fix lock/unlock description (#1716)
(cherry picked from commit 39ea3c5a8c)
2022-02-01 17:27:42 +01:00
Vlastimil Holer c649213923 B #5379: Disable warnings on load of rubygems (#1199)
(cherry picked from commit 5fe824f1e7)
2021-05-11 09:24:32 +02:00
Alejandro Huertas Herrero 3cd833a43a F #5364: add list options to (un)lock CLI cmds (#1173) 2021-05-04 10:45:01 +02:00
Vlastimil Holer 0457a46045 M #-: Avoid reloading of OpenNebula distributed Ruby gems (#829) 2021-02-17 19:52:38 +01:00
Vlastimil Holer 096754b63f M #-: Bump year to 2021 (#778) 2021-02-09 16:07:56 +01:00
Alejandro Huertas Herrero 472ee2bccf F #4950: add JSON and YAML outputs (#63) 2020-07-14 17:42:30 +02:00
Vlastimil Holer 7872274c9b B #4929: Preserve site_ruby in paths, use realpath (#33) 2020-06-22 15:18:57 +02:00
Alejandro Huertas Herrero 3f31b7f5c6 B OpenNebula/one#810: add append opt to update AR (#22)
- Add option to append attributes to the AR
- Add option to read from file and append or replace it
- Code small polishments
2020-06-18 13:54:52 +02:00
Vlastimil Holer f3c50a5d89 M #-: Year bump to 2020 (#4634) 2020-04-30 15:00:02 +02:00
Vlastimil Holer d064ee6db3 B #4304: Distribution gems affects OpenNebula (#4578)
Remove vendor_ruby and site_ruby directories from $LOAD_PATH, so
that distribution gems installed directly into loadable path
without need to use rubygems are not loaded by require.
2020-04-22 10:21:08 +02:00
Alejandro Huertas Herrero a9b2683c96 M #-: fix linting (#4529) 2020-04-14 17:40:11 +02:00
Pavel Czerný 36c79d643b F #2837: Add --force option to 'onevnet rmar' (#4511) 2020-04-14 10:49:06 +02:00
Alejandro Huertas Herrero f90144f5ef L #-: fix minor linting issues (#3812) 2019-10-04 10:41:03 +02:00
Christian González 1bb4146592 F #3629: Add onevnet orphans (#3794) 2019-10-01 15:34:49 +02:00
Alejandro Huertas Herrero 7702c66cee F #3064: add decrypt option into CLI (#3699) 2019-09-16 22:37:05 +02:00
Vlastimil Holer 787e957f85 F #2799: Respect GEMS_LOCATION (#3598) 2019-08-18 20:33:09 +02:00
Vlastimil Holer 441cf1f7f9 Bump version to 5.7.85, year to 2019 2019-01-16 11:47:59 +01:00
Tino Vazquez 7bd6a8d2fb Adjust alignment for new rubocop version 2018-11-23 22:09:36 +01:00
Christian González d921610d15 F #826 Authorize user/group to create restricted networks (#2625) 2018-11-20 17:24:59 +01:00
juanmont e77ba6995b development: Fixed bug with %r expression 2018-10-30 14:52:24 +01:00
Tino Vazquez 102a7e132d Ruby code formatting: CLI Part II 2018-10-26 19:05:22 +02:00
juanmont 37ce0d2a8f F 1377: Change Sunstone interface for locks 2018-01-31 18:04:00 +01:00
juanmont 6a2783a32a F #1377: User locks for resources (#1675) 2018-01-24 15:33:12 +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 34ea719974 F #5027: Generate IP6 context variables for IP6 AR 2017-03-03 18:41:58 +01:00
Ruben S. Montero a78630ded3 F #5027: Adds support for ipv6 addresses in several commands of onevnet.
Fix bugs
2017-02-22 15:30:22 +01:00
Javi Fontan e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Ruben S. Montero 9af43a6916 feature #3848 #3707: Remove VLAN from onevnet command and core 2016-03-29 15:09:39 +02:00
Javi Fontan cf7694f021 bug #4226: Do not reuse client in update actions
(cherry picked from commit cdac22754f)
2015-12-15 15:14:53 +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 88f6e33c98 Bug #3457: onevnet reserve returns the reservation vnet id 2015-02-16 15:36:24 +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
Javi Fontan 2f54a3b9c1 feature #3201: onevnet addar accepts a template file 2014-10-17 17:39:46 +02:00
Javi Fontan 9a6dee3eea feature #3203: add --show-ar option to onevnet show 2014-10-17 16:57:31 +02:00
Javi Fontan 92273220a4 Feature #3202: bug adding netmask to an AR 2014-10-10 14:52:57 +02:00
Javi Fontan 800246ea60 feature #3202: add options to onevnet addar command
* --gateway ip
* --netmask mask
* --vlan
* --vlanid id
2014-10-06 15:57:04 +02:00
Carlos Martín 37f4bffc77 Fix onevnet option names 2014-07-29 12:46:51 +02:00
Carlos Martín 31371b1082 Fix --address_range option in onevnet command 2014-07-29 12:14:58 +02:00
Javi Fontan d4a7ff5198 feature #3019: add add/rmleases back to onevnet CLI 2014-07-21 19:22:53 +02:00