trisulrp 3.2.35 → 3.2.38
Sign up to get free protection for your applications and to get access to all the features.
- 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: 7e81690eb6b433a050665549085082162302ece44c4aa05d19f9fba056cade77
|
4
|
+
data.tar.gz: bbfde53d99a37693a2a84e62e37e408ddb7cc281eba4249bf5ab02600e0ec520
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 491e526f359cccff90fb803e0b09834e8905ec57a9cdb2c7707e25335dafd3c59d1a76740f75ddd57b1028b100a54647eed61ace93d909e1c67c41b8a88642fd
|
7
|
+
data.tar.gz: d9dce46c4dabe46edcda67459064ce0e12e54f152b8bbbf6786360edca0094e8ff399ab6166e215d4970c7873e0eb120597e9cf5e3eb3ae93ad4bae6ab49bfca
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.2.
|
1
|
+
3.2.38
|
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
|
@@ -862,6 +868,7 @@ module TRP
|
|
862
868
|
repeated ::TRP::KeySpaceRequest::KeySpace, :spaces, 5
|
863
869
|
optional :bool, :resolve_keys, 6, :default => true
|
864
870
|
optional :bool, :totals_only, 7, :default => false
|
871
|
+
optional :bool, :get_key_attributes, 8, :default => false
|
865
872
|
end
|
866
873
|
|
867
874
|
class KeySpaceResponse
|
@@ -1121,6 +1128,8 @@ module TRP
|
|
1121
1128
|
optional :bytes, :push_config_blob, 4
|
1122
1129
|
repeated ::TRP::NameValue, :query_config, 5
|
1123
1130
|
repeated ::TRP::NameValue, :set_config_values, 6
|
1131
|
+
optional ::TRP::ConfigBlob, :get_generic_blob, 8
|
1132
|
+
optional ::TRP::ConfigBlob, :push_generic_blob, 9
|
1124
1133
|
end
|
1125
1134
|
|
1126
1135
|
class ContextConfigResponse
|
@@ -1140,6 +1149,7 @@ module TRP
|
|
1140
1149
|
repeated :string, :endpoints_pub, 8
|
1141
1150
|
repeated ::TRP::NameValue, :config_values, 10
|
1142
1151
|
repeated ::TRP::ContextConfigResponse::Layer, :layers, 11
|
1152
|
+
optional ::TRP::ConfigBlob, :generic_blob, 12
|
1143
1153
|
end
|
1144
1154
|
|
1145
1155
|
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
|
///
|
@@ -807,6 +813,7 @@ message KeySpaceRequest {
|
|
807
813
|
repeated KeySpace spaces=5; /// space1 OR space2 OR ..
|
808
814
|
optional bool resolve_keys=6[default=true]; /// resolve names
|
809
815
|
optional bool totals_only=7[default=false]; /// if set, only totals returned
|
816
|
+
optional bool get_key_attributes=8 [default=false]; /// if true, response keys get key_attributes as well
|
810
817
|
}
|
811
818
|
|
812
819
|
/// KeySpaceResponse
|
@@ -1165,6 +1172,9 @@ message ContextConfigRequest {
|
|
1165
1172
|
optional bytes push_config_blob=4; /// push this ..
|
1166
1173
|
repeated NameValue query_config=5; /// query, leave the .value field blank
|
1167
1174
|
repeated NameValue set_config_values=6; /// push this .. (name=value;name=value ..)
|
1175
|
+
|
1176
|
+
optional ConfigBlob get_generic_blob=8; /// push this .. send persist for snmp util to probe
|
1177
|
+
optional ConfigBlob push_generic_blob=9; /// push this .. send persist for snmp util to probe
|
1168
1178
|
}
|
1169
1179
|
|
1170
1180
|
|
@@ -1187,6 +1197,7 @@ message ContextConfigResponse {
|
|
1187
1197
|
repeated string endpoints_pub=8;
|
1188
1198
|
repeated NameValue config_values=10; /// query, leave the .value field blank
|
1189
1199
|
repeated Layer layers=11;
|
1200
|
+
optional ConfigBlob generic_blob=12; /// use case is : persist file as a blob
|
1190
1201
|
|
1191
1202
|
}
|
1192
1203
|
|
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.38 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.38"
|
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.38
|
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
|