Metadata-Version: 2.4
Name: nornir-jackedin
Version: 1.3.1
Summary: Nornir connection plugin and tasks for JackedIN
Author: JackedIN
License-Expression: LicenseRef-JackedIN-EULA
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: nornir>=3.6
Requires-Dist: jackedin>=1.3.1
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Dynamic: license-file

# nornir-jackedin

Nornir connection plugin and tasks for JackedIN, plus the Netmiko-shaped `JackedinDevice` adapter in the `jackedin` package.

```bash
pip install jackedin
pip install nornir-jackedin
```

Nornir 3.6 needs Python 3.10 or newer. The `jackedin` package itself still runs on Python 3.9. This plugin requires `jackedin` 1.3.1 or newer.

`jackedin_batch` calls `jackedin fleet` through `Jackedin.batch`. The licensed binary enforces Pro. The library does not run the commands itself.

```python
from nornir.core.plugins.connections import ConnectionPluginRegister

ConnectionPluginRegister.auto_register()
```

The inventory hostname is `192.0.2.10` and the user is `netops`. A Nornir password is handed to `--password-stdin`. It is not an argument and it is not logged.

Junos `send_config_set` uses `configure private`. The private edits are discarded with `rollback 0` before `exit`, so the shared candidate is left clean and `exit` does not fail. Nothing is committed unless you pass `commit=True`. That path uses `configure exclusive` and `commit confirmed`, then `rollback 0` and `exit` even when a command fails, so the exclusive lock is released. `rollback 0` after a successful commit confirmed reloads that commit and does not cancel the timer.

```python
from nornir_jackedin.plugins.tasks import jackedin_send_command

result = nr.run(task=jackedin_send_command, command="show version")
```
