Jian Li | c9b4bf1 | 2017-06-26 23:50:32 +0900 | [diff] [blame] | 1 | syntax = "proto3"; |
| 2 | option java_package = "org.onosproject.grpc.net.models"; |
| 3 | |
| 4 | package net; |
| 5 | |
| 6 | import "net/link/LinkEnumsProto.proto"; |
| 7 | import "net/ConnectPointProto.proto"; |
shivani vaidya | 9632b5f | 2017-06-27 11:00:04 -0700 | [diff] [blame] | 8 | import "net/ProviderIdProto.proto"; |
Jian Li | c9b4bf1 | 2017-06-26 23:50:32 +0900 | [diff] [blame] | 9 | |
| 10 | // Corresponds to org.onosproject.net.Link. |
| 11 | message LinkProto { |
| 12 | net.link.LinkStateProto state = 1; |
| 13 | net.ConnectPointProto src = 2; |
| 14 | net.ConnectPointProto dst = 3; |
| 15 | net.link.LinkTypeProto type = 4; |
| 16 | map<string, string> annotations = 5; |
shivani vaidya | 9632b5f | 2017-06-27 11:00:04 -0700 | [diff] [blame] | 17 | net.ProviderIdProto provider_id = 6; |
| 18 | bool isExpected = 7; |
| 19 | } |