@Beta
public interface TunnelProvider
extends org.onosproject.net.provider.Provider
| Modifier and Type | Method and Description |
|---|---|
void |
releaseTunnel(org.onosproject.net.ElementId srcElement,
Tunnel tunnel)
Instructs the provider to release a tunnel given the respective device.
|
void |
releaseTunnel(Tunnel tunnel)
Instructs the provider to release a tunnel.
|
void |
setupTunnel(org.onosproject.net.ElementId srcElement,
Tunnel tunnel,
org.onosproject.net.Path path)
Instructs the provider to setup a tunnel given the respective device.
|
void |
setupTunnel(Tunnel tunnel,
org.onosproject.net.Path path)
Instructs the provider to setup a tunnel.
|
TunnelId |
tunnelAdded(TunnelDescription tunnel)
Signals that the provider has added a tunnel.
|
Tunnel |
tunnelQueryById(TunnelId tunnelId)
Signals that the a tunnel was queried.
|
void |
tunnelRemoved(TunnelDescription tunnel)
Signals that the provider has removed a tunnel.
|
void |
tunnelUpdated(TunnelDescription tunnel)
Signals that the a tunnel was changed (e.g., sensing changes of
tunnel).It's used by producers.
|
void |
updateTunnel(org.onosproject.net.ElementId srcElement,
Tunnel tunnel,
org.onosproject.net.Path path)
Instructs the provider to update a tunnel given the respective device.
|
void |
updateTunnel(Tunnel tunnel,
org.onosproject.net.Path path)
Instructs the provider to update a tunnel.
|
void setupTunnel(Tunnel tunnel, org.onosproject.net.Path path)
tunnel - Tunnelpath - explicit route or null for the tunnelvoid setupTunnel(org.onosproject.net.ElementId srcElement,
Tunnel tunnel,
org.onosproject.net.Path path)
srcElement - devicetunnel - Tunnelpath - explicit route (not null) for the tunnelvoid releaseTunnel(Tunnel tunnel)
tunnel - Tunnelvoid releaseTunnel(org.onosproject.net.ElementId srcElement,
Tunnel tunnel)
srcElement - devicetunnel - Tunnelvoid updateTunnel(Tunnel tunnel, org.onosproject.net.Path path)
tunnel - Tunnelpath - explicit route (path changed) or null (path not changed) for
the tunnelvoid updateTunnel(org.onosproject.net.ElementId srcElement,
Tunnel tunnel,
org.onosproject.net.Path path)
srcElement - devicetunnel - Tunnelpath - explicit route (path changed) or null (path not changed) for
the tunnelTunnelId tunnelAdded(TunnelDescription tunnel)
tunnel - tunnel informationvoid tunnelRemoved(TunnelDescription tunnel)
tunnel - tunnel informationvoid tunnelUpdated(TunnelDescription tunnel)
tunnel - tunnel information