Skip to content
Ivan Krutov edited this page Mar 30, 2016 · 9 revisions

Projects Commands

Show projects

Shows a list of available projects. Can optionally filter projects by name.

perspective> show projects
perspective> show projects --name one,two,three

Show flavors

Shows available flavors optionally filtering by name, project name or cloud.

perspective> show flavors
perspective> show flavors --project test

Show keypairs

Shows available keypairs optionally filtering by name, project name or cloud.

perspective> show keypairs
perspective> show flavors --name my-keypair

Show networks

Shows available networks optionally filtering by name, project name or cloud.

perspective> show networks
perspective> show networks --name my-keypair

Instances Commands

Show instances

Lists instances optionally filtering by name, state, flavor, image or project.

perspective> show instances
perspective> show instances --state error
perspective> show instances --name one,two --project test
perspective> show instances --image my-img --flavor m1.test

Show console

Shows instance console if such information is available.

perspective> show console vm-one,vm-two,test.*

An example console is shown below:

Reboot

Reboots or hard-reboots (resets) instance.

perspective> reboot test-instance,one-more-instance
perspective> reboot my-vm --hard

Images Commands

Show images

Misc Commands

Show settings

Shows a list of available settings.

perspective> show settings
perspective> show settings --all

Show filters

Shows a list of available filters.

perspective> show filters
perspective> show filters --all

Set

Sets value for filter or setting. Value can optionally contain multiple comma separated strings.

perspective> set some_name = value1,value2,value3

Unset

Unsets previously set value for filter or setting.

perspective> unset some_name

Help

Shows help information for specified command or a list of available commands.

perspective> help
perspective> help show projects

Version

Shows shell version.

perspective> version
Clone this wiki locally