commit | fa0f6cc7003b4a40369c7dacbef7beaff610c0a5 | [log] [tgz] |
---|---|---|
author | Andrea Campanella <andrea@opennetworking.org> | Tue Dec 18 15:17:53 2018 +0100 |
committer | Thomas Vachuska <tom@opennetworking.org> | Wed Dec 19 16:26:38 2018 +0000 |
tree | 74d962503f5c58478b7d191e70f978dcb6f4eb8f | |
parent | 8b17e0eec5332f6db915af95ee8ff271848642b7 [diff] |
Adding OLS device Type for ODTN project Change-Id: Ia3472b47ea12d2f2f44de9cb88f20774881530ee
diff --git a/core/protobuf/models/proto/net/device/DeviceEnumsProto.proto b/core/protobuf/models/proto/net/device/DeviceEnumsProto.proto index e8713d3..aaecef0 100644 --- a/core/protobuf/models/proto/net/device/DeviceEnumsProto.proto +++ b/core/protobuf/models/proto/net/device/DeviceEnumsProto.proto
@@ -33,6 +33,7 @@ VIRTUAL_DEVICE = 11; FIBER_SWITCH = 12; MICROWAVE = 13; + OLS = 14; } enum DeviceEventTypeProto {
diff --git a/core/protobuf/models/src/main/java/org/onosproject/incubator/protobuf/models/net/device/DeviceProtoTranslator.java b/core/protobuf/models/src/main/java/org/onosproject/incubator/protobuf/models/net/device/DeviceProtoTranslator.java index 90d10f5..6d23334 100644 --- a/core/protobuf/models/src/main/java/org/onosproject/incubator/protobuf/models/net/device/DeviceProtoTranslator.java +++ b/core/protobuf/models/src/main/java/org/onosproject/incubator/protobuf/models/net/device/DeviceProtoTranslator.java
@@ -115,6 +115,8 @@ return Type.ROUTER; case SWITCH: return Type.SWITCH; + case OLS: + return Type.OLS; case VIRTUAL_DEVICE: return Type.VIRTUAL;