Package org.onosproject.net.behaviour
Interface QosConfigBehaviour
-
- All Superinterfaces:
Behaviour
,HandlerBehaviour
@Beta public interface QosConfigBehaviour extends HandlerBehaviour
Behaviour for handling various operations for qos configurations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
addQoS(QosDescription qosDesc)
create QoS configuration on a device.void
deleteQoS(QosId qosId)
Delete a QoS configuration.void
deleteQueues(QosId qosId, List<Long> queueKeys)
delete queue from qos.QosDescription
getQos(QosDescription qosDesc)
Obtain a qos configured on a device.Collection<QosDescription>
getQoses()
Obtain all qoses configured on a device.void
insertQueues(QosId qosId, Map<Long,QueueDescription> queues)
bind queue to qos.-
Methods inherited from interface org.onosproject.net.driver.HandlerBehaviour
handler, setHandler
-
-
-
-
Method Detail
-
getQoses
Collection<QosDescription> getQoses()
Obtain all qoses configured on a device.- Returns:
- a set of qos descriptions
-
getQos
QosDescription getQos(QosDescription qosDesc)
Obtain a qos configured on a device.- Parameters:
qosDesc
- qos description- Returns:
- a qos description
-
addQoS
boolean addQoS(QosDescription qosDesc)
create QoS configuration on a device.- Parameters:
qosDesc
- qos description- Returns:
- true if succeeds, or false
-
deleteQoS
void deleteQoS(QosId qosId)
Delete a QoS configuration.- Parameters:
qosId
- qos identifier
-
insertQueues
void insertQueues(QosId qosId, Map<Long,QueueDescription> queues)
bind queue to qos.- Parameters:
qosId
- the qos namequeues
- qos queues, map of QueueKey - QueueDescription
-
-