osc network segment list
Lists segments to which the project has access.
Standard query parameters are supported on the URI. For more information, see Filtering and Column Selection.
Use the fields
query parameter to control which fields are returned in the response body. For more information, see Fields.
Pagination query parameters are supported if Neutron configuration supports it by overriding allow_pagination=false
. For more information, see Pagination.
Sorting query parameters are supported if Neutron configuration supports it with allow_sorting=true
. For more information, see Sorting.
Normal response codes: 200
Error response codes: 401
Usage: osc network segment list [OPTIONS]
Options:
-
--description <DESCRIPTION>
— description query parameter for /v2.0/segments API -
--id <ID>
— id query parameter for /v2.0/segments API -
--limit <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 -
--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 -
--name <NAME>
— name query parameter for /v2.0/segments API -
--network-id <NETWORK_ID>
— network_id query parameter for /v2.0/segments API -
--network-type <NETWORK_TYPE>
— network_type query parameter for /v2.0/segments API -
--page-reverse <PAGE_REVERSE>
— Reverse the page directionPossible values:
true
,false
-
--physical-network <PHYSICAL_NETWORK>
— physical_network query parameter for /v2.0/segments API -
--revision-number <REVISION_NUMBER>
— revision_number query parameter for /v2.0/segments API -
--sort-dir <SORT_DIR>
— Sort direction. This is an optional feature and may be silently ignored by the server -
--sort-key <SORT_KEY>
— Sort results by the attribute. This is an optional feature and may be silently ignored by the server -
--max-items <MAX_ITEMS>
— Total limit of entities count to return. Use this when there are too many entriesDefault value:
10000