trisulrp 3.2.34 → 3.2.37
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/VERSION +1 -1
- data/lib/trisulrp/trp.pb.rb +10 -0
- data/lib/trisulrp/trp.proto +11 -0
- data/trisulrp.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f97c3fa627072d1a50b90fec294bda4c0fb3f5d75717b991075d4869294b16b
|
|
4
|
+
data.tar.gz: cdbef72198eeef3578e442692238a31c95b3d99f1de3db700d84e31e73ef3d32
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef7001ce6f7bd27db7cff51a796b2c830dd178291a603608164e7bfa2ff08e61dd98840d8e1f5fe8761d024eb29ac3b8112e4b721bf14fcb7a2d114eb63d98ae
|
|
7
|
+
data.tar.gz: 9aba2a8ab13accf10f0fc487d2c40cfd948223a82e12f559ab1dda3f6957e6099d42ecf46a55fe4ad29d032e673cc95839c7a41df3186265f0f4efdb33b30f23
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.2.
|
|
1
|
+
3.2.37
|
data/lib/trisulrp/trp.pb.rb
CHANGED
|
@@ -95,6 +95,7 @@ module TRP
|
|
|
95
95
|
class VertexGroupT < ::Protobuf::Message; end
|
|
96
96
|
class EdgeGraphT < ::Protobuf::Message; end
|
|
97
97
|
class NameValue < ::Protobuf::Message; end
|
|
98
|
+
class ConfigBlob < ::Protobuf::Message; end
|
|
98
99
|
class Message < ::Protobuf::Message
|
|
99
100
|
class Command < ::Protobuf::Enum
|
|
100
101
|
define :HELLO_REQUEST, 1
|
|
@@ -496,6 +497,11 @@ module TRP
|
|
|
496
497
|
optional :string, :value, 2
|
|
497
498
|
end
|
|
498
499
|
|
|
500
|
+
class ConfigBlob
|
|
501
|
+
required :string, :filename, 1
|
|
502
|
+
optional :bytes, :filecontents, 2
|
|
503
|
+
end
|
|
504
|
+
|
|
499
505
|
class Message
|
|
500
506
|
required ::TRP::Message::Command, :trp_command, 1
|
|
501
507
|
optional ::TRP::HelloRequest, :hello_request, 2
|
|
@@ -878,6 +884,7 @@ module TRP
|
|
|
878
884
|
optional :string, :key_filter, 6
|
|
879
885
|
optional :string, :inverse_key_filter, 7
|
|
880
886
|
optional :bool, :get_key_attributes, 8, :default => false
|
|
887
|
+
optional :bool, :resolve_keys, 9, :default => true
|
|
881
888
|
end
|
|
882
889
|
|
|
883
890
|
class TopperTrendResponse
|
|
@@ -1120,6 +1127,8 @@ module TRP
|
|
|
1120
1127
|
optional :bytes, :push_config_blob, 4
|
|
1121
1128
|
repeated ::TRP::NameValue, :query_config, 5
|
|
1122
1129
|
repeated ::TRP::NameValue, :set_config_values, 6
|
|
1130
|
+
optional ::TRP::ConfigBlob, :get_generic_blob, 8
|
|
1131
|
+
optional ::TRP::ConfigBlob, :push_generic_blob, 9
|
|
1123
1132
|
end
|
|
1124
1133
|
|
|
1125
1134
|
class ContextConfigResponse
|
|
@@ -1139,6 +1148,7 @@ module TRP
|
|
|
1139
1148
|
repeated :string, :endpoints_pub, 8
|
|
1140
1149
|
repeated ::TRP::NameValue, :config_values, 10
|
|
1141
1150
|
repeated ::TRP::ContextConfigResponse::Layer, :layers, 11
|
|
1151
|
+
optional ::TRP::ConfigBlob, :generic_blob, 12
|
|
1142
1152
|
end
|
|
1143
1153
|
|
|
1144
1154
|
class PcapRequest
|
data/lib/trisulrp/trp.proto
CHANGED
|
@@ -283,6 +283,12 @@ message NameValue {
|
|
|
283
283
|
optional string value=2;
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
+
/// these items go in the probe config directory, ignored by all other types of nodes
|
|
287
|
+
message ConfigBlob {
|
|
288
|
+
required string filename=1;
|
|
289
|
+
optional bytes filecontents=2;
|
|
290
|
+
}
|
|
291
|
+
|
|
286
292
|
/// Top level message is TRP::Message
|
|
287
293
|
/// wraps the actual request or response
|
|
288
294
|
///
|
|
@@ -826,6 +832,7 @@ message TopperTrendRequest {
|
|
|
826
832
|
optional string key_filter=6; /// only get keys with this pattern and SYS:GROUP
|
|
827
833
|
optional string inverse_key_filter=7; /// only get keys without this pattern NOT
|
|
828
834
|
optional bool get_key_attributes=8 [default=false]; /// if true, response keys get key_attributes as well
|
|
835
|
+
optional bool resolve_keys=9[ default=true]; /// resolve all keys and label
|
|
829
836
|
}
|
|
830
837
|
|
|
831
838
|
/// TopperTrendResponse
|
|
@@ -1164,6 +1171,9 @@ message ContextConfigRequest {
|
|
|
1164
1171
|
optional bytes push_config_blob=4; /// push this ..
|
|
1165
1172
|
repeated NameValue query_config=5; /// query, leave the .value field blank
|
|
1166
1173
|
repeated NameValue set_config_values=6; /// push this .. (name=value;name=value ..)
|
|
1174
|
+
|
|
1175
|
+
optional ConfigBlob get_generic_blob=8; /// push this .. send persist for snmp util to probe
|
|
1176
|
+
optional ConfigBlob push_generic_blob=9; /// push this .. send persist for snmp util to probe
|
|
1167
1177
|
}
|
|
1168
1178
|
|
|
1169
1179
|
|
|
@@ -1186,6 +1196,7 @@ message ContextConfigResponse {
|
|
|
1186
1196
|
repeated string endpoints_pub=8;
|
|
1187
1197
|
repeated NameValue config_values=10; /// query, leave the .value field blank
|
|
1188
1198
|
repeated Layer layers=11;
|
|
1199
|
+
optional ConfigBlob generic_blob=12; /// use case is : persist file as a blob
|
|
1189
1200
|
|
|
1190
1201
|
}
|
|
1191
1202
|
|
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.2.
|
|
5
|
+
# stub: trisulrp 3.2.37 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "trisulrp".freeze
|
|
9
|
-
s.version = "3.2.
|
|
9
|
+
s.version = "3.2.37"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|
|
13
13
|
s.authors = ["vivek".freeze]
|
|
14
|
-
s.date = "2022-06-
|
|
14
|
+
s.date = "2022-06-14"
|
|
15
15
|
s.description = "This gem deals about the trisul remote protocol".freeze
|
|
16
16
|
s.email = "vivek_rajagopal@yahoo.com".freeze
|
|
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.2.
|
|
4
|
+
version: 3.2.37
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- vivek
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-06-
|
|
11
|
+
date: 2022-06-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: protobuf
|