commit | e165e1decdda447140f06cbc32ceaf0bb9eb85df | [log] [tgz] |
---|---|---|
author | Jordi Ortiz <jordi.ortiz@um.es> | Fri Jul 14 14:46:33 2017 +0200 |
committer | Andrea Campanella <andrea@opennetworking.org> | Tue Sep 12 10:16:11 2017 +0000 |
tree | 56b61ff3375df45dcfefa85d9cb277753220b595 | |
parent | b12eda59b1819688576af445904dec6b53ac6d37 [diff] |
Forward METER_ADDED/REMOVED events to MeterListener Change-Id: If4c7c604b924850b6a01c9a4f024472e81942d69
diff --git a/incubator/net/src/main/java/org/onosproject/incubator/net/meter/impl/MeterManager.java b/incubator/net/src/main/java/org/onosproject/incubator/net/meter/impl/MeterManager.java index bd61a5d..2db8ec2 100644 --- a/incubator/net/src/main/java/org/onosproject/incubator/net/meter/impl/MeterManager.java +++ b/incubator/net/src/main/java/org/onosproject/incubator/net/meter/impl/MeterManager.java
@@ -320,9 +320,11 @@ break; case METER_ADDED: log.info("Meter added {}", event.subject()); + post(new MeterEvent(MeterEvent.Type.METER_ADDED, event.subject())); break; case METER_REMOVED: log.info("Meter removed {}", event.subject()); + post(new MeterEvent(MeterEvent.Type.METER_REMOVED, event.subject())); break; default: log.warn("Unknown meter event {}", event.type());