Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Sho SHIMIZU
2015-09-24 14:40:37 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7e6c8265bd2613b74b102113be0f930bc42f2180
7e6c8265
1 parent
0cca3e88
Remove deprecated method
Change-Id: I39b027ef07afe7629f882fc9ccb02d5aabdd5710
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
core/api/src/main/java/org/onosproject/net/flow/instructions/Instructions.java
core/api/src/main/java/org/onosproject/net/flow/instructions/Instructions.java
View file @
7e6c826
...
...
@@ -303,21 +303,6 @@ public final class Instructions {
*
* @param etherType Ethernet type to set
* @return a L2 modification.
* @deprecated in Cardinal Release
*/
@Deprecated
public
static
Instruction
popMpls
(
int
etherType
)
{
checkNotNull
(
etherType
,
"Ethernet type cannot be null"
);
return
new
L2ModificationInstruction
.
PushHeaderInstructions
(
L2ModificationInstruction
.
L2SubType
.
MPLS_POP
,
new
EthType
(
etherType
));
}
/**
* Creates a pop MPLS header instruction with a particular ethertype.
*
* @param etherType Ethernet type to set
* @return a L2 modification.
*/
public
static
Instruction
popMpls
(
EthType
etherType
)
{
checkNotNull
(
etherType
,
"Ethernet type cannot be null"
);
...
...
Please
register
or
login
to post a comment