mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-06 13:17:42 +03:00
120 lines
4.0 KiB
Groff
120 lines
4.0 KiB
Groff
.\" generated with Ronn/v0.7.3
|
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
.
|
|
.TH "ONEGROUP" "1" "March 2015" "" "onegroup(1) -- manages OpenNebula groups"
|
|
.
|
|
.SH "NAME"
|
|
\fBonegroup\fR
|
|
.
|
|
.SH "SYNOPSIS"
|
|
\fBonegroup\fR \fIcommand\fR [\fIargs\fR] [\fIoptions\fR]
|
|
.
|
|
.SH "OPTIONS"
|
|
.
|
|
.nf
|
|
|
|
\-n, \-\-name name Name for the new group
|
|
\-u, \-\-admin_user name Creates an admin user for the group with name
|
|
\-p, \-\-admin_password pass Password for the admin user of the group
|
|
\-d, \-\-admin_driver driver Auth driver for the admin user of the group
|
|
\-r, \-\-resources res_str Which resources can be created by group users
|
|
(VM+NET+IMAGE+TEMPLATE by default)
|
|
\-a, \-\-append Append new attributes to the current template
|
|
\-l, \-\-list x,y,z Selects columns to display with list command
|
|
\-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\.
|
|
\-\-csv Write table in csv format
|
|
\-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
|
|
.
|
|
.fi
|
|
.
|
|
.SH "COMMANDS"
|
|
.
|
|
.IP "\(bu" 4
|
|
create [\fIgroup_name\fR] Creates a new Group\. A group name can be passed as the only argument, or via command line arguments
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
Examples:
|
|
|
|
\- create a group with an admin user and allow group users
|
|
to only create new templates and VMs
|
|
|
|
onegroup create \-\-name groupA
|
|
\-\-admin_user admin_userA \-\-admin_password somestr
|
|
\-\-resources TEMPLATE+VM
|
|
valid options: name, admin_user, admin_password, admin_driver, resources
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
|
|
.
|
|
.IP "\(bu" 4
|
|
update \fIgroupid\fR [\fIfile\fR] Update the template contents\. If a path is not provided the editor will be launched to modify the current content\. valid options: append
|
|
.
|
|
.IP "\(bu" 4
|
|
delete \fIrange|groupid_list\fR Deletes the given Group
|
|
.
|
|
.IP "\(bu" 4
|
|
list Lists Groups in the pool valid options: list, delay, filter, csv, xml, numeric, describe
|
|
.
|
|
.IP "\(bu" 4
|
|
show [\fIgroupid\fR] Shows information for the given Group valid options: xml
|
|
.
|
|
.IP "\(bu" 4
|
|
addadmin \fIrange|groupid_list\fR \fIuserid\fR Adds a User to the Group administrators set
|
|
.
|
|
.IP "\(bu" 4
|
|
deladmin \fIrange|groupid_list\fR \fIuserid\fR Removes a User from the Group administrators set
|
|
.
|
|
.IP "\(bu" 4
|
|
quota \fIgroupid\fR [\fIfile\fR] Set the quota limits for the group\. If a path is not provided the editor will be launched to modify the current quotas\.
|
|
.
|
|
.IP "\(bu" 4
|
|
batchquota \fIrange|groupid_list\fR [\fIfile\fR] Sets the quota limits in batch for various groups\. If a path is not provided the editor will be launched to create new quotas\.
|
|
.
|
|
.IP "\(bu" 4
|
|
defaultquota [\fIfile\fR] Sets the default quota limits for the groups\. If a path is not provided the editor will be launched to modify the current default quotas\.
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.SH "ARGUMENT FORMATS"
|
|
.
|
|
.IP "\(bu" 4
|
|
file Path to a file
|
|
.
|
|
.IP "\(bu" 4
|
|
range List of id\'s in the form 1,8\.\.15
|
|
.
|
|
.IP "\(bu" 4
|
|
text String
|
|
.
|
|
.IP "\(bu" 4
|
|
groupid OpenNebula GROUP name or id
|
|
.
|
|
.IP "\(bu" 4
|
|
groupid_list Comma\-separated list of OpenNebula GROUP names or ids
|
|
.
|
|
.IP "\(bu" 4
|
|
userid OpenNebula USER name or id
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.SH "LICENSE"
|
|
OpenNebula 4\.12\.0 Copyright 2002\-2015, OpenNebula Project (OpenNebula\.org), C12G Labs
|
|
.
|
|
.P
|
|
Licensed under the Apache License, Version 2\.0 (the "License"); you may not use this file except in compliance with the License\. You may obtain a copy of the License at http://www\.apache\.org/licenses/LICENSE\-2\.0
|