infrastructure

Infrastructure commands allows Unity configuration.

cloud

cloud export

Exports cloud in JSON format to console or file.

Usage:

cloud export --id <id> [--path <path>]

Parameter Name Description Default Value Mandatory
id Cloud ID   Yes
path Path to the result file   No

cloud list

Print a list of clouds.

Usage:

cloud list

cloud save

Saves a new cloud or update existed one.

Usage:

cloud save --desc <desc>

Parameter Name Description Default Value Mandatory
desc Path to the cloud descriptor   Yes

convert-vm-to-template

Converts VM to VM template

Usage:

convert-vm-to-template --vcenter-address <vcenter-address> [--vcenter-username <vcenter-username>]

[--vcenter-password <vcenter-password>] [--vcenter-vm-name <vcenter-vm-name>]

Parameter Name Description Default Value Mandatory
vcenter-address vCenter IP address   Yes
vcenter-username vCenter username   No
vcenter-password vCenter password   No
vcenter-vm-name vCenter VM name   No

media-storage

media-storage save

Saves media storage by the given descriptor

Usage:

media-storage save [--descriptor <descriptor>]

Parameter Name Description Default Value Mandatory
descriptor Path to the result file   No

os-platform-binding

os-platform-binding save

Adding physical template to OS platform binding

Usage:

os-platform-binding save --descriptor <descriptor>

Parameter Name Description Default Value Mandatory
descriptor Path to the OS platform binding descriptor   Yes

site

site export

Exports site in JSON format to console or file.

Usage:

site export --id <id> [--path <path>]

Parameter Name Description Default Value Mandatory
id Site ID   Yes
path Path to the result file   No

site list

Print a list of sites.

Usage:

site list

site save

Saves a site

Usage:

site save --desc <desc>

Parameter Name Description Default Value Mandatory
desc Path to site descriptor   Yes

space

space export

Exports site in JSON format to console or file.

Usage:

space export --id <id> [--path <path>]

Parameter Name Description Default Value Mandatory
id Space ID   Yes
path Path to the result file   No

space list

Print a list of spaces.

Usage:

space list

space save

Saves a space

Usage:

space save --desc <desc> [--organizationId <organizationId>]

Parameter Name Description Default Value Mandatory
desc Path to space descriptor   Yes
organizationId Organization ID   No

wizard

wizard initialize-infrastructure

Run wizard that initializes infrastructure configuration

Usage:

wizard initialize-infrastructure [--cloud-descriptor <cloud-descriptor>] [--site-descriptor <site-descriptor>]

[--space-descriptor <space-descriptor>] [--os-platform-descriptor <os-platform-descriptor>]

[--skip-if-exists {true|false}] [--validate-only {true|false}] [--timeout <timeout>]

Parameter Name Description Default Value Mandatory
cloud-descriptor Path to the cloud descriptor   No
site-descriptor Path to the site descriptor   No
space-descriptor Path to space descriptor   No
os-platform-descriptor Path to the OS platform binding descriptor   No
skip-if-exists Skip if exists false No
validate-only Validates only json and infrastructure and skips saving false No
timeout Provision timeout in minutes (0 for infinite timeout) 0 No