Comments (3)
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.
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.
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)
- Consider the possibility of integrating with the netbox-secrets plugin
- Configure devices with rendered from NetBox configuration
- config diff is hard to read in dark mode HOT 3
- Problem with old switch HOT 19
- Migrations fail to apply "django.contrib.contenttypes.models.ContentType.DoesNotExist: ContentType matching query does not exist." HOT 1
- Add ability to specify second authentication in plugins settings
- Device selection HOT 2
- Device template bound to model/platform instead of device instance. HOT 3
- mandatory device "active" status HOT 1
- Make the ConfigDiffScript spam the change log less HOT 1
- Move Menu item to dedicated section HOT 1
- Juniper Junos Config Compliance Diff Failure HOT 6
- FR: Define file name template for config files in data source HOT 3
- installation problems HOT 1
- NetBox v3.7
- Reverse compliance diff to show a patch to bring the device into the desired state HOT 1
- Add support for NetBox 4.0
- Add `patch` commands for configuration
- Add default_desired_privilege_level option HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netbox-config-diff.