- Add bandwidth metrics to CLI and monitor deamons
- Updated forecast configuration with default models and larger intervals
- Better checks for filling gaps in SQLiteAccessor
- Remove forecast for counter metrics (NET_[RX|TX], DISK[RD|WR]BYTES and IOPS)
- Update one_drs to use bandwidth metrics
- Save monitor agent configuration to a file (/var/tmp/one_db/config) and use it in predictions
Two new attributes are supported for the Host/Cluster template:
- PCI_FILTER. Format is vendor:device:class with "*" as wild card. Example PCI_FILTER="10de:*,386e:0edc"
- PCI_SHORT_ADDRESS. Comma separated list of short PCI address. Example
PCI_SHORT_ADDRESS="c1:00.2,c1:00.3,01:00.5"
When any of these attributes are defined any PCI device returned by the monitor system is filtered using this attributes. If the device does not match PCI_FILTER and PCI_SHORT_ADDRESS it is discarded.
Signed-off-by: Valentyn Bohdan <vbohdan@opennebula.io>
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
Remove condition that returns function in the case src_id == 0, because it will make migrations not work in specific cases
Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
This commits adds the following improvements:
* Improving Usability & Consistency in flow documents:
- vm_template -> template_id, generic as also VR templates are
considered
- vm_template_contents -> template_contents, same as above
- custom_attrs -> user_inputs, use same name convention as VM
Templates
- custom_attrs_values -> user_inputs_values, same as above
* Easier OneFlow operations
- template_contents (old vm_template_contents) is now in JSON format
instead of a String.
- better error reporting when merging template contents
* Role can use Virtual Routers as main element, supporting all role
features (user inputs, dependencies and network creation). Related
changes:
- Role data model structure has been totally refactored to accomodate
the new type (vmrole.rb and vrrole.rb)
- VR roles use VR OpenNebula API to create associated VMs.
- VR HA uses the cardinaility of the role
New attributes:
- type, new attribute to identify the role type VM or VR
- vrouter_ips, floating IP of each network managed
- vrouter_id, of the associated VR
* Improved Sunstone interface for flows, including support for the new
features.
co-authored-by: Victor Palma <vpalma@opennebula.io>
co-authored-by: Miguel E. Ruiz <mruiz@opennebula.io>
co-authored-by: Victor Hansson <vhansson@opennebula.io>