| option java_package = "org.onosproject.grpc.net.mcast"; |
| // TODO move model objects to common protobuf package |
| enum MulticastRouteType { |
| enum MulticastOperationResult { |
| enum MulticastOperation { |
| fixed32 source = 1; // TODO assumes ipv4 |
| MulticastRouteType type = 3; |
| MulticastOperationResult result = 1; |
| message MulticastRequest { |
| MulticastOperation operation = 1; |
| MulticastRoute route = 2; |
| ConnectPoint connectPoint = 3; |
| service MulticastRouteService { |
| rpc operation(stream MulticastRequest) returns (stream MulticastReply) {} |