network-utility 1.1.40 → 1.1.41
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/document/static-CR16010H-F.md +1 -0
- data/document/static-CR16018-F.md +1 -0
- data/document/static-CR19000-20.md +1 -0
- data/document/static-CX600-X16A.md +2 -1
- data/document/static-CX600-X8A.md +2 -1
- data/document/static-MA5200G-8.md +2 -1
- data/document/static-ME60-16.md +2 -1
- data/document/static-ME60-X16.md +2 -1
- data/document/static-NE40E-X16.md +1 -0
- data/document/static-NE40E-X16A.md +1 -0
- data/document/static-NE40E-X8.md +2 -1
- data/document/static-NE40E.md +1 -0
- data/document/static-NE5000E-20.md +1 -1
- data/document/static-NE5000E-X16.md +1 -1
- data/document/static-NE5000E-X16A.md +1 -1
- data/document/static-NE8000E-X8.md +1 -1
- data/document/static-NE80E.md +1 -0
- data/document/static-NE8100-X8.md +1 -1
- data/network.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: c79aaf431b6b0fbd78ead56c7d918e5ff9e9d2181e775e7445691b1d43fc8eac
|
|
4
|
+
data.tar.gz: d03798c42ebc1169be66dc7490f4fb3f286616bc54158e68f34f9a7bc8633565
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d3f84eab160e9cf82a3d4da552e22ffd45235507bf4e745ab55c6785bad035343759cacc4cbbee0aa57f43a8d38d52c35fdb52e8e071267ad0bedeed1d81771a
|
|
7
|
+
data.tar.gz: e007aba82c8ea5141813da5644bb16a193b3586fa5ffd9a324226563b0201b921d6f6c24ef2e82148917649ff1fa7433a077369b79b5cda2d7a4db59d88eb4f5
|
|
@@ -13,6 +13,7 @@ module CR16010H_F
|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
14
|
if part.include?('route-static ')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static ')
|
|
16
17
|
items = line.split(" ")
|
|
17
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
|
@@ -13,6 +13,7 @@ module CR16018_F
|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
14
|
if part.include?('route-static ')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static ')
|
|
16
17
|
items = line.split(" ")
|
|
17
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
|
@@ -13,6 +13,7 @@ module CR19000_20
|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
14
|
if part.include?('route-static ')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static ')
|
|
16
17
|
items = line.split(" ")
|
|
17
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
|
@@ -11,8 +11,9 @@ module CX600_X16A
|
|
|
11
11
|
static_routes = []
|
|
12
12
|
['ip','ipv6'].each do|tag|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
|
-
if part.include?('route-static')
|
|
14
|
+
if part.include?('route-static ')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static ')
|
|
16
17
|
items = line.split(" ")
|
|
17
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
|
@@ -11,8 +11,9 @@ module CX600_X8A
|
|
|
11
11
|
static_routes = []
|
|
12
12
|
['ip','ipv6'].each do|tag|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
|
-
if part.include?('route-static')
|
|
14
|
+
if part.include?('route-static ')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static ')
|
|
16
17
|
items = line.split(" ")
|
|
17
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
|
@@ -11,8 +11,9 @@ module MA5200G_8
|
|
|
11
11
|
static_routes = []
|
|
12
12
|
['ip','ipv6'].each do|tag|
|
|
13
13
|
(配置散列[tag] || []).map{|part|part.split("\n")}.flatten.each do|part|
|
|
14
|
-
if part.include?('route-static')
|
|
14
|
+
if part.include?('route-static ')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static ')
|
|
16
17
|
items = line.split(" ")
|
|
17
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
data/document/static-ME60-16.md
CHANGED
|
@@ -11,8 +11,9 @@ module ME60_16
|
|
|
11
11
|
static_routes = []
|
|
12
12
|
['ip','ipv6'].each do|tag|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
|
-
if part.include?('route-static')
|
|
14
|
+
if part.include?('route-static ')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static ')
|
|
16
17
|
items = line.split(" ")
|
|
17
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
data/document/static-ME60-X16.md
CHANGED
|
@@ -11,8 +11,9 @@ module ME60_X16
|
|
|
11
11
|
static_routes = []
|
|
12
12
|
['ip','ipv6'].each do|tag|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
|
-
if part.include?('route-static')
|
|
14
|
+
if part.include?('route-static ')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static ')
|
|
16
17
|
items = line.split(" ")
|
|
17
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
|
@@ -13,6 +13,7 @@ module NE40E_X16
|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
14
|
if part.include?('route-static')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static ')
|
|
16
17
|
items = line.split(" ")
|
|
17
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
|
@@ -13,6 +13,7 @@ module NE40E_X16A
|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
14
|
if part.include?('route-static')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static ')
|
|
16
17
|
items = line.split(" ")
|
|
17
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
data/document/static-NE40E-X8.md
CHANGED
|
@@ -11,8 +11,9 @@ module NE40E_X8
|
|
|
11
11
|
static_routes = []
|
|
12
12
|
['ip','ipv6'].each do|tag|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
|
-
if part.include?('route-static')
|
|
14
|
+
if part.include?('route-static ')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static ')
|
|
16
17
|
items = line.split(" ")
|
|
17
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
data/document/static-NE40E.md
CHANGED
|
@@ -13,6 +13,7 @@ module NE40E
|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
14
|
if part.include?('route-static')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static ')
|
|
16
17
|
items = line.split(" ")
|
|
17
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
|
@@ -13,7 +13,7 @@ module NE5000E_20
|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
14
|
if part.include?('route-static')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
-
next unless line.include?('route-static')
|
|
16
|
+
next unless line.include?('route-static ')
|
|
17
17
|
items = line.split(" ")
|
|
18
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
19
19
|
static_routes << record
|
|
@@ -13,7 +13,7 @@ module NE5000E_X16
|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
14
|
if part.include?('route-static')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
-
next unless line.include?('route-static')
|
|
16
|
+
next unless line.include?('route-static ')
|
|
17
17
|
items = line.split(" ")
|
|
18
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
19
19
|
static_routes << record
|
|
@@ -13,7 +13,7 @@ module NE5000E_X16A
|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
14
|
if part.include?('route-static')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
-
next unless line.include?('route-static')
|
|
16
|
+
next unless line.include?('route-static ')
|
|
17
17
|
items = line.split(" ")
|
|
18
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
19
19
|
static_routes << record
|
|
@@ -13,7 +13,7 @@ module NE8000E_X8
|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
14
|
if part.include?('route-static')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
-
next unless line.include?('route-static')
|
|
16
|
+
next unless line.include?('route-static ')
|
|
17
17
|
items = line.split(" ")
|
|
18
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
19
19
|
static_routes << record
|
data/document/static-NE80E.md
CHANGED
|
@@ -13,6 +13,7 @@ module NE80E
|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
14
|
if part.include?('route-static')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static ')
|
|
16
17
|
items = line.split(" ")
|
|
17
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
|
@@ -13,7 +13,7 @@ module NE8100_X8
|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
14
|
if part.include?('route-static')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
-
next unless line.include?('route-static')
|
|
16
|
+
next unless line.include?('route-static ')
|
|
17
17
|
items = line.split(" ")
|
|
18
18
|
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
19
19
|
static_routes << record
|
data/network.rb
CHANGED