public interface SnmpController
| Modifier and Type | Method and Description |
|---|---|
void |
addDevice(org.onosproject.net.DeviceId deviceId,
SnmpDevice device)
Add a device with a specific DeviceId.
|
DefaultAlarm |
buildWalkFailedAlarm(org.onosproject.net.DeviceId deviceId)
Creates an error alarm if the interaction with the device failed.
|
SnmpDevice |
getDevice(org.onosproject.net.DeviceId deviceId)
Gets a device for a specific deviceId.
|
Collection<SnmpDevice> |
getDevices()
Return all the devices that this controller has notion of.
|
com.btisystems.pronx.ems.core.snmp.ISnmpSession |
getSession(org.onosproject.net.DeviceId deviceId)
Gets an Instance of ISnmpSession for a specific device.
|
void |
removeDevice(org.onosproject.net.DeviceId deviceId)
Removes a specific device.
|
Collection<SnmpDevice> getDevices()
SnmpDevice getDevice(org.onosproject.net.DeviceId deviceId)
deviceId - device id of the devicevoid removeDevice(org.onosproject.net.DeviceId deviceId)
deviceId - device id of the device to be removedvoid addDevice(org.onosproject.net.DeviceId deviceId,
SnmpDevice device)
deviceId - deviceId of the devicedevice - device to add to this controllercom.btisystems.pronx.ems.core.snmp.ISnmpSession getSession(org.onosproject.net.DeviceId deviceId)
throws IOException
deviceId - device to retrieve the session for.IOException - if the session can't be established.DefaultAlarm buildWalkFailedAlarm(org.onosproject.net.DeviceId deviceId)
deviceId - the device with a failed interaction