Skip to content

waldur-cli openstack network list

List openstack networks.

Usage

1
waldur-cli openstack network list [OPTIONS]
Flag Type Description
--filter KEY=VALUE repeatable Server-side filter. Valid keys: backend_id (string), can_manage (boolean), customer (string), customer_abbreviation (string), customer_name (string), customer_native_name (string), customer_uuid (string), description (string), direct_only (boolean), external_ip (string), is_external (boolean), name (string), name_exact (string), project (string), project_name (string), project_uuid (string), rbac_only (boolean), service_settings_name (string), service_settings_uuid (string), state (string), tenant (string), tenant_uuid (string), type (string).
--fields FIELDS string Fetch only these fields from the server (comma-separated). Valid: access_url, backend_id, created, customer, customer_abbreviation, customer_name, customer_native_name, customer_uuid, description, error_message, error_traceback, is_external, is_limit_based, is_usage_based, marketplace_category_name, marketplace_category_uuid, marketplace_offering_name, marketplace_offering_plugin_options, marketplace_offering_type, marketplace_offering_uuid, marketplace_plan_uuid, marketplace_resource_state, marketplace_resource_uuid, modified, mtu, name, port_security_enabled, project, project_name, project_uuid, rbac_policies, resource_type, segmentation_id, service_name, service_settings, service_settings_error_message, service_settings_state, service_settings_uuid, state, subnets, tenant, tenant_name, tenant_uuid, type, url, uuid.
--jmespath EXPR string Reshape the already-fetched result client-side (https://jmespath.org).
--limit N integer Stop after this many items.
--format FORMAT string table, json, tsv, toon, or ndjson.

Examples

1
waldur-cli openstack network list --filter state=OK --fields uuid,name --format json

Project just the columns you need, client-side:

1
waldur-cli openstack network list --jmespath '[].[uuid, name]'

Global options

Every command also accepts --api-url, --token, --profile, --format, and --debug; mutating commands additionally accept --dry-run. See Getting started for what each does.