Security groups
Name
hypercloud secgroup - manages HyperCloud security groups.
Synopsis
hypercloud secgroup <command> [<args>] [<options>]
Options
--adjust x,y,z Adjust size to not truncate selected columns
-a, --append Append new attributes to the current template
--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
--describe Describe list columns
--endpoint endpoint URL of HyperCloud xmlrpc frontend
--expand [x=prop,y=prop] Expands the columns size to fill the terminal.
For example: $hypercloud secgroup list --expand
name=0.4,group=0.6 will expand name 40% and
group 60%. $hypercloud secgroup list --expand name,group will
expand name and group based on its size. $hypercloud secgroup
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
--no-expand Disable expand
--no-header Hides the header of the table
--no-pager Disable pagination
-n, --numeric Do not translate user and group IDs
--operator operator Logical operator used on filters: AND, OR.
Default: AND.
--password password Password to authenticate with HyperCloud
-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.
-s, --size x=size,y=size Change the size of selected columns.
For example: $ hypercloud secgroup list --size "name=20"
will make column name size 20.
--user name User name used to connect to HyperCloud
-v, --verbose Verbose mode
-V, --version Show version and copyright information
-x, --xml Show the resource in xml format
-y, --yaml Show the resource in YAML format
Commands
-
chgrp <range|secgroupid_list> <groupid>Changes the Security Group's group. -
chmod <range|secgroupid_list> <octet>Changes the Security Group permissions. -
chown <range|secgroupid_list> <userid> [<groupid>]Changes the Security Group's owner and group. -
clone <secgroupid> <name>Creates a new Security Group from an existing one. -
commit <secgroupid>Commit Security Group 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
- Valid options:
-
create <file>Creates a new Security Group from the given description. -
delete <range|secgroupid_list>Deletes the given Security Group. -
list [<filterflag>]Lists Security Group in the pool.- Valid options:
adjustcsvcsv_deldelaydescribeexpandfilterjsonlistlistconfno_expandno_headerno_pagernumericoperatorsizexmlyaml
- Valid options:
-
rename <secgroupid> <name>Renames the Security Group. -
show <secgroupid>Shows information for the given Security Group- Valid options:
jsonxmlyaml
- Valid options:
-
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
- Valid options:
Argument Formats
-
filePath to a file. -
filterflaga, allall the knownSECURITY_GROUPsm, minetheSECURITY_GROUPbelonging to the user in ONE_AUTHg, group'mine' plus theSECURITY_GROUPbelonging to the groups the user is member ofG, primary grouptheSECURITY_GROUPowned the user's primary groupuidSECURITY_GROUPof the user identified by thisuiduserSECURITY_GROUPof the user identified by the username
-
groupidHyperCloud GROUP name or ID. -
rangeList of ID's in the form 1,8..15. -
secgroupidHyperCloudSECURITY_GROUPname or ID. -
secgroupid_listComma-separated list of HyperCloudSECURITY_GROUPnames or IDs. -
textString. -
useridHyperCloud USER name or ID.
Version
HyperCloud Orchestrator 6.4.0.1
Copyright © SoftIron