| Package | Description |
|---|---|
| org.onosproject.net.meter |
Flow meter model and related services.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultMeterRequest
A default implementation of a meter.
|
| Modifier and Type | Method and Description |
|---|---|
MeterRequest |
MeterRequest.Builder.add()
Requests the addition of a meter.
|
MeterRequest |
DefaultMeterRequest.Builder.add() |
MeterRequest |
MeterRequest.Builder.remove()
Requests the removal of a meter.
|
MeterRequest |
DefaultMeterRequest.Builder.remove() |
| Modifier and Type | Method and Description |
|---|---|
default void |
MeterContext.onError(MeterRequest op,
MeterFailReason reason)
Invoked when error is encountered while installing a meter.
|
default void |
MeterContext.onSuccess(MeterRequest op)
Invoked on successful installation of the meter.
|
Meter |
MeterService.submit(MeterRequest meter)
Adds a meter to the system and performs it installation.
|
void |
MeterService.withdraw(MeterRequest meter,
MeterId meterId)
Remove a meter from the system and the dataplane.
|
Copyright © 2015. All rights reserved.