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