trisulrp 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/trisulrp/trp.pb.rb +145 -0
- data/lib/trisulrp/trp.proto +5 -1
- data/trisulrp.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3a837960aa8bad2a85a89334b12ef67d879a1b0
|
4
|
+
data.tar.gz: 53d31d34049c4852714bf66339141baae43f629c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40d725a191e2d1761e474d541bdc5af9e5095beba0582f7f07c4e0a45384932dac8cb6235531bb5189a0af51a58f406f73279c5c4ffa52b6cb4bf331cae781e1
|
7
|
+
data.tar.gz: 18b3ded64e3bc27053061847c733cb6f46eb6d07495c0c5cf19a2f548ac2b994614be511048b06857ae379e7c7d51ce574e04f6e0cef04e893f7cfff1d7c48ed
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.2
|
data/lib/trisulrp/trp.pb.rb
CHANGED
@@ -65,6 +65,9 @@ module TRP
|
|
65
65
|
# enums
|
66
66
|
module AuthLevel
|
67
67
|
include ::ProtocolBuffers::Enum
|
68
|
+
|
69
|
+
set_fully_qualified_name "TRP.AuthLevel"
|
70
|
+
|
68
71
|
ADMIN = 1
|
69
72
|
BASIC_USER = 2
|
70
73
|
FORENSIC_USER = 3
|
@@ -73,43 +76,62 @@ module TRP
|
|
73
76
|
|
74
77
|
module CompressionType
|
75
78
|
include ::ProtocolBuffers::Enum
|
79
|
+
|
80
|
+
set_fully_qualified_name "TRP.CompressionType"
|
81
|
+
|
76
82
|
UNCOMPRESSED = 1
|
77
83
|
GZIP = 2
|
78
84
|
end
|
79
85
|
|
80
86
|
module PcapFormat
|
81
87
|
include ::ProtocolBuffers::Enum
|
88
|
+
|
89
|
+
set_fully_qualified_name "TRP.PcapFormat"
|
90
|
+
|
82
91
|
LIBPCAP = 1
|
83
92
|
UNSNIFF = 2
|
84
93
|
end
|
85
94
|
|
86
95
|
module PcapDisposition
|
87
96
|
include ::ProtocolBuffers::Enum
|
97
|
+
|
98
|
+
set_fully_qualified_name "TRP.PcapDisposition"
|
99
|
+
|
88
100
|
DOWNLOAD = 1
|
89
101
|
SAVE_ON_SERVER = 2
|
90
102
|
end
|
91
103
|
|
92
104
|
class Timestamp < ::ProtocolBuffers::Message
|
105
|
+
set_fully_qualified_name "TRP.Timestamp"
|
106
|
+
|
93
107
|
required :int64, :tv_sec, 1
|
94
108
|
optional :int64, :tv_usec, 2, :default => 0
|
95
109
|
end
|
96
110
|
|
97
111
|
class TimeInterval < ::ProtocolBuffers::Message
|
112
|
+
set_fully_qualified_name "TRP.TimeInterval"
|
113
|
+
|
98
114
|
required ::TRP::Timestamp, :from, 1
|
99
115
|
required ::TRP::Timestamp, :to, 2
|
100
116
|
end
|
101
117
|
|
102
118
|
class StatsTuple < ::ProtocolBuffers::Message
|
119
|
+
set_fully_qualified_name "TRP.StatsTuple"
|
120
|
+
|
103
121
|
required ::TRP::Timestamp, :ts, 1
|
104
122
|
required :int64, :val, 2
|
105
123
|
end
|
106
124
|
|
107
125
|
class MeterValues < ::ProtocolBuffers::Message
|
126
|
+
set_fully_qualified_name "TRP.MeterValues"
|
127
|
+
|
108
128
|
required :int32, :meter, 1
|
109
129
|
repeated ::TRP::StatsTuple, :values, 2
|
110
130
|
end
|
111
131
|
|
112
132
|
class KeyStats < ::ProtocolBuffers::Message
|
133
|
+
set_fully_qualified_name "TRP.KeyStats"
|
134
|
+
|
113
135
|
optional :int64, :context, 1, :default => 0
|
114
136
|
required :string, :counter_group, 2
|
115
137
|
required :string, :key, 3
|
@@ -117,6 +139,8 @@ module TRP
|
|
117
139
|
end
|
118
140
|
|
119
141
|
class KeyDetails < ::ProtocolBuffers::Message
|
142
|
+
set_fully_qualified_name "TRP.KeyDetails"
|
143
|
+
|
120
144
|
required :string, :key, 1
|
121
145
|
optional :string, :label, 2
|
122
146
|
optional :string, :description, 3
|
@@ -124,21 +148,29 @@ module TRP
|
|
124
148
|
end
|
125
149
|
|
126
150
|
class SessionID < ::ProtocolBuffers::Message
|
151
|
+
set_fully_qualified_name "TRP.SessionID"
|
152
|
+
|
127
153
|
required :int64, :slice_id, 1
|
128
154
|
required :int64, :session_id, 2
|
129
155
|
end
|
130
156
|
|
131
157
|
class AlertID < ::ProtocolBuffers::Message
|
158
|
+
set_fully_qualified_name "TRP.AlertID"
|
159
|
+
|
132
160
|
required :int64, :slice_id, 1
|
133
161
|
required :int64, :alert_id, 2
|
134
162
|
end
|
135
163
|
|
136
164
|
class ResourceID < ::ProtocolBuffers::Message
|
165
|
+
set_fully_qualified_name "TRP.ResourceID"
|
166
|
+
|
137
167
|
required :int64, :slice_id, 1
|
138
168
|
required :int64, :resource_id, 2
|
139
169
|
end
|
140
170
|
|
141
171
|
class CounterGroupDetails < ::ProtocolBuffers::Message
|
172
|
+
set_fully_qualified_name "TRP.CounterGroupDetails"
|
173
|
+
|
142
174
|
required :string, :guid, 1
|
143
175
|
required :string, :name, 2
|
144
176
|
optional :int64, :bucket_size, 3
|
@@ -147,6 +179,8 @@ module TRP
|
|
147
179
|
end
|
148
180
|
|
149
181
|
class SessionDetails < ::ProtocolBuffers::Message
|
182
|
+
set_fully_qualified_name "TRP.SessionDetails"
|
183
|
+
|
150
184
|
optional :string, :session_key, 1
|
151
185
|
required ::TRP::SessionID, :session_id, 2
|
152
186
|
optional :string, :user_label, 3
|
@@ -165,6 +199,10 @@ module TRP
|
|
165
199
|
optional ::TRP::KeyDetails, :nf_ifindex_in, 16
|
166
200
|
optional ::TRP::KeyDetails, :nf_ifindex_out, 17
|
167
201
|
optional :string, :tags, 18
|
202
|
+
required :int64, :az_payload, 19
|
203
|
+
required :int64, :za_payload, 20
|
204
|
+
required :int64, :setup_rtt, 21
|
205
|
+
required :int64, :retransmissions, 22
|
168
206
|
end
|
169
207
|
|
170
208
|
class Message < ::ProtocolBuffers::Message
|
@@ -173,6 +211,9 @@ module TRP
|
|
173
211
|
# enums
|
174
212
|
module Command
|
175
213
|
include ::ProtocolBuffers::Enum
|
214
|
+
|
215
|
+
set_fully_qualified_name "TRP.Message.Command"
|
216
|
+
|
176
217
|
HELLO_REQUEST = 1
|
177
218
|
HELLO_RESPONSE = 2
|
178
219
|
OK_RESPONSE = 3
|
@@ -229,6 +270,8 @@ module TRP
|
|
229
270
|
KEYSPACE_RESPONSE = 71
|
230
271
|
end
|
231
272
|
|
273
|
+
set_fully_qualified_name "TRP.Message"
|
274
|
+
|
232
275
|
required ::TRP::Message::Command, :trp_command, 1
|
233
276
|
optional ::TRP::HelloRequest, :hello_request, 2
|
234
277
|
optional ::TRP::HelloResponse, :hello_response, 3
|
@@ -277,10 +320,14 @@ module TRP
|
|
277
320
|
end
|
278
321
|
|
279
322
|
class HelloRequest < ::ProtocolBuffers::Message
|
323
|
+
set_fully_qualified_name "TRP.HelloRequest"
|
324
|
+
|
280
325
|
required :string, :station_id, 1
|
281
326
|
end
|
282
327
|
|
283
328
|
class HelloResponse < ::ProtocolBuffers::Message
|
329
|
+
set_fully_qualified_name "TRP.HelloResponse"
|
330
|
+
|
284
331
|
required :string, :trisul_id, 1
|
285
332
|
required :string, :trisul_description, 2
|
286
333
|
required :string, :connection_id, 3
|
@@ -291,21 +338,29 @@ module TRP
|
|
291
338
|
end
|
292
339
|
|
293
340
|
class ErrorResponse < ::ProtocolBuffers::Message
|
341
|
+
set_fully_qualified_name "TRP.ErrorResponse"
|
342
|
+
|
294
343
|
required :int64, :original_command, 1
|
295
344
|
required :int64, :error_code, 2
|
296
345
|
required :string, :error_message, 3
|
297
346
|
end
|
298
347
|
|
299
348
|
class OKResponse < ::ProtocolBuffers::Message
|
349
|
+
set_fully_qualified_name "TRP.OKResponse"
|
350
|
+
|
300
351
|
required :int64, :original_command, 1
|
301
352
|
optional :string, :message, 2
|
302
353
|
end
|
303
354
|
|
304
355
|
class ReleaseContextRequest < ::ProtocolBuffers::Message
|
356
|
+
set_fully_qualified_name "TRP.ReleaseContextRequest"
|
357
|
+
|
305
358
|
optional :int64, :context, 1
|
306
359
|
end
|
307
360
|
|
308
361
|
class CounterItemRequest < ::ProtocolBuffers::Message
|
362
|
+
set_fully_qualified_name "TRP.CounterItemRequest"
|
363
|
+
|
309
364
|
optional :int64, :context, 1, :default => 0
|
310
365
|
required :string, :counter_group, 2
|
311
366
|
optional :int64, :meter, 3
|
@@ -315,10 +370,14 @@ module TRP
|
|
315
370
|
end
|
316
371
|
|
317
372
|
class CounterItemResponse < ::ProtocolBuffers::Message
|
373
|
+
set_fully_qualified_name "TRP.CounterItemResponse"
|
374
|
+
|
318
375
|
required ::TRP::KeyStats, :stats, 1
|
319
376
|
end
|
320
377
|
|
321
378
|
class BulkCounterItemRequest < ::ProtocolBuffers::Message
|
379
|
+
set_fully_qualified_name "TRP.BulkCounterItemRequest"
|
380
|
+
|
322
381
|
optional :int64, :context, 1, :default => 0
|
323
382
|
required :string, :counter_group, 2
|
324
383
|
required :int64, :meter, 3
|
@@ -327,10 +386,14 @@ module TRP
|
|
327
386
|
end
|
328
387
|
|
329
388
|
class BulkCounterItemResponse < ::ProtocolBuffers::Message
|
389
|
+
set_fully_qualified_name "TRP.BulkCounterItemResponse"
|
390
|
+
|
330
391
|
repeated ::TRP::KeyStats, :stats, 1
|
331
392
|
end
|
332
393
|
|
333
394
|
class CounterGroupRequest < ::ProtocolBuffers::Message
|
395
|
+
set_fully_qualified_name "TRP.CounterGroupRequest"
|
396
|
+
|
334
397
|
optional :int64, :context, 1, :default => 0
|
335
398
|
required :string, :counter_group, 2
|
336
399
|
optional :int64, :meter, 3, :default => 0
|
@@ -341,6 +404,8 @@ module TRP
|
|
341
404
|
end
|
342
405
|
|
343
406
|
class CounterGroupResponse < ::ProtocolBuffers::Message
|
407
|
+
set_fully_qualified_name "TRP.CounterGroupResponse"
|
408
|
+
|
344
409
|
required :int64, :context, 1
|
345
410
|
required :string, :counter_group, 2
|
346
411
|
required :int64, :meter, 3
|
@@ -354,23 +419,33 @@ module TRP
|
|
354
419
|
class ByAlert < ::ProtocolBuffers::Message; end
|
355
420
|
class ByResource < ::ProtocolBuffers::Message; end
|
356
421
|
|
422
|
+
set_fully_qualified_name "TRP.FilteredDatagramRequest"
|
423
|
+
|
357
424
|
# nested messages
|
358
425
|
class ByFilterExpr < ::ProtocolBuffers::Message
|
426
|
+
set_fully_qualified_name "TRP.FilteredDatagramRequest.ByFilterExpr"
|
427
|
+
|
359
428
|
required ::TRP::TimeInterval, :time_interval, 1
|
360
429
|
required :string, :filter_expression, 2
|
361
430
|
end
|
362
431
|
|
363
432
|
class BySession < ::ProtocolBuffers::Message
|
433
|
+
set_fully_qualified_name "TRP.FilteredDatagramRequest.BySession"
|
434
|
+
|
364
435
|
optional :string, :session_group, 1, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
|
365
436
|
required ::TRP::SessionID, :session_id, 2
|
366
437
|
end
|
367
438
|
|
368
439
|
class ByAlert < ::ProtocolBuffers::Message
|
440
|
+
set_fully_qualified_name "TRP.FilteredDatagramRequest.ByAlert"
|
441
|
+
|
369
442
|
optional :string, :alert_group, 1, :default => "{9AFD8C08-07EB-47E0-BF05-28B4A7AE8DC9}"
|
370
443
|
required ::TRP::AlertID, :alert_id, 2
|
371
444
|
end
|
372
445
|
|
373
446
|
class ByResource < ::ProtocolBuffers::Message
|
447
|
+
set_fully_qualified_name "TRP.FilteredDatagramRequest.ByResource"
|
448
|
+
|
374
449
|
required :string, :resource_group, 1
|
375
450
|
required ::TRP::ResourceID, :resource_id, 2
|
376
451
|
end
|
@@ -386,6 +461,8 @@ module TRP
|
|
386
461
|
end
|
387
462
|
|
388
463
|
class FilteredDatagramResponse < ::ProtocolBuffers::Message
|
464
|
+
set_fully_qualified_name "TRP.FilteredDatagramResponse"
|
465
|
+
|
389
466
|
required ::TRP::PcapFormat, :format, 1
|
390
467
|
required ::TRP::CompressionType, :compress_type, 2
|
391
468
|
required ::TRP::TimeInterval, :time_interval, 3
|
@@ -398,17 +475,23 @@ module TRP
|
|
398
475
|
end
|
399
476
|
|
400
477
|
class ControlledContextRequest < ::ProtocolBuffers::Message
|
478
|
+
set_fully_qualified_name "TRP.ControlledContextRequest"
|
479
|
+
|
401
480
|
required ::TRP::TimeInterval, :time_interval, 1
|
402
481
|
required :string, :filter_expression, 2
|
403
482
|
end
|
404
483
|
|
405
484
|
class ControlledContextResponse < ::ProtocolBuffers::Message
|
485
|
+
set_fully_qualified_name "TRP.ControlledContextResponse"
|
486
|
+
|
406
487
|
required :int64, :context, 1
|
407
488
|
optional :string, :context_db, 2
|
408
489
|
required ::TRP::TimeInterval, :time_interval, 3
|
409
490
|
end
|
410
491
|
|
411
492
|
class SearchKeysRequest < ::ProtocolBuffers::Message
|
493
|
+
set_fully_qualified_name "TRP.SearchKeysRequest"
|
494
|
+
|
412
495
|
optional :int64, :context, 1, :default => 0
|
413
496
|
required :string, :counter_group, 2
|
414
497
|
required :string, :pattern, 3
|
@@ -416,22 +499,30 @@ module TRP
|
|
416
499
|
end
|
417
500
|
|
418
501
|
class SearchKeysResponse < ::ProtocolBuffers::Message
|
502
|
+
set_fully_qualified_name "TRP.SearchKeysResponse"
|
503
|
+
|
419
504
|
optional :int64, :context, 1
|
420
505
|
required :string, :counter_group, 2
|
421
506
|
repeated ::TRP::KeyDetails, :found_keys, 3
|
422
507
|
end
|
423
508
|
|
424
509
|
class CounterGroupInfoRequest < ::ProtocolBuffers::Message
|
510
|
+
set_fully_qualified_name "TRP.CounterGroupInfoRequest"
|
511
|
+
|
425
512
|
optional :int64, :context, 1, :default => 0
|
426
513
|
optional :string, :counter_group, 2
|
427
514
|
end
|
428
515
|
|
429
516
|
class CounterGroupInfoResponse < ::ProtocolBuffers::Message
|
517
|
+
set_fully_qualified_name "TRP.CounterGroupInfoResponse"
|
518
|
+
|
430
519
|
optional :int64, :context, 1
|
431
520
|
repeated ::TRP::CounterGroupDetails, :group_details, 2
|
432
521
|
end
|
433
522
|
|
434
523
|
class SessionItemRequest < ::ProtocolBuffers::Message
|
524
|
+
set_fully_qualified_name "TRP.SessionItemRequest"
|
525
|
+
|
435
526
|
optional :int64, :context, 1, :default => 0
|
436
527
|
optional :string, :session_group, 2, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
|
437
528
|
repeated :string, :session_keys, 3
|
@@ -440,12 +531,16 @@ module TRP
|
|
440
531
|
end
|
441
532
|
|
442
533
|
class SessionItemResponse < ::ProtocolBuffers::Message
|
534
|
+
set_fully_qualified_name "TRP.SessionItemResponse"
|
535
|
+
|
443
536
|
optional :int64, :context, 1, :default => 0
|
444
537
|
required :string, :session_group, 2
|
445
538
|
repeated ::TRP::SessionDetails, :sessions, 3
|
446
539
|
end
|
447
540
|
|
448
541
|
class QuerySessionsRequest < ::ProtocolBuffers::Message
|
542
|
+
set_fully_qualified_name "TRP.QuerySessionsRequest"
|
543
|
+
|
449
544
|
optional :int64, :context, 1, :default => 0
|
450
545
|
optional :string, :session_group, 2, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
|
451
546
|
required ::TRP::TimeInterval, :time_interval, 3
|
@@ -470,12 +565,16 @@ module TRP
|
|
470
565
|
end
|
471
566
|
|
472
567
|
class QuerySessionsResponse < ::ProtocolBuffers::Message
|
568
|
+
set_fully_qualified_name "TRP.QuerySessionsResponse"
|
569
|
+
|
473
570
|
optional :int64, :context, 1
|
474
571
|
required :string, :session_group, 2
|
475
572
|
repeated ::TRP::SessionDetails, :sessions, 3
|
476
573
|
end
|
477
574
|
|
478
575
|
class UpdateKeyRequest < ::ProtocolBuffers::Message
|
576
|
+
set_fully_qualified_name "TRP.UpdateKeyRequest"
|
577
|
+
|
479
578
|
optional :int64, :context, 1, :default => 0
|
480
579
|
required :string, :counter_group, 2
|
481
580
|
required :string, :key, 4
|
@@ -484,6 +583,8 @@ module TRP
|
|
484
583
|
end
|
485
584
|
|
486
585
|
class SessionTrackerRequest < ::ProtocolBuffers::Message
|
586
|
+
set_fully_qualified_name "TRP.SessionTrackerRequest"
|
587
|
+
|
487
588
|
optional :int64, :context, 1, :default => 0
|
488
589
|
optional :string, :session_group, 2, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
|
489
590
|
required :int64, :tracker_id, 3, :default => 1
|
@@ -492,12 +593,16 @@ module TRP
|
|
492
593
|
end
|
493
594
|
|
494
595
|
class SessionTrackerResponse < ::ProtocolBuffers::Message
|
596
|
+
set_fully_qualified_name "TRP.SessionTrackerResponse"
|
597
|
+
|
495
598
|
optional :int64, :context, 1
|
496
599
|
required :string, :session_group, 2
|
497
600
|
repeated ::TRP::SessionID, :sessions, 3
|
498
601
|
end
|
499
602
|
|
500
603
|
class SessionGroupRequest < ::ProtocolBuffers::Message
|
604
|
+
set_fully_qualified_name "TRP.SessionGroupRequest"
|
605
|
+
|
501
606
|
optional :int64, :context, 1, :default => 0
|
502
607
|
optional :string, :session_group, 2, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
|
503
608
|
optional :int64, :tracker_id, 3
|
@@ -506,16 +611,22 @@ module TRP
|
|
506
611
|
end
|
507
612
|
|
508
613
|
class SessionGroupResponse < ::ProtocolBuffers::Message
|
614
|
+
set_fully_qualified_name "TRP.SessionGroupResponse"
|
615
|
+
|
509
616
|
optional :int64, :context, 1
|
510
617
|
required :string, :session_group, 2
|
511
618
|
repeated :string, :session_keys, 3
|
512
619
|
end
|
513
620
|
|
514
621
|
class ServerStatsRequest < ::ProtocolBuffers::Message
|
622
|
+
set_fully_qualified_name "TRP.ServerStatsRequest"
|
623
|
+
|
515
624
|
required :int64, :param, 1
|
516
625
|
end
|
517
626
|
|
518
627
|
class ServerStatsResponse < ::ProtocolBuffers::Message
|
628
|
+
set_fully_qualified_name "TRP.ServerStatsResponse"
|
629
|
+
|
519
630
|
required :string, :instance_name, 1
|
520
631
|
required :int64, :connections, 2
|
521
632
|
required :int64, :uptime_seconds, 3
|
@@ -531,6 +642,8 @@ module TRP
|
|
531
642
|
end
|
532
643
|
|
533
644
|
class AlertItemRequest < ::ProtocolBuffers::Message
|
645
|
+
set_fully_qualified_name "TRP.AlertItemRequest"
|
646
|
+
|
534
647
|
optional :int64, :context, 1, :default => 0
|
535
648
|
required :string, :alert_group, 2
|
536
649
|
repeated ::TRP::AlertID, :alert_ids, 3
|
@@ -540,8 +653,12 @@ module TRP
|
|
540
653
|
# forward declarations
|
541
654
|
class Item < ::ProtocolBuffers::Message; end
|
542
655
|
|
656
|
+
set_fully_qualified_name "TRP.AlertItemResponse"
|
657
|
+
|
543
658
|
# nested messages
|
544
659
|
class Item < ::ProtocolBuffers::Message
|
660
|
+
set_fully_qualified_name "TRP.AlertItemResponse.Item"
|
661
|
+
|
545
662
|
optional :int64, :sensor_id, 1
|
546
663
|
required ::TRP::Timestamp, :time, 2
|
547
664
|
required ::TRP::AlertID, :alert_id, 3
|
@@ -563,6 +680,8 @@ module TRP
|
|
563
680
|
end
|
564
681
|
|
565
682
|
class AlertGroupRequest < ::ProtocolBuffers::Message
|
683
|
+
set_fully_qualified_name "TRP.AlertGroupRequest"
|
684
|
+
|
566
685
|
optional :int64, :context, 1, :default => 0
|
567
686
|
required :string, :alert_group, 2
|
568
687
|
required ::TRP::TimeInterval, :time_interval, 3
|
@@ -579,12 +698,16 @@ module TRP
|
|
579
698
|
end
|
580
699
|
|
581
700
|
class AlertGroupResponse < ::ProtocolBuffers::Message
|
701
|
+
set_fully_qualified_name "TRP.AlertGroupResponse"
|
702
|
+
|
582
703
|
optional :int64, :context, 1
|
583
704
|
required :string, :alert_group, 2
|
584
705
|
repeated ::TRP::AlertID, :alerts, 3
|
585
706
|
end
|
586
707
|
|
587
708
|
class ResourceItemRequest < ::ProtocolBuffers::Message
|
709
|
+
set_fully_qualified_name "TRP.ResourceItemRequest"
|
710
|
+
|
588
711
|
optional :int64, :context, 1, :default => 0
|
589
712
|
required :string, :resource_group, 2
|
590
713
|
repeated ::TRP::ResourceID, :resource_ids, 3
|
@@ -594,8 +717,12 @@ module TRP
|
|
594
717
|
# forward declarations
|
595
718
|
class Item < ::ProtocolBuffers::Message; end
|
596
719
|
|
720
|
+
set_fully_qualified_name "TRP.ResourceItemResponse"
|
721
|
+
|
597
722
|
# nested messages
|
598
723
|
class Item < ::ProtocolBuffers::Message
|
724
|
+
set_fully_qualified_name "TRP.ResourceItemResponse.Item"
|
725
|
+
|
599
726
|
required ::TRP::Timestamp, :time, 1
|
600
727
|
required ::TRP::ResourceID, :resource_id, 2
|
601
728
|
optional :string, :source_ip, 3
|
@@ -612,6 +739,8 @@ module TRP
|
|
612
739
|
end
|
613
740
|
|
614
741
|
class ResourceGroupRequest < ::ProtocolBuffers::Message
|
742
|
+
set_fully_qualified_name "TRP.ResourceGroupRequest"
|
743
|
+
|
615
744
|
optional :int64, :context, 1, :default => 0
|
616
745
|
required :string, :resource_group, 2
|
617
746
|
required ::TRP::TimeInterval, :time_interval, 3
|
@@ -626,24 +755,32 @@ module TRP
|
|
626
755
|
end
|
627
756
|
|
628
757
|
class ResourceGroupResponse < ::ProtocolBuffers::Message
|
758
|
+
set_fully_qualified_name "TRP.ResourceGroupResponse"
|
759
|
+
|
629
760
|
optional :int64, :context, 1
|
630
761
|
required :string, :resource_group, 2
|
631
762
|
repeated ::TRP::ResourceID, :resources, 3
|
632
763
|
end
|
633
764
|
|
634
765
|
class KeyLookupRequest < ::ProtocolBuffers::Message
|
766
|
+
set_fully_qualified_name "TRP.KeyLookupRequest"
|
767
|
+
|
635
768
|
optional :int64, :context, 1, :default => 0
|
636
769
|
required :string, :counter_group, 2
|
637
770
|
repeated :string, :keys, 3
|
638
771
|
end
|
639
772
|
|
640
773
|
class KeyLookupResponse < ::ProtocolBuffers::Message
|
774
|
+
set_fully_qualified_name "TRP.KeyLookupResponse"
|
775
|
+
|
641
776
|
optional :int64, :context, 1
|
642
777
|
required :string, :counter_group, 2
|
643
778
|
repeated ::TRP::KeyDetails, :key_details, 3
|
644
779
|
end
|
645
780
|
|
646
781
|
class GrepRequest < ::ProtocolBuffers::Message
|
782
|
+
set_fully_qualified_name "TRP.GrepRequest"
|
783
|
+
|
647
784
|
optional :int64, :context, 1, :default => 0
|
648
785
|
optional :string, :session_group, 2, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
|
649
786
|
required ::TRP::TimeInterval, :time_interval, 3
|
@@ -653,6 +790,8 @@ module TRP
|
|
653
790
|
end
|
654
791
|
|
655
792
|
class GrepResponse < ::ProtocolBuffers::Message
|
793
|
+
set_fully_qualified_name "TRP.GrepResponse"
|
794
|
+
|
656
795
|
optional :int64, :context, 1
|
657
796
|
optional :string, :session_group, 2, :default => "{99A78737-4B41-4387-8F31-8077DB917336}"
|
658
797
|
repeated ::TRP::SessionID, :sessions, 3
|
@@ -663,8 +802,12 @@ module TRP
|
|
663
802
|
# forward declarations
|
664
803
|
class KeySpace < ::ProtocolBuffers::Message; end
|
665
804
|
|
805
|
+
set_fully_qualified_name "TRP.KeySpaceRequest"
|
806
|
+
|
666
807
|
# nested messages
|
667
808
|
class KeySpace < ::ProtocolBuffers::Message
|
809
|
+
set_fully_qualified_name "TRP.KeySpaceRequest.KeySpace"
|
810
|
+
|
668
811
|
required :string, :from, 1
|
669
812
|
required :string, :to, 2
|
670
813
|
end
|
@@ -677,6 +820,8 @@ module TRP
|
|
677
820
|
end
|
678
821
|
|
679
822
|
class KeySpaceResponse < ::ProtocolBuffers::Message
|
823
|
+
set_fully_qualified_name "TRP.KeySpaceResponse"
|
824
|
+
|
680
825
|
optional :int64, :context, 1
|
681
826
|
optional :string, :counter_group, 2
|
682
827
|
repeated :string, :hits, 3
|
data/lib/trisulrp/trp.proto
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
// Trisul Remote Protocol (TRP) definition
|
2
2
|
// Based on Google Protocol Buffers
|
3
3
|
// (c) 2010-11, Unleash Networks (http://www.unleashnetworks.com)
|
4
|
-
// $Rev:
|
4
|
+
// $Rev: 6921 $
|
5
5
|
package TRP;
|
6
6
|
|
7
7
|
message Timestamp {
|
@@ -79,6 +79,10 @@ message SessionDetails {
|
|
79
79
|
optional KeyDetails nf_ifindex_in=16;
|
80
80
|
optional KeyDetails nf_ifindex_out=17;
|
81
81
|
optional string tags=18;
|
82
|
+
required int64 az_payload=19;
|
83
|
+
required int64 za_payload=20;
|
84
|
+
required int64 setup_rtt=21;
|
85
|
+
required int64 retransmissions=22;
|
82
86
|
}
|
83
87
|
|
84
88
|
|
data/trisulrp.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "trisulrp"
|
8
|
-
s.version = "2.0.
|
8
|
+
s.version = "2.0.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["vivek"]
|
12
|
-
s.date = "2014-
|
12
|
+
s.date = "2014-05-31"
|
13
13
|
s.description = "This gem deals about the trisul remote protocol"
|
14
14
|
s.email = "vivek_rajagopal@yahoo.com"
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trisulrp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vivek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-protocol-buffers
|