nornir.core.plugins.connections

class nornir.core.plugins.connections.ConnectionPlugin(\args, **kwds*)

  • close() → None

    Close the connection with the device

  • property connection: Any

    Established connection

  • 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