Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
floodlight
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
croft1
floodlight
Commits
ec1e5fe2
Commit
ec1e5fe2
authored
10 years ago
by
sanjivininaikar
Browse files
Options
Downloads
Patches
Plain Diff
Update InstructionUtils.java
IPv6 support updated
parent
87624a66
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/net/floodlightcontroller/util/InstructionUtils.java
+9
-11
9 additions, 11 deletions
.../java/net/floodlightcontroller/util/InstructionUtils.java
with
9 additions
and
11 deletions
src/main/java/net/floodlightcontroller/util/InstructionUtils.java
+
9
−
11
View file @
ec1e5fe2
...
...
@@ -3,8 +3,6 @@ package net.floodlightcontroller.util;
import
java.util.ArrayList
;
import
java.util.List
;
import
net.floodlightcontroller.staticflowentry.HeaderFieldsException
;
import
org.projectfloodlight.openflow.protocol.OFFactories
;
import
org.projectfloodlight.openflow.protocol.OFFlowMod
;
import
org.projectfloodlight.openflow.protocol.instruction.OFInstruction
;
...
...
@@ -31,12 +29,12 @@ import sun.reflect.generics.reflectiveObjects.NotImplementedException;
*/
public
class
InstructionUtils
{
public
static
final
String
STR_GOTO_TABLE
=
"goto_table"
;
public
static
final
String
STR_WRITE_METADATA
=
"write_metadata"
;
public
static
final
String
STR_WRITE_ACTIONS
=
"write_actions"
;
public
static
final
String
STR_APPLY_ACTIONS
=
"apply_actions"
;
public
static
final
String
STR_CLEAR_ACTIONS
=
"clear_actions"
;
public
static
final
String
STR_GOTO_METER
=
"goto_meter"
;
public
static
final
String
STR_EXPERIMENTER
=
"experimenter"
;
public
static
final
String
STR_WRITE_METADATA
=
"
instruction_
write_metadata"
;
public
static
final
String
STR_WRITE_ACTIONS
=
"
instruction_
write_actions"
;
public
static
final
String
STR_APPLY_ACTIONS
=
"
instruction_
apply_actions"
;
public
static
final
String
STR_CLEAR_ACTIONS
=
"
instruction_
clear_actions"
;
public
static
final
String
STR_GOTO_METER
=
"
instruction_
goto_meter"
;
public
static
final
String
STR_EXPERIMENTER
=
"
instruction_
experimenter"
;
private
static
final
String
STR_SUB_WRITE_METADATA_METADATA
=
"metadata"
;
private
static
final
String
STR_SUB_WRITE_METADATA_MASK
=
"mask"
;
...
...
@@ -171,7 +169,7 @@ public class InstructionUtils {
* @param log
* @return
*/
public
static
String
writeActionsToString
(
OFInstructionWriteActions
inst
,
Logger
log
)
throws
HeaderFields
Exception
{
public
static
String
writeActionsToString
(
OFInstructionWriteActions
inst
,
Logger
log
)
throws
Exception
{
return
ActionUtils
.
actionsToString
(
inst
.
getActions
(),
log
);
}
...
...
@@ -202,8 +200,8 @@ public class InstructionUtils {
* @param log
* @return
*/
public
static
String
applyActionsToString
(
OFInstructionApplyActions
inst
,
Logger
log
)
throws
HeaderFields
Exception
{
return
ActionUtils
.
actionsToString
(
inst
.
getActions
(),
log
);
public
static
String
applyActionsToString
(
OFInstructionApplyActions
inst
,
Logger
log
)
throws
Exception
{
return
ActionUtils
.
actionsToString
(
inst
.
getActions
(),
log
);
}
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment