public interface DeviceAdminService extends DeviceService
| Modifier and Type | Method and Description |
|---|---|
void |
changePortState(DeviceId deviceId,
PortNumber portNumber,
boolean enable)
Administratively enables or disables a port on a device.
|
void |
removeDevice(DeviceId deviceId)
Removes the device with the specified identifier.
|
getAvailableDeviceCount, getAvailableDevices, getAvailableDevices, getDeltaStatisticsForPort, getDevice, getDeviceCount, getDevices, getDevices, getPort, getPort, getPortDeltaStatistics, getPorts, getPortStatistics, getRole, getStatisticsForPort, isAvailable, localStatusaddListener, removeListenervoid removeDevice(DeviceId deviceId)
deviceId - device identifiervoid changePortState(DeviceId deviceId, PortNumber portNumber, boolean enable)
deviceId - device identifierportNumber - port identifierenable - true if port is to be enabled, false to disable