Closed msmith8fti closed 4 months ago
As an update -
Hi @msmith8fti
ConfigDiffScript
uses command from PlatfromSetting for getting configuration from device
ConfigurationRequest
uses scrapli-cfg for configuring devices and getting configuration from them and scrapli-cfg get config from junos devices in hierarchical format, thats why in ConfigCompliance object shows in that format
and @msmith8fti one more question, do you try to configure juniper devices with these plugin and configuration in set
format? If yes, was it successful?
and @msmith8fti one more question, do you try to configure juniper devices with these plugin and configuration in
set
format? If yes, was it successful?
Yes plugin is setup with command to gather configuration in set format. Am I to understand we can't diff configuration between running configuration and template for Junos config in set format?
you can check diff for junos in set format in ConfigDiffScript
script
for configuration requests I should make some tweaks
Fix this in PR #58
Netbox Version 3.6.5
When defining platform settings for driver juniper_junos we correctly configure the command as 'show configuration | display set' which displays the current junos configuration as set commands. After running the Config Compliance job - the actual configuration is NOT show in 'display set' format but instead as hierarchical format.
To Reproduce Steps to reproduce the behavior:
Expected behavior Collected configuration in 'set' format