Skip to content

Command Input and Exclude Regex not working - Config Diff Plugin on v4.0.7 #78

@gabewinch

Description

@gabewinch

NetBox version
What version of NetBox are you currently running? v4.0.7

Describe the bug
The config-diff plugin is only sending show version | i Version and show running-config to cisco_iosxe platform config devices.

When specifying the command, or optional exclude regex in the platform config of the plugin itself, the username only goes to the device and runs the following:

enable
terminal length 0
terminal width 512
show version | i Version
show running-config

To Reproduce
Steps to reproduce the behavior:

  1. Go to Config Diff Plugin > Compliance > Platform Settings
  2. Include the device platform that is being used, and configure, like so
image
  1. Create Configuration Request and collect diffs
  2. Notice that Config Compliance only shows the output of "show running-config", regardless of the input on the command of the platform setting

Expected behavior
The expectation is to collect configuration of the device based on the command input in the platform setting and exclude regex for that platform setting.

Screenshots
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions