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 | |
Aaron Kruglikov | e630fb1 | 2017-04-24 13:05:26 -0700 | [diff] [blame] | 6 | import "models/Link.proto"; |
Shravan Ambati | bb6b445 | 2016-05-04 13:25:28 -0700 | [diff] [blame] | 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 | } |