Newer
Older
syntax = "proto3";
package device;
import "context.proto";
Lluis Gifre Renom
committed
//import "monitoring.proto";
rpc AddDevice (context.Device ) returns (context.DeviceId ) {}
rpc ConfigureDevice (context.Device ) returns (context.DeviceId ) {}
rpc DeleteDevice (context.DeviceId ) returns (context.Empty ) {}
rpc GetInitialConfig(context.DeviceId ) returns (context.DeviceConfig) {}
Lluis Gifre Renom
committed
//rpc MonitorDeviceKpi(MonitoringSettings) returns (context.Empty ) {}
Lluis Gifre Renom
committed
//message MonitoringSettings {
// monitoring.KpiId kpi_id = 1;
// monitoring.KpiDescriptor kpi_descriptor = 2;
// float sampling_duration_s = 3;
// float sampling_interval_s = 4;
//}