Package org.onosproject.net.behaviour
Interface DevicesDiscovery
-
- All Superinterfaces:
Behaviour
,HandlerBehaviour
public interface DevicesDiscovery extends HandlerBehaviour
Handler behaviour capable of managing a set of forwarding plane devices.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeviceDescription
deviceDetails(DeviceId deviceId)
Returns a device description appropriately annotated to support downstream model extension via projections of the resulting device, as in the following example.java.util.Set<DeviceId>
deviceIds()
Returns a set of proxied device ids.-
Methods inherited from interface org.onosproject.net.driver.HandlerBehaviour
handler, setHandler
-
-
-
-
Method Detail
-
deviceIds
java.util.Set<DeviceId> deviceIds()
Returns a set of proxied device ids.- Returns:
- a set of deviceId
-
deviceDetails
DeviceDescription deviceDetails(DeviceId deviceId)
Returns a device description appropriately annotated to support downstream model extension via projections of the resulting device, as in the following example. This process permits to discovery the description of a proxied device by leveraging on the device ids discovered- Parameters:
deviceId
- the device Id of the device of interest- Returns:
- annotated device description
- See Also:
deviceDetails(DeviceId)
-
-