lib-tl1-huawei 0.1.4 → 0.1.5

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: f85941d32ce351ee0fbc4fd717b9923259c8828840701cbabf9ce0d0671781e3
4
- data.tar.gz: 250180e3971b507035bf7551d9ab6b4f89a85c33e867fd3c67fee51a0ec3a9c8
3
+ metadata.gz: fe7ebe71ba180f83c170342704af19aac66ac310fc9fbcbe752bb118fb38f1b9
4
+ data.tar.gz: 62dc2e1a99489a0d658690fe6bfa8808e6063a1fc76e47ec29c3b147194e52f3
5
5
  SHA512:
6
- metadata.gz: 1b5389d485a40f9b6aee1ffafa8301abb2b062014f94631b3ef2a80ec67cc090f277f89a93c1b612ca8928ea5b6ae073fea35f287778d4c53e37e4873c5e276f
7
- data.tar.gz: dfa5686470509b5184029d745a7724e37c71ec4a7f1410e0ab5a24866699a698ccc3ea819f4226629fcc048f08b894f282975b2bfadce8e337384790f1d73e06
6
+ metadata.gz: 535b8fad8c2ce25f98d045569832e4a4e831747f85882cb09dc1e76c5fcb851d1640a6e3ec0f5ef579b52a49b2516bc0efa3662c546a6c8abc413539a87d7245
7
+ data.tar.gz: 3a3de56392263d749bfe3cf09fbe24ac2f4f4e5f02b5085216bf496b72d54484e1a7c80cb049677889f5b705900aeb0be4d076d38613c3186ad6d3bc88edae5d
@@ -0,0 +1,48 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'input'
4
+
5
+ module Lib
6
+ module TL1
7
+ module Huawei
8
+ module Message
9
+ class LstBoard < Lib::TL1::Huawei::Message::Input
10
+
11
+ attr_reader :dev, :did, :onu_locate_info, :frame_number, :slot_number, :board_type, :show_option
12
+
13
+ def initialize(
14
+ dev: nil,
15
+ did: nil,
16
+ onu_locate_info: nil,
17
+ frame_number: nil,
18
+ slot_number: nil,
19
+ board_type: nil,
20
+ show_option: nil
21
+ )
22
+ @dev = dev
23
+ @did = did
24
+ @frame_number = frame_number
25
+ @onu_locate_info = onu_locate_info
26
+ @slot_number = slot_number
27
+ @board_type = board_type
28
+ @show_option = show_option
29
+
30
+ super(
31
+ aid: hash_to_string(
32
+ dev: dev,
33
+ did: did,
34
+ onu_locate_info: onu_locate_info,
35
+ fn: frame_number,
36
+ sn: slot_number,
37
+ bt: board_type
38
+ ),
39
+ payload: __show_option(*show_option)
40
+ )
41
+ end
42
+
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
48
+
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'input'
4
+
5
+ module Lib
6
+ module TL1
7
+ module Huawei
8
+ module Message
9
+ class LstFrame < Lib::TL1::Huawei::Message::Input
10
+
11
+ attr_reader :dev, :did, :frame_number, :show_option
12
+
13
+ def initialize(dev: nil, did: nil, frame_number: nil, show_option: nil)
14
+ @dev = dev
15
+ @did = did
16
+ @frame_number = frame_number
17
+ @show_option = show_option
18
+ super(
19
+ aid: hash_to_string(dev: dev, did: did, fn: frame_number),
20
+ payload: __show_option(*show_option)
21
+ )
22
+ end
23
+
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
29
+
@@ -0,0 +1,61 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'input'
4
+
5
+ module Lib
6
+ module TL1
7
+ module Huawei
8
+ module Message
9
+ class LstPort < Lib::TL1::Huawei::Message::Input
10
+
11
+ attr_reader :port_alias, :dev, :did, :onu_locate_info, :frame_number, :slot_number, :port_number,
12
+ :port_type, :port_status, :db_only, :show_option
13
+
14
+ def initialize(
15
+ port_alias: nil,
16
+ dev: nil,
17
+ did: nil,
18
+ onu_locate_info: nil,
19
+ frame_number: nil,
20
+ slot_number: nil,
21
+ port_number: nil,
22
+ port_type: nil,
23
+ port_status: nil,
24
+ db_only: nil,
25
+ show_option: nil
26
+ )
27
+ @port_alias = port_alias
28
+ @dev = dev
29
+ @did = did
30
+ @onu_locate_info = onu_locate_info
31
+ @frame_number = frame_number
32
+ @slot_number = slot_number
33
+ @port_number = port_number
34
+ @port_type = port_type
35
+ @port_status = port_status
36
+ @db_only = db_only
37
+ @show_option = show_option
38
+ super(
39
+ aid: hash_to_string(
40
+ alias: port_alias,
41
+ dev: dev,
42
+ did: did,
43
+ onu_locate_info: onu_locate_info,
44
+ fn: frame_number,
45
+ sn: slot_number,
46
+ pn: port_number,
47
+ pt: port_type,
48
+ pstat: port_status,
49
+ db_only: db_only
50
+ ),
51
+ payload: __show_option(*show_option)
52
+ )
53
+ end
54
+
55
+ end
56
+ end
57
+ end
58
+ end
59
+ end
60
+
61
+
@@ -3,7 +3,7 @@
3
3
  module Lib
4
4
  module TL1
5
5
  module Huawei
6
- VERSION = '0.1.4'
6
+ VERSION = '0.1.5'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lib-tl1-huawei
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Wojcieszonek
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-08-13 00:00:00.000000000 Z
11
+ date: 2022-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lib-tl1
@@ -49,8 +49,10 @@ files:
49
49
  - lib/lib/tl1/huawei/message/login.rb
50
50
  - lib/lib/tl1/huawei/message/logout.rb
51
51
  - lib/lib/tl1/huawei/message/lst_bms_version.rb
52
+ - lib/lib/tl1/huawei/message/lst_board.rb
52
53
  - lib/lib/tl1/huawei/message/lst_dev.rb
53
54
  - lib/lib/tl1/huawei/message/lst_emf_sys_info.rb
55
+ - lib/lib/tl1/huawei/message/lst_frame.rb
54
56
  - lib/lib/tl1/huawei/message/lst_gem_connection.rb
55
57
  - lib/lib/tl1/huawei/message/lst_gem_port.rb
56
58
  - lib/lib/tl1/huawei/message/lst_gpon_auto_find.rb
@@ -83,6 +85,7 @@ files:
83
85
  - lib/lib/tl1/huawei/message/lst_ont_voip_pstn_user.rb
84
86
  - lib/lib/tl1/huawei/message/lst_ont_wan.rb
85
87
  - lib/lib/tl1/huawei/message/lst_onu_nni_ddm_detail.rb
88
+ - lib/lib/tl1/huawei/message/lst_port.rb
86
89
  - lib/lib/tl1/huawei/message/output.rb
87
90
  - lib/lib/tl1/huawei/message/response.rb
88
91
  - lib/lib/tl1/huawei/message/shake_hand.rb