trisulrp 3.1.14 → 3.1.16

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: d9e09f8f3cdf75d44b71a07a9027b628212e4316
4
- data.tar.gz: 43d1576c99108fa98eebc7327f54ea8660a34ade
3
+ metadata.gz: eb04389fb4e2377b99279a36b656db635f58a560
4
+ data.tar.gz: e7e57b4d8d7e38b301ee722d2c074269a3b95aef
5
5
  SHA512:
6
- metadata.gz: 5878c50550bafc1517417e000c1e0baf15ac877f0ad80180e1fe46d0cc7cc430731974e9345fb7836918e732ad3963e35adb07d23bc3f4557adb81e37aad31fa
7
- data.tar.gz: 5ec495dc6e4827559c0c3215da21ffa49db1d48a095f6231d8307729689480bdef654c6bf9378d39c1125de58457d054a47b92871d41a2c8107addd1cdb217e8
6
+ metadata.gz: 532cbb05586f8ea2cd849c45784f8b3f08a46bbe5049af8fb34da3c5552daf3ef33f08591dbf1f8eb8a062422e2a7f3c584fd0079596ef32fd3375a0b4d49bc9
7
+ data.tar.gz: 80587cbe0bb22c2c5be0140c9591d2550a57ed3294fd6933de0a4de4b1a0f798e5558cc4fd7ab7f44d43b7804d4dc62456ad8a0cba61da8e1ef500a1edbfbb25
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.14
1
+ 3.1.16
@@ -248,14 +248,11 @@ module TrisulRP::Protocol
248
248
  resp=get_response_zmq(endpoint, trp_request, timeout_seconds)
249
249
 
250
250
  trp_resp_command_id = resp.instance_variable_get("@trp_resp_command_id")
251
-
251
+ sleep_time = [1,1,1,1,1,1,1,2,2,2,2,2]
252
+ count = 0
252
253
  while trp_resp_command_id == TRP::Message::Command::ASYNC_RESPONSE do
253
- @sleep = @sleep || 1
254
- if @sleep >=4
255
- @sleep = 5
256
- else
257
- @sleep = @sleep *2
258
- end
254
+ @sleep = sleep_time[count] || 5
255
+ count = count +1
259
256
  async_req = TrisulRP::Protocol.mk_request(
260
257
  TRP::Message::Command::ASYNC_REQUEST,
261
258
  {
@@ -64,6 +64,7 @@ module TRP
64
64
  define :VT_AUTO, 7
65
65
  define :VT_RUNNING_COUNTER, 8
66
66
  define :VT_AVERAGE, 9
67
+ define :VT_DELTA_RATE_COUNTER, 10
67
68
  end
68
69
 
69
70
  end
@@ -68,6 +68,7 @@ message MeterInfo {
68
68
  VT_AUTO=7; /// automatic (eg, min/max/avg/stddev/)
69
69
  VT_RUNNING_COUNTER=8; /// running counter, no delta calc
70
70
  VT_AVERAGE=9; /// average of samples, total/sampl uses 32bt|32bit
71
+ VT_DELTA_RATE_COUNTER=10; /// link snmp running counter
71
72
  }
72
73
 
73
74
 
data/trisulrp.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: trisulrp 3.1.14 ruby lib
5
+ # stub: trisulrp 3.1.16 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "trisulrp"
9
- s.version = "3.1.14"
9
+ s.version = "3.1.16"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["vivek"]
14
- s.date = "2017-05-25"
14
+ s.date = "2017-07-12"
15
15
  s.description = "This gem deals about the trisul remote protocol"
16
16
  s.email = "vivek_rajagopal@yahoo.com"
17
17
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trisulrp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.14
4
+ version: 3.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-25 00:00:00.000000000 Z
11
+ date: 2017-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: protobuf