Shravan Ambati | bb6b445 | 2016-05-04 13:25:28 -0700 | [diff] [blame] | 1 | syntax = "proto3"; |
2 | option java_package = "org.onosproject.grpc.net"; | ||||
3 | |||||
4 | package LinkEvent; | ||||
5 | |||||
6 | import "Link.proto"; | ||||
7 | |||||
8 | // Corresponds to org.onosproject.net.link.LinkEvent. | ||||
9 | message LinkNotification { | ||||
10 | LinkEventType linkEventType = 2; | ||||
11 | Link.LinkCore link = 3; | ||||
12 | } | ||||
13 | |||||
14 | // Link Event Types | ||||
15 | enum LinkEventType { | ||||
16 | LINK_ADDED = 0; | ||||
17 | LINK_UPDATED = 1; | ||||
18 | LINK_REMOVED = 2; | ||||
19 | } |