trisulrp 2.2.8 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,216 +1,311 @@
1
- #!/usr/bin/env ruby
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
1
+ # encoding: utf-8
3
2
 
4
- require 'protocol_buffers'
3
+ ##
4
+ # This file is auto-generated. DO NOT EDIT!
5
+ #
6
+ require 'protobuf/message'
5
7
 
6
8
  module TRP
7
- # forward declarations
8
- class Timestamp < ::ProtocolBuffers::Message; end
9
- class TimeInterval < ::ProtocolBuffers::Message; end
10
- class StatsTuple < ::ProtocolBuffers::Message; end
11
- class MeterValues < ::ProtocolBuffers::Message; end
12
- class MeterInfo < ::ProtocolBuffers::Message; end
13
- class KeyStats < ::ProtocolBuffers::Message; end
14
- class KeyDetails < ::ProtocolBuffers::Message; end
15
- class SessionID < ::ProtocolBuffers::Message; end
16
- class AlertID < ::ProtocolBuffers::Message; end
17
- class ResourceID < ::ProtocolBuffers::Message; end
18
- class CounterGroupDetails < ::ProtocolBuffers::Message; end
19
- class SessionDetails < ::ProtocolBuffers::Message; end
20
- class PDPDetails < ::ProtocolBuffers::Message; end
21
- class Message < ::ProtocolBuffers::Message; end
22
- class HelloRequest < ::ProtocolBuffers::Message; end
23
- class HelloResponse < ::ProtocolBuffers::Message; end
24
- class ErrorResponse < ::ProtocolBuffers::Message; end
25
- class OKResponse < ::ProtocolBuffers::Message; end
26
- class ReleaseContextRequest < ::ProtocolBuffers::Message; end
27
- class CounterItemRequest < ::ProtocolBuffers::Message; end
28
- class CounterItemResponse < ::ProtocolBuffers::Message; end
29
- class BulkCounterItemRequest < ::ProtocolBuffers::Message; end
30
- class BulkCounterItemResponse < ::ProtocolBuffers::Message; end
31
- class CounterGroupRequest < ::ProtocolBuffers::Message; end
32
- class CounterGroupResponse < ::ProtocolBuffers::Message; end
33
- class FilteredDatagramRequest < ::ProtocolBuffers::Message; end
34
- class FilteredDatagramResponse < ::ProtocolBuffers::Message; end
35
- class ControlledContextRequest < ::ProtocolBuffers::Message; end
36
- class ControlledContextResponse < ::ProtocolBuffers::Message; end
37
- class SearchKeysRequest < ::ProtocolBuffers::Message; end
38
- class SearchKeysResponse < ::ProtocolBuffers::Message; end
39
- class CounterGroupInfoRequest < ::ProtocolBuffers::Message; end
40
- class CounterGroupInfoResponse < ::ProtocolBuffers::Message; end
41
- class SessionItemRequest < ::ProtocolBuffers::Message; end
42
- class SessionItemResponse < ::ProtocolBuffers::Message; end
43
- class QuerySessionsRequest < ::ProtocolBuffers::Message; end
44
- class QuerySessionsResponse < ::ProtocolBuffers::Message; end
45
- class UpdateKeyRequest < ::ProtocolBuffers::Message; end
46
- class SessionTrackerRequest < ::ProtocolBuffers::Message; end
47
- class SessionTrackerResponse < ::ProtocolBuffers::Message; end
48
- class SessionGroupRequest < ::ProtocolBuffers::Message; end
49
- class SessionGroupResponse < ::ProtocolBuffers::Message; end
50
- class ServerStatsRequest < ::ProtocolBuffers::Message; end
51
- class ServerStatsResponse < ::ProtocolBuffers::Message; end
52
- class AlertItemRequest < ::ProtocolBuffers::Message; end
53
- class AlertItemResponse < ::ProtocolBuffers::Message; end
54
- class AlertGroupRequest < ::ProtocolBuffers::Message; end
55
- class AlertGroupResponse < ::ProtocolBuffers::Message; end
56
- class ResourceItemRequest < ::ProtocolBuffers::Message; end
57
- class ResourceItemResponse < ::ProtocolBuffers::Message; end
58
- class ResourceGroupRequest < ::ProtocolBuffers::Message; end
59
- class ResourceGroupResponse < ::ProtocolBuffers::Message; end
60
- class KeyLookupRequest < ::ProtocolBuffers::Message; end
61
- class KeyLookupResponse < ::ProtocolBuffers::Message; end
62
- class GrepRequest < ::ProtocolBuffers::Message; end
63
- class GrepResponse < ::ProtocolBuffers::Message; end
64
- class KeySpaceRequest < ::ProtocolBuffers::Message; end
65
- class KeySpaceResponse < ::ProtocolBuffers::Message; end
66
- class TopperTrendRequest < ::ProtocolBuffers::Message; end
67
- class TopperTrendResponse < ::ProtocolBuffers::Message; end
68
- class QueryPDPRequest < ::ProtocolBuffers::Message; end
69
- class QueryPDPResponse < ::ProtocolBuffers::Message; end
70
- class SubscribeCtl < ::ProtocolBuffers::Message; end
71
-
72
- # enums
73
- module AuthLevel
74
- include ::ProtocolBuffers::Enum
75
-
76
- set_fully_qualified_name "TRP.AuthLevel"
77
-
78
- ADMIN = 1
79
- BASIC_USER = 2
80
- FORENSIC_USER = 3
81
- BLOCKED_USER = 4
82
- end
83
-
84
- module CompressionType
85
- include ::ProtocolBuffers::Enum
86
-
87
- set_fully_qualified_name "TRP.CompressionType"
88
-
89
- UNCOMPRESSED = 1
90
- GZIP = 2
91
- end
92
-
93
- module PcapFormat
94
- include ::ProtocolBuffers::Enum
95
-
96
- set_fully_qualified_name "TRP.PcapFormat"
97
-
98
- LIBPCAP = 1
99
- UNSNIFF = 2
100
- end
101
-
102
- module PcapDisposition
103
- include ::ProtocolBuffers::Enum
104
-
105
- set_fully_qualified_name "TRP.PcapDisposition"
106
-
107
- DOWNLOAD = 1
108
- SAVE_ON_SERVER = 2
109
- end
110
-
111
- class Timestamp < ::ProtocolBuffers::Message
112
- set_fully_qualified_name "TRP.Timestamp"
113
9
 
114
- required :int64, :tv_sec, 1
115
- optional :int64, :tv_usec, 2, :default => 0
10
+ ##
11
+ # Enum Classes
12
+ #
13
+ class AuthLevel < ::Protobuf::Enum
14
+ define :ADMIN, 1
15
+ define :BASIC_USER, 2
16
+ define :FORENSIC_USER, 3
17
+ define :BLOCKED_USER, 4
18
+ end
19
+
20
+ class CompressionType < ::Protobuf::Enum
21
+ define :UNCOMPRESSED, 1
22
+ define :GZIP, 2
23
+ end
24
+
25
+ class PcapFormat < ::Protobuf::Enum
26
+ define :LIBPCAP, 1
27
+ define :UNSNIFF, 2
28
+ end
29
+
30
+ class DomainNodeType < ::Protobuf::Enum
31
+ define :HUB, 0
32
+ define :PROBE, 1
33
+ define :CONFIG, 2
34
+ define :ROUTER, 3
35
+ define :WEB, 4
36
+ define :MONITOR, 5
37
+ end
38
+
39
+ class DomainOperation < ::Protobuf::Enum
40
+ define :GETNODES, 1
41
+ define :HEARTBEAT, 2
42
+ define :REGISTER, 3
43
+ end
44
+
45
+
46
+ ##
47
+ # Message Classes
48
+ #
49
+ class Timestamp < ::Protobuf::Message; end
50
+ class TimeInterval < ::Protobuf::Message; end
51
+ class StatsTuple < ::Protobuf::Message; end
52
+ class StatsArray < ::Protobuf::Message; end
53
+ class MeterValues < ::Protobuf::Message; end
54
+ class MeterInfo < ::Protobuf::Message
55
+ class MeterType < ::Protobuf::Enum
56
+ define :VT_INVALID, 0
57
+ define :VT_RATE_COUNTER_WITH_SLIDING_WINDOW, 1
58
+ define :VT_COUNTER, 2
59
+ define :VT_COUNTER_WITH_SLIDING_WINDOW, 3
60
+ define :VT_RATE_COUNTER, 4
61
+ define :VT_GAUGE, 5
62
+ define :VT_GAUGE_MIN_MAX_AVG, 6
63
+ define :VT_AUTO, 7
64
+ define :VT_RUNNING_COUNTER, 8
65
+ define :VT_AVERAGE, 9
66
+ end
67
+
116
68
  end
117
69
 
118
- class TimeInterval < ::ProtocolBuffers::Message
119
- set_fully_qualified_name "TRP.TimeInterval"
70
+ class KeyStats < ::Protobuf::Message; end
71
+ class KeyT < ::Protobuf::Message; end
72
+ class CounterGroupT < ::Protobuf::Message; end
73
+ class SessionT < ::Protobuf::Message; end
74
+ class AlertT < ::Protobuf::Message; end
75
+ class ResourceT < ::Protobuf::Message; end
76
+ class DocumentT < ::Protobuf::Message
77
+ class Flow < ::Protobuf::Message; end
78
+
79
+ end
80
+
81
+ class NameValue < ::Protobuf::Message; end
82
+ class Message < ::Protobuf::Message
83
+ class Command < ::Protobuf::Enum
84
+ define :HELLO_REQUEST, 1
85
+ define :HELLO_RESPONSE, 2
86
+ define :OK_RESPONSE, 3
87
+ define :ERROR_RESPONSE, 5
88
+ define :COUNTER_GROUP_TOPPER_REQUEST, 6
89
+ define :COUNTER_GROUP_TOPPER_RESPONSE, 7
90
+ define :COUNTER_ITEM_REQUEST, 8
91
+ define :COUNTER_ITEM_RESPONSE, 9
92
+ define :PCAP_REQUEST, 14
93
+ define :PCAP_RESPONSE, 15
94
+ define :SEARCH_KEYS_REQUEST, 18
95
+ define :SEARCH_KEYS_RESPONSE, 19
96
+ define :COUNTER_GROUP_INFO_REQUEST, 20
97
+ define :COUNTER_GROUP_INFO_RESPONSE, 21
98
+ define :SESSION_TRACKER_REQUEST, 22
99
+ define :SESSION_TRACKER_RESPONSE, 23
100
+ define :UPDATE_KEY_REQUEST, 32
101
+ define :UPDATE_KEY_RESPONSE, 33
102
+ define :QUERY_SESSIONS_REQUEST, 34
103
+ define :QUERY_SESSIONS_RESPONSE, 35
104
+ define :PROBE_STATS_REQUEST, 38
105
+ define :PROBE_STATS_RESPONSE, 39
106
+ define :QUERY_ALERTS_REQUEST, 44
107
+ define :QUERY_ALERTS_RESPONSE, 45
108
+ define :QUERY_RESOURCES_REQUEST, 48
109
+ define :QUERY_RESOURCES_RESPONSE, 49
110
+ define :GREP_REQUEST, 60
111
+ define :GREP_RESPONSE, 61
112
+ define :KEYSPACE_REQUEST, 70
113
+ define :KEYSPACE_RESPONSE, 71
114
+ define :TOPPER_TREND_REQUEST, 72
115
+ define :TOPPER_TREND_RESPONSE, 73
116
+ define :STAB_PUBSUB_CTL, 80
117
+ define :QUERY_FTS_REQUEST, 90
118
+ define :QUERY_FTS_RESPONSE, 91
119
+ define :TIMESLICES_REQUEST, 92
120
+ define :TIMESLICES_RESPONSE, 93
121
+ define :DELETE_ALERTS_REQUEST, 94
122
+ define :METRICS_SUMMARY_REQUEST, 95
123
+ define :METRICS_SUMMARY_RESPONSE, 96
124
+ define :PCAP_SLICES_REQUEST, 97
125
+ define :SERVICE_REQUEST, 101
126
+ define :SERVICE_RESPONSE, 102
127
+ define :CONFIG_REQUEST, 103
128
+ define :CONFIG_RESPONSE, 104
129
+ define :LOG_REQUEST, 105
130
+ define :LOG_RESPONSE, 106
131
+ define :CONTEXT_CREATE_REQUEST, 108
132
+ define :CONTEXT_DELETE_REQUEST, 109
133
+ define :CONTEXT_START_REQUEST, 110
134
+ define :CONTEXT_STOP_REQUEST, 111
135
+ define :CONTEXT_INFO_REQUEST, 112
136
+ define :CONTEXT_INFO_RESPONSE, 113
137
+ define :CONTEXT_CONFIG_REQUEST, 114
138
+ define :CONTEXT_CONFIG_RESPONSE, 115
139
+ define :DOMAIN_REQUEST, 116
140
+ define :DOMAIN_RESPONSE, 117
141
+ define :NODE_CONFIG_REQUEST, 118
142
+ define :NODE_CONFIG_RESPONSE, 119
143
+ define :ASYNC_REQUEST, 120
144
+ define :ASYNC_RESPONSE, 121
145
+ define :FILE_REQUEST, 122
146
+ define :FILE_RESPONSE, 123
147
+ define :SUBSYSTEM_INIT, 124
148
+ define :SUBSYSTEM_EXIT, 125
149
+ end
120
150
 
121
- required ::TRP::Timestamp, :from, 1
122
- required ::TRP::Timestamp, :to, 2
123
151
  end
124
152
 
125
- class StatsTuple < ::ProtocolBuffers::Message
126
- set_fully_qualified_name "TRP.StatsTuple"
153
+ class HelloRequest < ::Protobuf::Message; end
154
+ class HelloResponse < ::Protobuf::Message; end
155
+ class ErrorResponse < ::Protobuf::Message; end
156
+ class OKResponse < ::Protobuf::Message; end
157
+ class CounterItemRequest < ::Protobuf::Message; end
158
+ class CounterItemResponse < ::Protobuf::Message; end
159
+ class CounterGroupTopperRequest < ::Protobuf::Message; end
160
+ class CounterGroupTopperResponse < ::Protobuf::Message; end
161
+ class SearchKeysRequest < ::Protobuf::Message; end
162
+ class SearchKeysResponse < ::Protobuf::Message; end
163
+ class CounterGroupInfoRequest < ::Protobuf::Message; end
164
+ class CounterGroupInfoResponse < ::Protobuf::Message; end
165
+ class QuerySessionsRequest < ::Protobuf::Message; end
166
+ class QuerySessionsResponse < ::Protobuf::Message; end
167
+ class UpdateKeyRequest < ::Protobuf::Message; end
168
+ class SessionTrackerRequest < ::Protobuf::Message; end
169
+ class SessionTrackerResponse < ::Protobuf::Message; end
170
+ class QueryAlertsRequest < ::Protobuf::Message; end
171
+ class QueryAlertsResponse < ::Protobuf::Message; end
172
+ class QueryResourcesRequest < ::Protobuf::Message; end
173
+ class QueryResourcesResponse < ::Protobuf::Message; end
174
+ class KeySpaceRequest < ::Protobuf::Message
175
+ class KeySpace < ::Protobuf::Message; end
176
+
177
+ end
178
+
179
+ class KeySpaceResponse < ::Protobuf::Message; end
180
+ class TopperTrendRequest < ::Protobuf::Message; end
181
+ class TopperTrendResponse < ::Protobuf::Message; end
182
+ class SubscribeCtl < ::Protobuf::Message
183
+ class StabberType < ::Protobuf::Enum
184
+ define :ST_COUNTER_ITEM, 0
185
+ define :ST_ALERT, 1
186
+ define :ST_FLOW, 2
187
+ define :ST_TOPPER, 3
188
+ end
189
+
190
+ class CtlType < ::Protobuf::Enum
191
+ define :CT_SUBSCRIBE, 0
192
+ define :CT_UNSUBSCRIBE, 1
193
+ end
127
194
 
128
- required ::TRP::Timestamp, :ts, 1
129
- required :int64, :val, 2
130
195
  end
131
196
 
132
- class MeterValues < ::ProtocolBuffers::Message
133
- set_fully_qualified_name "TRP.MeterValues"
197
+ class QueryFTSRequest < ::Protobuf::Message; end
198
+ class QueryFTSResponse < ::Protobuf::Message; end
199
+ class TimeSlicesRequest < ::Protobuf::Message; end
200
+ class PcapSlicesRequest < ::Protobuf::Message; end
201
+ class TimeSlicesResponse < ::Protobuf::Message
202
+ class SliceT < ::Protobuf::Message; end
134
203
 
135
- required :int32, :meter, 1
136
- repeated ::TRP::StatsTuple, :values, 2
137
- optional :int64, :total, 3
138
- optional :int64, :seconds, 4
139
204
  end
140
205
 
141
- class MeterInfo < ::ProtocolBuffers::Message
142
- # forward declarations
206
+ class DeleteAlertsRequest < ::Protobuf::Message; end
207
+ class MetricsSummaryRequest < ::Protobuf::Message; end
208
+ class MetricsSummaryResponse < ::Protobuf::Message; end
209
+ class LogRequest < ::Protobuf::Message; end
210
+ class LogResponse < ::Protobuf::Message; end
211
+ class DomainRequest < ::Protobuf::Message; end
212
+ class DomainResponse < ::Protobuf::Message
213
+ class Node < ::Protobuf::Message; end
143
214
 
144
- # enums
145
- module MeterType
146
- include ::ProtocolBuffers::Enum
215
+ end
147
216
 
148
- set_fully_qualified_name "TRP.MeterInfo.MeterType"
217
+ class NodeConfigRequest < ::Protobuf::Message
218
+ class IntelFeed < ::Protobuf::Message; end
149
219
 
150
- VT_INVALID = 0
151
- VT_RATE_COUNTER_WITH_SLIDING_WINDOW = 1
152
- VT_COUNTER = 2
153
- VT_COUNTER_WITH_SLIDING_WINDOW = 3
154
- VT_RATE_COUNTER = 4
155
- VT_GAUGE = 5
156
- VT_GAUGE_MIN_MAX_AVG = 6
157
- VT_AUTO = 7
158
- VT_RUNNING_COUNTER = 8
159
- VT_AVERAGE = 9
160
- end
220
+ end
161
221
 
162
- set_fully_qualified_name "TRP.MeterInfo"
222
+ class NodeConfigResponse < ::Protobuf::Message
223
+ class Node < ::Protobuf::Message; end
163
224
 
164
- required :int32, :id, 1
165
- required ::TRP::MeterInfo::MeterType, :type, 2
166
- required :int32, :topcount, 3
167
- required :string, :name, 4
168
- optional :string, :description, 5
169
- optional :string, :units, 6
170
225
  end
171
226
 
172
- class KeyStats < ::ProtocolBuffers::Message
173
- set_fully_qualified_name "TRP.KeyStats"
227
+ class ContextCreateRequest < ::Protobuf::Message; end
228
+ class ContextInfoRequest < ::Protobuf::Message; end
229
+ class ContextInfoResponse < ::Protobuf::Message
230
+ class Item < ::Protobuf::Message; end
174
231
 
175
- optional :int64, :context, 1, :default => 0
176
- required :string, :counter_group, 2
177
- required :string, :key, 3
178
- repeated ::TRP::MeterValues, :meters, 4
179
232
  end
180
233
 
181
- class KeyDetails < ::ProtocolBuffers::Message
182
- set_fully_qualified_name "TRP.KeyDetails"
234
+ class ContextDeleteRequest < ::Protobuf::Message; end
235
+ class ContextStartRequest < ::Protobuf::Message; end
236
+ class ContextStopRequest < ::Protobuf::Message; end
237
+ class ContextConfigRequest < ::Protobuf::Message; end
238
+ class ContextConfigResponse < ::Protobuf::Message
239
+ class Layer < ::Protobuf::Message; end
183
240
 
184
- required :string, :key, 1
185
- optional :string, :label, 2
186
- optional :string, :description, 3
187
- optional :int64, :metric, 4
188
241
  end
189
242
 
190
- class SessionID < ::ProtocolBuffers::Message
191
- set_fully_qualified_name "TRP.SessionID"
243
+ class PcapRequest < ::Protobuf::Message; end
244
+ class PcapResponse < ::Protobuf::Message; end
245
+ class GrepRequest < ::Protobuf::Message; end
246
+ class GrepResponse < ::Protobuf::Message; end
247
+ class ProbeStatsRequest < ::Protobuf::Message; end
248
+ class ProbeStatsResponse < ::Protobuf::Message; end
249
+ class AsyncResponse < ::Protobuf::Message; end
250
+ class AsyncRequest < ::Protobuf::Message; end
251
+ class FileRequest < ::Protobuf::Message; end
252
+ class FileResponse < ::Protobuf::Message; end
253
+
192
254
 
193
- required :int64, :slice_id, 1
194
- required :int64, :session_id, 2
255
+ ##
256
+ # Message Fields
257
+ #
258
+ class Timestamp
259
+ required :int64, :tv_sec, 1
260
+ optional :int64, :tv_usec, 2, :default => 0
195
261
  end
196
262
 
197
- class AlertID < ::ProtocolBuffers::Message
198
- set_fully_qualified_name "TRP.AlertID"
263
+ class TimeInterval
264
+ required ::TRP::Timestamp, :from, 1
265
+ required ::TRP::Timestamp, :to, 2
266
+ end
267
+
268
+ class StatsTuple
269
+ required ::TRP::Timestamp, :ts, 1
270
+ required :int64, :val, 2
271
+ end
199
272
 
200
- required :int64, :slice_id, 1
201
- required :int64, :alert_id, 2
273
+ class StatsArray
274
+ required :int64, :ts_tv_sec, 1
275
+ repeated :int64, :values, 2
202
276
  end
203
277
 
204
- class ResourceID < ::ProtocolBuffers::Message
205
- set_fully_qualified_name "TRP.ResourceID"
278
+ class MeterValues
279
+ required :int32, :meter, 1
280
+ repeated ::TRP::StatsTuple, :values, 2
281
+ optional :int64, :total, 3
282
+ optional :int64, :seconds, 4
283
+ end
284
+
285
+ class MeterInfo
286
+ required :int32, :id, 1
287
+ required ::TRP::MeterInfo::MeterType, :type, 2
288
+ required :int32, :topcount, 3
289
+ required :string, :name, 4
290
+ optional :string, :description, 5
291
+ optional :string, :units, 6
292
+ end
206
293
 
207
- required :int64, :slice_id, 1
208
- required :int64, :resource_id, 2
294
+ class KeyStats
295
+ required :string, :counter_group, 2
296
+ required ::TRP::KeyT, :key, 3
297
+ repeated ::TRP::MeterValues, :meters, 4
209
298
  end
210
299
 
211
- class CounterGroupDetails < ::ProtocolBuffers::Message
212
- set_fully_qualified_name "TRP.CounterGroupDetails"
300
+ class KeyT
301
+ optional :string, :key, 1
302
+ optional :string, :readable, 2
303
+ optional :string, :label, 3
304
+ optional :string, :description, 4
305
+ optional :int64, :metric, 5
306
+ end
213
307
 
308
+ class CounterGroupT
214
309
  required :string, :guid, 1
215
310
  required :string, :name, 2
216
311
  optional :int64, :bucket_size, 3
@@ -219,774 +314,657 @@ module TRP
219
314
  repeated ::TRP::MeterInfo, :meters, 6
220
315
  end
221
316
 
222
- class SessionDetails < ::ProtocolBuffers::Message
223
- set_fully_qualified_name "TRP.SessionDetails"
224
-
317
+ class SessionT
225
318
  optional :string, :session_key, 1
226
- required ::TRP::SessionID, :session_id, 2
319
+ required :string, :session_id, 2
227
320
  optional :string, :user_label, 3
228
321
  required ::TRP::TimeInterval, :time_interval, 4
229
- required :int64, :state, 5
230
- required :int64, :az_bytes, 6
231
- required :int64, :za_bytes, 7
232
- required :int64, :az_packets, 8
233
- required :int64, :za_packets, 9
234
- required ::TRP::KeyDetails, :key1A, 10
235
- required ::TRP::KeyDetails, :key2A, 11
236
- required ::TRP::KeyDetails, :key1Z, 12
237
- required ::TRP::KeyDetails, :key2Z, 13
238
- required ::TRP::KeyDetails, :protocol, 14
239
- optional ::TRP::KeyDetails, :nf_routerid, 15
240
- optional ::TRP::KeyDetails, :nf_ifindex_in, 16
241
- optional ::TRP::KeyDetails, :nf_ifindex_out, 17
322
+ optional :int64, :state, 5
323
+ optional :int64, :az_bytes, 6
324
+ optional :int64, :za_bytes, 7
325
+ optional :int64, :az_packets, 8
326
+ optional :int64, :za_packets, 9
327
+ required ::TRP::KeyT, :key1A, 10
328
+ required ::TRP::KeyT, :key2A, 11
329
+ required ::TRP::KeyT, :key1Z, 12
330
+ required ::TRP::KeyT, :key2Z, 13
331
+ required ::TRP::KeyT, :protocol, 14
332
+ optional ::TRP::KeyT, :nf_routerid, 15
333
+ optional ::TRP::KeyT, :nf_ifindex_in, 16
334
+ optional ::TRP::KeyT, :nf_ifindex_out, 17
242
335
  optional :string, :tags, 18
243
- required :int64, :az_payload, 19
244
- required :int64, :za_payload, 20
245
- required :int64, :setup_rtt, 21
246
- required :int64, :retransmissions, 22
336
+ optional :int64, :az_payload, 19
337
+ optional :int64, :za_payload, 20
338
+ optional :int64, :setup_rtt, 21
339
+ optional :int64, :retransmissions, 22
247
340
  optional :int64, :tracker_statval, 23
248
- end
249
-
250
- class PDPDetails < ::ProtocolBuffers::Message
251
- set_fully_qualified_name "TRP.PDPDetails"
252
-
253
- required ::TRP::SessionID, :session_id, 1
254
- required :string, :ipa, 2
255
- required :string, :msisdn, 3
256
- required :string, :imei, 4
257
- required :string, :imsi, 5
258
- required :string, :teidc1, 6
259
- required :string, :teidd1, 7
260
- required :string, :teidc2, 8
261
- required :string, :teidd2, 9
262
- required :string, :apn, 10
263
- required :string, :rai, 11
264
- required :string, :uli, 12
265
- required :string, :rat, 13
266
- required :string, :cause, 14
267
- required :int64, :stat0, 15
268
- required :int64, :stat1, 16
269
- required ::TRP::TimeInterval, :time_interval, 18
270
- optional :string, :mccmnc, 19
271
- optional :string, :trace, 20
272
- end
273
-
274
- class Message < ::ProtocolBuffers::Message
275
- # forward declarations
276
-
277
- # enums
278
- module Command
279
- include ::ProtocolBuffers::Enum
280
-
281
- set_fully_qualified_name "TRP.Message.Command"
282
-
283
- HELLO_REQUEST = 1
284
- HELLO_RESPONSE = 2
285
- OK_RESPONSE = 3
286
- ERROR_RESPONSE = 5
287
- COUNTER_GROUP_REQUEST = 6
288
- COUNTER_GROUP_RESPONSE = 7
289
- COUNTER_ITEM_REQUEST = 8
290
- COUNTER_ITEM_RESPONSE = 9
291
- RELEASE_RESOURCE_REQUEST = 10
292
- RELEASE_CONTEXT_REQUEST = 11
293
- CONTROLLED_COUNTER_GROUP_REQUEST = 12
294
- CONTROLLED_COUNTER_GROUP_RESPONSE = 13
295
- FILTERED_DATAGRAMS_REQUEST = 14
296
- FILTERED_DATAGRAMS_RESPONSE = 15
297
- CONTROLLED_CONTEXT_REQUEST = 16
298
- CONTROLLED_CONTEXT_RESPONSE = 17
299
- SEARCH_KEYS_REQUEST = 18
300
- SEARCH_KEYS_RESPONSE = 19
301
- COUNTER_GROUP_INFO_REQUEST = 20
302
- COUNTER_GROUP_INFO_RESPONSE = 21
303
- SESSION_TRACKER_REQUEST = 22
304
- SESSION_TRACKER_RESPONSE = 23
305
- SESSION_ITEM_REQUEST = 24
306
- SESSION_ITEM_RESPONSE = 25
307
- BULK_COUNTER_ITEM_REQUEST = 26
308
- BULK_COUNTER_ITEM_RESPONSE = 27
309
- CGMONITOR_REQUEST = 28
310
- CGMONITOR_RESPONSE = 29
311
- TOPPER_SNAPSHOT_REQUEST = 30
312
- TOPPER_SNAPSHOT_RESPONSE = 31
313
- UPDATE_KEY_REQUEST = 32
314
- UPDATE_KEY_RESPONSE = 33
315
- QUERY_SESSIONS_REQUEST = 34
316
- QUERY_SESSIONS_RESPONSE = 35
317
- RING_STATS_REQUEST = 36
318
- RING_STATS_RESPONSE = 37
319
- SERVER_STATS_REQUEST = 38
320
- SERVER_STATS_RESPONSE = 39
321
- SESSION_GROUP_REQUEST = 40
322
- SESSION_GROUP_RESPONSE = 41
323
- ALERT_ITEM_REQUEST = 42
324
- ALERT_ITEM_RESPONSE = 43
325
- ALERT_GROUP_REQUEST = 44
326
- ALERT_GROUP_RESPONSE = 45
327
- RESOURCE_ITEM_REQUEST = 46
328
- RESOURCE_ITEM_RESPONSE = 47
329
- RESOURCE_GROUP_REQUEST = 48
330
- RESOURCE_GROUP_RESPONSE = 49
331
- KEY_LOOKUP_REQUEST = 50
332
- KEY_LOOKUP_RESPONSE = 51
333
- GREP_REQUEST = 60
334
- GREP_RESPONSE = 61
335
- KEYSPACE_REQUEST = 70
336
- KEYSPACE_RESPONSE = 71
337
- TOPPER_TREND_REQUEST = 72
338
- TOPPER_TREND_RESPONSE = 73
339
- QUERY_PDP_REQUEST = 74
340
- QUERY_PDP_RESPONSE = 75
341
- STAB_PUBSUB_CTL = 80
341
+ optional :string, :probe_id, 24
342
+ end
343
+
344
+ class AlertT
345
+ optional :int64, :sensor_id, 1
346
+ required ::TRP::Timestamp, :time, 2
347
+ required :string, :alert_id, 3
348
+ optional ::TRP::KeyT, :source_ip, 4
349
+ optional ::TRP::KeyT, :source_port, 5
350
+ optional ::TRP::KeyT, :destination_ip, 6
351
+ optional ::TRP::KeyT, :destination_port, 7
352
+ optional ::TRP::KeyT, :sigid, 8
353
+ optional ::TRP::KeyT, :classification, 9
354
+ optional ::TRP::KeyT, :priority, 10
355
+ optional ::TRP::Timestamp, :dispatch_time, 11
356
+ optional :string, :aux_message1, 12
357
+ optional :string, :aux_message2, 13
358
+ optional :int64, :occurrances, 14, :default => 1
359
+ optional :string, :group_by_key, 15
360
+ optional :string, :probe_id, 16
361
+ end
362
+
363
+ class ResourceT
364
+ required ::TRP::Timestamp, :time, 1
365
+ required :string, :resource_id, 2
366
+ optional ::TRP::KeyT, :source_ip, 3
367
+ optional ::TRP::KeyT, :source_port, 4
368
+ optional ::TRP::KeyT, :destination_ip, 5
369
+ optional ::TRP::KeyT, :destination_port, 6
370
+ optional :string, :uri, 7
371
+ optional :string, :userlabel, 8
372
+ optional :string, :probe_id, 9
373
+ end
374
+
375
+ class DocumentT
376
+ class Flow
377
+ required ::TRP::Timestamp, :time, 1
378
+ required :string, :key, 2
342
379
  end
343
380
 
344
- set_fully_qualified_name "TRP.Message"
381
+ required :string, :dockey, 1
382
+ optional :string, :fts_attributes, 2
383
+ optional :string, :fullcontent, 3
384
+ repeated ::TRP::DocumentT::Flow, :flows, 4
385
+ optional :string, :probe_id, 5
386
+ end
345
387
 
388
+ class NameValue
389
+ required :string, :name, 1
390
+ optional :string, :value, 2
391
+ end
392
+
393
+ class Message
346
394
  required ::TRP::Message::Command, :trp_command, 1
347
395
  optional ::TRP::HelloRequest, :hello_request, 2
348
396
  optional ::TRP::HelloResponse, :hello_response, 3
349
397
  optional ::TRP::OKResponse, :ok_response, 4
350
398
  optional ::TRP::ErrorResponse, :error_response, 5
351
- optional ::TRP::CounterGroupRequest, :counter_group_request, 6
352
- optional ::TRP::CounterGroupResponse, :counter_group_response, 7
399
+ optional ::TRP::CounterGroupTopperRequest, :counter_group_topper_request, 6
400
+ optional ::TRP::CounterGroupTopperResponse, :counter_group_topper_response, 7
353
401
  optional ::TRP::CounterItemRequest, :counter_item_request, 8
354
402
  optional ::TRP::CounterItemResponse, :counter_item_response, 9
355
- optional ::TRP::ReleaseContextRequest, :release_context_request, 11
356
- optional ::TRP::FilteredDatagramRequest, :filtered_datagram_request, 14
357
- optional ::TRP::FilteredDatagramResponse, :filtered_datagram_response, 15
358
- optional ::TRP::ControlledContextRequest, :controlled_context_request, 16
359
- optional ::TRP::ControlledContextResponse, :controlled_context_response, 17
403
+ optional ::TRP::PcapRequest, :pcap_request, 14
404
+ optional ::TRP::PcapResponse, :pcap_response, 15
360
405
  optional ::TRP::SearchKeysRequest, :search_keys_request, 18
361
406
  optional ::TRP::SearchKeysResponse, :search_keys_response, 19
362
407
  optional ::TRP::CounterGroupInfoRequest, :counter_group_info_request, 20
363
408
  optional ::TRP::CounterGroupInfoResponse, :counter_group_info_response, 21
364
- optional ::TRP::SessionItemRequest, :session_item_request, 22
365
- optional ::TRP::SessionItemResponse, :session_item_response, 23
366
- optional ::TRP::BulkCounterItemRequest, :bulk_counter_item_request, 24
367
- optional ::TRP::BulkCounterItemResponse, :bulk_counter_item_response, 25
368
409
  optional ::TRP::UpdateKeyRequest, :update_key_request, 30
369
410
  optional ::TRP::QuerySessionsRequest, :query_sessions_request, 31
370
411
  optional ::TRP::QuerySessionsResponse, :query_sessions_response, 32
371
412
  optional ::TRP::SessionTrackerRequest, :session_tracker_request, 33
372
413
  optional ::TRP::SessionTrackerResponse, :session_tracker_response, 34
373
- optional ::TRP::ServerStatsRequest, :server_stats_request, 37
374
- optional ::TRP::ServerStatsResponse, :server_stats_response, 38
375
- optional ::TRP::SessionGroupRequest, :session_group_request, 39
376
- optional ::TRP::SessionGroupResponse, :session_group_response, 40
377
- optional ::TRP::AlertItemRequest, :alert_item_request, 41
378
- optional ::TRP::AlertItemResponse, :alert_item_response, 42
379
- optional ::TRP::AlertGroupRequest, :alert_group_request, 43
380
- optional ::TRP::AlertGroupResponse, :alert_group_response, 44
381
- optional ::TRP::ResourceItemRequest, :resource_item_request, 45
382
- optional ::TRP::ResourceItemResponse, :resource_item_response, 46
383
- optional ::TRP::ResourceGroupRequest, :resource_group_request, 47
384
- optional ::TRP::ResourceGroupResponse, :resource_group_response, 48
385
- optional ::TRP::KeyLookupRequest, :key_lookup_request, 49
386
- optional ::TRP::KeyLookupResponse, :key_lookup_response, 50
414
+ optional ::TRP::ProbeStatsRequest, :probe_stats_request, 37
415
+ optional ::TRP::ProbeStatsResponse, :probe_stats_response, 38
416
+ optional ::TRP::QueryAlertsRequest, :query_alerts_request, 43
417
+ optional ::TRP::QueryAlertsResponse, :query_alerts_response, 44
418
+ optional ::TRP::QueryResourcesRequest, :query_resources_request, 47
419
+ optional ::TRP::QueryResourcesResponse, :query_resources_response, 48
387
420
  optional ::TRP::GrepRequest, :grep_request, 51
388
421
  optional ::TRP::GrepResponse, :grep_response, 52
389
- optional ::TRP::KeySpaceRequest, :keyspace_request, 53
390
- optional ::TRP::KeySpaceResponse, :keyspace_response, 54
391
422
  optional ::TRP::TopperTrendRequest, :topper_trend_request, 55
392
423
  optional ::TRP::TopperTrendResponse, :topper_trend_response, 56
393
- optional ::TRP::QueryPDPRequest, :query_pdp_request, 57
394
- optional ::TRP::QueryPDPResponse, :query_pdp_response, 58
395
424
  optional ::TRP::SubscribeCtl, :subscribe_ctl, 59
396
- end
397
-
398
- class HelloRequest < ::ProtocolBuffers::Message
399
- set_fully_qualified_name "TRP.HelloRequest"
400
-
425
+ optional ::TRP::QueryFTSRequest, :query_fts_request, 60
426
+ optional ::TRP::QueryFTSResponse, :query_fts_response, 61
427
+ optional ::TRP::TimeSlicesRequest, :time_slices_request, 62
428
+ optional ::TRP::TimeSlicesResponse, :time_slices_response, 63
429
+ optional ::TRP::DeleteAlertsRequest, :delete_alerts_request, 64
430
+ optional ::TRP::MetricsSummaryRequest, :metrics_summary_request, 65
431
+ optional ::TRP::MetricsSummaryResponse, :metrics_summary_response, 66
432
+ optional ::TRP::KeySpaceRequest, :key_space_request, 67
433
+ optional ::TRP::KeySpaceResponse, :key_space_response, 68
434
+ optional ::TRP::PcapSlicesRequest, :pcap_slices_request, 69
435
+ optional ::TRP::LogRequest, :log_request, 105
436
+ optional ::TRP::LogResponse, :log_response, 106
437
+ optional ::TRP::ContextCreateRequest, :context_create_request, 108
438
+ optional ::TRP::ContextDeleteRequest, :context_delete_request, 109
439
+ optional ::TRP::ContextStartRequest, :context_start_request, 110
440
+ optional ::TRP::ContextStopRequest, :context_stop_request, 111
441
+ optional ::TRP::ContextConfigRequest, :context_config_request, 112
442
+ optional ::TRP::ContextConfigResponse, :context_config_response, 113
443
+ optional ::TRP::ContextInfoRequest, :context_info_request, 114
444
+ optional ::TRP::ContextInfoResponse, :context_info_response, 115
445
+ optional ::TRP::DomainRequest, :domain_request, 116
446
+ optional ::TRP::DomainResponse, :domain_response, 117
447
+ optional ::TRP::NodeConfigRequest, :node_config_request, 118
448
+ optional ::TRP::NodeConfigResponse, :node_config_response, 119
449
+ optional ::TRP::AsyncRequest, :async_request, 120
450
+ optional ::TRP::AsyncResponse, :async_response, 121
451
+ optional ::TRP::FileRequest, :file_request, 122
452
+ optional ::TRP::FileResponse, :file_response, 123
453
+ optional :string, :destination_node, 200
454
+ optional :string, :probe_id, 201
455
+ optional :bool, :run_async, 202
456
+ end
457
+
458
+ class HelloRequest
401
459
  required :string, :station_id, 1
460
+ optional :string, :message, 2
402
461
  end
403
462
 
404
- class HelloResponse < ::ProtocolBuffers::Message
405
- set_fully_qualified_name "TRP.HelloResponse"
406
-
407
- required :string, :trisul_id, 1
408
- required :string, :trisul_description, 2
409
- required :string, :connection_id, 3
410
- required :string, :version_string, 4
411
- required ::TRP::Timestamp, :connection_start_time, 5
412
- required ::TRP::Timestamp, :connection_up_time, 6
413
- required ::TRP::AuthLevel, :current_auth_level, 7
463
+ class HelloResponse
464
+ required :string, :station_id, 1
465
+ optional :string, :station_id_request, 2
466
+ optional :string, :message, 3
414
467
  end
415
468
 
416
- class ErrorResponse < ::ProtocolBuffers::Message
417
- set_fully_qualified_name "TRP.ErrorResponse"
418
-
469
+ class ErrorResponse
419
470
  required :int64, :original_command, 1
420
471
  required :int64, :error_code, 2
421
472
  required :string, :error_message, 3
422
473
  end
423
474
 
424
- class OKResponse < ::ProtocolBuffers::Message
425
- set_fully_qualified_name "TRP.OKResponse"
426
-
475
+ class OKResponse
427
476
  required :int64, :original_command, 1
428
477
  optional :string, :message, 2
429
478
  end
430
479
 
431
- class ReleaseContextRequest < ::ProtocolBuffers::Message
432
- set_fully_qualified_name "TRP.ReleaseContextRequest"
433
-
434
- optional :int64, :context, 1
435
- end
436
-
437
- class CounterItemRequest < ::ProtocolBuffers::Message
438
- set_fully_qualified_name "TRP.CounterItemRequest"
439
-
440
- optional :int64, :context, 1, :default => 0
480
+ class CounterItemRequest
441
481
  required :string, :counter_group, 2
442
482
  optional :int64, :meter, 3
443
- required :string, :key, 4
483
+ required ::TRP::KeyT, :key, 4
444
484
  required ::TRP::TimeInterval, :time_interval, 5
445
485
  optional :int64, :volumes_only, 6, :default => 0
446
486
  end
447
487
 
448
- class CounterItemResponse < ::ProtocolBuffers::Message
449
- set_fully_qualified_name "TRP.CounterItemResponse"
450
-
451
- required ::TRP::KeyStats, :stats, 1
452
- end
453
-
454
- class BulkCounterItemRequest < ::ProtocolBuffers::Message
455
- set_fully_qualified_name "TRP.BulkCounterItemRequest"
456
-
457
- optional :int64, :context, 1, :default => 0
458
- required :string, :counter_group, 2
459
- required :int64, :meter, 3
460
- required ::TRP::TimeInterval, :time_interval, 4
461
- repeated :string, :keys, 5
462
- end
463
-
464
- class BulkCounterItemResponse < ::ProtocolBuffers::Message
465
- set_fully_qualified_name "TRP.BulkCounterItemResponse"
466
-
467
- repeated ::TRP::KeyStats, :stats, 1
488
+ class CounterItemResponse
489
+ required :string, :counter_group, 1
490
+ required ::TRP::KeyT, :key, 2
491
+ optional ::TRP::StatsArray, :totals, 3
492
+ repeated ::TRP::StatsArray, :stats, 4
468
493
  end
469
494
 
470
- class CounterGroupRequest < ::ProtocolBuffers::Message
471
- set_fully_qualified_name "TRP.CounterGroupRequest"
472
-
473
- optional :int64, :context, 1, :default => 0
495
+ class CounterGroupTopperRequest
474
496
  required :string, :counter_group, 2
475
497
  optional :int64, :meter, 3, :default => 0
476
- optional :int64, :maxitems, 4, :default => 10
498
+ optional :int64, :maxitems, 4, :default => 100
477
499
  optional ::TRP::TimeInterval, :time_interval, 5
478
500
  optional ::TRP::Timestamp, :time_instant, 6
479
501
  optional :int64, :flags, 7
480
- optional :bool, :resolve_keys, 8
502
+ optional :bool, :resolve_keys, 8, :default => true
481
503
  end
482
504
 
483
- class CounterGroupResponse < ::ProtocolBuffers::Message
484
- set_fully_qualified_name "TRP.CounterGroupResponse"
485
-
486
- required :int64, :context, 1
505
+ class CounterGroupTopperResponse
487
506
  required :string, :counter_group, 2
488
507
  required :int64, :meter, 3
489
508
  optional :int64, :sysgrouptotal, 4
490
- repeated ::TRP::KeyDetails, :keys, 6
491
- end
492
-
493
- class FilteredDatagramRequest < ::ProtocolBuffers::Message
494
- # forward declarations
495
- class ByFilterExpr < ::ProtocolBuffers::Message; end
496
- class BySession < ::ProtocolBuffers::Message; end
497
- class ByAlert < ::ProtocolBuffers::Message; end
498
- class ByResource < ::ProtocolBuffers::Message; end
499
-
500
- set_fully_qualified_name "TRP.FilteredDatagramRequest"
501
-
502
- # nested messages
503
- class ByFilterExpr < ::ProtocolBuffers::Message
504
- set_fully_qualified_name "TRP.FilteredDatagramRequest.ByFilterExpr"
505
-
506
- required ::TRP::TimeInterval, :time_interval, 1
507
- required :string, :filter_expression, 2
508
- end
509
-
510
- class BySession < ::ProtocolBuffers::Message
511
- set_fully_qualified_name "TRP.FilteredDatagramRequest.BySession"
512
-
513
- optional :string, :session_group, 1, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
514
- repeated ::TRP::SessionID, :session_ids, 2
515
- end
516
-
517
- class ByAlert < ::ProtocolBuffers::Message
518
- set_fully_qualified_name "TRP.FilteredDatagramRequest.ByAlert"
519
-
520
- optional :string, :alert_group, 1, :default => "{9AFD8C08-07EB-47E0-BF05-28B4A7AE8DC9}"
521
- repeated ::TRP::AlertID, :alert_ids, 2
522
- end
523
-
524
- class ByResource < ::ProtocolBuffers::Message
525
- set_fully_qualified_name "TRP.FilteredDatagramRequest.ByResource"
526
-
527
- required :string, :resource_group, 1
528
- repeated ::TRP::ResourceID, :resource_ids, 2
529
- end
530
-
531
- optional :int64, :max_packets, 1, :default => 0
532
- optional :int64, :max_bytes, 2, :default => 0
533
- optional ::TRP::CompressionType, :compress_type, 3, :default => ::TRP::CompressionType::UNCOMPRESSED
534
- optional ::TRP::FilteredDatagramRequest::ByFilterExpr, :filter_expression, 4
535
- optional ::TRP::FilteredDatagramRequest::BySession, :session, 5
536
- optional ::TRP::FilteredDatagramRequest::ByAlert, :alert, 6
537
- optional ::TRP::FilteredDatagramRequest::ByResource, :resource, 7
538
- optional ::TRP::PcapDisposition, :disposition, 8, :default => ::TRP::PcapDisposition::DOWNLOAD
539
- end
540
-
541
- class FilteredDatagramResponse < ::ProtocolBuffers::Message
542
- set_fully_qualified_name "TRP.FilteredDatagramResponse"
543
-
544
- required ::TRP::PcapFormat, :format, 1
545
- required ::TRP::CompressionType, :compress_type, 2
546
- required ::TRP::TimeInterval, :time_interval, 3
547
- required :int64, :num_datagrams, 4
548
- required :int64, :num_bytes, 5
549
- required :string, :sha1, 6
550
- required :bytes, :contents, 7
551
- required ::TRP::PcapDisposition, :disposition, 8
552
- optional :string, :path, 9
553
- end
554
-
555
- class ControlledContextRequest < ::ProtocolBuffers::Message
556
- set_fully_qualified_name "TRP.ControlledContextRequest"
557
-
558
- required ::TRP::TimeInterval, :time_interval, 1
559
- required :string, :filter_expression, 2
560
- end
561
-
562
- class ControlledContextResponse < ::ProtocolBuffers::Message
563
- set_fully_qualified_name "TRP.ControlledContextResponse"
564
-
565
- required :int64, :context, 1
566
- optional :string, :context_db, 2
567
- required ::TRP::TimeInterval, :time_interval, 3
509
+ repeated ::TRP::KeyT, :keys, 6
568
510
  end
569
511
 
570
- class SearchKeysRequest < ::ProtocolBuffers::Message
571
- set_fully_qualified_name "TRP.SearchKeysRequest"
572
-
573
- optional :int64, :context, 1, :default => 0
512
+ class SearchKeysRequest
574
513
  required :string, :counter_group, 2
575
- required :string, :pattern, 3
576
- required :int64, :maxitems, 4
514
+ optional :int64, :maxitems, 3, :default => 100
515
+ optional :string, :pattern, 4
516
+ optional :string, :label, 5
517
+ repeated :string, :keys, 6
518
+ optional :int64, :offset, 7, :default => 0
519
+ optional :bool, :get_totals, 8, :default => false
577
520
  end
578
521
 
579
- class SearchKeysResponse < ::ProtocolBuffers::Message
580
- set_fully_qualified_name "TRP.SearchKeysResponse"
581
-
582
- optional :int64, :context, 1
522
+ class SearchKeysResponse
583
523
  required :string, :counter_group, 2
584
- repeated ::TRP::KeyDetails, :found_keys, 3
524
+ repeated ::TRP::KeyT, :keys, 3
525
+ optional :int64, :total_count, 4
585
526
  end
586
527
 
587
- class CounterGroupInfoRequest < ::ProtocolBuffers::Message
588
- set_fully_qualified_name "TRP.CounterGroupInfoRequest"
589
-
590
- optional :int64, :context, 1, :default => 0
528
+ class CounterGroupInfoRequest
591
529
  optional :string, :counter_group, 2
592
530
  optional :bool, :get_meter_info, 3, :default => false
593
531
  end
594
532
 
595
- class CounterGroupInfoResponse < ::ProtocolBuffers::Message
596
- set_fully_qualified_name "TRP.CounterGroupInfoResponse"
597
-
598
- optional :int64, :context, 1
599
- repeated ::TRP::CounterGroupDetails, :group_details, 2
533
+ class CounterGroupInfoResponse
534
+ repeated ::TRP::CounterGroupT, :group_details, 2
600
535
  end
601
536
 
602
- class SessionItemRequest < ::ProtocolBuffers::Message
603
- set_fully_qualified_name "TRP.SessionItemRequest"
604
-
605
- optional :int64, :context, 1, :default => 0
537
+ class QuerySessionsRequest
606
538
  optional :string, :session_group, 2, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
607
- repeated :string, :session_keys, 3
608
- repeated ::TRP::SessionID, :session_ids, 4
609
- optional :bool, :resolve_keys, 5, :default => true
610
- end
611
-
612
- class SessionItemResponse < ::ProtocolBuffers::Message
613
- set_fully_qualified_name "TRP.SessionItemResponse"
614
-
615
- optional :int64, :context, 1, :default => 0
616
- required :string, :session_group, 2
617
- repeated ::TRP::SessionDetails, :sessions, 3
618
- end
619
-
620
- class QuerySessionsRequest < ::ProtocolBuffers::Message
621
- set_fully_qualified_name "TRP.QuerySessionsRequest"
622
-
623
- optional :int64, :context, 1, :default => 0
624
- optional :string, :session_group, 2, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
625
- required ::TRP::TimeInterval, :time_interval, 3
539
+ optional ::TRP::TimeInterval, :time_interval, 3
626
540
  optional :string, :key, 4
627
- optional :string, :source_ip, 5
628
- optional :string, :source_port, 6
629
- optional :string, :dest_ip, 7
630
- optional :string, :dest_port, 8
631
- optional :string, :any_ip, 9
632
- optional :string, :any_port, 10
633
- optional :string, :ip_pair, 11
634
- optional :string, :protocol, 12
541
+ optional ::TRP::KeyT, :source_ip, 5
542
+ optional ::TRP::KeyT, :source_port, 6
543
+ optional ::TRP::KeyT, :dest_ip, 7
544
+ optional ::TRP::KeyT, :dest_port, 8
545
+ optional ::TRP::KeyT, :any_ip, 9
546
+ optional ::TRP::KeyT, :any_port, 10
547
+ repeated ::TRP::KeyT, :ip_pair, 11
548
+ optional ::TRP::KeyT, :protocol, 12
635
549
  optional :string, :flowtag, 13
636
- optional :string, :nf_routerid, 14
637
- optional :string, :nf_ifindex_in, 15
638
- optional :string, :nf_ifindex_out, 16
550
+ optional ::TRP::KeyT, :nf_routerid, 14
551
+ optional ::TRP::KeyT, :nf_ifindex_in, 15
552
+ optional ::TRP::KeyT, :nf_ifindex_out, 16
639
553
  optional :string, :subnet_24, 17
640
554
  optional :string, :subnet_16, 18
641
555
  optional :int64, :maxitems, 19, :default => 100
642
556
  optional :int64, :volume_filter, 20, :default => 0
643
557
  optional :bool, :resolve_keys, 21, :default => true
644
558
  optional :string, :outputpath, 22
559
+ repeated :string, :idlist, 23
645
560
  end
646
561
 
647
- class QuerySessionsResponse < ::ProtocolBuffers::Message
648
- set_fully_qualified_name "TRP.QuerySessionsResponse"
649
-
650
- optional :int64, :context, 1
562
+ class QuerySessionsResponse
651
563
  required :string, :session_group, 2
652
- repeated ::TRP::SessionDetails, :sessions, 3
564
+ repeated ::TRP::SessionT, :sessions, 3
653
565
  optional :string, :outputpath, 4
654
566
  end
655
567
 
656
- class UpdateKeyRequest < ::ProtocolBuffers::Message
657
- set_fully_qualified_name "TRP.UpdateKeyRequest"
658
-
659
- optional :int64, :context, 1, :default => 0
568
+ class UpdateKeyRequest
660
569
  required :string, :counter_group, 2
661
- required :string, :key, 4
662
- required :string, :label, 5
663
- optional :string, :description, 6
570
+ repeated ::TRP::KeyT, :keys, 4
664
571
  end
665
572
 
666
- class SessionTrackerRequest < ::ProtocolBuffers::Message
667
- set_fully_qualified_name "TRP.SessionTrackerRequest"
668
-
669
- optional :int64, :context, 1, :default => 0
573
+ class SessionTrackerRequest
670
574
  optional :string, :session_group, 2, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
671
575
  required :int64, :tracker_id, 3, :default => 1
672
576
  optional :int64, :maxitems, 4, :default => 100
673
577
  required ::TRP::TimeInterval, :time_interval, 5
578
+ optional :bool, :resolve_keys, 6, :default => true
674
579
  end
675
580
 
676
- class SessionTrackerResponse < ::ProtocolBuffers::Message
677
- set_fully_qualified_name "TRP.SessionTrackerResponse"
678
-
679
- optional :int64, :context, 1
581
+ class SessionTrackerResponse
680
582
  required :string, :session_group, 2
681
- repeated ::TRP::SessionDetails, :sessions, 3
583
+ repeated ::TRP::SessionT, :sessions, 3
682
584
  optional :int64, :tracker_id, 4
683
585
  end
684
586
 
685
- class SessionGroupRequest < ::ProtocolBuffers::Message
686
- set_fully_qualified_name "TRP.SessionGroupRequest"
687
-
688
- optional :int64, :context, 1, :default => 0
689
- optional :string, :session_group, 2, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
690
- optional :int64, :tracker_id, 3
691
- optional :string, :key_filter, 4
587
+ class QueryAlertsRequest
588
+ required :string, :alert_group, 2
589
+ optional ::TRP::TimeInterval, :time_interval, 3
692
590
  optional :int64, :maxitems, 5, :default => 100
591
+ optional ::TRP::KeyT, :source_ip, 6
592
+ optional ::TRP::KeyT, :source_port, 7
593
+ optional ::TRP::KeyT, :destination_ip, 8
594
+ optional ::TRP::KeyT, :destination_port, 9
595
+ optional ::TRP::KeyT, :sigid, 10
596
+ optional ::TRP::KeyT, :classification, 11
597
+ optional ::TRP::KeyT, :priority, 12
598
+ optional :string, :aux_message1, 13
599
+ optional :string, :aux_message2, 14
600
+ optional :string, :group_by_fieldname, 15
601
+ repeated :string, :idlist, 16
602
+ optional :bool, :resolve_keys, 17, :default => true
603
+ optional ::TRP::KeyT, :any_ip, 18
604
+ optional ::TRP::KeyT, :any_port, 19
605
+ repeated ::TRP::KeyT, :ip_pair, 20
606
+ optional :string, :message_regex, 21
693
607
  end
694
608
 
695
- class SessionGroupResponse < ::ProtocolBuffers::Message
696
- set_fully_qualified_name "TRP.SessionGroupResponse"
697
-
698
- optional :int64, :context, 1
699
- required :string, :session_group, 2
700
- repeated :string, :session_keys, 3
609
+ class QueryAlertsResponse
610
+ required :string, :alert_group, 2
611
+ repeated ::TRP::AlertT, :alerts, 3
701
612
  end
702
613
 
703
- class ServerStatsRequest < ::ProtocolBuffers::Message
704
- set_fully_qualified_name "TRP.ServerStatsRequest"
705
-
706
- required :int64, :param, 1
614
+ class QueryResourcesRequest
615
+ required :string, :resource_group, 2
616
+ optional ::TRP::TimeInterval, :time_interval, 3
617
+ optional :int64, :maxitems, 4, :default => 100
618
+ optional ::TRP::KeyT, :source_ip, 5
619
+ optional ::TRP::KeyT, :source_port, 6
620
+ optional ::TRP::KeyT, :destination_ip, 7
621
+ optional ::TRP::KeyT, :destination_port, 8
622
+ optional :string, :uri_pattern, 9
623
+ optional :string, :userlabel_pattern, 10
624
+ repeated :string, :regex_uri, 12
625
+ repeated :string, :idlist, 13
626
+ optional :bool, :resolve_keys, 14, :default => true
627
+ optional ::TRP::KeyT, :any_port, 15
628
+ optional ::TRP::KeyT, :any_ip, 16
629
+ repeated ::TRP::KeyT, :ip_pair, 17
707
630
  end
708
631
 
709
- class ServerStatsResponse < ::ProtocolBuffers::Message
710
- set_fully_qualified_name "TRP.ServerStatsResponse"
711
-
712
- required :string, :instance_name, 1
713
- required :int64, :connections, 2
714
- required :int64, :uptime_seconds, 3
715
- required :double, :cpu_usage_percent_trisul, 4
716
- required :double, :cpu_usage_percent_total, 5
717
- required :double, :mem_usage_trisul, 6
718
- required :double, :mem_usage_total, 7
719
- required :double, :mem_total, 8
720
- required :int64, :size_total, 9
721
- required :double, :drop_percent_cap, 11
722
- required :double, :drop_percent_trisul, 12
723
- required ::TRP::TimeInterval, :time_interval, 13
632
+ class QueryResourcesResponse
633
+ required :string, :resource_group, 2
634
+ repeated ::TRP::ResourceT, :resources, 3
724
635
  end
725
636
 
726
- class AlertItemRequest < ::ProtocolBuffers::Message
727
- set_fully_qualified_name "TRP.AlertItemRequest"
728
-
729
- optional :int64, :context, 1, :default => 0
730
- required :string, :alert_group, 2
731
- repeated ::TRP::AlertID, :alert_ids, 3
732
- end
733
-
734
- class AlertItemResponse < ::ProtocolBuffers::Message
735
- # forward declarations
736
- class Item < ::ProtocolBuffers::Message; end
737
-
738
- set_fully_qualified_name "TRP.AlertItemResponse"
739
-
740
- # nested messages
741
- class Item < ::ProtocolBuffers::Message
742
- set_fully_qualified_name "TRP.AlertItemResponse.Item"
743
-
744
- optional :int64, :sensor_id, 1
745
- required ::TRP::Timestamp, :time, 2
746
- required ::TRP::AlertID, :alert_id, 3
747
- optional :string, :source_ip, 4
748
- optional :string, :source_port, 5
749
- optional :string, :destination_ip, 6
750
- optional :string, :destination_port, 7
751
- required :string, :sigid, 8
752
- required :string, :classification, 9
753
- required :string, :priority, 10
754
- required ::TRP::Timestamp, :dispatch_time, 11
755
- required :string, :aux_message1, 12
756
- required :string, :aux_message2, 13
637
+ class KeySpaceRequest
638
+ class KeySpace
639
+ required ::TRP::KeyT, :from_key, 1
640
+ required ::TRP::KeyT, :to_key, 2
757
641
  end
758
642
 
759
- optional :int64, :context, 1
760
- required :string, :alert_group, 2
761
- repeated ::TRP::AlertItemResponse::Item, :items, 3
643
+ required :string, :counter_group, 2
644
+ required ::TRP::TimeInterval, :time_interval, 3
645
+ optional :int64, :maxitems, 4, :default => 100
646
+ repeated ::TRP::KeySpaceRequest::KeySpace, :spaces, 5
647
+ optional :bool, :resolve_keys, 6, :default => true
762
648
  end
763
649
 
764
- class AlertGroupRequest < ::ProtocolBuffers::Message
765
- set_fully_qualified_name "TRP.AlertGroupRequest"
766
-
767
- optional :int64, :context, 1, :default => 0
768
- required :string, :alert_group, 2
769
- required ::TRP::TimeInterval, :time_interval, 3
770
- optional :int64, :maxitems, 5, :default => 10
771
- optional :string, :source_ip, 6
772
- optional :string, :source_port, 7
773
- optional :string, :destination_ip, 8
774
- optional :string, :destination_port, 9
775
- optional :string, :sigid, 10
776
- optional :string, :classification, 11
777
- optional :string, :priority, 12
778
- optional :string, :aux_message1, 13
779
- optional :string, :aux_message2, 14
650
+ class KeySpaceResponse
651
+ optional :string, :counter_group, 2
652
+ repeated ::TRP::KeyT, :hits, 3
780
653
  end
781
654
 
782
- class AlertGroupResponse < ::ProtocolBuffers::Message
783
- set_fully_qualified_name "TRP.AlertGroupResponse"
655
+ class TopperTrendRequest
656
+ required :string, :counter_group, 2
657
+ optional :int64, :meter, 3, :default => 0
658
+ optional :int64, :maxitems, 4, :default => 100
659
+ optional ::TRP::TimeInterval, :time_interval, 5
660
+ end
784
661
 
785
- optional :int64, :context, 1
786
- required :string, :alert_group, 2
787
- repeated ::TRP::AlertID, :alerts, 3
662
+ class TopperTrendResponse
663
+ required :string, :counter_group, 2
664
+ required :int64, :meter, 3
665
+ repeated ::TRP::KeyStats, :keytrends, 4
788
666
  end
789
667
 
790
- class ResourceItemRequest < ::ProtocolBuffers::Message
791
- set_fully_qualified_name "TRP.ResourceItemRequest"
668
+ class SubscribeCtl
669
+ required :string, :context_name, 1
670
+ required ::TRP::SubscribeCtl::CtlType, :ctl, 2
671
+ required ::TRP::SubscribeCtl::StabberType, :type, 3
672
+ optional :string, :guid, 4
673
+ optional :string, :key, 5
674
+ optional :int64, :meterid, 6
675
+ end
792
676
 
793
- optional :int64, :context, 1, :default => 0
794
- required :string, :resource_group, 2
795
- repeated ::TRP::ResourceID, :resource_ids, 3
677
+ class QueryFTSRequest
678
+ required ::TRP::TimeInterval, :time_interval, 2
679
+ required :string, :fts_group, 3
680
+ required :string, :keywords, 4
681
+ optional :int64, :maxitems, 5, :default => 100
796
682
  end
797
683
 
798
- class ResourceItemResponse < ::ProtocolBuffers::Message
799
- # forward declarations
800
- class Item < ::ProtocolBuffers::Message; end
684
+ class QueryFTSResponse
685
+ required :string, :fts_group, 2
686
+ repeated ::TRP::DocumentT, :documents, 3
687
+ end
801
688
 
802
- set_fully_qualified_name "TRP.ResourceItemResponse"
689
+ class TimeSlicesRequest
690
+ optional :bool, :get_disk_usage, 1, :default => false
691
+ optional :bool, :get_all_engines, 2, :default => false
692
+ optional :bool, :get_total_window, 3, :default => false
693
+ end
803
694
 
804
- # nested messages
805
- class Item < ::ProtocolBuffers::Message
806
- set_fully_qualified_name "TRP.ResourceItemResponse.Item"
695
+ class PcapSlicesRequest
696
+ required :string, :context_name, 1
697
+ optional :bool, :get_total_window, 2, :default => false
698
+ end
807
699
 
808
- required ::TRP::Timestamp, :time, 1
809
- required ::TRP::ResourceID, :resource_id, 2
810
- optional :string, :source_ip, 3
811
- optional :string, :source_port, 4
812
- optional :string, :destination_ip, 5
813
- optional :string, :destination_port, 6
814
- optional :string, :uri, 7
815
- optional :string, :userlabel, 8
700
+ class TimeSlicesResponse
701
+ class SliceT
702
+ required ::TRP::TimeInterval, :time_interval, 1
703
+ optional :string, :name, 2
704
+ optional :string, :status, 3
705
+ optional :int64, :disk_size, 4
706
+ optional :string, :path, 5
707
+ optional :bool, :available, 6
816
708
  end
817
709
 
818
- optional :int64, :context, 1
819
- required :string, :resource_group, 2
820
- repeated ::TRP::ResourceItemResponse::Item, :items, 3
710
+ repeated ::TRP::TimeSlicesResponse::SliceT, :slices, 1
711
+ optional ::TRP::TimeInterval, :total_window, 2
712
+ optional :string, :context_name, 3
821
713
  end
822
714
 
823
- class ResourceGroupRequest < ::ProtocolBuffers::Message
824
- set_fully_qualified_name "TRP.ResourceGroupRequest"
825
-
826
- optional :int64, :context, 1, :default => 0
827
- required :string, :resource_group, 2
715
+ class DeleteAlertsRequest
716
+ required :string, :alert_group, 2
828
717
  required ::TRP::TimeInterval, :time_interval, 3
829
- optional :int64, :maxitems, 4, :default => 10
830
- optional :string, :source_ip, 5
831
- optional :string, :source_port, 6
832
- optional :string, :destination_ip, 7
833
- optional :string, :destination_port, 8
834
- optional :string, :uri_pattern, 9
835
- optional :string, :userlabel_pattern, 10
836
- repeated :string, :uri_list, 11
837
- end
838
-
839
- class ResourceGroupResponse < ::ProtocolBuffers::Message
840
- set_fully_qualified_name "TRP.ResourceGroupResponse"
718
+ optional ::TRP::KeyT, :source_ip, 6
719
+ optional ::TRP::KeyT, :source_port, 7
720
+ optional ::TRP::KeyT, :destination_ip, 8
721
+ optional ::TRP::KeyT, :destination_port, 9
722
+ optional ::TRP::KeyT, :sigid, 10
723
+ optional ::TRP::KeyT, :classification, 11
724
+ optional ::TRP::KeyT, :priority, 12
725
+ optional ::TRP::KeyT, :any_ip, 18
726
+ optional ::TRP::KeyT, :any_port, 19
727
+ optional :string, :message_regex, 21
728
+ end
729
+
730
+ class MetricsSummaryRequest
731
+ optional ::TRP::TimeInterval, :time_interval, 1
732
+ required :string, :metric_name, 2
733
+ optional :bool, :totals_only, 3, :default => true
734
+ end
735
+
736
+ class MetricsSummaryResponse
737
+ required :string, :metric_name, 2
738
+ repeated ::TRP::StatsTuple, :vals, 3
739
+ end
740
+
741
+ class LogRequest
742
+ required :string, :context_name, 1
743
+ required :string, :log_type, 2
744
+ optional :string, :regex_filter, 4
745
+ optional :int64, :maxlines, 5, :default => 1000
746
+ optional :string, :continue_logfilename, 6
747
+ optional :int64, :continue_seekpos, 7
748
+ optional :bool, :latest_run_only, 8, :default => false
749
+ end
750
+
751
+ class LogResponse
752
+ required :string, :context_name, 1
753
+ optional :string, :logfilename, 6
754
+ optional :int64, :seekpos, 7
755
+ repeated :string, :log_lines, 8
756
+ end
757
+
758
+ class DomainRequest
759
+ required ::TRP::DomainOperation, :cmd, 1
760
+ optional :string, :station_id, 2
761
+ optional :string, :params, 3
762
+ optional ::TRP::DomainNodeType, :nodetype, 4
763
+ end
764
+
765
+ class DomainResponse
766
+ class Node
767
+ required :string, :id, 1
768
+ required ::TRP::DomainNodeType, :nodetype, 2
769
+ optional :string, :station_id, 3
770
+ optional :string, :extra_info, 4
771
+ optional ::TRP::Timestamp, :register_time, 5
772
+ optional ::TRP::Timestamp, :heartbeat_time, 6
773
+ end
841
774
 
842
- optional :int64, :context, 1
843
- required :string, :resource_group, 2
844
- repeated ::TRP::ResourceID, :resources, 3
775
+ required ::TRP::DomainOperation, :cmd, 1
776
+ repeated ::TRP::DomainResponse::Node, :nodes, 2
777
+ optional :string, :req_params, 3
778
+ optional :string, :params, 4
779
+ optional :bool, :need_reconnect, 5, :default => false
845
780
  end
846
781
 
847
- class KeyLookupRequest < ::ProtocolBuffers::Message
848
- set_fully_qualified_name "TRP.KeyLookupRequest"
782
+ class NodeConfigRequest
783
+ class IntelFeed
784
+ required :string, :guid, 1
785
+ optional :string, :name, 2
786
+ optional :string, :download_rules, 3
787
+ repeated :string, :uri, 4
788
+ end
849
789
 
850
- optional :int64, :context, 1, :default => 0
851
- required :string, :counter_group, 2
852
- repeated :string, :keys, 3
790
+ optional :string, :message, 1
791
+ optional ::TRP::NodeConfigRequest::IntelFeed, :add_feed, 2
792
+ optional ::TRP::NodeConfigRequest::IntelFeed, :process_new_feed, 3
853
793
  end
854
794
 
855
- class KeyLookupResponse < ::ProtocolBuffers::Message
856
- set_fully_qualified_name "TRP.KeyLookupResponse"
795
+ class NodeConfigResponse
796
+ class Node
797
+ required :string, :id, 1
798
+ required ::TRP::DomainNodeType, :nodetype, 2
799
+ required :string, :description, 3
800
+ required :string, :public_key, 4
801
+ end
857
802
 
858
- optional :int64, :context, 1
859
- required :string, :counter_group, 2
860
- repeated ::TRP::KeyDetails, :key_details, 3
803
+ repeated ::TRP::NodeConfigResponse::Node, :domains, 1
804
+ repeated ::TRP::NodeConfigResponse::Node, :hubs, 2
805
+ repeated ::TRP::NodeConfigResponse::Node, :probes, 3
806
+ repeated :string, :feeds, 4
861
807
  end
862
808
 
863
- class GrepRequest < ::ProtocolBuffers::Message
864
- set_fully_qualified_name "TRP.GrepRequest"
865
-
866
- optional :int64, :context, 1, :default => 0
867
- optional :string, :session_group, 2, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
868
- required ::TRP::TimeInterval, :time_interval, 3
869
- optional :int64, :maxitems, 4, :default => 50
870
- optional :string, :pattern, 5
871
- repeated :string, :md5list, 6
809
+ class ContextCreateRequest
810
+ required :string, :context_name, 1
811
+ optional :string, :clone_from, 2
872
812
  end
873
813
 
874
- class GrepResponse < ::ProtocolBuffers::Message
875
- set_fully_qualified_name "TRP.GrepResponse"
876
-
877
- optional :int64, :context, 1
878
- optional :string, :session_group, 2, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
879
- repeated ::TRP::SessionDetails, :sessions, 3
880
- repeated :string, :hints, 4
814
+ class ContextInfoRequest
815
+ optional :string, :context_name, 1
881
816
  end
882
817
 
883
- class KeySpaceRequest < ::ProtocolBuffers::Message
884
- # forward declarations
885
- class KeySpace < ::ProtocolBuffers::Message; end
886
-
887
- set_fully_qualified_name "TRP.KeySpaceRequest"
888
-
889
- # nested messages
890
- class KeySpace < ::ProtocolBuffers::Message
891
- set_fully_qualified_name "TRP.KeySpaceRequest.KeySpace"
892
-
893
- required :string, :from, 1
894
- required :string, :to, 2
818
+ class ContextInfoResponse
819
+ class Item
820
+ required :string, :context_name, 1
821
+ required :bool, :is_initialized, 2
822
+ required :bool, :is_running, 3
823
+ optional :int64, :size_on_disk, 4
824
+ optional ::TRP::TimeInterval, :time_interval, 5
825
+ optional :bool, :is_clean, 6
826
+ optional :string, :extrainfo, 7
827
+ repeated ::TRP::TimeInterval, :run_history, 8
828
+ optional :string, :profile, 9
829
+ optional :string, :runmode, 10
895
830
  end
896
831
 
897
- optional :int64, :context, 1, :default => 0
898
- required :string, :counter_group, 2
899
- required ::TRP::TimeInterval, :time_interval, 3
900
- optional :int64, :maxitems, 4, :default => 100
901
- repeated ::TRP::KeySpaceRequest::KeySpace, :spaces, 5
832
+ repeated ::TRP::ContextInfoResponse::Item, :items, 1
902
833
  end
903
834
 
904
- class KeySpaceResponse < ::ProtocolBuffers::Message
905
- set_fully_qualified_name "TRP.KeySpaceResponse"
906
-
907
- optional :int64, :context, 1
908
- optional :string, :counter_group, 2
909
- repeated :string, :hits, 3
835
+ class ContextDeleteRequest
836
+ required :string, :context_name, 1
837
+ optional :bool, :reset_data, 2
910
838
  end
911
839
 
912
- class TopperTrendRequest < ::ProtocolBuffers::Message
913
- set_fully_qualified_name "TRP.TopperTrendRequest"
914
-
915
- optional :int64, :context, 1, :default => 0
916
- required :string, :counter_group, 2
917
- optional :int64, :meter, 3, :default => 0
918
- optional :int64, :maxitems, 4, :default => 10
919
- optional ::TRP::TimeInterval, :time_interval, 5
840
+ class ContextStartRequest
841
+ required :string, :context_name, 1
842
+ optional :string, :mode, 2
843
+ optional :bool, :background, 3
844
+ optional :string, :pcap_path, 4
845
+ optional :string, :run_tool, 5
846
+ optional :string, :tool_ids_config, 6
847
+ optional :string, :tool_av_config, 7
920
848
  end
921
849
 
922
- class TopperTrendResponse < ::ProtocolBuffers::Message
923
- set_fully_qualified_name "TRP.TopperTrendResponse"
924
-
925
- required :int64, :context, 1
926
- required :string, :counter_group, 2
927
- required :int64, :meter, 3
928
- repeated ::TRP::KeyStats, :keytrends, 4
850
+ class ContextStopRequest
851
+ required :string, :context_name, 1
852
+ optional :string, :run_tool, 5
929
853
  end
930
854
 
931
- class QueryPDPRequest < ::ProtocolBuffers::Message
932
- set_fully_qualified_name "TRP.QueryPDPRequest"
933
-
934
- optional :int64, :context, 1, :default => 0
935
- optional :string, :session_group, 2, :default => "{3FCBAE7F-BBEC-47CA-BAE0-B48D5F96FD6B}"
936
- required ::TRP::TimeInterval, :time_interval, 3
937
- optional :string, :ipa, 4
938
- optional :string, :msisdn, 5
939
- optional :string, :imei, 6
940
- optional :string, :imsi, 7
941
- optional :string, :apn, 8
942
- optional :string, :rai, 9
943
- optional :string, :uli, 10
944
- optional :string, :rat, 11
945
- optional :string, :cause, 12
946
- optional :string, :mccmnc, 13
947
- optional :int64, :maxitems, 14, :default => 100
948
- optional :string, :teid, 15
855
+ class ContextConfigRequest
856
+ required :string, :context_name, 1
857
+ optional :string, :profile, 2
858
+ optional :string, :params, 3
859
+ optional :bytes, :push_config_blob, 4
860
+ optional :string, :query_config, 5
861
+ repeated ::TRP::NameValue, :set_config_values, 6
949
862
  end
950
863
 
951
- class QueryPDPResponse < ::ProtocolBuffers::Message
952
- set_fully_qualified_name "TRP.QueryPDPResponse"
864
+ class ContextConfigResponse
865
+ class Layer
866
+ required :int64, :layer, 1
867
+ required :string, :probe_id, 2
868
+ optional :string, :probe_description, 3
869
+ end
953
870
 
954
- optional :int64, :context, 1
955
- repeated ::TRP::PDPDetails, :sessions, 3
871
+ required :string, :context_name, 1
872
+ optional :string, :profile, 2
873
+ optional :string, :params, 3
874
+ optional :bytes, :pull_config_blob, 4
875
+ optional :bytes, :config_blob, 5
876
+ repeated :string, :endpoints_flush, 6
877
+ repeated :string, :endpoints_query, 7
878
+ repeated :string, :endpoints_pub, 8
879
+ optional :string, :config_value, 10
880
+ repeated ::TRP::ContextConfigResponse::Layer, :layers, 11
881
+ end
882
+
883
+ class PcapRequest
884
+ required :string, :context_name, 1
885
+ optional :int64, :max_bytes, 2, :default => 100000000
886
+ optional ::TRP::CompressionType, :compress_type, 3, :default => ::TRP::CompressionType::UNCOMPRESSED
887
+ optional :string, :save_file, 4
888
+ required ::TRP::TimeInterval, :time_interval, 5
889
+ required :string, :filter_expression, 6
956
890
  end
957
891
 
958
- class SubscribeCtl < ::ProtocolBuffers::Message
959
- # forward declarations
892
+ class PcapResponse
893
+ required :string, :context_name, 1
894
+ optional ::TRP::PcapFormat, :format, 2, :default => ::TRP::PcapFormat::LIBPCAP
895
+ optional ::TRP::CompressionType, :compress_type, 3, :default => ::TRP::CompressionType::UNCOMPRESSED
896
+ optional ::TRP::TimeInterval, :time_interval, 4
897
+ optional :int64, :num_bytes, 5
898
+ optional :string, :sha1, 6
899
+ optional :bytes, :contents, 7
900
+ optional :string, :save_file, 8
901
+ end
960
902
 
961
- # enums
962
- module StabberType
963
- include ::ProtocolBuffers::Enum
903
+ class GrepRequest
904
+ required :string, :context_name, 1
905
+ required ::TRP::TimeInterval, :time_interval, 2
906
+ optional :int64, :maxitems, 3, :default => 100
907
+ optional :int64, :flowcutoff_bytes, 4
908
+ optional :string, :pattern_hex, 5
909
+ optional :string, :pattern_text, 6
910
+ optional :string, :pattern_file, 7
911
+ repeated :string, :md5list, 8
912
+ optional :bool, :resolve_keys, 9, :default => true
913
+ end
964
914
 
965
- set_fully_qualified_name "TRP.SubscribeCtl.StabberType"
915
+ class GrepResponse
916
+ required :string, :context_name, 1
917
+ repeated ::TRP::SessionT, :sessions, 2
918
+ repeated :string, :hints, 3
919
+ end
966
920
 
967
- ST_COUNTER_ITEM = 0
968
- ST_ALERT = 1
969
- ST_FLOW = 2
970
- ST_TOPPER = 3
971
- end
921
+ class ProbeStatsRequest
922
+ required :string, :context_name, 1
923
+ optional :string, :param, 2
924
+ end
972
925
 
973
- module CtlType
974
- include ::ProtocolBuffers::Enum
926
+ class ProbeStatsResponse
927
+ required :string, :context_name, 1
928
+ required :string, :instance_name, 2
929
+ required :int64, :connections, 3
930
+ required :int64, :uptime_seconds, 4
931
+ required :double, :cpu_usage_percent_trisul, 5
932
+ required :double, :cpu_usage_percent_total, 6
933
+ required :double, :mem_usage_trisul, 7
934
+ required :double, :mem_usage_total, 8
935
+ required :double, :mem_total, 9
936
+ required :double, :drop_percent_cap, 10
937
+ required :double, :drop_percent_trisul, 11
938
+ optional :int64, :proc_bytes, 12
939
+ optional :int64, :proc_packets, 13
940
+ optional :string, :offline_pcap_file, 14
941
+ optional :bool, :is_running, 15
942
+ end
975
943
 
976
- set_fully_qualified_name "TRP.SubscribeCtl.CtlType"
944
+ class AsyncResponse
945
+ required :int64, :token, 1
946
+ optional :string, :response_message, 3
947
+ optional ::TRP::Message, :response, 4
948
+ end
977
949
 
978
- CT_SUBSCRIBE = 0
979
- CT_UNSUBSCRIBE = 1
980
- end
950
+ class AsyncRequest
951
+ required :int64, :token, 1
952
+ optional :string, :request_message, 2
953
+ end
981
954
 
982
- set_fully_qualified_name "TRP.SubscribeCtl"
955
+ class FileRequest
956
+ required :string, :uri, 1
957
+ required :int64, :position, 2
958
+ optional :string, :params, 3
959
+ end
983
960
 
984
- optional :int64, :context, 1, :default => 0
985
- required ::TRP::SubscribeCtl::CtlType, :ctl, 2
986
- required ::TRP::SubscribeCtl::StabberType, :type, 3
987
- optional :string, :guid, 4
988
- optional :string, :key, 5
989
- optional :int64, :meterid, 6
961
+ class FileResponse
962
+ required :string, :uri, 1
963
+ required :bool, :eof, 2
964
+ optional :int64, :position, 3
965
+ optional :bytes, :content, 4
966
+ optional :string, :request_params, 5
990
967
  end
991
968
 
992
969
  end
970
+