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
e1b16a75
Commit
e1b16a75
authored
12 years ago
by
Saurav Das
Browse files
Options
Downloads
Patches
Plain Diff
Cosmetic changes - trying to get near 80 chars
parent
224aecab
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/routing/IRoutingDecision.java
+14
-9
14 additions, 9 deletions
...va/net/floodlightcontroller/routing/IRoutingDecision.java
with
14 additions
and
9 deletions
src/main/java/net/floodlightcontroller/routing/IRoutingDecision.java
+
14
−
9
View file @
e1b16a75
/**
* Copyright 2011, Big Switch Networks, Inc.
* Copyright 2011, Big Switch Networks, Inc.
* Originally created by David Erickson, Stanford University
*
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
...
...
@@ -29,18 +29,23 @@ public interface IRoutingDecision {
/*
* NONE: NO-OP, continue with the packet processing chain
* DROP: Drop this packet and this flow
* FORWARD: Forward this packet, and this flow, to the first (and only device) in getDestinationDevices(),
* if the destination is not known at this time, initiate a discovery action for it (e.g. ARP)
* FORWARD_OR_FLOOD: Forward this packet, and this flow, to the first (and only device) in getDestinationDevices(),
* if the destination is not known at this time, flood this packet on the source switch
* MULTICAST: Multicast this packet to all the interfaces and devices attached
* FORWARD: Forward this packet, and this flow, to the first
* (and only device) in getDestinationDevices(),
* if the destination is not known at this time,
* initiate a discovery action for it (e.g. ARP)
* FORWARD_OR_FLOOD: Forward this packet, and this flow, to the first
* (and only device) in getDestinationDevices(),
* if the destination is not known at this time,
* flood this packet on the source switch
* MULTICAST: Multicast this packet to all the interfaces
* and devices attached
*/
NONE
,
DROP
,
FORWARD
,
FORWARD_OR_FLOOD
,
MULTICAST
}
public
static
final
FloodlightContextStore
<
IRoutingDecision
>
rtStore
=
new
FloodlightContextStore
<
IRoutingDecision
>();
public
static
final
String
CONTEXT_DECISION
=
public
static
final
String
CONTEXT_DECISION
=
"net.floodlightcontroller.routing.decision"
;
public
void
addToContext
(
FloodlightContext
cntx
);
...
...
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