Skip to content

Virtual datacenter

Name

hypercloud vdc - manages HyperCloud virtual datacenters.

Synopsis

hypercloud vdc <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 vdc list --expand
                            name=0.4,group=0.6 will expand name 40% and
                            group 60%. 
                            $hypercloud vdc list --expand name,group will
                            expand name and group based on its size. 
                            $hypercloud vdc 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
-s, --size x=size,y=size  Change the size of selected columns. 
                            For example: $ hypercloud vdc 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

  • addcluster <range|vdcid_list> <zoneid> <clusterid> Adds a Cluster (from a specific Zone) to the given VDC.

  • adddatastore <range|vdcid_list> <zoneid> <datastoreid> Adds a Datastore (from a specific Zone) to the given VDC.

  • addgroup <range|vdcid_list> <groupid> Adds a Group to the given VDC.

  • addhost <range|vdcid_list> <zoneid> <hostid> Adds a Host (from a specific Zone) to the given VDC.

  • addvnet <range|vdcid_list> <zoneid> <vnetid> Adds a Virtual Network (from a specific Zone) to the given VDC.

  • create <name> Creates a new VDC.

  • delcluster <range|vdcid_list> <zoneid> <clusterid> Deletes a Cluster (from a specific Zone) from the given VDC.

  • deldatastore <range|vdcid_list> <zoneid> <datastoreid> Deletes a Datastore (from a specific Zone) from the given VDC.

  • delete <range|vdcid_list> Deletes the given VDC.

  • delgroup <range|vdcid_list> <groupid> Deletes a Group from the given VDC.

  • delhost <range|vdcid_list> <zoneid> <hostid> Deletes a Host (from a specific Zone) from the given VDC.

  • delvnet <range|vdcid_list> <zoneid> <vnetid> Deletes a Virtual Network (from a specific Zone) from the given VDC.

  • list Lists VDCs in the pool

    • Valid options: adjust csv csv_del delay describe expand filter json list listconf no_expand no_header no_pager numeric operator size xml yaml
  • rename <vdcid> <name> Renames the VDC.

  • show <vdcid> Shows information for the given VDC

    • Valid options: json xml yaml
  • update <vdcid> [<file>] Update the template contents. If a path is not provided the editor will be launched to modify the current content.

    • Valid options: append

Argument Formats

  • clusterid HyperCloud CLUSTER name or ID. Can be set to ALL.

  • datastoreid HyperCloud DATASTORE name or ID. Can be set to ALL.

  • file Path to a file.

  • groupid HyperCloud GROUP name or ID.

  • hostid HyperCloud HOST name or ID. Can be set to ALL.

  • range List of ID's in the form 1,8..15.

  • text String.

  • vdcid HyperCloud VDC name or ID.

  • vdcid_list Comma-separated list of HyperCloud VDC names or IDs.

  • vnetid HyperCloud VNET name or ID. Can be set to ALL.

  • zoneid HyperCloud ZONE name or ID.

Version

HyperCloud Orchestrator 6.4.0.1

Copyright © SoftIron