mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-21 12:22:18 +02:00
Remove methods deprecated in Drake from Instructions
Change-Id: I69ffc7fc30f20e0d968fe95b0cfcf609a0c7cc29
This commit is contained in:
parent
7266738e70
commit
a0c9db25e5
@ -425,19 +425,6 @@ public final class Instructions {
|
||||
return new L2ModificationInstruction.ModTunnelIdInstruction(tunnelId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a TCP src modification.
|
||||
*
|
||||
* @param port the TCP port number to modify to
|
||||
* @return a L4 modification
|
||||
* @deprecated in Drake release
|
||||
*/
|
||||
@Deprecated
|
||||
public static L4ModificationInstruction modTcpSrc(short port) {
|
||||
checkNotNull(port, "Src TCP port cannot be null");
|
||||
return new ModTransportPortInstruction(L4SubType.TCP_SRC, TpPort.tpPort(port));
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a TCP src modification.
|
||||
*
|
||||
@ -449,19 +436,6 @@ public final class Instructions {
|
||||
return new ModTransportPortInstruction(L4SubType.TCP_SRC, port);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a TCP dst modification.
|
||||
*
|
||||
* @param port the TCP port number to modify to
|
||||
* @return a L4 modification
|
||||
* @deprecated in Drake release
|
||||
*/
|
||||
@Deprecated
|
||||
public static L4ModificationInstruction modTcpDst(short port) {
|
||||
checkNotNull(port, "Dst TCP port cannot be null");
|
||||
return new ModTransportPortInstruction(L4SubType.TCP_DST, TpPort.tpPort(port));
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a TCP dst modification.
|
||||
*
|
||||
@ -473,19 +447,6 @@ public final class Instructions {
|
||||
return new ModTransportPortInstruction(L4SubType.TCP_DST, port);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a UDP src modification.
|
||||
*
|
||||
* @param port the UDP port number to modify to
|
||||
* @return a L4 modification
|
||||
* @deprecated in Drake release
|
||||
*/
|
||||
@Deprecated
|
||||
public static L4ModificationInstruction modUdpSrc(short port) {
|
||||
checkNotNull(port, "Src UDP port cannot be null");
|
||||
return new ModTransportPortInstruction(L4SubType.UDP_SRC, TpPort.tpPort(port));
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a UDP src modification.
|
||||
*
|
||||
@ -497,19 +458,6 @@ public final class Instructions {
|
||||
return new ModTransportPortInstruction(L4SubType.UDP_SRC, port);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a UDP dst modification.
|
||||
*
|
||||
* @param port the UDP port number to modify to
|
||||
* @return a L4 modification
|
||||
* @deprecated in Drake release
|
||||
*/
|
||||
@Deprecated
|
||||
public static L4ModificationInstruction modUdpDst(short port) {
|
||||
checkNotNull(port, "Dst UDP port cannot be null");
|
||||
return new ModTransportPortInstruction(L4SubType.UDP_DST, TpPort.tpPort(port));
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a UDP dst modification.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user