osc compute server list
For each server, shows server details including config drive, extended status, and server usage information.
The extended status information appears in the OS-EXT-STS:vm_state, OS-EXT-STS:power_state, and OS-EXT-STS:task_state attributes.
The server usage information appears in the OS-SRV-USG:launched_at and OS-SRV-USG:terminated_at attributes.
HostId is unique per account and is not globally unique.
Normal response codes: 200
Error response codes: badRequest(400), unauthorized(401), forbidden(403)
Usage: osc compute server list [OPTIONS]
Options:
-
--access-ip-v4 <ACCESS_IP_V4> -
--access-ip-v6 <ACCESS_IP_V6> -
--all-tenants <ALL_TENANTS> -
--auto-disk-config <AUTO_DISK_CONFIG> -
--availability-zone <AVAILABILITY_ZONE> -
--block-device-mapping <BLOCK_DEVICE_MAPPING> -
--changes-before <CHANGES_BEFORE> -
--changes-since <CHANGES_SINCE> -
--config-drive <CONFIG_DRIVE> -
--created-at <CREATED_AT> -
--deleted <DELETED> -
--description <DESCRIPTION> -
--display-description <DISPLAY_DESCRIPTION> -
--display-name <DISPLAY_NAME> -
--flavor <FLAVOR> -
--host <HOST> -
--hostname <HOSTNAME> -
--image <IMAGE> -
--image-ref <IMAGE_REF> -
--info-cache <INFO_CACHE> -
--ip <IP> -
--ip6 <IP6> -
--kernel-id <KERNEL_ID> -
--key-name <KEY_NAME> -
--launch-index <LAUNCH_INDEX> -
--launched-at <LAUNCHED_AT> -
--page-size <LIMIT>— Requests a page size of items. Returns a number of items up to a limit value. Use the limit parameter to make an initial limited request and use the ID of the last-seen item from the response as the marker parameter value in a subsequent limited request -
--locked <LOCKED> -
--locked-by <LOCKED_BY> -
--marker <MARKER>— The ID of the last-seen item. Use the limit parameter to make an initial limited request and use the ID of the last-seen item from the response as the marker parameter value in a subsequent limited request -
--metadata <METADATA> -
--name <NAME> -
--node <NODE> -
--not-tags <NOT_TAGS> -
--not-tags-any <NOT_TAGS_ANY> -
--pci-devices <PCI_DEVICES> -
--power-state <POWER_STATE> -
--progress <PROGRESS> -
--project-name <PROJECT_NAME>— Project Name -
--project-id <PROJECT_ID>— Project ID -
--current-project— Current project -
--ramdisk-id <RAMDISK_ID> -
--reservation-id <RESERVATION_ID> -
--root-device-name <ROOT_DEVICE_NAME> -
--security-groups <SECURITY_GROUPS> -
--services <SERVICES> -
--soft-deleted <SOFT_DELETED> -
--sort-dir <SORT_DIR> -
--sort-key <SORT_KEY>Possible values:
access_ip_v4,access_ip_v6,auto_disk_config,availability_zone,config_drive,created_at,display_description,display_name,host,hostname,image_ref,instance_type_id,kernel_id,key_name,launch_index,launched_at,locked,locked_by,node,power_state,progress,project_id,ramdisk_id,root_device_name,task_state,terminated_at,updated_at,user_id,uuid,vm_state -
--status <STATUS> -
--system-metadata <SYSTEM_METADATA> -
--tags <TAGS> -
--tags-any <TAGS_ANY> -
--task-state <TASK_STATE> -
--tenant-id <TENANT_ID> -
--terminated-at <TERMINATED_AT> -
--user-name <USER_NAME>— User Name -
--user-id <USER_ID>— User ID -
--current-user— Current authenticated user -
--uuid <UUID> -
--vm-state <VM_STATE> -
--max-items <MAX_ITEMS>— Total limit of entities count to return. Use this when there are too many entriesDefault value:
10000