diff --git a/acctz/acctz.pb.go b/acctz/acctz.pb.go index b8bc6a6..250705c 100755 --- a/acctz/acctz.pb.go +++ b/acctz/acctz.pb.go @@ -32,6 +32,7 @@ const ( SessionInfo_SESSION_STATUS_ONCE SessionInfo_SessionStatus = 3 SessionInfo_SESSION_STATUS_ENABLE SessionInfo_SessionStatus = 4 SessionInfo_SESSION_STATUS_IDLE SessionInfo_SessionStatus = 5 + SessionInfo_SESSION_STATUS_OPERATION SessionInfo_SessionStatus = 6 ) // Enum value maps for SessionInfo_SessionStatus. @@ -43,6 +44,7 @@ var ( 3: "SESSION_STATUS_ONCE", 4: "SESSION_STATUS_ENABLE", 5: "SESSION_STATUS_IDLE", + 6: "SESSION_STATUS_OPERATION", } SessionInfo_SessionStatus_value = map[string]int32{ "SESSION_STATUS_UNSPECIFIED": 0, @@ -51,6 +53,7 @@ var ( "SESSION_STATUS_ONCE": 3, "SESSION_STATUS_ENABLE": 4, "SESSION_STATUS_IDLE": 5, + "SESSION_STATUS_OPERATION": 6, } ) @@ -1011,7 +1014,7 @@ var file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDesc = []byte{ 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x73, 0x69, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x04, 0x0a, 0x0b, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x04, 0x0a, 0x0b, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, @@ -1036,7 +1039,7 @@ var file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDesc = []byte{ 0x75, 0x73, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x75, 0x74, 0x68, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, - 0x05, 0x61, 0x75, 0x74, 0x68, 0x6e, 0x22, 0xb1, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x73, 0x73, 0x69, + 0x05, 0x61, 0x75, 0x74, 0x68, 0x6e, 0x22, 0xcf, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1e, 0x0a, 0x1a, 0x53, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x45, 0x53, 0x53, diff --git a/acctz/acctz.proto b/acctz/acctz.proto index 0649aac..6003d29 100644 --- a/acctz/acctz.proto +++ b/acctz/acctz.proto @@ -108,6 +108,7 @@ message SessionInfo { SESSION_STATUS_ONCE = 3; // simultaneous login, cmd, logout SESSION_STATUS_ENABLE = 4; // change privilege level SESSION_STATUS_IDLE = 5; // "watchog" + SESSION_STATUS_OPERATION = 6; // "cmd" } SessionStatus status = 8; @@ -264,7 +265,7 @@ message RecordResponse { SessionInfo session_info = 1; // The time when the system recorded this event, represented as nanoseconds - // since the unix epoch. + // since the unix epoch (Jan 1, 1970 00:00:00 UTC). google.protobuf.Timestamp timestamp = 2; // True, if the server's history does not include a message with the given @@ -289,12 +290,10 @@ message RecordResponse { } // RecordRequest, requests a starting point for records to be sent to the -// caller. -// The receiver then can signal back to the sender periodic sync messages to -// acknowledge received records. -// The timestamp indicates the last processed Record at the caller. +// caller. A timestamp of 0 indicates that the server should return all +// records present to the client. message RecordRequest { - // The time when the system recorded this event represented as nanoseconds - // since the unix epoch. + // The time is represented as nanoseconds since the + // unix epoch (Jan 1, 1970 00:00:00 UTC). google.protobuf.Timestamp timestamp = 2; }