Connections

NAPALM

class nornir.plugins.connections.napalm.Napalm

This plugin connects to the device using the NAPALM driver and sets the relevant connection.

Inventory:
extras: passed as it is to the napalm driver
close() → None

Close the connection with the device

open(hostname: Optional[str], username: Optional[str], password: Optional[str], port: Optional[int], platform: Optional[str], extras: Optional[Dict[str, Any]] = None, configuration: Optional[nornir.core.configuration.Config] = None) → None

Connect to the device and populate the attribute connection with the underlying connection

Netmiko

class nornir.plugins.connections.netmiko.Netmiko

This plugin connects to the device using the Netmiko driver and sets the relevant connection.

Inventory:
extras: maps to argument passed to ConnectHandler.
close() → None

Close the connection with the device

open(hostname: Optional[str], username: Optional[str], password: Optional[str], port: Optional[int], platform: Optional[str], extras: Optional[Dict[str, Any]] = None, configuration: Optional[nornir.core.configuration.Config] = None) → None

Connect to the device and populate the attribute connection with the underlying connection

Paramiko

class nornir.plugins.connections.paramiko.Paramiko

This plugin connects to the device with paramiko to the device and sets the relevant connection.

Inventory:
extras: maps to argument passed to ConnectHandler.
close() → None

Close the connection with the device

open(hostname: Optional[str], username: Optional[str], password: Optional[str], port: Optional[int], platform: Optional[str], extras: Optional[Dict[str, Any]] = None, configuration: Optional[nornir.core.configuration.Config] = None) → None

Connect to the device and populate the attribute connection with the underlying connection