vtysh 0.2.1 → 0.2.2
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 +1 -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: 4d3f9346d18059a1eaf1fda46792cc7c0af2739c83a142655fa3aed5be4c89fa
|
|
4
|
+
data.tar.gz: b0592d6296671e88b50eeb0e78fcee76f2c565bf49c7b4dd54e99525067ed9b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8df6e7efc8a4f1eb8b3e5917494ce90c257b131cc7d313daba6d9637ad1092cd2ea23e95646e418cc1381d98bd3309cc09b6c2e7ee8741ed1a6584d07bdc2d56
|
|
7
|
+
data.tar.gz: 59fd750b7ca377f69fd1eee1c83595183b464e9ac0d5960279b397a331e15c093843702101cf9b173fa5b1f5fa905c74044c2dea79a8cb25e5e4f1ce9a0abad0
|
data/lib/vtysh/diff.rb
CHANGED
|
@@ -187,6 +187,7 @@ module Vtysh
|
|
|
187
187
|
line = line.strip
|
|
188
188
|
next if line.empty? || line.start_with?('#', '!')
|
|
189
189
|
next if line.start_with?('ip route ') # managed by config_db, not vtysh
|
|
190
|
+
next if line.start_with?('hostname ') # managed by system hostname, FRR auto-inherits
|
|
190
191
|
next if line =~ /^frr (version|defaults)/ || line == 'no service integrated-vtysh-config' || line.start_with?('agentx')
|
|
191
192
|
|
|
192
193
|
if line =~ /^exit(-address-family|-vrf)?$/
|
data/lib/vtysh/version.rb
CHANGED