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>
Description
OpenNebula is an open source cloud management platform for building and operating private clouds, edge infrastructures, distributed cloud deployments, and AI Factories.
It provides a unified platform to manage Virtual Machines, Kubernetes Clusters, and GPU-accelerated workloads across on-premises, edge, and hybrid environments through a simple yet powerful cloud operating model.
Key Features
- Unified Cloud Management – Manage virtualized, containerized, and AI workloads from a single platform.
- Flexible Access Interfaces – Web UI, CLI, REST API, Terraform provider, and automation tools.
- Federated Architecture – Operate distributed infrastructures across multiple sites and regions.
- Built-in High Availability – Increase resilience and reduce operational downtime.
- Kubernetes Integration – Deploy and scale Kubernetes Clusters with integrated lifecycle management.
- Automated Infrastructure Provisioning – Create and expand cloud environments on demand.
- Secure Multi-Tenancy – Role-based access control, quotas, isolation, and governance capabilities.
- AI Factory Platform – Support for GPU workloads, model training, LLM inference, and AI services.
- Marketplace – Ready-to-use virtual appliances and service templates.
Learn more in the official documentation or visit the OpenNebula website.
Quick Start
The fastest way to evaluate OpenNebula is with miniONE, which automatically deploys a complete OpenNebula environment on a single server in just a few minutes.
See the Evaluation Page for details.
Production Installation
For production environments, follow the installation guides and deployment recommendations available in the official documentation:
Documentation & Resources
Learn more about OpenNebula on through our website, white-papers, and official documentation site:
- Visit the Main Website
- Browse the Technical White Papers
- Check the OpenNebula Screencasts
- Consult the Official Documentation
- Check the OpenNebula Evaluation Tools
- Take a look at the specific pages for VMware Replacement and AI Factories
Contributing to OpenNebula
OpenNebula is developed in close collaboration with a global community of users and contributors. We welcome you to join us and help improve OpenNebula, check the following links to learn how to contribute:
- Development: Contribute New Features or Fixes
- Localization: Help us Translate OpenNebula into your native language
- Bugs: Report Bugs and Issues on GitHub
- Security: Report a Security Vulnerability
Troubleshooting
Refer to the Troubleshooting Guide if you encounter problems with your OpenNebula cloud deployment. We recommend familiarizing yourself with the locations of the log files of the main OpenNebula components and the structure of the main OpenNebula daemon configuration file.
Support
License
Copyright 2002-2026, OpenNebula Project, OpenNebula Systems
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Acknowledgements
Some of the software features included in this repository have been made possible through the funding of the following innovation projects: