- Telnet
from ndms2_client import Client, TelnetConnection
client = Client(connection=TelnetConnection("192.168.1.1", 23, "admin", "admin"))
client.get_router_info()
- Http
from ndms2_client import Client, HttpConnection
client = Client(connection=HttpConnection("192.168.1.1", 80, "admin", "admin"))
client.get_router_info()
pytest