trisulrp 3.2.35 → 3.2.36
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 +9 -0
- data/lib/trisulrp/trp.proto +10 -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: 2475730cf62325c709896da43c6cf230df3a01f975d1a3243d05d39fe400daf0
|
|
4
|
+
data.tar.gz: 2f97d0544a52e921d881f7a6a34d0503bcd9983e9df33a6b1d4d0f3bd9227ca3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5989634d43aba1c02ae5c340445a818ce3e76f719c8089bfff9d8a1b5d1d17543113ddc67fbec0336ba0c9c804466475ce343130586398dd146d2f30b4a2bb2a
|
|
7
|
+
data.tar.gz: 14e7f5cf21c2f46723a29060761530938da37f1898a1eef537924420fac9b47561e6d7130e5e33d7e30c5ed18a7c2784546ad889d05d55e298165c1abef066e5
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.2.
|
|
1
|
+
3.2.36
|
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
|
+
required :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
|
|
@@ -1121,6 +1127,8 @@ module TRP
|
|
|
1121
1127
|
optional :bytes, :push_config_blob, 4
|
|
1122
1128
|
repeated ::TRP::NameValue, :query_config, 5
|
|
1123
1129
|
repeated ::TRP::NameValue, :set_config_values, 6
|
|
1130
|
+
optional ::TRP::ConfigBlob, :get_generic_blob, 8
|
|
1131
|
+
optional ::TRP::ConfigBlob, :push_generic_blob, 9
|
|
1124
1132
|
end
|
|
1125
1133
|
|
|
1126
1134
|
class ContextConfigResponse
|
|
@@ -1140,6 +1148,7 @@ module TRP
|
|
|
1140
1148
|
repeated :string, :endpoints_pub, 8
|
|
1141
1149
|
repeated ::TRP::NameValue, :config_values, 10
|
|
1142
1150
|
repeated ::TRP::ContextConfigResponse::Layer, :layers, 11
|
|
1151
|
+
optional ::TRP::ConfigBlob, :generic_blob, 12
|
|
1143
1152
|
end
|
|
1144
1153
|
|
|
1145
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
|
+
required bytes filecontents=2;
|
|
290
|
+
}
|
|
291
|
+
|
|
286
292
|
/// Top level message is TRP::Message
|
|
287
293
|
/// wraps the actual request or response
|
|
288
294
|
///
|
|
@@ -1165,6 +1171,9 @@ message ContextConfigRequest {
|
|
|
1165
1171
|
optional bytes push_config_blob=4; /// push this ..
|
|
1166
1172
|
repeated NameValue query_config=5; /// query, leave the .value field blank
|
|
1167
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
|
|
1168
1177
|
}
|
|
1169
1178
|
|
|
1170
1179
|
|
|
@@ -1187,6 +1196,7 @@ message ContextConfigResponse {
|
|
|
1187
1196
|
repeated string endpoints_pub=8;
|
|
1188
1197
|
repeated NameValue config_values=10; /// query, leave the .value field blank
|
|
1189
1198
|
repeated Layer layers=11;
|
|
1199
|
+
optional ConfigBlob generic_blob=12; /// use case is : persist file as a blob
|
|
1190
1200
|
|
|
1191
1201
|
}
|
|
1192
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.36 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.36"
|
|
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-13"
|
|
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.36
|
|
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-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: protobuf
|