Aaron Kruglikov | 9f95f99 | 2017-06-23 14:15:25 +0900 | [diff] [blame] | 1 | syntax = "proto3"; |
2 | option java_package = "org.onosproject.grpc.net.models"; | ||||
3 | |||||
4 | package ConnectPoint; | ||||
5 | |||||
6 | message ConnectPoint { | ||||
7 | oneof element_id { | ||||
8 | // DeviceID as String DeviceId#toString | ||||
9 | string device_id = 1; | ||||
10 | |||||
11 | // TODO add support to other element_id if required | ||||
12 | } | ||||
13 | // PortNumber as String PortNumber#toString | ||||
14 | string port_number = 2; | ||||
15 | } |