vtysh 0.3.0 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82af2f794b12e4604356c693dc1aa73f26f428edc60c2558f8d9705a78f7f8cc
4
- data.tar.gz: 291f564282919ad448c93088ef01feaef15cfc6fffa30c9e891f97fba7831ae0
3
+ metadata.gz: 0ed942b5f955b7ded1197ac751c727cdbb147e398a686404f8a5a8fdbdeddf4c
4
+ data.tar.gz: 8482829a628cc5a749b239a7f85e7772457e948e30176a07307c82fea1478f8f
5
5
  SHA512:
6
- metadata.gz: fd57d52ef5fc5e15a59c697c60f69b8d2426da5919bf0a8c11b6dda01758d8e9a2462dc295c953a0eb1c31ee199be308d1d1526a2749f4307d951c3dbdfc8210
7
- data.tar.gz: 811a633022e9b16114947ba5853d1b6295ee29639ed9608ac320db43f327e4ba6b7f37a3d30732a03b1ab9e8d9319af2135d191762abbca47da688910d703fe1
6
+ metadata.gz: 44fd6c72180ea3fa3ad2c0f3f1cd0e3b3e459a7215b67e12c443d8f31a53f1e2b5cea95d2da33a60e9a95c42bb432ad79dc3918f37b8bf7e26c70e84f9ad16bb
7
+ data.tar.gz: ef5462c970d6cc8de9f33236c1392c2037b8032cb8efa607ec29628f27e7403c109423c7c16ccf3bf74db55c505de53e7d89cc022a71fee05880dec38d2a5d62
data/lib/vtysh/diff.rb CHANGED
@@ -199,7 +199,12 @@ module Vtysh
199
199
  config.each_line do |line|
200
200
  line = line.strip
201
201
  next if line.empty? || line.start_with?('#', '!')
202
- next if line.start_with?('ip route ') # managed by config_db, not vtysh
202
+ next if line.start_with?('ip route ') # managed by config_db STATIC_ROUTE
203
+ next if line.start_with?('hostname ') # managed by system hostname
204
+ next if line == 'ip nht resolve-via-default' # bgpcfgd managed
205
+ next if line == 'ipv6 nht resolve-via-default' # bgpcfgd managed
206
+ next if line == 'ip protocol bgp route-map RM_SET_SRC' # bgpcfgd managed
207
+ next if line =~ /^(no )?set src / # bgpcfgd managed (inside RM_SET_SRC)
203
208
  next if line =~ /^frr (version|defaults)/ || line == 'no service integrated-vtysh-config' || line.start_with?('agentx')
204
209
 
205
210
  if line =~ /^exit(-address-family|-vrf)?$/
data/lib/vtysh/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vtysh
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vtysh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Siegel