Get subnet
get_subnetRetrieve a specific OpenStack subnet by its ID, optionally scoped to a project, to inspect network configuration details.
Instructions
Get one subnet by ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subnet_id | Yes | ||
| project_id | No | Project ID to work in; omit for the default project. Allowed values are listed by get_scope. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| cidr | No | ||
| name | No | ||
| gateway_ip | No | ||
| ip_version | No | ||
| network_id | No | ||
| project_id | No | ||
| description | No | ||
| host_routes | No | ||
| dns_nameservers | No | ||
| is_dhcp_enabled | No | ||
| allocation_pools | No |