device.ip.routetable
Operation: GET /dataservice/device/ip/routetable
Get route table list from device (Real Time)
def create_route_table_list(
device_id: str,
vpn_id: Optional[VpnIdParam] = None,
address_family: Optional[AddressFamilyParam] = None,
prefix: Optional[str] = None,
protocol: Optional[str] = None,
) -> Any: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.device.ip.routetable.create_route_table_list()