public class OpenFlowPolicerConfigurable
extends org.onosproject.net.driver.AbstractHandlerBehaviour
implements org.onosproject.net.behaviour.trafficcontrol.PolicerConfigurable
| Constructor and Description |
|---|
OpenFlowPolicerConfigurable() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPolicer(org.onosproject.net.behaviour.trafficcontrol.Policer policer) |
org.onosproject.net.behaviour.trafficcontrol.PolicerId |
allocatePolicerId() |
void |
deletePolicer(org.onosproject.net.behaviour.trafficcontrol.PolicerId id) |
void |
freePolicerId(org.onosproject.net.behaviour.trafficcontrol.PolicerId id) |
org.onosproject.net.behaviour.trafficcontrol.Policer |
getPolicer(org.onosproject.net.behaviour.trafficcontrol.PolicerId policerId) |
Collection<org.onosproject.net.behaviour.trafficcontrol.Policer> |
getPolicers() |
handler, setHandlerpublic org.onosproject.net.behaviour.trafficcontrol.PolicerId allocatePolicerId()
allocatePolicerId in interface org.onosproject.net.behaviour.trafficcontrol.PolicerConfigurablepublic void freePolicerId(org.onosproject.net.behaviour.trafficcontrol.PolicerId id)
freePolicerId in interface org.onosproject.net.behaviour.trafficcontrol.PolicerConfigurablepublic void addPolicer(org.onosproject.net.behaviour.trafficcontrol.Policer policer)
addPolicer in interface org.onosproject.net.behaviour.trafficcontrol.PolicerConfigurablepublic void deletePolicer(org.onosproject.net.behaviour.trafficcontrol.PolicerId id)
deletePolicer in interface org.onosproject.net.behaviour.trafficcontrol.PolicerConfigurablepublic org.onosproject.net.behaviour.trafficcontrol.Policer getPolicer(org.onosproject.net.behaviour.trafficcontrol.PolicerId policerId)
getPolicer in interface org.onosproject.net.behaviour.trafficcontrol.PolicerConfigurablepublic Collection<org.onosproject.net.behaviour.trafficcontrol.Policer> getPolicers()
getPolicers in interface org.onosproject.net.behaviour.trafficcontrol.PolicerConfigurable