public interface VirtualDeviceProviderService extends VirtualProviderService<VirtualDeviceProvider>
Modifier and Type | Method and Description |
---|---|
void |
portStatusChanged(DeviceId deviceId,
VirtualPortDescription portDesc)
Notifies the core about port status change of a single port.
|
void |
receivedRoleReply(DeviceId deviceId,
MastershipRole requested,
MastershipRole response)
Notifies the core about the result of a RoleRequest sent to a device.
|
void |
updatePorts(DeviceId deviceId,
java.util.List<VirtualPortDescription> portDescs)
Updates information about all ports of a device.
|
void |
updatePortStatistics(DeviceId deviceId,
java.util.Collection<PortStatistics> portStatistics)
Updates statistics about all ports of a device.
|
provider
void updatePorts(DeviceId deviceId, java.util.List<VirtualPortDescription> portDescs)
deviceId
- identity of the deviceportDescs
- list of virtual device portsvoid portStatusChanged(DeviceId deviceId, VirtualPortDescription portDesc)
deviceId
- identity of the deviceportDesc
- description of the virtual port that changedvoid receivedRoleReply(DeviceId deviceId, MastershipRole requested, MastershipRole response)
deviceId
- identity of the devicerequested
- mastership role that was requested by the noderesponse
- mastership role the switch acceptedvoid updatePortStatistics(DeviceId deviceId, java.util.Collection<PortStatistics> portStatistics)
deviceId
- identity of the deviceportStatistics
- list of device port statistics