-
Notifications
You must be signed in to change notification settings - Fork 6
Basic Commands
Shows a list of available projects. Can optionally filter projects by name.
perspective> show projects
perspective> show projects --name one,two,three
Shows available flavors optionally filtering by name, project name or cloud.
perspective> show flavors
perspective> show flavors --project test
Shows available keypairs optionally filtering by name, project name or cloud.
perspective> show keypairs
perspective> show flavors --name my-keypair
Shows available networks optionally filtering by name, project name or cloud.
perspective> show networks
perspective> show networks --name my-keypair
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
Shows instance console if such information is available.
perspective> show console vm-one,vm-two,test.*
An example console is shown below:
Reboots or hard-reboots (resets) instance.
perspective> reboot test-instance,one-more-instance
perspective> reboot my-vm --hard
Shows a list of available settings.
perspective> show settings
perspective> show settings --all
Shows a list of available filters.
perspective> show filters
perspective> show filters --all
Sets value for filter or setting. Value can optionally contain multiple comma separated strings.
perspective> set some_name = value1,value2,value3
Unsets previously set value for filter or setting.
perspective> unset some_name
Shows help information for specified command or a list of available commands.
perspective> help
perspective> help show projects
Shows shell version.
perspective> version