oneflow
- Manage oneFlow Services
oneflow
command [args] [options]
--adjust x,y,z Adjust size to not truncate selected columns
--append Append template to the current one
--args arg1,arg2 Schedule action arguments
--csv Write table in csv format
--csv-del del Set delimiter for csv output
-d, --delay x Sets the delay in seconds for top command
--delete Force flow recover delete
--describe Describe list columns
--expand [x=prop,y=prop] Expands the columns size to fill the terminal.
For example: $onevm list --expand
name=0.4,group=0.6 will expand name 40% and
group 60%. $onevm list --expand name,group will
expand name and group based on its size.$onevm
list --expand will expand all columns.
-f, --filter x,y,z Filter data. An array is specified with
column=value pairs. Valid operators
=,!=,<,<=,>,>=,~ e.g. NAME=test (match name with
test) NAME~test (match every NAME containing the
substring 'test')
-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
-l, --list x,y,z Selects columns to display with list command
-c, --listconf conf Selects a predefined column list
--no-expand Disable expand
--no-header Hides the header of the table
--no-pager Disable pagination
-n, --number x Number of VMs to apply the action to each period
--operator operator Logical operator used on filters: AND, OR.
Default: AND.
-p, --password pass User password
-p, --period x Seconds between each group of actions
-s, --server url Service endpoint
-s, --size x=size,y=size Change the size of selected columns. For example:
$ onevm list --size "name=20" will make column
name size 20.
-u, --username name User name
-V, --version Show version and copyright information
-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
add-role service_id [file] Add new role to running service
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 To force service removal please use 'oneflow recover --delete service_id' command
list List the available services valid options: adjust, csv, csv_del, delay, describe, expand, filter, json, list, listconf, no_expand, no_header, no_pager, operator, size, 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
release service_id Release roles of a service on hold
remove-role service_id role_name Remove role from running service
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, 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. valid options: append
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.9.80 Copyright 2002-2023, OpenNebula Project, OpenNebula Systems