Skip to content

Releases: netdevops/hier_config

v3.1.1

12 Dec 00:19
d5a6507
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.1.0...v3.1.1

v3.1.0

09 Dec 20:35
ead4659
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.0...v3.1.0

v3.0.0

18 Nov 16:33
5baa554
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.3.0...v3.0.0

v2.3.0

16 Nov 02:44
32ee81f
Compare
Choose a tag to compare

What's Changed

  • 'set' Based OS Remediations by @jtdub in #125
  • feat(junos): improve _convert_to_set_commands by @Frazew in #132

New Contributors

Full Changelog: v2.2.3...v2.3.0

v2.2.3

08 Jan 20:49
e70bac6
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.2...v2.2.3

v2.2.2

31 May 14:16
8d8ab08
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.1...v2.2.2

v2.2.1

16 May 13:16
dc42f74
Compare
Choose a tag to compare

What's Changed

  • rm overmatching tacacs-server idempotency rule for nxos by @aedwardstx in #105

Full Changelog: v2.2.0...v2.2.1

v2.2.0

16 Nov 14:34
dc554c3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...v2.2.0

v2.1.0

20 Oct 16:21
108e261
Compare
Choose a tag to compare

Enhancements and Fixes:

  • Unified diff #95
    • Add add_children_deep() to add nested children easily
    • Add unified_diff() …
      • difflib.unified_diff offers a handy way to review the differences of two configuration files although it has a shortcoming for networking use cases. It presents a diff when commands are in a different order which is mostly irrelevant to network device configs, outside of ACLs, but they typically have sequence numbers. This version ignores order.
In [1]: list(running_config.unified_diff(generated_config))
Out[1]:
['vlan 3',
 '  - name switch_mgmt_10.0.4.0/24',
 '  + name switch_mgmt_10.0.3.0/24',
 'interface Vlan2',
 '  - shutdown',
 '  + mtu 9000',
 '  + ip access-group TEST in',
 '  + no shutdown',
 'interface Vlan3',
 '  - description switch_mgmt_10.0.4.0/24',
 '  - ip address 10.0.4.1 255.255.0.0',
 '  + description switch_mgmt_10.0.3.0/24',
 '  + ip address 10.0.3.1 255.255.0.0',
 '+ vlan 4',
 '  + name switch_mgmt_10.0.4.0/24',
 '+ interface Vlan4',
 '  + mtu 9000',
 '  + description switch_mgmt_10.0.4.0/24',
 '  + ip address 10.0.4.1 255.255.0.0',
 '  + ip access-group TEST in',
 '  + no shutdown']
  • Exclude tags fix and other fixes #94
    • HConfig objects should be true regardless of if they have children …
      • This enables usages like if config.get_child("equals", "x")
    • Ignore acl sequence numbers in difference()
    • Closes #92
      • Fixes issue with all_children_sorted_by_tags where there would be stranded child lines without a parent under certain situations where exclude_tags were specified.
    • only do children_dict/equals lookup when the expression is a str
    • only append tags if child.is_leaf under add_shallow_copy_of()
    • Better handling for empty banners

v2.0.3

15 Oct 18:41
8cb7f9f
Compare
Choose a tag to compare

This release fixes #91 , which broke ordering when filtering remediation's by tag.
It also adds an experimental features documentation block to document new features that haven't specifically been thoroughly tested.