oneflow
- Manage oneFlow Services
oneflow
command [args] [options]
--args arg1,arg2 Schedule action arguments
-d, --delay x Sets the delay in seconds for top command
--delete Force flow necover delete
-f, --force Force the new cardinality even if it is outside
the limits
-h, --help Show this message
-j, --json Show the resource in JSON format
-n, --number x Number of VMs to apply the action to each period
-p, --password pass User password
-p, --period x Seconds between each group of actions
-s, --server url Service endpoint
-u, --username name User name
-V, --version Show version and copyright information
-x, --xml Show the resource in xml format
-y, --yaml Show the resource in YAML format
action service_id role_name vm_action Perform an action on all the Virtual Machines of a given role. Actions supported: terminate,terminate-hard,undeploy,undeploy-hard,hold,release,stop,suspend,resume,reboot,reboot-hard,poweroff,poweroff-hard,snapshot-create,snapshot-revert,snapshot-delete,disk-snapshot-create,disk-snapshot-revert,disk-snapshot-delete valid options: args, number, period
chgrp range|service_id_list groupid Changes the service group
chmod range|service_id_list octet Changes the service permissions
chown range|service_id_list userid [groupid] Changes the service owner and group
delete range|service_id_list Delete a given service
list List the available services valid options: json, xml, yaml
purge-done Purge and delete services in DONE state
recover range|service_id_list Recover a failed service, cleaning the failed VMs. From FAILED_DEPLOYING continues deploying the Service From FAILED_SCALING continues scaling the Service From FAILED_UNDEPLOYING continues shutting down the Service From COOLDOWN the Service is set to running ignoring the cooldown From WARNING failed VMs are deleted, and new VMs are instantiated valid options: delete
rename service_id name Renames the Service
scale service_id role_name cardinality Scale a role to the given cardinality valid options: force
service action service_id vm_action Perform an action on all the Virtual Machines of a given service. Actions supported: terminate,terminate-hard,undeploy,undeploy-hard,hold,release,stop,suspend,resume,reboot,reboot-hard,poweroff,poweroff-hard,snapshot-create,snapshot-revert,snapshot-delete,disk-snapshot-create,disk-snapshot-revert,disk-snapshot-delete valid options: args, number, period
show service_id Show detailed information of a given service valid options: json, xml, yaml
top Top the available services valid options: delay
update service_id [file] Update the template contents. If a path is not provided the editor will be launched to modify the current content.
file Path to a file
groupid OpenNebula GROUP name or id
range List of id's in the form 1,8..15
service_id OpenNebula SERVICE name or id
service_id_list Comma-separated list of OpenNebula SERVICE names or ids
text String
userid OpenNebula USER name or id
vm_action Actions supported: #{Role::SCHEDULE_ACTIONS.join(
OpenNebula 6.0.0.3 Copyright 2002-2021, OpenNebula Project, OpenNebula Systems