oneprovider
- manages OpenNebula providers
oneprovider
command [file] [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
--endpoint endpoint URL of OpenNebula xmlrpc frontend
--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 test, te, tes..)
-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
--operator operator Logical operator used on filters: AND, OR.
Default: AND.
--password password Password to authenticate with OpenNebula
--plain Update plain information
-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.
--user name User name used to connect to OpenNebula
-V, --version Show version and copyright information
-x, --xml Show the resource in xml format
-y, --yaml Show the resource in YAML format
chgrp range|providerid_list groupid Changes the Provider group
chmod range|providerid_list octet Changes the Provider permissions
chown range|providerid_list userid [groupid] Changes the Provider owner and group
create template Allocate a new provider. Configuration file must be written in YAML.
$ cat packet.yaml
name: 'packet_custom'
provider: 'packet'
connection:
packet_token: "Packet token"
packet_project: "Packet project"
facility: "Packet facility"
$ cat ec2.yaml
name: 'aws_custom',
provider: 'aws'
connection:
ec2_access: "AWS access key"
ec2_secret: "AWS secret key"
region_name: "AWS region name""
delete range|providerid_list Delete a provider
list List all avaliable providers valid options: adjust, csv, csv_del, delay, expand, filter, json, list, listconf, no_expand, no_header, no_pager, operator, size, xml, yaml
show providerid Show provider details valid options: json, xml, yaml
update providerid [file] Update provider information valid options: plain
file Path to a file
groupid OpenNebula GROUP name or id
providerid OpenNebula DOCUMENT name or id
providerid_list Comma-separated list of OpenNebula DOCUMENT names or ids
range List of id's in the form 1,8..15
text String
userid OpenNebula USER name or id
OpenNebula 6.0.0.1 Copyright 2002-2021, OpenNebula Project, OpenNebula Systems