network-utility 1.1.11 → 1.1.12

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: 286a94343803a75f258f09ae43d7da3058790b4a87e2df9821c10bc3306e2fcd
4
- data.tar.gz: 2d057337574709a1a4527103a0fbfdd1aa848f820dfb5716817044aa02fc2682
3
+ metadata.gz: 5e147c9d25f2b2508405d772b0da3ff789575a0b04a0a32e1078afa0cd9053ee
4
+ data.tar.gz: 305156de2fdde612946187cf576f01f068ca91a1085f4550cd619a559d47f2ac
5
5
  SHA512:
6
- metadata.gz: 9bb3de402d61d24a08a2ead66e45c6af1928fe9c55a31705a0bdf5a28c497ce84120abd901d83ced1efd6800e25cbeffa7dd4ae142fe22f914d78a3a8822f774
7
- data.tar.gz: f95fba26d0b5790ecca3127f761763fb38a4558b9035965ca2c3d57a142be17217a58f1942c90c3d7910eaaa42eaeecdf21a63fcdb76644fd407af45c23fceb9
6
+ metadata.gz: 3e08ff60e1f6a838b8663f845750417cb489ce1e6c062499ec9aad3275d9afdce12599a92cb355ac45726296ce02d9bc2039eeed06a95bce5eee1e842f63c171
7
+ data.tar.gz: 217d2c6545f947b7419aa5af4ed6b72905d1c0406af3b2970a0425126cef66938716d1cb629f7c9dd6703b48baf5e224fd54ead88342966276dbf81afd416c39
@@ -68,7 +68,7 @@ module NE40E_X16A
68
68
  # func: 根据一个端口的描述信息,给出其格式化的类型、连接符、端口编号
69
69
  def 端口识别 描述
70
70
  连接符 = ''
71
- type = /100GE|GE|GigabitEthernet|Pos|Ethernet|Eth\-Trunk|Vlanif|Virtual\-Template|NULL|LoopBack|Aux/.match(描述)
71
+ type = /100GE|GE|GigabitEthernet|Global\-VE|Pos|Ethernet|Eth\-Trunk|Ip-Trunk|ServiceIf|Tunnel|Vlanif|Virtual\-Template|NULL|LoopBack|Logic\-Channel|Aux/.match(描述)
72
72
  类型 = type ? type.to_s : '未知类型'
73
73
  port = /(\d+|\/|\.)*(\d+)/.match(描述.split(类型).join)
74
74
  端口 = port ? port.to_s : '未知端口'
data/network.rb CHANGED
@@ -18,5 +18,5 @@
18
18
  ].each{|mod|require mod}
19
19
 
20
20
  module Network
21
- VERSION = '1.1.11'
21
+ VERSION = '1.1.12'
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: network-utility
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.11
4
+ version: 1.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt