bot_scaling: Add application namespace for resource collection
Add application namespacing for resource collection within RoboCrop.
This will allow a separation of resources when managing resources
outside of ChromeOS.
Bug: b:170660661
Change-Id: I8a7faf02836003fbee17ebb178707d0525a6dcfb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2465053
Commit-Queue: Mike Nichols <mikenichols@chromium.org>
Reviewed-by: Dhanya Ganesh <dhanyaganesh@chromium.org>
diff --git a/go/chromiumos/bot_scaling.pb.go b/go/chromiumos/bot_scaling.pb.go
index 08cc265..7e47b90 100644
--- a/go/chromiumos/bot_scaling.pb.go
+++ b/go/chromiumos/bot_scaling.pb.go
@@ -258,7 +258,9 @@
// Set the scaling approach for the bot group being monitored.
ScalingMode BotPolicy_BotScalingMode `protobuf:"varint,8,opt,name=scaling_mode,json=scalingMode,proto3,enum=chromiumos.BotPolicy_BotScalingMode" json:"scaling_mode,omitempty"`
// Swarming instance name: chromeos-swarming.appspot.com
- SwarmingInstance string `protobuf:"bytes,9,opt,name=swarming_instance,json=swarmingInstance,proto3" json:"swarming_instance,omitempty"`
+ SwarmingInstance string `protobuf:"bytes,9,opt,name=swarming_instance,json=swarmingInstance,proto3" json:"swarming_instance,omitempty"`
+ // Application namespace within Swarming instance.
+ Application string `protobuf:"bytes,10,opt,name=application,proto3" json:"application,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@@ -352,6 +354,13 @@
return ""
}
+func (m *BotPolicy) GetApplication() string {
+ if m != nil {
+ return m.Application
+ }
+ return ""
+}
+
// Scaling restriction specifies the limits on how the group can be
// expanded or reduced.
type BotPolicy_ScalingRestriction struct {
@@ -554,7 +563,9 @@
BotMin int32 `protobuf:"varint,7,opt,name=bot_min,json=botMin,proto3" json:"bot_min,omitempty"`
// Hard limit on the maximum number of bots that can be requested.
// Repeated for display/reporting purposes
- BotMax int32 `protobuf:"varint,8,opt,name=bot_max,json=botMax,proto3" json:"bot_max,omitempty"`
+ BotMax int32 `protobuf:"varint,8,opt,name=bot_max,json=botMax,proto3" json:"bot_max,omitempty"`
+ // Application namespace within Swarming instance.
+ Application string `protobuf:"bytes,9,opt,name=application,proto3" json:"application,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@@ -641,6 +652,13 @@
return 0
}
+func (m *ScalingAction) GetApplication() string {
+ if m != nil {
+ return m.Application
+ }
+ return ""
+}
+
// How the bot requests are distributed between regions & prefixes.
type ScalingAction_RegionalAction struct {
// Region of the bot sub-group.
@@ -713,7 +731,9 @@
// Amount of disk in GB allocated across all bot groups.
DiskGb float32 `protobuf:"fixed32,5,opt,name=disk_gb,json=diskGb,proto3" json:"disk_gb,omitempty"`
// NUmber of CPUs that could be allocated based on max values.
- MaxCpus float32 `protobuf:"fixed32,6,opt,name=max_cpus,json=maxCpus,proto3" json:"max_cpus,omitempty"`
+ MaxCpus float32 `protobuf:"fixed32,6,opt,name=max_cpus,json=maxCpus,proto3" json:"max_cpus,omitempty"`
+ // Application namespace to associate resources.
+ Application string `protobuf:"bytes,7,opt,name=application,proto3" json:"application,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@@ -786,6 +806,13 @@
return 0
}
+func (m *ResourceUtilization) GetApplication() string {
+ if m != nil {
+ return m.Application
+ }
+ return ""
+}
+
// All the actions that will be executed by RoboCrop.
type RoboCropAction struct {
// List of an action per bot group scaled by RoboCrop.
@@ -854,70 +881,71 @@
func init() { proto.RegisterFile("chromiumos/bot_scaling.proto", fileDescriptor_dbe70eabfd64e7ef) }
var fileDescriptor_dbe70eabfd64e7ef = []byte{
- // 1026 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xdd, 0x6e, 0x2b, 0x35,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/src/chromiumos/bot_scaling.proto
index be44880..f4bd3bf 100644
--- a/src/chromiumos/bot_scaling.proto
+++ b/src/chromiumos/bot_scaling.proto
@@ -99,6 +99,8 @@
BotScalingMode scaling_mode = 8;
// Swarming instance name: chromeos-swarming.appspot.com
string swarming_instance = 9;
+ // Application namespace within Swarming instance.
+ string application = 10;
}
// Configures the root message.
@@ -150,6 +152,8 @@
// Hard limit on the maximum number of bots that can be requested.
// Repeated for display/reporting purposes
int32 bot_max = 8;
+ // Application namespace within Swarming instance.
+ string application = 9;
}
// Resource utilization based on regional assignment.
@@ -166,6 +170,8 @@
float disk_gb = 5;
// NUmber of CPUs that could be allocated based on max values.
float max_cpus = 6;
+ // Application namespace to associate resources.
+ string application = 7;
}
// All the actions that will be executed by RoboCrop.