Global InfraGlobal Infra Cloud
compute

physical-machine

CLI reference for physical-machine (compute).

gi compute physical-machine

Subcommands

CommandDescription
gi compute physical-machine listList physical-machines.
gi compute physical-machine install <id>This action performs a pxe installation on the machine.
gi compute physical-machine powercycle <id>This action restarts the physical machine by cutting the power.
gi compute physical-machine raid_configure <id>This action configures the raid.
gi compute physical-machine raid_configure_create <id>This action allows the configuration of a new raid.
gi compute physical-machine raid_configure_delete <id>This action allows the delete of an existing raid.
gi compute physical-machine raid_discover <id>This action discover all the disk.
gi compute physical-machine reboot <id>This action reboots the physical machine.
gi compute physical-machine restart <id>This action restarts the physical machine.
gi compute physical-machine screenshot <id>This action takes a screenshot and returns the image bytes.
gi compute physical-machine shutdown <id>This action shuts down the physical machine.
gi compute physical-machine start <id>This action starts the physical machine.
gi compute physical-machine stop <id>This action stops the physical machine forcefully.
gi compute physical-machine unassign <id>This action unassigns the physical machine from the tenant
gi compute physical-machine volume_create <id>This action allows the configuration of a new raid.
gi compute physical-machine volume_delete <id>This action allows the delete of an existing raid.
gi compute physical-machine volume_discover <id>This action discover all the disk.

Flags

list flags

FlagAliasDescription
--filter-fFilter assets (e.g. attributes.name=my-asset)

Examples

# List all
gi compute physical-machine list

# Filter by attribute
gi compute physical-machine list -f attributes.cmdb_application_service=my-value

# Install
gi compute physical-machine install <id>

# Powercycle
gi compute physical-machine powercycle <id>

# Raid_configure
gi compute physical-machine raid_configure <id>

# Raid_configure_create
gi compute physical-machine raid_configure_create <id>

# Raid_configure_delete
gi compute physical-machine raid_configure_delete <id>

# Raid_discover
gi compute physical-machine raid_discover <id>

# Reboot
gi compute physical-machine reboot <id>

# Restart
gi compute physical-machine restart <id>

# Screenshot
gi compute physical-machine screenshot <id>

# Shutdown
gi compute physical-machine shutdown <id>

# Start
gi compute physical-machine start <id>

# Stop
gi compute physical-machine stop <id>

# Unassign
gi compute physical-machine unassign <id>

# Volume_create
gi compute physical-machine volume_create <id>

# Volume_delete
gi compute physical-machine volume_delete <id>

# Volume_discover
gi compute physical-machine volume_discover <id>

Usage Notes

On this page