nornir.core.plugins.connections

class nornir.core.plugins.connections.ConnectionPlugin(*args, **kwargs)
close() None

Close the connection with the device.

property connection: Any

Established connection.

open(hostname: str | None, username: str | None, password: str | None, port: int | None, platform: str | None, extras: dict[str, Any] | None = None, configuration: Config | None = None) None

Connect to the device.

Populates the attribute connection with the underlying connection.