vpc__NeutronListSubnets
Lists and filters VPC subnets for a tenant, returning up to 2,000 results per page and a pagination marker for additional pages.
Instructions
[VPC] 查询提交请求租户的所有子网,单次查询最多返回2000条数据,超过2000后会返回分页标记。分页查询请参考分页查询 。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "vpc__NeutronListSubnets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | 按照子网对应的ID过滤查询 | |
| cidr | No | 按照子网的cidr过滤查询 | |
| name | No | 按照子网的名称过滤查询 | |
| limit | No | 每页返回的个数 | |
| marker | No | 分页查询起始的资源ID,为空时查询第一页 | |
| tenant_id | No | 按照子网所属的项目ID过滤查询 | |
| gateway_ip | No | 按照子网的网关IP过滤查询 | |
| ip_version | No | 按照子网的IP协议版本过滤查询 | |
| network_id | No | 按照子网所属network_id过滤查询 | |
| enable_dhcp | No | 按照子网是否开启dhcp过滤查询,取值范围:true or false |