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
41b16c18
Commit
41b16c18
authored
12 years ago
by
kwanggithub
Browse files
Options
Downloads
Patches
Plain Diff
Update IRoutingService javadoc
parent
42c19e7b
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/IRoutingService.java
+34
-4
34 additions, 4 deletions
...ava/net/floodlightcontroller/routing/IRoutingService.java
with
34 additions
and
4 deletions
src/main/java/net/floodlightcontroller/routing/IRoutingService.java
+
34
−
4
View file @
41b16c18
...
...
@@ -24,17 +24,47 @@ import net.floodlightcontroller.routing.Route;
public
interface
IRoutingService
extends
IFloodlightService
{
/** Provides a route between src and dst that allows tunnels. */
/**
* Provides a route between src and dst that allows tunnels. The cookie is provisioned
* for callers of getRoute to provide additional information to influence the route
* to be returned, if the underlying routing implementation supports choice among
* multiple routes.
* @param src Source switch DPID.
* @param dst Destination switch DPID.
* @param cookie cookie (usage determined by implementation; ignored by topology instance now).
*/
public
Route
getRoute
(
long
src
,
long
dst
,
long
cookie
);
/** Provides a route between src and dst, with option to allow or
* not allow tunnels in the path.*/
/**
* Provides a route between src and dst, with option to allow or
* not allow tunnels in the path.
* @param src Source switch DPID.
* @param dst Destination switch DPID.
* @param cookie cookie (usage determined by implementation; ignored by topology instance now).
* @param tunnelEnabled boolean option.
*/
public
Route
getRoute
(
long
src
,
long
dst
,
long
cookie
,
boolean
tunnelEnabled
);
/**
* Provides a route between srcPort on src and dstPort on dst.
* @param src Source switch DPID.
* @param srcPort Source port on source switch.
* @param dst Destination switch DPID.
* @param dstPort dstPort on Destination switch.
* @param cookie cookie (usage determined by implementation; ignored by topology instance now).
*/
public
Route
getRoute
(
long
srcId
,
short
srcPort
,
long
dstId
,
short
dstPort
,
long
cookie
);
/**
* Provides a route between srcPort on src and dstPort on dst.
* @param src Source switch DPID.
* @param srcPort Source port on source switch.
* @param dst Destination switch DPID.
* @param dstPort dstPort on Destination switch.
* @param cookie cookie (usage determined by implementation; ignored by topology instance now).
* @param tunnelEnabled boolean option.
*/
public
Route
getRoute
(
long
srcId
,
short
srcPort
,
long
dstId
,
short
dstPort
,
long
cookie
,
boolean
tunnelEnabled
);
...
...
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