blob: 191488de3793ba7607a979bc9cb3330d01045161 [file] [log] [blame]
Yuta HIGUCHI1cd90292014-04-03 14:31:10 -07001package topology;
Yoshi Muroi212e5ca2014-02-20 22:42:37 -08002
Yuta HIGUCHI1cd90292014-04-03 14:31:10 -07003option java_package = "net.onrc.onos.core.datastore.serializers";
4option java_outer_classname = "Topology";
Yoshi Muroi212e5ca2014-02-20 22:42:37 -08005
6message SwitchProperty {
7 required int64 dpid = 1;
8 required int32 status = 2;
9 optional bytes value = 3;
10}
11
12message PortProperty {
13 required int64 dpid = 1;
14 required int64 number = 2;
15 required int32 status = 3;
16 optional bytes value = 4;
17}
18
19message 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}