Yoshi Muroi | 212e5ca | 2014-02-20 22:42:37 -0800 | [diff] [blame] | 1 | package RCProtos; |
| 2 | |
| 3 | option java_package = "net.onrc.onos.datastore"; |
| 4 | option java_outer_classname = "RCProtos"; |
| 5 | |
| 6 | message SwitchProperty { |
| 7 | required int64 dpid = 1; |
| 8 | required int32 status = 2; |
| 9 | optional bytes value = 3; |
| 10 | } |
| 11 | |
| 12 | message PortProperty { |
| 13 | required int64 dpid = 1; |
| 14 | required int64 number = 2; |
| 15 | required int32 status = 3; |
| 16 | optional bytes value = 4; |
| 17 | } |
| 18 | |
| 19 | message LinkProperty { |
| 20 | required bytes srcSwId = 1; |
| 21 | required bytes srcPortId = 2; |
| 22 | required bytes dstSwId = 3; |
| 23 | required bytes dstPortId = 4; |
| 24 | required int32 status = 5; |
| 25 | optional bytes value = 6; |
| 26 | } |