Skip to content

Commit

Permalink
Merge remote-tracking branch 'main/master' into 2.6.0_ixEngine
Browse files Browse the repository at this point in the history
  • Loading branch information
Shweta Bhandare committed Mar 5, 2015
2 parents 1cb7c5b + 72657c6 commit f504423
Show file tree
Hide file tree
Showing 58 changed files with 205 additions and 38 deletions.
2 changes: 2 additions & 0 deletions protofiles/BaseConfMsg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "BaseConfMsg";

import "GoProtoDefaults.proto";

message BaseConf {
optional string dpiThreads = 7;
optional string pcapETimeout = 8;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/CarpenterConfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.configelements";
option java_outer_classname = "CarpenterConfigMsg";

import "GoProtoDefaults.proto";

message CarpenterConfig {
optional int32 minutesToRest = 1;
optional string remoteDB = 2;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/CassandraConfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.configelements";
option java_outer_classname = "CassandraConfigMsg";

import "GoProtoDefaults.proto";

message CassandraConfig {
optional string statsDBClusterName = 1;
optional string statsDBUrl = 2;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/ColumboConfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.configelements";
option java_outer_classname = "ColumboConfigMsg";

import "GoProtoDefaults.proto";

message ColumboConfig {
optional string requestQueue = 1;
optional int32 resendTranslationTableIntervalInMS = 2;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/CommandReply.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "CommandReplyMsg";

import "GoProtoDefaults.proto";

message CommandReply {
required bool success = 1;
optional string result = 2;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/CommandRequest.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "CommandRequestMsg";

import "GoProtoDefaults.proto";

message CommandRequest {
enum CommandType {
UPGRADE = 0;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/ConfTypeMsg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "ConfTypeMsg";

import "GoProtoDefaults.proto";

message ConfType {
enum Type {
BASE = 0;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/ConfigDefaults.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import "ConfTypeMsg.proto";
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "ConfigDefaultsMsg";

import "GoProtoDefaults.proto";

message ConfigDefaults {
message DefaultValues {
optional ConfType.Type type = 1;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/ConfigDefaultsRequest.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ option java_outer_classname = "ConfigDefaultsRequestMsg";
// For the ConfType request config parameters
// The CommandReply will contain the ConfigDefaults.proto with
// parameter name, default value, max, min
import "GoProtoDefaults.proto";

message ConfigDefaultsRequest {
optional ConfType.Type type = 1;
repeated string requestedConfigParams = 2;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/ConfigReplyMsg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ option java_package = "com.logrhythm.configelements";
option java_outer_classname = "ConfigReplyMsg";
import "ConfigType.proto";

import "GoProtoDefaults.proto";

message ConfigReply {
enum ReplyType {
SUCCESS = 0;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/ConfigRequestMsg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ option java_package = "com.logrhythm.configelements";
option java_outer_classname = "ConfigRequestMsg";
import "ConfigType.proto";

import "GoProtoDefaults.proto";

message ConfigRequest {
enum RequestType {
READ = 0;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/ConfigServerConfigMsg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.configelements";
option java_outer_classname = "ConfigServerConfigMsg";

import "GoProtoDefaults.proto";

message ConfigServerConfig {
repeated string configRequestQueue = 1;
optional string frontEndRelayQueue = 2;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/DispatchClientConfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.configelements";
option java_outer_classname = "DispatchClientConfigMsg";

import "GoProtoDefaults.proto";

message DispatchClientConfig {

optional string dataInsertQueue = 1;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/DispatchConfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.configelements";
option java_outer_classname = "DispatchConfigMsg";

import "GoProtoDefaults.proto";

message DispatchConfig {

message IndexerConfig {
Expand Down
2 changes: 2 additions & 0 deletions protofiles/DpiMsgLRproto.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package networkMonitor;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "DPIMessageProtosProtos";

import "GoProtoDefaults.proto";

message DpiMsgLRproto
{
enum Type {
Expand Down
2 changes: 2 additions & 0 deletions protofiles/DriveInfo.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "DriveInfoMsg";

import "GoProtoDefaults.proto";

message DrivesInfo {
message DriveInfo {

Expand Down
2 changes: 2 additions & 0 deletions protofiles/ESDataCollectionMsg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "ESDataCollectionMsg";
import "ESDataMsg.proto";

import "GoProtoDefaults.proto";

message ESDataCollection {
repeated ESData message = 1;
}
2 changes: 2 additions & 0 deletions protofiles/ESDataMsg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "ESDataMsg";

import "GoProtoDefaults.proto";

message ESData {
enum RequestType {
INSERT = 1;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/ESSearchResult.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "ESSearchResultMsg";

import "GoProtoDefaults.proto";

message ESSearchResult {

enum ResultType {
Expand Down
2 changes: 2 additions & 0 deletions protofiles/ElasticSearchClientConfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.configelements";
option java_outer_classname = "ElasticSearchClientConfigMsg";

import "GoProtoDefaults.proto";

message ElasticSearchClientConfig {
optional string elasticsearchClusterName = 1;
}
2 changes: 2 additions & 0 deletions protofiles/ForkerReply.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "ForkerReplyMsg";

import "GoProtoDefaults.proto";

message ForkerReply {
optional string output = 1;
optional uint32 pid = 2;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/ForkerRequest.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "ForkerRequestMsg";

import "GoProtoDefaults.proto";

message ForkerRequest {
optional string command = 1;
repeated string args = 2;
Expand Down
18 changes: 18 additions & 0 deletions protofiles/GoProtoDefaults.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "GoProtoDefaults";

import "github.com/gogo/protobuf/gogoproto/gogo.proto";

//go options that improve code generation
option (gogoproto.gostring_all) = true;
option (gogoproto.equal_all) = true;
option (gogoproto.verbose_equal_all) = true;
option (gogoproto.goproto_stringer_all) = false;
option (gogoproto.stringer_all) = true;
option (gogoproto.populate_all) = true;
option (gogoproto.testgen_all) = true;
option (gogoproto.benchgen_all) = true;
option (gogoproto.marshaler_all) = true;
option (gogoproto.sizer_all) = true;
option (gogoproto.unmarshaler_all) = true;
2 changes: 2 additions & 0 deletions protofiles/HermesConfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.configelements";
option java_outer_classname = "HermesConfigMsg";

import "GoProtoDefaults.proto";

message HermesConfig {
repeated string pollStatsQueue = 1;
optional string pollStatsWorkerQueue = 2;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/HermesReply.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "HermesReplyMsg";

import "GoProtoDefaults.proto";

message HermesReply {
message ValueTuple {
optional string key = 1;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/HermesRequest.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "HermesRequestMsg";

import "GoProtoDefaults.proto";

message HermesRequest {
optional int32 beginTimeSeconds = 1;
optional int32 endTimeSeconds = 2;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/IndexManagerConfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.configelements";
option java_outer_classname = "IndexManagerConfigMsg";

import "GoProtoDefaults.proto";

message IndexManagerConfig {

message IndexConfig {
Expand Down
2 changes: 2 additions & 0 deletions protofiles/InfluxConfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.configelements";
option java_outer_classname = "InfluxConfigMsg";

import "GoProtoDefaults.proto";

message InfluxConfig {
optional string hostname = 1;
optional string database = 2;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/InstallInfo.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "InstallInfoMsg";

import "GoProtoDefaults.proto";

message InstallInfo {
optional uint64 installTime = 1;
optional uint64 lastCheckedTime = 2;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/License.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "LicenseMsg";

import "GoProtoDefaults.proto";

message RawLicense {
optional int32 bandwidthInMbps = 1;
optional int64 pcapFileSize = 2;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/LicenseReply.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "LicenseReplyMsg";

import "GoProtoDefaults.proto";

message LicenseReply {
repeated bytes encodedLicenses = 1;
}
Expand Down
2 changes: 2 additions & 0 deletions protofiles/LicenseRequest.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "LicenseRequestMsg";

import "GoProtoDefaults.proto";

message LicenseRequest {
enum RequestType {
AGGREGATE = 0;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/LicenseUpdate.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "LicenseUpdateMsg";

import "GoProtoDefaults.proto";

message LicenseUpdate {
enum LicenseType {
UNLICENSED = 1;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/LicenseUpdateReply.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "LicenseUpdateReplyMsg";

import "GoProtoDefaults.proto";

message LicenseUpdateReply {
optional bool success = 1;
optional string message = 2;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/LinkConfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.configelements";
option java_outer_classname = "LinkConfigMsg";

import "GoProtoDefaults.proto";

message LinkConfig {
optional int64 webHeartbeatIntervalMs = 1;
optional string searchInputQueue = 2;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/LogMessage.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "LogMessageMsg";

import "GoProtoDefaults.proto";

message LogMessage {
enum LogType {
NORMALIZED = 0;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/MaintenanceConfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ option java_package = "com.logrhythm.configelements";
option java_outer_classname = "MaintenanceConfigMsg";
import "IndexManagerConfig.proto";

import "GoProtoDefaults.proto";

message MaintenanceConfig {

optional bool runPcapStatReporter = 1;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/MetricsClientConfigMsg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.configelements";
option java_outer_classname = "MetricsClientConfigMsg";

import "GoProtoDefaults.proto";

message MetricsClientConfig {
optional string statsDestinationQueue = 1;
optional string statsAggregatorDestinationQueue = 2;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/MetricsConfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ option java_package = "com.logrhythm.configelements";
option java_outer_classname = "MetricsConfigMsg";
import "PortRange.proto";

import "GoProtoDefaults.proto";

message MetricsConfig {
repeated string statsQueue = 1;
repeated string statsAggregationQueue = 2;
Expand Down
2 changes: 2 additions & 0 deletions protofiles/NetInterfaceMsg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ enum NetInterfaceMethod {
STATICIP = 1;
}

import "GoProtoDefaults.proto";

message NetInterface {
optional string interface = 1 [default = "eth0"];
optional NetInterfaceMethod method = 2 [default = DHCP];
Expand Down
2 changes: 2 additions & 0 deletions protofiles/NtpMsg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "NtpMsg";

import "GoProtoDefaults.proto";

message Ntp {

// optional bool active = 1; // Deprecated. Active is no longer used
Expand Down
2 changes: 2 additions & 0 deletions protofiles/PcapDownloadMsg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "PcapDownloadMsg";

import "GoProtoDefaults.proto";

message BulkPcapDownload {

message PcapDownload {
Expand Down
2 changes: 2 additions & 0 deletions protofiles/PlaybackConfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package protoMsg;
option java_package = "com.logrhythm.configelements";
option java_outer_classname = "PlaybackConfigMsg";

import "GoProtoDefaults.proto";

message PlaybackConfig {

message DataReaderConfig {
Expand Down
Loading

0 comments on commit f504423

Please sign in to comment.