This is an automated email from the ASF dual-hosted git repository.
pbacsko pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/yunikorn-scheduler-interface.git
The following commit(s) were added to refs/heads/master by this push:
new 834ff5c [ADDENDUM] [YUNIKORN-2116] Track user/group events
834ff5c is described below
commit 834ff5c1f36c1418957fbd9eeddf692d2cd9719f
Author: Peter Bacsko <[email protected]>
AuthorDate: Tue Feb 13 13:23:58 2024 +0100
[ADDENDUM] [YUNIKORN-2116] Track user/group events
Change *_LIMITSET constants to just *_LIMIT. Remove UG_APP_UNLINK.
---
lib/go/si/si.pb.go | 123 +++++++++++++++++++++-----------------------
scheduler-interface-spec.md | 11 ++--
si.proto | 11 ++--
3 files changed, 69 insertions(+), 76 deletions(-)
diff --git a/lib/go/si/si.pb.go b/lib/go/si/si.pb.go
index b0e34dd..3d4714e 100644
--- a/lib/go/si/si.pb.go
+++ b/lib/go/si/si.pb.go
@@ -380,12 +380,11 @@ const (
EventRecord_ALLOC_TIMEOUT EventRecord_ChangeDetail = 502 //
Allocation cancelled due to timeout
EventRecord_ALLOC_REPLACED EventRecord_ChangeDetail = 503 //
Allocation replacement (placeholder)
EventRecord_ALLOC_NODEREMOVED EventRecord_ChangeDetail = 504 //
Allocation cancelled, node removal
- EventRecord_UG_USER_LIMITSET EventRecord_ChangeDetail = 600 // Limit
is configured for a given user
- EventRecord_UG_GROUP_LIMITSET EventRecord_ChangeDetail = 601 // Limit
is configured for a given group
- EventRecord_UG_APP_LINK EventRecord_ChangeDetail = 602 //
Linkage is created between an application and a group
- EventRecord_UG_APP_UNLINK EventRecord_ChangeDetail = 603 //
Unlinking an application and a group
- EventRecord_UG_USER_RESOURCE EventRecord_ChangeDetail = 604 //
Resource usage updated for a user
- EventRecord_UG_GROUP_RESOURCE EventRecord_ChangeDetail = 605 //
Resource usage updated for a group
+ EventRecord_UG_USER_LIMIT EventRecord_ChangeDetail = 600 // Limit
is changed (set/unset) for a given user
+ EventRecord_UG_GROUP_LIMIT EventRecord_ChangeDetail = 601 // Limit
is changed (set/unset) for a given group
+ EventRecord_UG_APP_LINK EventRecord_ChangeDetail = 602 //
Linkage is changed (created/removed) between an application and a group
+ EventRecord_UG_USER_RESOURCE EventRecord_ChangeDetail = 603 //
Resource usage updated for a user
+ EventRecord_UG_GROUP_RESOURCE EventRecord_ChangeDetail = 604 //
Resource usage updated for a group
)
// Enum value maps for EventRecord_ChangeDetail.
@@ -431,12 +430,11 @@ var (
502: "ALLOC_TIMEOUT",
503: "ALLOC_REPLACED",
504: "ALLOC_NODEREMOVED",
- 600: "UG_USER_LIMITSET",
- 601: "UG_GROUP_LIMITSET",
+ 600: "UG_USER_LIMIT",
+ 601: "UG_GROUP_LIMIT",
602: "UG_APP_LINK",
- 603: "UG_APP_UNLINK",
- 604: "UG_USER_RESOURCE",
- 605: "UG_GROUP_RESOURCE",
+ 603: "UG_USER_RESOURCE",
+ 604: "UG_GROUP_RESOURCE",
}
EventRecord_ChangeDetail_value = map[string]int32{
"DETAILS_NONE": 0,
@@ -479,12 +477,11 @@ var (
"ALLOC_TIMEOUT": 502,
"ALLOC_REPLACED": 503,
"ALLOC_NODEREMOVED": 504,
- "UG_USER_LIMITSET": 600,
- "UG_GROUP_LIMITSET": 601,
+ "UG_USER_LIMIT": 600,
+ "UG_GROUP_LIMIT": 601,
"UG_APP_LINK": 602,
- "UG_APP_UNLINK": 603,
- "UG_USER_RESOURCE": 604,
- "UG_GROUP_RESOURCE": 605,
+ "UG_USER_RESOURCE": 603,
+ "UG_GROUP_RESOURCE": 604,
}
)
@@ -3394,7 +3391,7 @@ var file_yunikorn_scheduler_interface_si_proto_rawDesc =
[]byte{
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
0x05, 0x76, 0x61, 0x6c,
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x3a,
0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x52, 0x07, 0x63,
0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x73, 0x22, 0xdb, 0x0b, 0x0a, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74,
0x52, 0x65, 0x63, 0x6f,
+ 0x67, 0x73, 0x22, 0xc1, 0x0b, 0x0a, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74,
0x52, 0x65, 0x63, 0x6f,
0x72, 0x64, 0x12, 0x2b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0e,
0x32, 0x17, 0x2e, 0x73, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65,
0x6e, 0x74, 0x52, 0x65,
0x63, 0x6f, 0x72, 0x64, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74,
0x79, 0x70, 0x65, 0x12,
@@ -3427,7 +3424,7 @@ var file_yunikorn_scheduler_interface_si_proto_rawDesc =
[]byte{
0x10, 0x05, 0x22, 0x34, 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
0x54, 0x79, 0x70, 0x65,
0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x07,
0x0a, 0x03, 0x53, 0x45,
0x54, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x44, 0x44, 0x10, 0x02,
0x12, 0x0a, 0x0a, 0x06,
- 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x03, 0x22, 0xa8, 0x07, 0x0a,
0x0c, 0x43, 0x68, 0x61,
+ 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x03, 0x22, 0x8e, 0x07, 0x0a,
0x0c, 0x43, 0x68, 0x61,
0x6e, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x10, 0x0a,
0x0c, 0x44, 0x45, 0x54,
0x41, 0x49, 0x4c, 0x53, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12,
0x12, 0x0a, 0x0e, 0x52,
0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45,
0x4c, 0x10, 0x64, 0x12,
@@ -3478,52 +3475,50 @@ var file_yunikorn_scheduler_interface_si_proto_rawDesc
= []byte{
0xf6, 0x03, 0x12, 0x13, 0x0a, 0x0e, 0x41, 0x4c, 0x4c, 0x4f, 0x43, 0x5f,
0x52, 0x45, 0x50, 0x4c,
0x41, 0x43, 0x45, 0x44, 0x10, 0xf7, 0x03, 0x12, 0x16, 0x0a, 0x11, 0x41,
0x4c, 0x4c, 0x4f, 0x43,
0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x44,
0x10, 0xf8, 0x03, 0x12,
- 0x15, 0x0a, 0x10, 0x55, 0x47, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x4c,
0x49, 0x4d, 0x49, 0x54,
- 0x53, 0x45, 0x54, 0x10, 0xd8, 0x04, 0x12, 0x16, 0x0a, 0x11, 0x55, 0x47,
0x5f, 0x47, 0x52, 0x4f,
- 0x55, 0x50, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x53, 0x45, 0x54, 0x10,
0xd9, 0x04, 0x12, 0x10,
- 0x0a, 0x0b, 0x55, 0x47, 0x5f, 0x41, 0x50, 0x50, 0x5f, 0x4c, 0x49, 0x4e,
0x4b, 0x10, 0xda, 0x04,
- 0x12, 0x12, 0x0a, 0x0d, 0x55, 0x47, 0x5f, 0x41, 0x50, 0x50, 0x5f, 0x55,
0x4e, 0x4c, 0x49, 0x4e,
- 0x4b, 0x10, 0xdb, 0x04, 0x12, 0x15, 0x0a, 0x10, 0x55, 0x47, 0x5f, 0x55,
0x53, 0x45, 0x52, 0x5f,
- 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x10, 0xdc, 0x04, 0x12,
0x16, 0x0a, 0x11, 0x55,
- 0x47, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x52, 0x45, 0x53, 0x4f,
0x55, 0x52, 0x43, 0x45,
- 0x10, 0xdd, 0x04, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08,
0x04, 0x10, 0x05, 0x52,
- 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x52, 0x06, 0x72, 0x65,
0x61, 0x73, 0x6f, 0x6e,
- 0x2a, 0x85, 0x01, 0x0a, 0x0f, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61,
0x74, 0x69, 0x6f, 0x6e,
- 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x55, 0x4e, 0x4b, 0x4e,
0x4f, 0x57, 0x4e, 0x5f,
- 0x54, 0x45, 0x52, 0x4d, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f,
0x54, 0x59, 0x50, 0x45,
- 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x4f, 0x50, 0x50, 0x45,
0x44, 0x5f, 0x42, 0x59,
- 0x5f, 0x52, 0x4d, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x49, 0x4d,
0x45, 0x4f, 0x55, 0x54,
- 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x52, 0x45, 0x45, 0x4d, 0x50,
0x54, 0x45, 0x44, 0x5f,
- 0x42, 0x59, 0x5f, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x52,
0x10, 0x03, 0x12, 0x18,
- 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x48, 0x4f, 0x4c, 0x44, 0x45,
0x52, 0x5f, 0x52, 0x45,
- 0x50, 0x4c, 0x41, 0x43, 0x45, 0x44, 0x10, 0x04, 0x32, 0xd5, 0x02, 0x0a,
0x09, 0x53, 0x63, 0x68,
- 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x6a, 0x0a, 0x17, 0x52, 0x65,
0x67, 0x69, 0x73, 0x74,
- 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61,
0x6e, 0x61, 0x67, 0x65,
- 0x72, 0x12, 0x25, 0x2e, 0x73, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,
0x67, 0x69, 0x73, 0x74,
- 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61,
0x6e, 0x61, 0x67, 0x65,
- 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x73,
0x69, 0x2e, 0x76, 0x31,
- 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73,
0x6f, 0x75, 0x72, 0x63,
- 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65,
- 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
0x41, 0x6c, 0x6c, 0x6f,
- 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x2e, 0x73, 0x69, 0x2e,
0x76, 0x31, 0x2e, 0x41,
- 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x19, 0x2e, 0x73, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c,
0x6f, 0x63, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x00, 0x28, 0x01, 0x30,
- 0x01, 0x12, 0x50, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41,
0x70, 0x70, 0x6c, 0x69,
- 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x2e, 0x73, 0x69, 0x2e,
0x76, 0x31, 0x2e, 0x41,
- 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73,
- 0x74, 0x1a, 0x1a, 0x2e, 0x73, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70,
0x70, 0x6c, 0x69, 0x63,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x28,
- 0x01, 0x30, 0x01, 0x12, 0x3b, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74,
0x65, 0x4e, 0x6f, 0x64,
- 0x65, 0x12, 0x12, 0x2e, 0x73, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f,
0x64, 0x65, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x73, 0x69, 0x2e, 0x76,
0x31, 0x2e, 0x4e, 0x6f,
- 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x28, 0x01, 0x30, 0x01,
- 0x3a, 0x3b, 0x0a, 0x09, 0x73, 0x69, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65,
0x74, 0x12, 0x1d, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2e,
- 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
0x18, 0xa3, 0x08, 0x20,
- 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x69, 0x53, 0x65, 0x63, 0x72, 0x65,
0x74, 0x42, 0x0b, 0x5a,
- 0x09, 0x6c, 0x69, 0x62, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x33,
+ 0x12, 0x0a, 0x0d, 0x55, 0x47, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x4c,
0x49, 0x4d, 0x49, 0x54,
+ 0x10, 0xd8, 0x04, 0x12, 0x13, 0x0a, 0x0e, 0x55, 0x47, 0x5f, 0x47, 0x52,
0x4f, 0x55, 0x50, 0x5f,
+ 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xd9, 0x04, 0x12, 0x10, 0x0a, 0x0b,
0x55, 0x47, 0x5f, 0x41,
+ 0x50, 0x50, 0x5f, 0x4c, 0x49, 0x4e, 0x4b, 0x10, 0xda, 0x04, 0x12, 0x15,
0x0a, 0x10, 0x55, 0x47,
+ 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52,
0x43, 0x45, 0x10, 0xdb,
+ 0x04, 0x12, 0x16, 0x0a, 0x11, 0x55, 0x47, 0x5f, 0x47, 0x52, 0x4f, 0x55,
0x50, 0x5f, 0x52, 0x45,
+ 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x10, 0xdc, 0x04, 0x4a, 0x04, 0x08,
0x03, 0x10, 0x04, 0x4a,
+ 0x04, 0x08, 0x04, 0x10, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70,
0x49, 0x44, 0x52, 0x06,
+ 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2a, 0x85, 0x01, 0x0a, 0x0f, 0x54,
0x65, 0x72, 0x6d, 0x69,
+ 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c,
0x0a, 0x18, 0x55, 0x4e,
+ 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x54, 0x45, 0x52, 0x4d, 0x49, 0x4e,
0x41, 0x54, 0x49, 0x4f,
+ 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d,
0x53, 0x54, 0x4f, 0x50,
+ 0x50, 0x45, 0x44, 0x5f, 0x42, 0x59, 0x5f, 0x52, 0x4d, 0x10, 0x01, 0x12,
0x0b, 0x0a, 0x07, 0x54,
+ 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16,
0x50, 0x52, 0x45, 0x45,
+ 0x4d, 0x50, 0x54, 0x45, 0x44, 0x5f, 0x42, 0x59, 0x5f, 0x53, 0x43, 0x48,
0x45, 0x44, 0x55, 0x4c,
+ 0x45, 0x52, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x43,
0x45, 0x48, 0x4f, 0x4c,
+ 0x44, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x44,
0x10, 0x04, 0x32, 0xd5,
+ 0x02, 0x0a, 0x09, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72,
0x12, 0x6a, 0x0a, 0x17,
+ 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65,
+ 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x73, 0x69,
0x2e, 0x76, 0x31, 0x2e,
+ 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65,
+ 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x26,
+ 0x2e, 0x73, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73,
0x74, 0x65, 0x72, 0x52,
+ 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67,
0x65, 0x72, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x10,
0x55, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x12, 0x18, 0x2e, 0x73,
+ 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x73, 0x69, 0x2e,
0x76, 0x31, 0x2e, 0x41,
+ 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x11, 0x55,
0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x12, 0x19, 0x2e, 0x73,
+ 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61,
0x74, 0x69, 0x6f, 0x6e,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x73, 0x69,
0x2e, 0x76, 0x31, 0x2e,
+ 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x3b, 0x0a,
0x0a, 0x55, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x2e, 0x73, 0x69,
0x2e, 0x76, 0x31, 0x2e,
+ 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x13, 0x2e, 0x73, 0x69,
+ 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65,
+ 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x3a, 0x3b, 0x0a, 0x09, 0x73, 0x69,
0x5f, 0x73, 0x65, 0x63,
+ 0x72, 0x65, 0x74, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f,
0x70, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x18, 0xa3, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73,
0x69, 0x53, 0x65, 0x63,
+ 0x72, 0x65, 0x74, 0x42, 0x0b, 0x5a, 0x09, 0x6c, 0x69, 0x62, 0x2f, 0x67,
0x6f, 0x2f, 0x73, 0x69,
+ 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
diff --git a/scheduler-interface-spec.md b/scheduler-interface-spec.md
index 75f9797..cd899fa 100644
--- a/scheduler-interface-spec.md
+++ b/scheduler-interface-spec.md
@@ -931,12 +931,11 @@ message EventRecord {
ALLOC_REPLACED = 503; // Allocation replacement (placeholder)
ALLOC_NODEREMOVED = 504; // Allocation cancelled, node removal
- UG_USER_LIMITSET = 600; // Limit is configured for a given user
- UG_GROUP_LIMITSET = 601; // Limit is configured for a given group
- UG_APP_LINK = 602; // Linkage is created between an application
and a group
- UG_APP_UNLINK = 603; // Unlinking an application and a group
- UG_USER_RESOURCE = 604; // Resource usage updated for a user
- UG_GROUP_RESOURCE = 605; // Resource usage updated for a group
+ UG_USER_LIMIT = 600; // Limit is changed (set/unset) for a given
user
+ UG_GROUP_LIMIT = 601; // Limit is changed (set/unset) for a given
group
+ UG_APP_LINK = 602; // Linkage is changed (created/removed)
between an application and a group
+ UG_USER_RESOURCE = 603; // Resource usage updated for a user
+ UG_GROUP_RESOURCE = 604; // Resource usage updated for a group
}
// the type of the object associated with the event
diff --git a/si.proto b/si.proto
index 306cca8..2cd7665 100644
--- a/si.proto
+++ b/si.proto
@@ -554,12 +554,11 @@ message EventRecord {
ALLOC_REPLACED = 503; // Allocation replacement (placeholder)
ALLOC_NODEREMOVED = 504; // Allocation cancelled, node removal
- UG_USER_LIMITSET = 600; // Limit is configured for a given user
- UG_GROUP_LIMITSET = 601; // Limit is configured for a given group
- UG_APP_LINK = 602; // Linkage is created between an application
and a group
- UG_APP_UNLINK = 603; // Unlinking an application and a group
- UG_USER_RESOURCE = 604; // Resource usage updated for a user
- UG_GROUP_RESOURCE = 605; // Resource usage updated for a group
+ UG_USER_LIMIT = 600; // Limit is changed (set/unset) for a given
user
+ UG_GROUP_LIMIT = 601; // Limit is changed (set/unset) for a given
group
+ UG_APP_LINK = 602; // Linkage is changed (created/removed)
between an application and a group
+ UG_USER_RESOURCE = 603; // Resource usage updated for a user
+ UG_GROUP_RESOURCE = 604; // Resource usage updated for a group
}
// the type of the object associated with the event
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]