sp-nat-monitor 1.0.9 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ded3db6cc435026f25c6276fbe1d6a0fdff521a
4
- data.tar.gz: d57e17569e4f95473c312fa544fdff62fa9953fb
3
+ metadata.gz: ac50da0d3d1fcaa7768fd4665b94a1f78a2413d0
4
+ data.tar.gz: b5f0d6b02769e0c8e2cbb5892d9e1a5ecbb4f928
5
5
  SHA512:
6
- metadata.gz: c823c3af135b0cd57f622bf3a3c784d701f8947cb254f32410c3ad93d11a78cd6553932c3cfb33067add7f05dea3cadf5008ea2106d275ee11800bd69046c9e3
7
- data.tar.gz: 33cbd2c344b42165bb391bbfcab2da8a943e177102c33c84367980250532ff0b51ff621220545b1a92baa4d2795c2f5996acdcedb8bd58c410fb080b05ab3d18
6
+ metadata.gz: cbb616a1543159a38401900e7b0d06e29fd3a2b3ceac03e18fe69649f4c72e17c3cecb9363e06658dc28f6ffbc8e88b44b7fe2e191290861e7f6b43026dc8bd1
7
+ data.tar.gz: 922d04bf964cc4bbfa065802254d7e56acb2542d5a1142106af939879841d7c683780e853c99120479df78b7447557d7a8e3afe2975cf30c36bccf62f73666ba
@@ -1,5 +1,5 @@
1
1
  module EtTools
2
2
  class NatMonitor
3
- VERSION = '1.0.9'
3
+ VERSION = '1.0.10'
4
4
  end
5
5
  end
data/lib/nat-monitor.rb CHANGED
@@ -58,7 +58,7 @@ module EtTools
58
58
  return
59
59
  end
60
60
  un = unreachable_nodes
61
- return if un.empty?
61
+ #return if un.empty?
62
62
  if un.count == other_nodes.keys.count # return if I'm unreachable...
63
63
  output "No nodes are reachable. Seems I'm the unreachable one."
64
64
  return
@@ -75,7 +75,7 @@ module EtTools
75
75
  def steal_route
76
76
  output 'Stealing route 0.0.0.0/0 on route table ' \
77
77
  "#{@conf['route_table_id']}"
78
- return if @conf['mocking']
78
+ #return if @conf['mocking']
79
79
  connection.replace_route(
80
80
  @conf['route_table_id'],
81
81
  '0.0.0.0/0',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sp-nat-monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Herot