Commit Graph
28 Commits
Author SHA1 Message Date
54d9fd6f0c F OpenNebula/one#7638: Add Open vSwitch port mirroring
Add port mirroring for Virtual Networks using the ovswitch and ovswitch_vxlan drivers, allowing selected VM interfaces to send copies of their traffic to external monitoring tools. Support RSPAN output through a VLAN and GRE or ERSPAN tunnels, including ERSPAN types II and III.

Introduce Virtual Network MIRROR definitions with an automatically assigned MIRROR_ID, NAME, optional DESCRIPTION, and TYPE. Select source interfaces through PORTS, expressed as comma-separated VM_ID:NIC_ID pairs, control traffic direction with DIRECTION (IN, OUT, or BOTH, the default), and optionally filter traffic with VLANS.

Configure RSPAN destinations with OUTPUT_VLAN, and GRE or ERSPAN destinations with REMOTE_IP and optional LOCAL_IP. The local address accepts either an IPv4 address or an interface:<name> reference resolved on each host. ERSPAN adds ERSPAN_TYPE and ERSPAN_KEY, with ERSPAN_INDEX for type II and ERSPAN_HWID for type III. Validate required fields, numeric ranges, and incompatible attribute combinations.

Expose mirror creation, configuration updates, source-port membership changes, and deletion through XML-RPC and gRPC, with Ruby, Java, and Go client support and corresponding onevnet mirror-* commands. Add a Sunstone Port Mirroring tab with creation and editing forms, source-interface selection, configuration review, and mirror details. Require administrative permissions on the Virtual Network and selected source VMs; manage definitions through the dedicated mirror APIs.

Integrate mirror configuration with VM networking operations so host OVS state follows NIC activation, updates, and deactivation, and released NICs are removed from mirror membership. Serialize shared mirror changes under a host lock, apply OVS updates in a single transaction, and clean up unused managed tunnel outputs. Configuration updates preserve source membership, membership changes target affected VMs, and mirrors must have all source ports removed before deletion.

co-authored-by: Alejandro Aizel <aaizel@opennebula.io>
co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.io>
co-authored-by: Pavel Czerny <pczerny@opennebula.io>
co-authored-by: David Carracedo <dcarracedo@opennebula.io>
2026-11-03 14:04:07 +01:00
Pavel Czerny 8f35e92d60 M #-: Fix auto completion for directories and names with spaces 2026-10-26 18:04:01 +01:00
Daniel Clavijo Coca cd139167f8 M #: Update bash completion for missing onevm commands 2026-10-26 18:04:01 +01:00
Pavel Czerný 5e0d05a90b M #-: Update bash completion (#4314) 2026-07-16 16:53:47 +02:00
Pavel Czerný d1c2d07a4c M #-: Remove deprecated CLI methods (#4295) 2026-07-09 15:56:11 +02:00
Victor Palma ea1df5ffec F #7259: Add OpenNebula Document Server (ODS)
OpenNebula Document Server (ODS) is a lightweight Sinatra-based server that
provides a foundation for building API servers within the OpenNebula ecosystem
which work with Documents. It can be used as a base class for custom services,
making it easier to maintain consistency across different OpenNebula
servers.

Features
========

- Provides a configurable base server class that can be inherited.
- Centralized logging setup with `LogConfig`.
- Supports modular route registration via `AppRoutes`.
- Easy configuration through `ConfigLoader`.
- Preconfigured error handling and exception management.
2026-04-28 09:03:45 +02:00
Ruben S. Montero ebbb7be5d4 M #-: Bump version 7.3.80 2026-03-30 09:58:53 +02:00
Ruben S. Monteroandvickmp baae300fb8 F #7460: Updates to oneform server
- Lint
- Add bash completion for oneform commands
- Driver state is now stored in /var/lib/one/oneform
- Improve rendering of descriptions in CLI (HTML/MD support)
- Move cloud providers to oneform registry
- Disable dummy driver by default
- Qeury paths for driver/provider list

co-authored-by: vickmp <vpalma@opennebula.io>
2026-02-02 19:50:01 +01:00
Jan Orel c1bbbdab28 OpenNebula/one#6720: Remove vcenter, ruby Sunstone
This commits removes two components:

- vcenter driver and associated dependencies
- Ruby Sunstone
2025-03-25 13:13:27 +01:00
Tino Vázquez a64f071808 M #-: Bump year 2025 2025-02-28 11:56:18 +01:00
Valentyn Bohdan f677b37bbe F OpenNebula/one#6623: Add snapshot-list cli command (#3362)
Signed-off-by: Valentyn Bohdan <vbohdan@opennebula.io>
2025-01-17 12:59:54 +01:00
Pavel Czerný fa73142e7d F #6723: Remove onehost importvm (#3231)
* Remove vm_import table from DB
* Remove imported vms actions
* Fix fsck for image and network
* onedb fsck fix running_vms only for non-backup images
2024-11-21 17:31:47 +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
Ruben S. Montero 41f25a2518 F OpenNebula/one#6397: Removes Marketplaces, Hypervisor drivers and others
- Remove Firecracker driver
- Remove LXD driver
- Remove dockerhub, docker registry marketplaces
- Remove turnkey linux marketplace
- Remove docker machine
- Remove references to above components in Sunstone
- Change suffix to LXC to avoid confussion, remove turnkeylinux driver
2024-07-08 09:49:11 +02:00
Daniel Clavijo Coca 9d5322fe1d F OpenNebula/one#6365: Improve oneflow listing commands CLI (#2870) 2023-12-12 16:07:19 +01:00
Daniel Clavijo Coca ac11277d93 F OpenNebula/one#6059: Added QoL features for backup management (#2837)
using the CLI

(cherry picked from commit 611fe5f363)
2023-11-28 16:20:23 +01:00
Daniel Clavijo Coca 97c683f9f6 M #: Add missing CLI autocompletion for onemarket (#2800) 2023-11-06 13:11:22 +01:00
Daniel Clavijo Coca 0b2ce6c700 B OpenNebula/one#6345: Fix oneflow CLI autocompletion (#2772) 2023-10-09 18:49:28 +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
7af28a406c F #5520: Dynamic load of providers for Edge Clusters
* Remove oneprovision-template command and classes
* Dynamic load of providers classes
* Configurable providers in oneprovision Web UI
* Simplify providers templates (no need of plain:)

co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
co-authored-by: Jorge Lobo <jlobo@opennebula.systems>
co-authored-by: Sergio Betanzos <sbetanzos@opennebula.io>
2021-09-16 18:04:11 +02:00
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
Alejandro Huertas Herrero e00cfbfb75 F #1428: add new commands to autocomplete (#814) 2021-02-16 17:43:01 +01:00
Vlastimil Holer 096754b63f M #-: Bump year to 2021 (#778) 2021-02-09 16:07:56 +01:00
Alejandro Huertas Herrero 7a2fb391c0 F #5056: add new subcommand to bash auto complete (#738) 2021-02-02 11:08:38 +01:00
Tino VazquezandAlejandro Huertas 728142e205 F #5076: Implement provider/provision template
co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
2020-10-13 13:38:19 +02:00
Alejandro Huertas HerreroandVlastimil Holer 200721cb8a F #607: add autocomplete on tab feature (#50)
Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
2020-07-06 15:51:05 +02:00