Package org.onosproject.net.behaviour
Interface MirroringConfig
-
- All Superinterfaces:
Behaviour
,HandlerBehaviour
@Beta public interface MirroringConfig extends HandlerBehaviour
Behaviour for handling various drivers for mirroring configurations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
addMirroring(BridgeName bridge, MirroringDescription mirroringDescription)
Adds a mirroring with a given description.void
deleteMirroring(MirroringName mirroringName)
Removes a mirroring.java.util.Collection<MirroringStatistics>
getMirroringStatistics()
Returns a collection of MirroringStatistics.-
Methods inherited from interface org.onosproject.net.driver.HandlerBehaviour
handler, setHandler
-
-
-
-
Method Detail
-
addMirroring
boolean addMirroring(BridgeName bridge, MirroringDescription mirroringDescription)
Adds a mirroring with a given description.- Parameters:
bridge
- the bridge namemirroringDescription
- mirroring description- Returns:
- true if succeeds, or false
-
deleteMirroring
void deleteMirroring(MirroringName mirroringName)
Removes a mirroring.- Parameters:
mirroringName
- mirroring name
-
getMirroringStatistics
java.util.Collection<MirroringStatistics> getMirroringStatistics()
Returns a collection of MirroringStatistics.- Returns:
- statistics collection
-
-