@Beta
public interface TunnelAdminService
Modifier and Type | Method and Description |
---|---|
void |
removeTunnel(TunnelId tunnelId)
Removes the provisioned tunnel.
|
void |
removeTunnels(TunnelEndPoint src,
TunnelEndPoint dst,
ProviderId producerName)
Removes the provisioned tunnel leading to and from the
specified labels.
|
void |
removeTunnels(TunnelEndPoint src,
TunnelEndPoint dst,
Tunnel.Type type,
ProviderId producerName)
Removes all provisioned tunnels leading to and from the
specified connection point.
|
void |
updateTunnel(Tunnel tunnel,
Path path)
Invokes the core to update a tunnel based on specified tunnel parameters.
|
void |
updateTunnelState(Tunnel tunnel,
Tunnel.State state)
Updates the state of a tunnel.
|
void removeTunnel(TunnelId tunnelId)
tunnelId
- tunnel IDvoid removeTunnels(TunnelEndPoint src, TunnelEndPoint dst, ProviderId producerName)
src
- source labeldst
- destination labelproducerName
- producer namevoid removeTunnels(TunnelEndPoint src, TunnelEndPoint dst, Tunnel.Type type, ProviderId producerName)
src
- source connection pointdst
- destination connection pointtype
- tunnel typeproducerName
- producer namevoid updateTunnel(Tunnel tunnel, Path path)
tunnel
- Tunnelpath
- explicit route (path changed) or null (path not changed) for the tunnelvoid updateTunnelState(Tunnel tunnel, Tunnel.State state)
tunnel
- tunnel to be changedstate
- new state of the tunnel