blob: fcd13fb11f1025b596a873e115d3b81584267c3c [file] [log] [blame]
Shravan Ambatibb6b4452016-05-04 13:25:28 -07001syntax = "proto3";
2option java_package = "org.onosproject.grpc.net";
3
4package LinkEvent;
5
Aaron Kruglikove630fb12017-04-24 13:05:26 -07006import "models/Link.proto";
Shravan Ambatibb6b4452016-05-04 13:25:28 -07007
8// Corresponds to org.onosproject.net.link.LinkEvent.
9message LinkNotification {
10 LinkEventType linkEventType = 2;
11 Link.LinkCore link = 3;
12}
13
14// Link Event Types
15enum LinkEventType {
16 LINK_ADDED = 0;
17 LINK_UPDATED = 1;
18 LINK_REMOVED = 2;
19}