trisulrp 3.2.43 → 4.2.55

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.
@@ -1,1306 +0,0 @@
1
- # encoding: utf-8
2
-
3
- ##
4
- # This file is auto-generated. DO NOT EDIT!
5
- #
6
- require 'protobuf'
7
-
8
- module TRP
9
- ::Protobuf::Optionable.inject(self) { ::Google::Protobuf::FileOptions }
10
-
11
- ##
12
- # Enum Classes
13
- #
14
- class AuthLevel < ::Protobuf::Enum
15
- define :ADMIN, 1
16
- define :BASIC_USER, 2
17
- define :FORENSIC_USER, 3
18
- define :BLOCKED_USER, 4
19
- end
20
-
21
- class CompressionType < ::Protobuf::Enum
22
- define :UNCOMPRESSED, 1
23
- define :GZIP, 2
24
- end
25
-
26
- class PcapFormat < ::Protobuf::Enum
27
- define :LIBPCAP, 1
28
- define :UNSNIFF, 2
29
- define :LIBPCAPNOFILEHEADER, 3
30
- end
31
-
32
- class DomainNodeType < ::Protobuf::Enum
33
- define :HUB, 0
34
- define :PROBE, 1
35
- define :CONFIG, 2
36
- define :ROUTER, 3
37
- define :WEB, 4
38
- define :MONITOR, 5
39
- end
40
-
41
- class DomainOperation < ::Protobuf::Enum
42
- define :GETNODES, 1
43
- define :HEARTBEAT, 2
44
- define :REGISTER, 3
45
- end
46
-
47
-
48
- ##
49
- # Message Classes
50
- #
51
- class Timestamp < ::Protobuf::Message; end
52
- class TimeInterval < ::Protobuf::Message; end
53
- class StatsTuple < ::Protobuf::Message; end
54
- class StatsArray < ::Protobuf::Message; end
55
- class MeterValues < ::Protobuf::Message; end
56
- class MeterInfo < ::Protobuf::Message
57
- class MeterType < ::Protobuf::Enum
58
- define :VT_INVALID, 0
59
- define :VT_RATE_COUNTER_WITH_SLIDING_WINDOW, 1
60
- define :VT_COUNTER, 2
61
- define :VT_COUNTER_WITH_SLIDING_WINDOW, 3
62
- define :VT_RATE_COUNTER, 4
63
- define :VT_GAUGE, 5
64
- define :VT_GAUGE_MIN_MAX_AVG, 6
65
- define :VT_AUTO, 7
66
- define :VT_RUNNING_COUNTER, 8
67
- define :VT_AVERAGE, 9
68
- define :VT_DELTA_RATE_COUNTER, 10
69
- define :VT_MAX, 11
70
- define :VT_MIN, 12
71
- end
72
-
73
- end
74
-
75
- class KeyStats < ::Protobuf::Message; end
76
- class KeyT < ::Protobuf::Message
77
- class NameValueT < ::Protobuf::Message; end
78
- class PercentileT < ::Protobuf::Message; end
79
-
80
- end
81
-
82
- class CounterGroupT < ::Protobuf::Message
83
- class Crosskey < ::Protobuf::Message; end
84
-
85
- end
86
-
87
- class SessionT < ::Protobuf::Message; end
88
- class AlertT < ::Protobuf::Message; end
89
- class ResourceT < ::Protobuf::Message; end
90
- class DocumentT < ::Protobuf::Message
91
- class Flow < ::Protobuf::Message; end
92
-
93
- end
94
-
95
- class VertexGroupT < ::Protobuf::Message; end
96
- class EdgeGraphT < ::Protobuf::Message; end
97
- class NameValue < ::Protobuf::Message; end
98
- class ConfigBlob < ::Protobuf::Message; end
99
- class Message < ::Protobuf::Message
100
- class Command < ::Protobuf::Enum
101
- define :HELLO_REQUEST, 1
102
- define :HELLO_RESPONSE, 2
103
- define :OK_RESPONSE, 3
104
- define :ERROR_RESPONSE, 5
105
- define :COUNTER_GROUP_TOPPER_REQUEST, 6
106
- define :COUNTER_GROUP_TOPPER_RESPONSE, 7
107
- define :COUNTER_ITEM_REQUEST, 8
108
- define :COUNTER_ITEM_RESPONSE, 9
109
- define :PCAP_REQUEST, 14
110
- define :PCAP_RESPONSE, 15
111
- define :SEARCH_KEYS_REQUEST, 18
112
- define :SEARCH_KEYS_RESPONSE, 19
113
- define :COUNTER_GROUP_INFO_REQUEST, 20
114
- define :COUNTER_GROUP_INFO_RESPONSE, 21
115
- define :SESSION_TRACKER_REQUEST, 22
116
- define :SESSION_TRACKER_RESPONSE, 23
117
- define :UPDATE_KEY_REQUEST, 32
118
- define :UPDATE_KEY_RESPONSE, 33
119
- define :QUERY_SESSIONS_REQUEST, 34
120
- define :QUERY_SESSIONS_RESPONSE, 35
121
- define :PROBE_STATS_REQUEST, 38
122
- define :PROBE_STATS_RESPONSE, 39
123
- define :QUERY_ALERTS_REQUEST, 44
124
- define :QUERY_ALERTS_RESPONSE, 45
125
- define :QUERY_RESOURCES_REQUEST, 48
126
- define :QUERY_RESOURCES_RESPONSE, 49
127
- define :GREP_REQUEST, 60
128
- define :GREP_RESPONSE, 61
129
- define :KEYSPACE_REQUEST, 70
130
- define :KEYSPACE_RESPONSE, 71
131
- define :TOPPER_TREND_REQUEST, 72
132
- define :TOPPER_TREND_RESPONSE, 73
133
- define :STAB_PUBSUB_CTL, 80
134
- define :QUERY_FTS_REQUEST, 90
135
- define :QUERY_FTS_RESPONSE, 91
136
- define :TIMESLICES_REQUEST, 92
137
- define :TIMESLICES_RESPONSE, 93
138
- define :DELETE_ALERTS_REQUEST, 94
139
- define :METRICS_SUMMARY_REQUEST, 95
140
- define :METRICS_SUMMARY_RESPONSE, 96
141
- define :PCAP_SLICES_REQUEST, 97
142
- define :SERVICE_REQUEST, 101
143
- define :SERVICE_RESPONSE, 102
144
- define :CONFIG_REQUEST, 103
145
- define :CONFIG_RESPONSE, 104
146
- define :LOG_REQUEST, 105
147
- define :LOG_RESPONSE, 106
148
- define :CONTEXT_CREATE_REQUEST, 108
149
- define :CONTEXT_DELETE_REQUEST, 109
150
- define :CONTEXT_START_REQUEST, 110
151
- define :CONTEXT_STOP_REQUEST, 111
152
- define :CONTEXT_INFO_REQUEST, 112
153
- define :CONTEXT_INFO_RESPONSE, 113
154
- define :CONTEXT_CONFIG_REQUEST, 114
155
- define :CONTEXT_CONFIG_RESPONSE, 115
156
- define :DOMAIN_REQUEST, 116
157
- define :DOMAIN_RESPONSE, 117
158
- define :NODE_CONFIG_REQUEST, 118
159
- define :NODE_CONFIG_RESPONSE, 119
160
- define :ASYNC_REQUEST, 120
161
- define :ASYNC_RESPONSE, 121
162
- define :FILE_REQUEST, 122
163
- define :FILE_RESPONSE, 123
164
- define :SUBSYSTEM_INIT, 124
165
- define :SUBSYSTEM_EXIT, 125
166
- define :GRAPH_REQUEST, 130
167
- define :GRAPH_RESPONSE, 131
168
- define :AGGREGATE_SESSIONS_REQUEST, 132
169
- define :AGGREGATE_SESSIONS_RESPONSE, 133
170
- define :RUNTOOL_REQUEST, 134
171
- define :RUNTOOL_RESPONSE, 135
172
- define :HA_CONTROL_REQUEST, 140
173
- define :HA_CONTROL_RESPONSE, 141
174
- define :DOMAIN_PING, 142
175
- define :TOOL_INFO_REQUEST, 143
176
- define :TOOL_INFO_RESPONSE, 144
177
- define :DDOS_REPORT_REQUEST, 153
178
- define :DDOS_REPORT_RESPONSE, 154
179
- end
180
-
181
- end
182
-
183
- class HelloRequest < ::Protobuf::Message; end
184
- class HelloResponse < ::Protobuf::Message; end
185
- class ErrorResponse < ::Protobuf::Message; end
186
- class OKResponse < ::Protobuf::Message; end
187
- class CounterItemRequest < ::Protobuf::Message; end
188
- class CounterItemResponse < ::Protobuf::Message; end
189
- class CounterGroupTopperRequest < ::Protobuf::Message; end
190
- class CounterGroupTopperResponse < ::Protobuf::Message; end
191
- class SearchKeysRequest < ::Protobuf::Message; end
192
- class SearchKeysResponse < ::Protobuf::Message; end
193
- class CounterGroupInfoRequest < ::Protobuf::Message; end
194
- class CounterGroupInfoResponse < ::Protobuf::Message; end
195
- class QuerySessionsRequest < ::Protobuf::Message; end
196
- class QuerySessionsResponse < ::Protobuf::Message; end
197
- class AggregateSessionsRequest < ::Protobuf::Message; end
198
- class AggregateSessionsResponse < ::Protobuf::Message
199
- class KeyTCount < ::Protobuf::Message; end
200
- class TagGroup < ::Protobuf::Message; end
201
-
202
- end
203
-
204
- class UpdateKeyRequest < ::Protobuf::Message; end
205
- class SessionTrackerRequest < ::Protobuf::Message; end
206
- class SessionTrackerResponse < ::Protobuf::Message; end
207
- class QueryAlertsRequest < ::Protobuf::Message; end
208
- class QueryAlertsResponse < ::Protobuf::Message; end
209
- class QueryResourcesRequest < ::Protobuf::Message; end
210
- class QueryResourcesResponse < ::Protobuf::Message; end
211
- class AggregateResourcesRequest < ::Protobuf::Message; end
212
- class AggregateResourcesResponse < ::Protobuf::Message
213
- class KeyTCount < ::Protobuf::Message; end
214
-
215
- end
216
-
217
- class KeySpaceRequest < ::Protobuf::Message
218
- class KeySpace < ::Protobuf::Message; end
219
-
220
- end
221
-
222
- class KeySpaceResponse < ::Protobuf::Message; end
223
- class TopperTrendRequest < ::Protobuf::Message; end
224
- class TopperTrendResponse < ::Protobuf::Message; end
225
- class SubscribeCtl < ::Protobuf::Message
226
- class StabberType < ::Protobuf::Enum
227
- define :ST_COUNTER_ITEM, 0
228
- define :ST_ALERT, 1
229
- define :ST_FLOW, 2
230
- define :ST_TOPPER, 3
231
- define :ST_ALL, 4
232
- end
233
-
234
- class CtlType < ::Protobuf::Enum
235
- define :CT_SUBSCRIBE, 0
236
- define :CT_UNSUBSCRIBE, 1
237
- define :CT_CLEARALL, 2
238
- end
239
-
240
- end
241
-
242
- class QueryFTSRequest < ::Protobuf::Message; end
243
- class QueryFTSResponse < ::Protobuf::Message; end
244
- class TimeSlicesRequest < ::Protobuf::Message; end
245
- class PcapSlicesRequest < ::Protobuf::Message; end
246
- class TimeSlicesResponse < ::Protobuf::Message
247
- class SliceT < ::Protobuf::Message; end
248
-
249
- end
250
-
251
- class DeleteAlertsRequest < ::Protobuf::Message; end
252
- class MetricsSummaryRequest < ::Protobuf::Message; end
253
- class MetricsSummaryResponse < ::Protobuf::Message; end
254
- class LogRequest < ::Protobuf::Message; end
255
- class LogResponse < ::Protobuf::Message; end
256
- class DomainRequest < ::Protobuf::Message; end
257
- class DomainResponse < ::Protobuf::Message
258
- class Node < ::Protobuf::Message; end
259
-
260
- end
261
-
262
- class HAControlRequest < ::Protobuf::Message
263
- class HAOperation < ::Protobuf::Enum
264
- define :HA_TEST_REACHABILITY, 0
265
- define :HA_SWITCH_BACKUP, 1
266
- define :HA_SWITCH_PRIMARY, 2
267
- end
268
-
269
- end
270
-
271
- class HAControlResponse < ::Protobuf::Message; end
272
- class ToolInfoRequest < ::Protobuf::Message; end
273
- class ToolInfoResponse < ::Protobuf::Message; end
274
- class NodeConfigRequest < ::Protobuf::Message
275
- class IntelFeed < ::Protobuf::Message; end
276
-
277
- end
278
-
279
- class NodeConfigResponse < ::Protobuf::Message
280
- class Node < ::Protobuf::Message; end
281
-
282
- end
283
-
284
- class ContextCreateRequest < ::Protobuf::Message; end
285
- class ContextInfoRequest < ::Protobuf::Message; end
286
- class ContextInfoResponse < ::Protobuf::Message
287
- class Item < ::Protobuf::Message; end
288
-
289
- end
290
-
291
- class ContextDeleteRequest < ::Protobuf::Message; end
292
- class ContextStartRequest < ::Protobuf::Message; end
293
- class ContextStopRequest < ::Protobuf::Message; end
294
- class ContextConfigRequest < ::Protobuf::Message; end
295
- class ContextConfigResponse < ::Protobuf::Message
296
- class Layer < ::Protobuf::Message; end
297
-
298
- end
299
-
300
- class PcapRequest < ::Protobuf::Message; end
301
- class PcapResponse < ::Protobuf::Message; end
302
- class GrepRequest < ::Protobuf::Message; end
303
- class GrepResponse < ::Protobuf::Message; end
304
- class ProbeStatsRequest < ::Protobuf::Message; end
305
- class ProbeStatsResponse < ::Protobuf::Message; end
306
- class AsyncResponse < ::Protobuf::Message; end
307
- class AsyncRequest < ::Protobuf::Message; end
308
- class FileRequest < ::Protobuf::Message; end
309
- class FileResponse < ::Protobuf::Message; end
310
- class GraphRequest < ::Protobuf::Message; end
311
- class GraphResponse < ::Protobuf::Message; end
312
- class RunToolRequest < ::Protobuf::Message
313
- class NodeTool < ::Protobuf::Enum
314
- define :PING, 1
315
- define :DF, 2
316
- define :GEOQUERY, 3
317
- define :TOP, 4
318
- define :BGPQUERY, 5
319
- end
320
-
321
- end
322
-
323
- class RunToolResponse < ::Protobuf::Message; end
324
- class DDosReportRequest < ::Protobuf::Message; end
325
- class DDosReportResponse < ::Protobuf::Message; end
326
-
327
-
328
- ##
329
- # File Options
330
- #
331
- set_option :optimize_for, ::Google::Protobuf::FileOptions::OptimizeMode::LITE_RUNTIME
332
-
333
-
334
- ##
335
- # Message Fields
336
- #
337
- class Timestamp
338
- required :int64, :tv_sec, 1
339
- optional :int64, :tv_usec, 2, :default => 0
340
- end
341
-
342
- class TimeInterval
343
- required ::TRP::Timestamp, :from, 1
344
- required ::TRP::Timestamp, :to, 2
345
- end
346
-
347
- class StatsTuple
348
- required ::TRP::Timestamp, :ts, 1
349
- required :int64, :val, 2
350
- end
351
-
352
- class StatsArray
353
- required :int64, :ts_tv_sec, 1
354
- repeated :int64, :values, 2
355
- end
356
-
357
- class MeterValues
358
- required :int32, :meter, 1
359
- repeated ::TRP::StatsTuple, :values, 2
360
- optional :int64, :total, 3
361
- optional :int64, :seconds, 4
362
- end
363
-
364
- class MeterInfo
365
- required :int32, :id, 1
366
- required ::TRP::MeterInfo::MeterType, :type, 2
367
- required :int32, :topcount, 3
368
- required :string, :name, 4
369
- optional :string, :description, 5
370
- optional :string, :units, 6
371
- end
372
-
373
- class KeyStats
374
- required :string, :counter_group, 2
375
- required ::TRP::KeyT, :key, 3
376
- repeated ::TRP::MeterValues, :meters, 4
377
- end
378
-
379
- class KeyT
380
- class NameValueT
381
- required :string, :attr_name, 1
382
- required :string, :attr_value, 2
383
- end
384
-
385
- class PercentileT
386
- required :int64, :rank, 1
387
- required :int64, :value, 2
388
- end
389
-
390
- optional :string, :key, 1
391
- optional :string, :readable, 2
392
- optional :string, :label, 3
393
- optional :string, :description, 4
394
- optional :int64, :metric, 5
395
- repeated ::TRP::KeyT::NameValueT, :attributes, 6
396
- optional :int64, :metric_max, 7
397
- optional :int64, :metric_min, 8
398
- optional :int64, :metric_avg, 9
399
- repeated ::TRP::KeyT::PercentileT, :percentiles, 10
400
- end
401
-
402
- class CounterGroupT
403
- class Crosskey
404
- required :string, :parentguid, 1
405
- required :string, :crosskeyguid_1, 2
406
- optional :string, :crosskeyguid_2, 3
407
- end
408
-
409
- required :string, :guid, 1
410
- required :string, :name, 2
411
- optional :int64, :bucket_size, 3
412
- optional ::TRP::TimeInterval, :time_interval, 4
413
- optional :int64, :topper_bucket_size, 5
414
- repeated ::TRP::MeterInfo, :meters, 6
415
- optional ::TRP::CounterGroupT::Crosskey, :crosskey, 7
416
- end
417
-
418
- class SessionT
419
- optional :string, :session_key, 1
420
- required :string, :session_id, 2
421
- optional :string, :user_label, 3
422
- required ::TRP::TimeInterval, :time_interval, 4
423
- optional :int64, :state, 5
424
- optional :int64, :az_bytes, 6
425
- optional :int64, :za_bytes, 7
426
- optional :int64, :az_packets, 8
427
- optional :int64, :za_packets, 9
428
- required ::TRP::KeyT, :key1A, 10
429
- required ::TRP::KeyT, :key2A, 11
430
- required ::TRP::KeyT, :key1Z, 12
431
- required ::TRP::KeyT, :key2Z, 13
432
- required ::TRP::KeyT, :protocol, 14
433
- optional ::TRP::KeyT, :nf_routerid, 15
434
- optional ::TRP::KeyT, :nf_ifindex_in, 16
435
- optional ::TRP::KeyT, :nf_ifindex_out, 17
436
- optional :string, :tags, 18
437
- optional :int64, :az_payload, 19
438
- optional :int64, :za_payload, 20
439
- optional :int64, :setup_rtt, 21
440
- optional :int64, :retransmissions, 22
441
- optional :int64, :tracker_statval, 23
442
- optional :string, :probe_id, 24
443
- end
444
-
445
- class AlertT
446
- optional :int64, :sensor_id, 1
447
- required ::TRP::Timestamp, :time, 2
448
- required :string, :alert_id, 3
449
- optional ::TRP::KeyT, :source_ip, 4
450
- optional ::TRP::KeyT, :source_port, 5
451
- optional ::TRP::KeyT, :destination_ip, 6
452
- optional ::TRP::KeyT, :destination_port, 7
453
- optional ::TRP::KeyT, :sigid, 8
454
- optional ::TRP::KeyT, :classification, 9
455
- optional ::TRP::KeyT, :priority, 10
456
- optional ::TRP::Timestamp, :dispatch_time, 11
457
- optional :string, :dispatch_message1, 12
458
- optional :string, :dispatch_message2, 13
459
- optional :int64, :occurrances, 14, :default => 1
460
- optional :string, :group_by_key, 15
461
- optional :string, :probe_id, 16
462
- optional :string, :alert_status, 17
463
- optional :int64, :acknowledge_flag, 18
464
- end
465
-
466
- class ResourceT
467
- required ::TRP::Timestamp, :time, 1
468
- required :string, :resource_id, 2
469
- optional ::TRP::KeyT, :source_ip, 3
470
- optional ::TRP::KeyT, :source_port, 4
471
- optional ::TRP::KeyT, :destination_ip, 5
472
- optional ::TRP::KeyT, :destination_port, 6
473
- optional :string, :uri, 7
474
- optional :string, :userlabel, 8
475
- optional :string, :probe_id, 9
476
- end
477
-
478
- class DocumentT
479
- class Flow
480
- required ::TRP::Timestamp, :time, 1
481
- required :string, :key, 2
482
- end
483
-
484
- required :string, :dockey, 1
485
- optional :string, :fts_attributes, 2
486
- optional :string, :fullcontent, 3
487
- repeated ::TRP::DocumentT::Flow, :flows, 4
488
- optional :string, :probe_id, 5
489
- end
490
-
491
- class VertexGroupT
492
- required :string, :vertex_group, 1
493
- repeated ::TRP::KeyT, :vertex_keys, 2
494
- end
495
-
496
- class EdgeGraphT
497
- required ::TRP::TimeInterval, :time_interval, 4
498
- repeated ::TRP::VertexGroupT, :vertex_groups, 3
499
- end
500
-
501
- class NameValue
502
- required :string, :name, 1
503
- optional :string, :value, 2
504
- end
505
-
506
- class ConfigBlob
507
- required :string, :filename, 1
508
- optional :bytes, :filecontents, 2
509
- end
510
-
511
- class Message
512
- required ::TRP::Message::Command, :trp_command, 1
513
- optional ::TRP::HelloRequest, :hello_request, 2
514
- optional ::TRP::HelloResponse, :hello_response, 3
515
- optional ::TRP::OKResponse, :ok_response, 4
516
- optional ::TRP::ErrorResponse, :error_response, 5
517
- optional ::TRP::CounterGroupTopperRequest, :counter_group_topper_request, 6
518
- optional ::TRP::CounterGroupTopperResponse, :counter_group_topper_response, 7
519
- optional ::TRP::CounterItemRequest, :counter_item_request, 8
520
- optional ::TRP::CounterItemResponse, :counter_item_response, 9
521
- optional ::TRP::PcapRequest, :pcap_request, 14
522
- optional ::TRP::PcapResponse, :pcap_response, 15
523
- optional ::TRP::SearchKeysRequest, :search_keys_request, 18
524
- optional ::TRP::SearchKeysResponse, :search_keys_response, 19
525
- optional ::TRP::CounterGroupInfoRequest, :counter_group_info_request, 20
526
- optional ::TRP::CounterGroupInfoResponse, :counter_group_info_response, 21
527
- optional ::TRP::UpdateKeyRequest, :update_key_request, 30
528
- optional ::TRP::QuerySessionsRequest, :query_sessions_request, 31
529
- optional ::TRP::QuerySessionsResponse, :query_sessions_response, 32
530
- optional ::TRP::SessionTrackerRequest, :session_tracker_request, 33
531
- optional ::TRP::SessionTrackerResponse, :session_tracker_response, 34
532
- optional ::TRP::ProbeStatsRequest, :probe_stats_request, 37
533
- optional ::TRP::ProbeStatsResponse, :probe_stats_response, 38
534
- optional ::TRP::QueryAlertsRequest, :query_alerts_request, 43
535
- optional ::TRP::QueryAlertsResponse, :query_alerts_response, 44
536
- optional ::TRP::QueryResourcesRequest, :query_resources_request, 47
537
- optional ::TRP::QueryResourcesResponse, :query_resources_response, 48
538
- optional ::TRP::GrepRequest, :grep_request, 51
539
- optional ::TRP::GrepResponse, :grep_response, 52
540
- optional ::TRP::TopperTrendRequest, :topper_trend_request, 55
541
- optional ::TRP::TopperTrendResponse, :topper_trend_response, 56
542
- optional ::TRP::SubscribeCtl, :subscribe_ctl, 59
543
- optional ::TRP::QueryFTSRequest, :query_fts_request, 60
544
- optional ::TRP::QueryFTSResponse, :query_fts_response, 61
545
- optional ::TRP::TimeSlicesRequest, :time_slices_request, 62
546
- optional ::TRP::TimeSlicesResponse, :time_slices_response, 63
547
- optional ::TRP::DeleteAlertsRequest, :delete_alerts_request, 64
548
- optional ::TRP::MetricsSummaryRequest, :metrics_summary_request, 65
549
- optional ::TRP::MetricsSummaryResponse, :metrics_summary_response, 66
550
- optional ::TRP::KeySpaceRequest, :key_space_request, 67
551
- optional ::TRP::KeySpaceResponse, :key_space_response, 68
552
- optional ::TRP::PcapSlicesRequest, :pcap_slices_request, 69
553
- optional ::TRP::LogRequest, :log_request, 105
554
- optional ::TRP::LogResponse, :log_response, 106
555
- optional ::TRP::ContextCreateRequest, :context_create_request, 108
556
- optional ::TRP::ContextDeleteRequest, :context_delete_request, 109
557
- optional ::TRP::ContextStartRequest, :context_start_request, 110
558
- optional ::TRP::ContextStopRequest, :context_stop_request, 111
559
- optional ::TRP::ContextConfigRequest, :context_config_request, 112
560
- optional ::TRP::ContextConfigResponse, :context_config_response, 113
561
- optional ::TRP::ContextInfoRequest, :context_info_request, 114
562
- optional ::TRP::ContextInfoResponse, :context_info_response, 115
563
- optional ::TRP::DomainRequest, :domain_request, 116
564
- optional ::TRP::DomainResponse, :domain_response, 117
565
- optional ::TRP::NodeConfigRequest, :node_config_request, 118
566
- optional ::TRP::NodeConfigResponse, :node_config_response, 119
567
- optional ::TRP::AsyncRequest, :async_request, 120
568
- optional ::TRP::AsyncResponse, :async_response, 121
569
- optional ::TRP::FileRequest, :file_request, 122
570
- optional ::TRP::FileResponse, :file_response, 123
571
- optional ::TRP::GraphRequest, :graph_request, 130
572
- optional ::TRP::GraphResponse, :graph_response, 131
573
- optional ::TRP::AggregateSessionsRequest, :aggregate_sessions_request, 140
574
- optional ::TRP::AggregateSessionsResponse, :aggregate_sessions_response, 141
575
- optional ::TRP::AggregateResourcesRequest, :aggregate_resources_request, 142
576
- optional ::TRP::AggregateResourcesResponse, :aggregate_resources_response, 143
577
- optional ::TRP::RunToolRequest, :run_tool_request, 144
578
- optional ::TRP::RunToolResponse, :run_tool_response, 145
579
- optional ::TRP::HAControlRequest, :ha_control_request, 150
580
- optional ::TRP::HAControlResponse, :ha_control_response, 151
581
- optional ::TRP::ToolInfoRequest, :tool_info_request, 152
582
- optional ::TRP::ToolInfoResponse, :tool_info_response, 153
583
- optional ::TRP::DDosReportRequest, :ddos_report_request, 154
584
- optional ::TRP::DDosReportResponse, :ddos_report_response, 155
585
- optional :string, :destination_node, 200
586
- optional :string, :probe_id, 201
587
- optional :bool, :run_async, 202
588
- end
589
-
590
- class HelloRequest
591
- required :string, :station_id, 1
592
- optional :string, :message, 2
593
- end
594
-
595
- class HelloResponse
596
- required :string, :station_id, 1
597
- optional :string, :station_id_request, 2
598
- optional :string, :message, 3
599
- optional :int64, :local_timestamp, 4
600
- optional :string, :local_timestamp_string, 5
601
- optional :bool, :is_primary, 6
602
- end
603
-
604
- class ErrorResponse
605
- required :int64, :original_command, 1
606
- required :int64, :error_code, 2
607
- required :string, :error_message, 3
608
- end
609
-
610
- class OKResponse
611
- required :int64, :original_command, 1
612
- optional :string, :message, 2
613
- end
614
-
615
- class CounterItemRequest
616
- required :string, :counter_group, 2
617
- optional :int64, :meter, 3
618
- required ::TRP::KeyT, :key, 4
619
- required ::TRP::TimeInterval, :time_interval, 5
620
- optional :int64, :volumes_only, 6, :default => 0
621
- optional :bool, :get_key_attributes, 7, :default => false
622
- optional :int64, :get_percentile, 8, :default => 0
623
- end
624
-
625
- class CounterItemResponse
626
- required :string, :counter_group, 1
627
- required ::TRP::KeyT, :key, 2
628
- optional ::TRP::StatsArray, :totals, 3
629
- repeated ::TRP::StatsArray, :stats, 4
630
- optional ::TRP::StatsArray, :maximums, 5
631
- optional ::TRP::StatsArray, :minimums, 6
632
- optional ::TRP::StatsArray, :samples, 8
633
- optional ::TRP::StatsArray, :percentiles, 9
634
- optional ::TRP::StatsArray, :latests, 10
635
- end
636
-
637
- class CounterGroupTopperRequest
638
- required :string, :counter_group, 2
639
- optional :int64, :meter, 3, :default => 0
640
- optional :int64, :maxitems, 4, :default => 100
641
- optional ::TRP::TimeInterval, :time_interval, 5
642
- optional ::TRP::Timestamp, :time_instant, 6
643
- optional :int64, :flags, 7
644
- optional :bool, :resolve_keys, 8, :default => true
645
- optional :string, :key_filter, 9
646
- optional :string, :inverse_key_filter, 10
647
- optional :bool, :get_key_attributes, 11, :default => false
648
- repeated :int64, :get_percentiles, 12
649
- end
650
-
651
- class CounterGroupTopperResponse
652
- required :string, :counter_group, 2
653
- required :int64, :meter, 3
654
- optional :int64, :sysgrouptotal, 4
655
- repeated ::TRP::KeyT, :keys, 6
656
- end
657
-
658
- class SearchKeysRequest
659
- required :string, :counter_group, 2
660
- optional :int64, :maxitems, 3, :default => 100
661
- optional :string, :pattern, 4
662
- optional :string, :label, 5
663
- repeated :string, :keys, 6
664
- optional :int64, :offset, 7, :default => 0
665
- optional :bool, :get_totals, 8, :default => false
666
- optional :bool, :get_attributes, 9, :default => false
667
- end
668
-
669
- class SearchKeysResponse
670
- required :string, :counter_group, 2
671
- repeated ::TRP::KeyT, :keys, 3
672
- optional :int64, :total_count, 4
673
- end
674
-
675
- class CounterGroupInfoRequest
676
- optional :string, :counter_group, 2
677
- optional :bool, :get_meter_info, 3, :default => false
678
- end
679
-
680
- class CounterGroupInfoResponse
681
- repeated ::TRP::CounterGroupT, :group_details, 2
682
- end
683
-
684
- class QuerySessionsRequest
685
- optional :string, :session_group, 2, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
686
- optional ::TRP::TimeInterval, :time_interval, 3
687
- optional :string, :key, 4
688
- optional ::TRP::KeyT, :source_ip, 5
689
- optional ::TRP::KeyT, :source_port, 6
690
- optional ::TRP::KeyT, :dest_ip, 7
691
- optional ::TRP::KeyT, :dest_port, 8
692
- optional ::TRP::KeyT, :any_ip, 9
693
- optional ::TRP::KeyT, :any_port, 10
694
- repeated ::TRP::KeyT, :ip_pair, 11
695
- optional ::TRP::KeyT, :protocol, 12
696
- optional :string, :flowtag, 13
697
- optional ::TRP::KeyT, :nf_routerid, 14
698
- optional ::TRP::KeyT, :nf_ifindex_in, 15
699
- optional ::TRP::KeyT, :nf_ifindex_out, 16
700
- optional :string, :subnet_24, 17
701
- optional :string, :subnet_16, 18
702
- optional :int64, :maxitems, 19, :default => 100
703
- optional :int64, :volume_filter, 20, :default => 0
704
- optional :bool, :resolve_keys, 21, :default => true
705
- optional :string, :outputpath, 22
706
- repeated :string, :idlist, 23
707
- optional ::TRP::KeyT, :any_nf_ifindex, 24
708
- end
709
-
710
- class QuerySessionsResponse
711
- required :string, :session_group, 2
712
- repeated ::TRP::SessionT, :sessions, 3
713
- optional :string, :outputpath, 4
714
- end
715
-
716
- class AggregateSessionsRequest
717
- optional :string, :session_group, 2, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
718
- optional ::TRP::TimeInterval, :time_interval, 3
719
- optional ::TRP::KeyT, :source_ip, 5
720
- optional ::TRP::KeyT, :source_port, 6
721
- optional ::TRP::KeyT, :dest_ip, 7
722
- optional ::TRP::KeyT, :dest_port, 8
723
- optional ::TRP::KeyT, :any_ip, 9
724
- optional ::TRP::KeyT, :any_port, 10
725
- repeated ::TRP::KeyT, :ip_pair, 11
726
- optional ::TRP::KeyT, :protocol, 12
727
- optional :string, :flowtag, 13
728
- optional ::TRP::KeyT, :nf_routerid, 14
729
- optional ::TRP::KeyT, :nf_ifindex_in, 15
730
- optional ::TRP::KeyT, :nf_ifindex_out, 16
731
- optional :string, :subnet_24, 17
732
- optional :string, :subnet_16, 18
733
- optional :int64, :aggregate_topcount, 19, :default => 100
734
- repeated :string, :group_by_fields, 20
735
- optional ::TRP::KeyT, :any_nf_ifindex, 21
736
- end
737
-
738
- class AggregateSessionsResponse
739
- class KeyTCount
740
- required ::TRP::KeyT, :key, 1
741
- required :int64, :count, 2
742
- required :int64, :metric, 3
743
- end
744
-
745
- class TagGroup
746
- required :string, :group_name, 1
747
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :tag_metrics, 2
748
- end
749
-
750
- required :string, :session_group, 2
751
- optional ::TRP::TimeInterval, :time_interval, 3
752
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :source_ip, 5
753
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :source_port, 6
754
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :dest_ip, 7
755
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :dest_port, 8
756
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :any_ip, 9
757
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :any_port, 10
758
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :ip_pair, 11
759
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :protocol, 12
760
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :flowtag, 13
761
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :nf_routerid, 14
762
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :nf_ifindex_in, 15
763
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :nf_ifindex_out, 16
764
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :subnet_24, 17
765
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :internal_port, 18
766
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :internal_ip, 19
767
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :external_ip, 20
768
- repeated ::TRP::AggregateSessionsResponse::TagGroup, :tag_group, 21
769
- repeated ::TRP::AggregateSessionsResponse::KeyTCount, :conversation, 22
770
- end
771
-
772
- class UpdateKeyRequest
773
- required :string, :counter_group, 2
774
- repeated ::TRP::KeyT, :keys, 4
775
- optional :bool, :remove_all_attributes, 5
776
- repeated :string, :remove_attributes, 6
777
- end
778
-
779
- class SessionTrackerRequest
780
- optional :string, :session_group, 2, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
781
- optional :int64, :tracker_id, 3
782
- optional :int64, :maxitems, 4, :default => 100
783
- required ::TRP::TimeInterval, :time_interval, 5
784
- optional :bool, :resolve_keys, 6, :default => true
785
- optional :string, :tracker_name, 7
786
- end
787
-
788
- class SessionTrackerResponse
789
- required :string, :session_group, 2
790
- repeated ::TRP::SessionT, :sessions, 3
791
- optional :int64, :tracker_id, 4
792
- end
793
-
794
- class QueryAlertsRequest
795
- required :string, :alert_group, 2
796
- optional ::TRP::TimeInterval, :time_interval, 3
797
- optional :int64, :maxitems, 5, :default => 100
798
- optional ::TRP::KeyT, :source_ip, 6
799
- optional ::TRP::KeyT, :source_port, 7
800
- optional ::TRP::KeyT, :destination_ip, 8
801
- optional ::TRP::KeyT, :destination_port, 9
802
- optional ::TRP::KeyT, :sigid, 10
803
- optional ::TRP::KeyT, :classification, 11
804
- optional ::TRP::KeyT, :priority, 12
805
- optional :string, :aux_message1, 13
806
- optional :string, :aux_message2, 14
807
- optional :string, :group_by_fieldname, 15
808
- repeated :string, :idlist, 16
809
- optional :bool, :resolve_keys, 17, :default => true
810
- optional ::TRP::KeyT, :any_ip, 18
811
- optional ::TRP::KeyT, :any_port, 19
812
- repeated ::TRP::KeyT, :ip_pair, 20
813
- optional :string, :message_regex, 21
814
- optional :bool, :approx_count_only, 22, :default => false
815
- end
816
-
817
- class QueryAlertsResponse
818
- required :string, :alert_group, 2
819
- repeated ::TRP::AlertT, :alerts, 3
820
- optional :int64, :approx_count, 4
821
- end
822
-
823
- class QueryResourcesRequest
824
- required :string, :resource_group, 2
825
- optional ::TRP::TimeInterval, :time_interval, 3
826
- optional :int64, :maxitems, 4, :default => 100
827
- optional ::TRP::KeyT, :source_ip, 5
828
- optional ::TRP::KeyT, :source_port, 6
829
- optional ::TRP::KeyT, :destination_ip, 7
830
- optional ::TRP::KeyT, :destination_port, 8
831
- optional :string, :uri_pattern, 9
832
- optional :string, :userlabel_pattern, 10
833
- repeated :string, :regex_uri, 12
834
- repeated :string, :idlist, 13
835
- optional :bool, :resolve_keys, 14, :default => true
836
- optional ::TRP::KeyT, :any_port, 15
837
- optional ::TRP::KeyT, :any_ip, 16
838
- repeated ::TRP::KeyT, :ip_pair, 17
839
- optional :bool, :approx_count_only, 18, :default => false
840
- repeated :string, :exclude_iplist, 19
841
- optional :bool, :invert_regex, 20, :default => false
842
- end
843
-
844
- class QueryResourcesResponse
845
- required :string, :resource_group, 2
846
- repeated ::TRP::ResourceT, :resources, 3
847
- optional :int64, :approx_count, 4
848
- end
849
-
850
- class AggregateResourcesRequest
851
- required ::TRP::QueryResourcesRequest, :query, 1
852
- optional :int64, :aggregate_topcount, 2, :default => 100
853
- end
854
-
855
- class AggregateResourcesResponse
856
- class KeyTCount
857
- required ::TRP::KeyT, :key, 1
858
- required :int64, :count, 2
859
- end
860
-
861
- repeated ::TRP::AggregateResourcesResponse::KeyTCount, :source_ip, 5
862
- repeated ::TRP::AggregateResourcesResponse::KeyTCount, :source_port, 6
863
- repeated ::TRP::AggregateResourcesResponse::KeyTCount, :destination_ip, 7
864
- repeated ::TRP::AggregateResourcesResponse::KeyTCount, :destination_port, 8
865
- repeated ::TRP::AggregateResourcesResponse::KeyTCount, :uri, 9
866
- repeated ::TRP::AggregateResourcesResponse::KeyTCount, :userlabel, 10
867
- end
868
-
869
- class KeySpaceRequest
870
- class KeySpace
871
- required ::TRP::KeyT, :from_key, 1
872
- required ::TRP::KeyT, :to_key, 2
873
- end
874
-
875
- required :string, :counter_group, 2
876
- required ::TRP::TimeInterval, :time_interval, 3
877
- optional :int64, :maxitems, 4, :default => 100
878
- repeated ::TRP::KeySpaceRequest::KeySpace, :spaces, 5
879
- optional :bool, :resolve_keys, 6, :default => true
880
- optional :bool, :totals_only, 7, :default => false
881
- optional :bool, :get_key_attributes, 8, :default => false
882
- end
883
-
884
- class KeySpaceResponse
885
- optional :string, :counter_group, 2
886
- repeated ::TRP::KeyT, :hits, 3
887
- optional :int64, :total_hits, 4
888
- end
889
-
890
- class TopperTrendRequest
891
- required :string, :counter_group, 2
892
- optional :int64, :meter, 3, :default => 0
893
- optional :int64, :maxitems, 4, :default => 100
894
- optional ::TRP::TimeInterval, :time_interval, 5
895
- optional :string, :key_filter, 6
896
- optional :string, :inverse_key_filter, 7
897
- optional :bool, :get_key_attributes, 8, :default => false
898
- optional :bool, :resolve_keys, 9, :default => true
899
- end
900
-
901
- class TopperTrendResponse
902
- required :string, :counter_group, 2
903
- required :int64, :meter, 3
904
- repeated ::TRP::KeyStats, :keytrends, 4
905
- end
906
-
907
- class SubscribeCtl
908
- required :string, :context_name, 1
909
- required ::TRP::SubscribeCtl::CtlType, :ctl, 2
910
- required ::TRP::SubscribeCtl::StabberType, :type, 3
911
- optional :string, :guid, 4
912
- optional :string, :key, 5
913
- optional :int64, :meterid, 6
914
- end
915
-
916
- class QueryFTSRequest
917
- required ::TRP::TimeInterval, :time_interval, 2
918
- required :string, :fts_group, 3
919
- required :string, :keywords, 4
920
- optional :int64, :maxitems, 5, :default => 100
921
- optional :bool, :approx_count_only, 6, :default => false
922
- end
923
-
924
- class QueryFTSResponse
925
- required :string, :fts_group, 2
926
- repeated ::TRP::DocumentT, :documents, 3
927
- optional :int64, :approx_count, 4
928
- end
929
-
930
- class TimeSlicesRequest
931
- optional :bool, :get_disk_usage, 1, :default => false
932
- optional :bool, :get_all_engines, 2, :default => false
933
- optional :bool, :get_total_window, 3, :default => false
934
- end
935
-
936
- class PcapSlicesRequest
937
- required :string, :context_name, 1
938
- optional :bool, :get_total_window, 2, :default => false
939
- end
940
-
941
- class TimeSlicesResponse
942
- class SliceT
943
- required ::TRP::TimeInterval, :time_interval, 1
944
- optional :string, :name, 2
945
- optional :string, :status, 3
946
- optional :int64, :disk_size, 4
947
- optional :string, :path, 5
948
- optional :bool, :available, 6
949
- end
950
-
951
- repeated ::TRP::TimeSlicesResponse::SliceT, :slices, 1
952
- optional ::TRP::TimeInterval, :total_window, 2
953
- optional :string, :context_name, 3
954
- end
955
-
956
- class DeleteAlertsRequest
957
- required :string, :alert_group, 2
958
- required ::TRP::TimeInterval, :time_interval, 3
959
- optional ::TRP::KeyT, :source_ip, 6
960
- optional ::TRP::KeyT, :source_port, 7
961
- optional ::TRP::KeyT, :destination_ip, 8
962
- optional ::TRP::KeyT, :destination_port, 9
963
- optional ::TRP::KeyT, :sigid, 10
964
- optional ::TRP::KeyT, :classification, 11
965
- optional ::TRP::KeyT, :priority, 12
966
- optional ::TRP::KeyT, :any_ip, 18
967
- optional ::TRP::KeyT, :any_port, 19
968
- optional :string, :message_regex, 21
969
- end
970
-
971
- class MetricsSummaryRequest
972
- optional ::TRP::TimeInterval, :time_interval, 1
973
- required :string, :metric_name, 2
974
- optional :bool, :totals_only, 3, :default => true
975
- end
976
-
977
- class MetricsSummaryResponse
978
- required :string, :metric_name, 2
979
- repeated ::TRP::StatsTuple, :vals, 3
980
- end
981
-
982
- class LogRequest
983
- required :string, :context_name, 1
984
- required :string, :log_type, 2
985
- optional :string, :regex_filter, 4
986
- optional :int64, :maxlines, 5, :default => 1000
987
- optional :string, :continue_logfilename, 6
988
- optional :int64, :continue_seekpos, 7
989
- optional :bool, :latest_run_only, 8, :default => false
990
- end
991
-
992
- class LogResponse
993
- required :string, :context_name, 1
994
- optional :string, :logfilename, 6
995
- optional :int64, :seekpos, 7
996
- repeated :string, :log_lines, 8
997
- end
998
-
999
- class DomainRequest
1000
- required ::TRP::DomainOperation, :cmd, 1
1001
- optional :string, :station_id, 2
1002
- optional :string, :params, 3
1003
- optional ::TRP::DomainNodeType, :nodetype, 4
1004
- end
1005
-
1006
- class DomainResponse
1007
- class Node
1008
- required :string, :id, 1
1009
- required ::TRP::DomainNodeType, :nodetype, 2
1010
- optional :string, :station_id, 3
1011
- optional :string, :extra_info, 4
1012
- optional ::TRP::Timestamp, :register_time, 5
1013
- optional ::TRP::Timestamp, :heartbeat_time, 6
1014
- optional :bool, :is_primary, 7, :default => true
1015
- end
1016
-
1017
- required ::TRP::DomainOperation, :cmd, 1
1018
- repeated ::TRP::DomainResponse::Node, :nodes, 2
1019
- optional :string, :req_params, 3
1020
- optional :string, :params, 4
1021
- optional :bool, :need_reconnect, 5, :default => false
1022
- end
1023
-
1024
- class HAControlRequest
1025
- required ::TRP::HAControlRequest::HAOperation, :cmd, 1
1026
- optional :string, :station_id, 2
1027
- optional :string, :params, 3
1028
- end
1029
-
1030
- class HAControlResponse
1031
- optional :bool, :control_success, 1
1032
- optional :string, :station_id, 2
1033
- optional :string, :status_message, 3
1034
- optional :bool, :primary_reachable, 4
1035
- optional :bool, :backup_reachable, 5
1036
- end
1037
-
1038
- class ToolInfoRequest
1039
- optional :string, :context_name, 1
1040
- optional :string, :tool_name, 2
1041
- repeated :string, :tool_info_requested, 3
1042
- end
1043
-
1044
- class ToolInfoResponse
1045
- repeated ::TRP::NameValue, :tool_info, 1
1046
- end
1047
-
1048
- class NodeConfigRequest
1049
- class IntelFeed
1050
- required :string, :guid, 1
1051
- optional :string, :name, 2
1052
- optional :string, :download_rules, 3
1053
- repeated :string, :uri, 4
1054
- repeated :string, :usernodes, 5
1055
- optional :int64, :sub_feed_id, 6, :default => -1
1056
- optional :bool, :restore_mode, 7, :default => false
1057
- end
1058
-
1059
- optional :string, :message, 1
1060
- optional ::TRP::NodeConfigRequest::IntelFeed, :add_feed, 2
1061
- optional ::TRP::NodeConfigRequest::IntelFeed, :process_new_feed, 3
1062
- optional :bool, :get_all_nodes, 4, :default => true
1063
- repeated ::TRP::NameValue, :query_config, 5
1064
- optional ::TRP::NodeConfigRequest::IntelFeed, :remove_feed, 6
1065
- end
1066
-
1067
- class NodeConfigResponse
1068
- class Node
1069
- required :string, :id, 1
1070
- required ::TRP::DomainNodeType, :nodetype, 2
1071
- required :string, :description, 3
1072
- required :string, :public_key, 4
1073
- end
1074
-
1075
- repeated ::TRP::NodeConfigResponse::Node, :domains, 1
1076
- repeated ::TRP::NodeConfigResponse::Node, :hubs, 2
1077
- repeated ::TRP::NodeConfigResponse::Node, :probes, 3
1078
- repeated :string, :feeds, 4
1079
- repeated ::TRP::NameValue, :config_values, 5
1080
- end
1081
-
1082
- class ContextCreateRequest
1083
- required :string, :context_name, 1
1084
- optional :string, :clone_from, 2
1085
- end
1086
-
1087
- class ContextInfoRequest
1088
- optional :string, :context_name, 1
1089
- optional :bool, :get_size_on_disk, 2, :default => false
1090
- optional :string, :tool_name, 3
1091
- end
1092
-
1093
- class ContextInfoResponse
1094
- class Item
1095
- required :string, :context_name, 1
1096
- required :bool, :is_initialized, 2
1097
- required :bool, :is_running, 3
1098
- optional :int64, :size_on_disk, 4
1099
- optional ::TRP::TimeInterval, :time_interval, 5
1100
- optional :bool, :is_clean, 6
1101
- optional :string, :extrainfo, 7
1102
- repeated ::TRP::TimeInterval, :run_history, 8
1103
- optional :string, :profile, 9
1104
- optional :string, :runmode, 10
1105
- optional :string, :node_version, 11
1106
- end
1107
-
1108
- repeated ::TRP::ContextInfoResponse::Item, :items, 1
1109
- end
1110
-
1111
- class ContextDeleteRequest
1112
- required :string, :context_name, 1
1113
- optional :bool, :reset_data, 2
1114
- end
1115
-
1116
- class ContextStartRequest
1117
- required :string, :context_name, 1
1118
- optional :string, :mode, 2
1119
- optional :bool, :background, 3, :default => true
1120
- optional :string, :pcap_path, 4
1121
- optional :string, :run_tool, 5
1122
- optional :string, :tool_ids_config, 6
1123
- optional :string, :tool_av_config, 7
1124
- optional :string, :cmd_in, 8
1125
- optional :string, :cmd_out, 9
1126
- optional :string, :cmd_args, 10
1127
- end
1128
-
1129
- class ContextStopRequest
1130
- required :string, :context_name, 1
1131
- optional :string, :run_tool, 5
1132
- end
1133
-
1134
- class ContextConfigRequest
1135
- required :string, :context_name, 1
1136
- optional :string, :profile, 2
1137
- optional :string, :params, 3
1138
- optional :bytes, :push_config_blob, 4
1139
- repeated ::TRP::NameValue, :query_config, 5
1140
- repeated ::TRP::NameValue, :set_config_values, 6
1141
- optional ::TRP::ConfigBlob, :get_generic_blob, 8
1142
- optional ::TRP::ConfigBlob, :push_generic_blob, 9
1143
- end
1144
-
1145
- class ContextConfigResponse
1146
- class Layer
1147
- required :int64, :layer, 1
1148
- required :string, :probe_id, 2
1149
- optional :string, :probe_description, 3
1150
- end
1151
-
1152
- required :string, :context_name, 1
1153
- optional :string, :profile, 2
1154
- optional :string, :params, 3
1155
- optional :bytes, :pull_config_blob, 4
1156
- optional :bytes, :config_blob, 5
1157
- repeated :string, :endpoints_flush, 6
1158
- repeated :string, :endpoints_query, 7
1159
- repeated :string, :endpoints_pub, 8
1160
- repeated ::TRP::NameValue, :config_values, 10
1161
- repeated ::TRP::ContextConfigResponse::Layer, :layers, 11
1162
- optional ::TRP::ConfigBlob, :generic_blob, 12
1163
- end
1164
-
1165
- class PcapRequest
1166
- required :string, :context_name, 1
1167
- optional :int64, :max_bytes, 2, :default => 100000000
1168
- optional ::TRP::CompressionType, :compress_type, 3, :default => ::TRP::CompressionType::UNCOMPRESSED
1169
- optional ::TRP::TimeInterval, :time_interval, 4
1170
- optional :string, :save_file_prefix, 5
1171
- optional :string, :filter_expression, 6
1172
- repeated :string, :merge_pcap_files, 7
1173
- optional :bool, :delete_after_merge, 8, :default => true
1174
- optional ::TRP::PcapFormat, :format, 9, :default => ::TRP::PcapFormat::LIBPCAP
1175
- end
1176
-
1177
- class PcapResponse
1178
- required :string, :context_name, 1
1179
- optional ::TRP::PcapFormat, :format, 2, :default => ::TRP::PcapFormat::LIBPCAP
1180
- optional ::TRP::CompressionType, :compress_type, 3, :default => ::TRP::CompressionType::UNCOMPRESSED
1181
- optional ::TRP::TimeInterval, :time_interval, 4
1182
- optional :int64, :num_bytes, 5
1183
- optional :string, :sha1, 6
1184
- optional :bytes, :contents, 7
1185
- optional :string, :save_file, 8
1186
- end
1187
-
1188
- class GrepRequest
1189
- required :string, :context_name, 1
1190
- required ::TRP::TimeInterval, :time_interval, 2
1191
- optional :int64, :maxitems, 3, :default => 100
1192
- optional :int64, :flowcutoff_bytes, 4
1193
- optional :string, :pattern_hex, 5
1194
- optional :string, :pattern_text, 6
1195
- optional :string, :pattern_file, 7
1196
- repeated :string, :md5list, 8
1197
- optional :bool, :resolve_keys, 9, :default => true
1198
- end
1199
-
1200
- class GrepResponse
1201
- required :string, :context_name, 1
1202
- repeated ::TRP::SessionT, :sessions, 2
1203
- repeated :string, :hints, 3
1204
- optional :string, :probe_id, 4
1205
- end
1206
-
1207
- class ProbeStatsRequest
1208
- required :string, :context_name, 1
1209
- optional :string, :param, 2
1210
- end
1211
-
1212
- class ProbeStatsResponse
1213
- required :string, :context_name, 1
1214
- required :string, :instance_name, 2
1215
- required :int64, :connections, 3
1216
- required :int64, :uptime_seconds, 4
1217
- required :double, :cpu_usage_percent_trisul, 5
1218
- required :double, :cpu_usage_percent_total, 6
1219
- required :double, :mem_usage_trisul, 7
1220
- required :double, :mem_usage_total, 8
1221
- required :double, :mem_total, 9
1222
- required :double, :drop_percent_cap, 10
1223
- required :double, :drop_percent_trisul, 11
1224
- optional :int64, :proc_bytes, 12
1225
- optional :int64, :proc_packets, 13
1226
- optional :string, :offline_pcap_file, 14
1227
- optional :bool, :is_running, 15
1228
- end
1229
-
1230
- class AsyncResponse
1231
- required :int64, :token, 1
1232
- optional :string, :response_message, 3
1233
- optional ::TRP::Message, :response, 4
1234
- end
1235
-
1236
- class AsyncRequest
1237
- required :int64, :token, 1
1238
- optional :string, :request_message, 2
1239
- end
1240
-
1241
- class FileRequest
1242
- required :string, :uri, 1
1243
- required :int64, :position, 2
1244
- optional :string, :params, 3
1245
- optional :string, :context_name, 4
1246
- optional :bool, :delete_on_eof, 5, :default => false
1247
- end
1248
-
1249
- class FileResponse
1250
- required :string, :uri, 1
1251
- required :bool, :eof, 2
1252
- optional :int64, :position, 3
1253
- optional :bytes, :content, 4
1254
- optional :string, :request_params, 5
1255
- optional :string, :context_name, 6
1256
- end
1257
-
1258
- class GraphRequest
1259
- required ::TRP::TimeInterval, :time_interval, 1
1260
- required :string, :subject_group, 2
1261
- required ::TRP::KeyT, :subject_key, 3
1262
- optional :string, :vertex_group, 4
1263
- end
1264
-
1265
- class GraphResponse
1266
- required :string, :subject_group, 1
1267
- required ::TRP::KeyT, :subject_key, 2
1268
- repeated ::TRP::EdgeGraphT, :graphs, 3
1269
- end
1270
-
1271
- class RunToolRequest
1272
- required :string, :context_name, 1
1273
- required ::TRP::RunToolRequest::NodeTool, :tool, 2
1274
- optional :string, :tool_input, 3
1275
- optional :string, :tool_input_file_data, 4
1276
- end
1277
-
1278
- class RunToolResponse
1279
- required :string, :context_name, 1
1280
- optional :string, :tool_output, 2
1281
- end
1282
-
1283
- class DDosReportRequest
1284
- required :string, :context_name, 1
1285
- required :string, :report_name, 2
1286
- optional :bool, :get_aggregations, 3
1287
- optional :bool, :get_raw_flows, 4
1288
- end
1289
-
1290
- class DDosReportResponse
1291
- required :string, :context_name, 1
1292
- optional :string, :agg_router, 2
1293
- optional :string, :agg_source_ip, 3
1294
- optional :string, :agg_source_port, 4
1295
- optional :string, :agg_source_protocol_port, 5
1296
- optional :string, :agg_dest_ip, 6
1297
- optional :string, :agg_dest_port, 7
1298
- optional :string, :agg_protocol, 8
1299
- optional :string, :agg_source_as, 9
1300
- optional :string, :agg_dest_as, 10
1301
- optional :string, :agg_if_in, 11
1302
- optional :string, :agg_if_out, 12
1303
- end
1304
-
1305
- end
1306
-