Skip to content

Commit

Permalink
Updated Protobuf files (#20)
Browse files Browse the repository at this point in the history
* Updated proto & pb2 files

* Added auditlogs topic

* Updated streaming pb2

---------

Co-authored-by: Karthik Satheesh Kumar <[email protected]>
  • Loading branch information
KarthikSKumar98 and Karthik Satheesh Kumar committed Apr 13, 2023
1 parent bb25f7a commit c87dab9
Show file tree
Hide file tree
Showing 10 changed files with 313 additions and 9,403 deletions.
2 changes: 2 additions & 0 deletions streaming-api-client/proto/apprf.proto
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ message client_firewall_session {
optional string user_role = 30;
optional string device_type = 31;
optional uint64 timestamp = 32;
optional bool preauth_flag = 33;
optional uint32 dest_port = 34;
}

message url_detail_record {
Expand Down
696 changes: 27 additions & 669 deletions streaming-api-client/proto/apprf_pb2.py

Large diffs are not rendered by default.

442 changes: 23 additions & 419 deletions streaming-api-client/proto/audit_pb2.py

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions streaming-api-client/proto/location.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,24 @@ enum measurement_unit
PIXELS = 2;
}

message record {
required uint32 timestamp = 1;
required mac_address radio_mac = 2;
required int32 rssi_val = 3;
optional uint32 channel = 4;
}

enum error_code {
ERROR_CODE_NO_ERROR = 0; // No error (a new fix is available)
ERROR_CODE_0_RSSI = 1; // 0 RSSI could be used with the PDB
ERROR_CODE_ONLY_1_RSSI = 2; // 1 RSSI could be used with the PDB
ERROR_CODE_ONLY_2_RSSI = 3; // 2 RSSI could be used with the PDB
ERROR_CODE_RSSI_QUALITY = 4; // RSSIs measurement are poor quality
ERROR_CODE_RSSI_OLD_TIMESTAMP = 8; // timestamps of RSSI is too old
ERROR_CODE_RSSI_CLOSE_TIMESTAMP = 16; // time since last fix computed is under threshold
ERROR_CODE_LEGACY = 0xFFFFF; // This is the legacy error code for ALE version < 2.0.0.15 (internal usage)
}

message stream_location
{
optional float sta_location_x = 1;
Expand All @@ -48,4 +66,6 @@ message stream_location
optional string floor_id_string = 18;
optional target_dev_type target_type = 19 [default=TARGET_TYPE_UNKNOWN];
optional bool associated = 20;
optional error_code err_code = 21;
repeated record records = 22;
}
348 changes: 21 additions & 327 deletions streaming-api-client/proto/location_pb2.py

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions streaming-api-client/proto/monitoring.proto
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,8 @@ message Vlan {
optional string description = 9;
optional Status admin_state = 10;
optional string addr_mode = 11;
optional uint32 timestamp = 12;
optional string device_id = 13;
}

message VSXState {
Expand Down
7,077 changes: 161 additions & 6,916 deletions streaming-api-client/proto/monitoring_pb2.py

Large diffs are not rendered by default.

Loading

0 comments on commit c87dab9

Please sign in to comment.