onesecgroup
- manages OpenNebula security groups
onesecgroup
command [args] [options]
-a, --append Append new attributes to the current template
-r, --recover If set the commit operation will only operate on
outdated and error VMs. This is intended for
retrying updates of VMs or reinitialize the
updating process if oned stopped or fail.
-l, --list x,y,z Selects columns to display with list command
-c, --listconf conf Selects a predefined column list
-d, --delay x Sets the delay in seconds for top command
-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..)
--operator operator Logical operator used on filters: AND, OR.
Default: AND.
--csv Write table in csv format
--csv-del del Set delimiter for csv output
--no-pager Disable pagination
--no-header Hides the header of the table
--adjust x,y,z Adjust size to not truncate selected columns
-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.
--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.
--no-expand Disable expand
-x, --xml Show the resource in xml format
-n, --numeric Do not translate user and group IDs
--describe Describe list columns
-v, --verbose Verbose mode
-h, --help Show this message
-V, --version Show version and copyright information
--user name User name used to connect to OpenNebula
--password password Password to authenticate with OpenNebula
--endpoint endpoint URL of OpenNebula xmlrpc frontend
create file Creates a new Security Group from the given description
clone secgroupid name Creates a new Security Group from an existing one
delete range|secgroupid_list Deletes the given Security Group
chgrp range|secgroupid_list groupid Changes the Security Group's group
chown range|secgroupid_list userid [groupid] Changes the Security Group's owner and group
chmod range|secgroupid_list octet Changes the Security Group permissions
update secgroupid [file] Update the template contents. If a path is not provided the editor will be launched to modify the current content. valid options: append
rename secgroupid name Renames the Security Group
commit secgroupid Commit SG changes to associated VMs. This command is to propagate security group rules to VMs when they are updated. This operation takes time to iterate over all VMs in the security group, progress can be checked through the outdated, updating and error VM sets. valid options: recover
list [filterflag] Lists Security Group in the pool valid options: list, listconf, delay, filter, operator, csv, csv_del, no_pager, no_header, adjust, size, expand, no_expand, xml, numeric, describe
show secgroupid Shows information for the given Security Group valid options: xml
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
secgroupid OpenNebula SECURITY_GROUP name or id
secgroupid_list Comma-separated list of OpenNebula SECURITY_GROUP names or ids
filterflag a, all all the known SECURITY_GROUPs m, mine the SECURITY_GROUP belonging to the user in ONE_AUTH g, group 'mine' plus the SECURITY_GROUP belonging to the groups the user is member of G, primary group the SECURITY_GROUP owned the user's primary group uid SECURITY_GROUP of the user identified by this uid user SECURITY_GROUP of the user identified by the username
OpenNebula 5.12.0 Copyright 2002-2020, OpenNebula Project, OpenNebula Systems