added modes to config services that allows them to decide sets of configurations

This commit is contained in:
Blake Harnden 2020-01-21 14:00:55 -08:00
parent 1ca3b0e3f4
commit 0ea2f73a80
8 changed files with 64 additions and 18 deletions

View file

@ -34,6 +34,11 @@ message ConfigService {
float validation_period = 12;
}
message ConfigMode {
string name = 1;
map<string, string> config = 2;
}
message GetConfigServicesRequest {
int32 session_id = 1;
}
@ -49,6 +54,7 @@ message GetConfigServiceDefaultsRequest {
message GetConfigServiceDefaultsResponse {
map<string, string> templates = 1;
map<string, common.ConfigOption> config = 2;
repeated ConfigMode modes = 3;
}
message GetNodeConfigServiceRequest {