Skip to content

Move netmiko parameters to device features - #3930

Merged
ipspace merged 1 commit into
devfrom
netmiko-features
Oct 7, 2026
Merged

ipspace merged 1 commit into
devfrom
netmiko-features

Conversation

@ipspace

@ipspace ipspace commented Oct 7, 2026

Copy link
Copy Markdown
Owner

Netmiko parameters were stored in group variables, but it's probably cleaner to have them in device features.

This PR moves netmiko_* group variables into netmiko.* features and adds netmiko-specific debugging.

Netmiko parameters were stored in group variables, but it's probably
cleaner to have them in device features.

This PR moves netmiko_* group variables into netmiko.* features and
adds netmiko-specific debugging.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Netmiko debug output currently exposes authentication credentials in plaintext.

Review effort: Balanced
Findings: 1 High severity

Open (1)
What changed in this PR

Moves Netmiko driver settings from group variables into device features and adds Netmiko-specific diagnostics.

Changes:

  • Defines device types and error patterns under features.netmiko.
  • Updates deployment code to consume the new feature structure.
  • Adds netmiko debug output and integration-test configuration.
File Description
tests/​platform-integration/​config/​06-netmiko.yml Migrates the integration test to Netmiko features.
netsim/​utils/​netmiko.py Reads connection parameters from device features and adds debugging.
netsim/​providers/​libvirt/​configs.py Logs script output during Netmiko debugging.
netsim/​devices/​linux.yml Adds the Linux Netmiko device type feature.
netsim/​devices/​ios.yml Migrates IOS Netmiko settings.
netsim/​devices/​frr.yml Adds the FRR/Linux Netmiko device type.
netsim/​devices/​eos.yml Migrates EOS Netmiko settings.
netsim/​cli/​initial/​utils.py Accepts the Netmiko debug category.
netsim/​cli/​initial/​netmiko.py Uses feature-based error patterns and logs configuration results.
netsim/​cli/​__init__.py Adds Netmiko to global debug choices.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread netsim/utils/netmiko.py
@ipspace
ipspace merged commit ee7cc70 into dev Oct 7, 2026
11 checks passed
@ipspace
ipspace deleted the netmiko-features branch October 7, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants