oneflow-template
- Manage oneFlow Templates
oneflow-template
command [args] [options]
--adjust x,y,z Adjust size to not truncate selected columns
--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-images Delete associated VM templates and images when
deleting service template
--delete-vm-templates Delete associated VM templates when deleting
service template
--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')
-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
-m, --multiple x Instance multiple templates
--no-expand Disable expand
--no-header Hides the header of the table
--no-pager Disable pagination
--operator operator Logical operator used on filters: AND, OR.
Default: AND.
-p, --password pass User password
-R, --recursive Clone the template recursively (templates and
images)
--recursive-templates Clone the template recursively (just templates)
-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.
-t, --top Top for the command
-u, --username name User name
-V, --version Show version and copyright information
-y, --yaml Show the resource in YAML format
chgrp range|templateid_list groupid Changes the service template group
chmod range|templateid_list octet Changes the service template permissions
chown range|templateid_list userid [groupid] Changes the service template owner and group
clone templateid name Creates a new Service Template from an existing one valid options: recursive, recursive_templates
create [file] Create a new Service Template from a json service definition
A template can be passed as a file with or the content via STDIN
Bash symbols must be escaped on STDIN passing
valid options: json
delete range|templateid_list Delete a given Service Template valid options: delete_images, delete_templates
instantiate templateid [file] Instantiate a Service Template Optionally append modifications with a json service definition
A template can be passed as a file with or the content via STDIN
Bash symbols must be escaped on STDIN passing
valid options: json, multiple, top
list List the available Service Templates valid options: adjust, csv, csv_del, delay, describe, expand, filter, json, list, listconf, no_expand, no_header, no_pager, operator, size, yaml
rename templateid name Renames the Service Template
show templateid Show detailed information of a given Service Template valid options: json, yaml
top List the available Service Templates continuously valid options: delay, json, top
update templateid [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
templateid OpenNebula SERVICE TEMPLATE name or id
templateid_list Comma-separated list of OpenNebula SERVICE TEMPLATE names or ids
text String
userid OpenNebula USER name or id
OpenNebula 6.9.80 Copyright 2002-2023, OpenNebula Project, OpenNebula Systems