get_router_list
List Juniper routers from configuration file, filter by tags to retrieve specific hostnames without connecting to devices.
Instructions
List routers defined in config.ini, optionally filtered by tags.
Returns section names from config.ini, which represent the hostnames that can be used with other tools. No device connection required.
Args:
tags: Tag filter. Each list element is one tag group (comma-separated
tags AND together within a group); multiple list elements OR
together across groups. E.g. ["tokyo,core", "backup"] means
(tokyo AND core) OR backup. None/empty returns all.
config_path: Path to config.ini (empty string uses default search)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| config_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |