grpc: update GetSession to return all session related information, rather than needing 8 different calls, pygui: updated session protobuf wrapper to handle all new data
This commit is contained in:
parent
160498336c
commit
3bdd6292cd
8 changed files with 260 additions and 115 deletions
|
@ -714,6 +714,18 @@ message Session {
|
|||
repeated Node nodes = 3;
|
||||
repeated Link links = 4;
|
||||
string dir = 5;
|
||||
string user = 6;
|
||||
repeated services.ServiceDefaults default_services = 7;
|
||||
SessionLocation location = 8;
|
||||
repeated Hook hooks = 9;
|
||||
repeated string emane_models = 10;
|
||||
map<string, common.ConfigOption> emane_config = 11;
|
||||
repeated emane.EmaneModelConfig emane_model_configs = 12;
|
||||
map<int32, common.MappedConfig> wlan_configs = 13;
|
||||
repeated services.NodeServiceConfig service_configs = 14;
|
||||
repeated configservices.ConfigServiceConfig config_service_configs = 15;
|
||||
map<int32, common.MappedConfig> mobility_configs = 16;
|
||||
map<string, string> metadata = 17;
|
||||
}
|
||||
|
||||
message SessionSummary {
|
||||
|
|
|
@ -54,13 +54,7 @@ message GetEmaneModelConfigsRequest {
|
|||
}
|
||||
|
||||
message GetEmaneModelConfigsResponse {
|
||||
message ModelConfig {
|
||||
int32 node_id = 1;
|
||||
string model = 2;
|
||||
int32 iface_id = 3;
|
||||
map<string, common.ConfigOption> config = 4;
|
||||
}
|
||||
repeated ModelConfig configs = 1;
|
||||
repeated EmaneModelConfig configs = 1;
|
||||
}
|
||||
|
||||
message GetEmaneEventChannelRequest {
|
||||
|
|
|
@ -59,6 +59,13 @@ message NodeServiceData {
|
|||
string meta = 10;
|
||||
}
|
||||
|
||||
message NodeServiceConfig {
|
||||
int32 node_id = 1;
|
||||
string service = 2;
|
||||
NodeServiceData data = 3;
|
||||
map<string, string> files = 4;
|
||||
}
|
||||
|
||||
message GetServicesRequest {
|
||||
|
||||
}
|
||||
|
@ -89,13 +96,7 @@ message GetNodeServiceConfigsRequest {
|
|||
}
|
||||
|
||||
message GetNodeServiceConfigsResponse {
|
||||
message ServiceConfig {
|
||||
int32 node_id = 1;
|
||||
string service = 2;
|
||||
NodeServiceData data = 3;
|
||||
map<string, string> files = 4;
|
||||
}
|
||||
repeated ServiceConfig configs = 1;
|
||||
repeated NodeServiceConfig configs = 1;
|
||||
}
|
||||
|
||||
message GetNodeServiceRequest {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue