Skip to main content

nornir_netmiko

Netmiko Plugins for Nornir

Installation

pip install nornir_netmiko

Development

Run ./tests.sh with uv to check formatting, lint, types, dependencies, offline behavior and coverage. AI agents must additionally perform mutation validation as described in AGENTS.md. See the testing plan for behavioral coverage details. No network devices are needed.

Plugins

Connections

  • netmiko - Connect to network devices using netmiko

Tasks

  • netmiko_commit - Execute Netmiko commit method
  • netmiko_file_transfer - Execute Netmiko file_transfer method
  • netmiko_multiline - Execute Netmiko send_multiline method (or send_multiline_timing)
  • netmiko_save_config - Execute Netmiko save_config method
  • netmiko_send_command - Execute Netmiko send_command method (or send_command_timing)
  • netmiko_send_config - Execute Netmiko send_config_set method (or send_config_from_file)

Connection Options

Platform

For better usability for napalm and netmiko users, the connection plugin maps the NAPALM base device types into netmiko device types:

napalm_to_netmiko_map = {
    "ios": "cisco_ios",
    "nxos": "cisco_nxos",
    "nxos_ssh": "cisco_nxos",
    "eos": "arista_eos",
    "junos": "juniper_junos",
    "iosxr": "cisco_xr",
}

Extras

The Connection Option extras are combined with the host, username, password, and port from the Host or Connection Object, and then passed to the ConnectHandler.

router1:
  username: cisco
  platform: ios
  connection_options:
    netmiko:
      extras:
        secret: secret
        session_log: router1.txt

Metadata

Release files for nornir-netmiko 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nornir-netmiko 1.1.0
File Size Uploaded Provenance Actions
nornir_netmiko-1.1.0.tar.gz 99.1 kB Without provenance Details for nornir_netmiko-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nornir-netmiko 1.1.0
File Interpreter ABI Platform Actions
nornir_netmiko-1.1.0-py3-none-any.whl Python 3 none any Details for nornir_netmiko-1.1.0-py3-none-any.whl

Total release size: 111.4 kB

Release files / nornir_netmiko-1.1.0.tar.gz

Download URL nornir_netmiko-1.1.0.tar.gz
Size 99.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e734cc6fa3870145eaede574cd984f20a2467905f3cd8e61f0feb79aaed368f5
BLAKE2b-256 checksum
How to use checksums
b4fc504dd18205eead2411dd4e25a2590661433cba43049aa798ddfdbe0bb377
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.6

Release files / nornir_netmiko-1.1.0-py3-none-any.whl

Download URL nornir_netmiko-1.1.0-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c99a4c1fe026c14d8d13bf1db5904897bb54581b14d7541a2a386f9f8a6c5930
BLAKE2b-256 checksum
How to use checksums
c3b321b7232176ac92e103075afa60668f5b76f03bc0c7188f25363794431db2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.6

Security for nornir-netmiko 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page