vtysh 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/vtysh/diff.rb +2 -0
- data/lib/vtysh/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 34af7b512a21982b0dc323bbfc0552909980573621430434dea7906f84c2cf84
|
|
4
|
+
data.tar.gz: 9b087692d112485f5dd6adcdff7ac1d9915e4276036c88ecba98860e495e16bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ebe4a05ea96de7d365b4171b97d47e1544b1c6b23c0a81eba074d884af669b6e753732cf5d606aa72bf346d0e382229f913a25401a2328b0c3f4b0aa68d9bcc
|
|
7
|
+
data.tar.gz: 4eaa1c86dc0a01e5ba84c4515b8d9ff216511c015a9f4fb0ce865b95f8e6e83eb49ce2a16cfcb08b595ec89ba600bc603dd717c9d21562e0923bd576e4b96972
|
data/lib/vtysh/diff.rb
CHANGED
|
@@ -186,6 +186,8 @@ module Vtysh
|
|
|
186
186
|
config.each_line do |line|
|
|
187
187
|
line = line.strip
|
|
188
188
|
next if line.empty? || line.start_with?('#', '!')
|
|
189
|
+
next if line.start_with?('ip route ') # managed by config_db, not vtysh
|
|
190
|
+
next if line =~ /^frr (version|defaults)/ || line == 'no service integrated-vtysh-config' || line.start_with?('agentx')
|
|
189
191
|
|
|
190
192
|
if line =~ /^exit(-address-family|-vrf)?$/
|
|
191
193
|
context_stack.pop unless context_stack.empty?
|
data/lib/vtysh/version.rb
CHANGED