blob: ec138e0c3f17265684e96db5e5b14777ca0ec934 [file] [log] [blame]
HIGUCHI Yuta15653fd2015-11-09 11:05:09 -08001syntax = "proto3";
HIGUCHI Yutae3e90632016-05-11 16:44:01 -07002option java_package = "org.onosproject.grpc.net";
HIGUCHI Yuta15653fd2015-11-09 11:05:09 -08003
HIGUCHI Yuta15653fd2015-11-09 11:05:09 -08004package Device;
5
6enum DeviceType {
7 OTHER = 0;
8 SWITCH = 1;
9 ROUTER = 2;
10 ROADM = 3;
11 OTN = 4;
12 ROADM_OTN = 5;
13 FIREWALL = 6;
14 BALANCER = 7;
15 IPS = 8;
16 IDS = 9;
17 CONTROLLER = 10;
18 VIRTUAL = 11;
19 FIBER_SWITCH = 12;
20 MICROWAVE = 13;
21}
22
23message DeviceDescription {
24 string device_Uri = 1;
25 DeviceType type = 2;
26 string manufacturer = 3;
27 string hw_version = 4;
28 string sw_version = 5;
29 string serial_number = 6;
30 string chassis_id = 7;
31 map<string, string> annotations = 8;
32}
33
34enum MastershipRole {
35 NONE = 0;
36 MASTER = 1;
37 STANDBY = 2;
38}