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 Link; | ||||
5 | |||||
6 | import "LinkEnums.proto"; | ||||
7 | import "ConnectPointProto.proto"; | ||||
8 | |||||
9 | // Corresponds to org.onosproject.net.Link. | ||||
10 | message LinkProto { | ||||
11 | Link.LinkState state = 1; | ||||
12 | ConnectPoint.ConnectPoint src = 2; | ||||
13 | ConnectPoint.ConnectPoint dst = 3; | ||||
14 | Link.LinkType type = 4; | ||||
15 | map<string, string> annotations = 5; | ||||
16 | } | ||||
17 | |||||
18 |