Yuta HIGUCHI | 1cd9029 | 2014-04-03 14:31:10 -0700 | [diff] [blame] | 1 | package topology; |
Yoshi Muroi | 212e5ca | 2014-02-20 22:42:37 -0800 | [diff] [blame] | 2 | |
Yuta HIGUCHI | 1cd9029 | 2014-04-03 14:31:10 -0700 | [diff] [blame] | 3 | option java_package = "net.onrc.onos.core.datastore.serializers"; |
| 4 | option java_outer_classname = "Topology"; |
Yoshi Muroi | 212e5ca | 2014-02-20 22:42:37 -0800 | [diff] [blame] | 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 | } |