netdevops / hier_config

Hierarchical Configuration
MIT License
126 stars 24 forks source link

configuration diff #67

Closed aedwardstx closed 3 years ago

aedwardstx commented 6 years ago

Currently, we have the capability to compare configurations with the goal of building remediation commands to get from one configuration state to another. It would be useful to provide a diff functionality that understands the hierarchy of network device configurations in a way that the diff command does not.

+ ntp server 192.168.1.1
- ntp server 192.168.1.2
interface fa0/1
  + ip address 172.16.1.1 255.255.255.0
  - ip address  172.16.2.1 255.255.255.0