osc network default-security-group-rule list
Lists a summary of all OpenStack Networking security group rules that are used for every newly created Security Group.
The list provides the ID for each security group default rule.
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 default-security-group-rule list [OPTIONS]
Options:
-
--description <DESCRIPTION>
— description query parameter for /v2.0/default-security-group-rules API -
--direction <DIRECTION>
— direction query parameter for /v2.0/default-security-group-rules APIPossible values:
egress
,ingress
-
--ethertype <ETHERTYPE>
— ethertype query parameter for /v2.0/default-security-group-rules APIPossible values:
IPv4
,IPv6
-
--id <ID>
— id query parameter for /v2.0/default-security-group-rules 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 -
--page-reverse <PAGE_REVERSE>
— Reverse the page directionPossible values:
true
,false
-
--port-range-max <PORT_RANGE_MAX>
— port_range_max query parameter for /v2.0/default-security-group-rules API -
--port-range-min <PORT_RANGE_MIN>
— port_range_min query parameter for /v2.0/default-security-group-rules API -
--protocol <PROTOCOL>
— protocol query parameter for /v2.0/default-security-group-rules API -
--remote-address-group-id <REMOTE_ADDRESS_GROUP_ID>
— remote_address_group_id query parameter for /v2.0/default-security-group-rules API -
--remote-group-id <REMOTE_GROUP_ID>
— Filter the security group rule list result by the ID of the remote group that associates with this security group rule. This field can contains uuid of the security group or special wordPARENT
which means that in the real rule created from this template, uuid of the owner Security Group will be put asremote_group_id
-
--remote-ip-prefix <REMOTE_IP_PREFIX>
— remote_ip_prefix query parameter for /v2.0/default-security-group-rules 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 -
--used-in-default-sg <USED_IN_DEFAULT_SG>
— used_in_default_sg query parameter for /v2.0/default-security-group-rules APIPossible values:
true
,false
-
--used-in-non-default-sg <USED_IN_NON_DEFAULT_SG>
— used_in_non_default_sg query parameter for /v2.0/default-security-group-rules APIPossible values:
true
,false
-
--max-items <MAX_ITEMS>
— Total limit of entities count to return. Use this when there are too many entriesDefault value:
10000