Giter VIP home page Giter VIP logo

Comments (3)

miaow2 avatar miaow2 commented on June 3, 2024

Hi @PieterL75 thanks for opening the issue.
Do you speak about ConfigDiffScript or configuration requests?
in ConfigDiffScript you can define a data source for a source of configs

from netbox-config-diff.

PieterL75 avatar PieterL75 commented on June 3, 2024

Isn't the ConfigDiffScript ran by the plugin ? I would not run it myself.

How I see it, is that in the 'Platform Settings' you have to define the command to get the config from the device.
Would it make sense to use a datasource there in stead of an ssh to a device ?

from netbox-config-diff.

miaow2 avatar miaow2 commented on June 3, 2024

ConfigDiffScript should be run or scheduled only by user, plugin only adds script to netbox during installation, plugin does not run script without user command.
And the user should define connect to devices or use data source, why this is added to the script, in script you control how to get devices configs

PlatformSetting is needed for storing info about ssh connection, also here you can define regexps, with this regexps you can ignore parts of actual config and compare sections you only need.

if you want to find diff between rendered config in netbox and config backups in data source:

  • define PlatfromSettings (you can define incorrect driver and show command if you will not use ssh)
  • run script with devices and data source defined (script will find config backup by device name)
  • check the results in config compliances

from netbox-config-diff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.