oneflow
- Manage oneFlow Services
oneflow
command [args] [options]
-j, --json Print the resource in JSON
--done Show services in DONE state
-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
-p, --period x Seconds between each group of actions
-n, --number x Number of VMs to apply the action to each period
--args arg1,arg2 Schedule action arguments
-s, --server url Service endpoint
-u, --username name User name
-p, --password pass User password
-V, --version Show version and copyright information
-h, --help Show this message
list List the available services valid options: json, done
top Top the available services valid options: delay, done
show service_id Show detailed information of a given service valid options: json
delete range|service_id_list Delete a given service
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
scale service_id role_name cardinality Scale a role to the given cardinality valid options: force
chgrp range|service_id_list groupid Changes the service group
chown range|service_id_list userid [groupid] Changes the service owner and group
chmod range|service_id_list octet Changes the service permissions
rename service_id name Renames the Service
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: period, number, args
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: period, number, args
file Path to a file
range List of id's in the form 1,8..15
text String
groupid OpenNebula GROUP name or id
userid OpenNebula USER name or id
service_id OpenNebula SERVICE name or id
service_id_list Comma-separated list of OpenNebula SERVICE names or ids
vm_action Actions supported: #{Role::SCHEDULE_ACTIONS.join(
OpenNebula 5.12.0.1 Copyright 2002-2020, OpenNebula Project, OpenNebula Systems