Exceptions

exception nornir.core.exceptions.CommandError(command: str, status_code: int, stdout: str, stderr: str)

Raised when there is a command error.

exception nornir.core.exceptions.ConflictingConfigurationWarning
exception nornir.core.exceptions.ConnectionAlreadyOpen(connection: Connection)

Raised when opening an already opened connection

exception nornir.core.exceptions.ConnectionException(connection: Connection)

Superclass for all the Connection* Exceptions

exception nornir.core.exceptions.ConnectionNotOpen(connection: Connection)

Raised when trying to close a connection that isn’t open

exception nornir.core.exceptions.ConnectionPluginAlreadyRegistered(connection: Connection)

Raised when trying to register an already registered plugin

exception nornir.core.exceptions.ConnectionPluginNotRegistered(connection: Connection)

Raised when trying to access a plugin that is not registered

exception nornir.core.exceptions.NornirExecutionError(result: AggregatedResult)

Raised by nornir when any of the tasks managed by nornir.core.Nornir.run() when any of the tasks fail.

failed_hosts

Hosts that failed to complete the task

exception nornir.core.exceptions.NornirSubTaskError(task: Task, result: Result)

Raised by nornir when a sub task managed by nornir.core.Task.run() has failed