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
weibit
2014-10-23 14:13:35 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2543d5aee9701271b0b42cfc2025bf1830f0a50e
2543d5ae
1 parent
37f328a1
optical intent
Change-Id: I8cef7ae7fff3c9423daad242630a69922b855e98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
core/net/src/main/java/org/onlab/onos/net/intent/impl/OpticalPathIntentInstaller.java
core/net/src/main/java/org/onlab/onos/net/intent/impl/OpticalPathIntentInstaller.java
View file @
2543d5a
...
...
@@ -109,7 +109,7 @@ public class OpticalPathIntentInstaller implements IntentInstaller<OpticalPathIn
}
treatmentBuilder
.
setOutput
(
link
.
src
().
port
());
//treatmentBuilder.setLambda(
la.toInt());
treatmentBuilder
.
setLambda
((
short
)
la
.
toInt
());
FlowRule
rule
=
new
DefaultFlowRule
(
prev
.
deviceId
(),
selectorBuilder
.
build
(),
...
...
@@ -122,7 +122,7 @@ public class OpticalPathIntentInstaller implements IntentInstaller<OpticalPathIn
prev
=
link
.
dst
();
selectorBuilder
.
matchInport
(
link
.
dst
().
port
());
//selectorBuilder.setLambda(
la.toInt());
selectorBuilder
.
matchLambda
((
short
)
la
.
toInt
());
}
// build the last T port rule
...
...
@@ -213,7 +213,7 @@ public class OpticalPathIntentInstaller implements IntentInstaller<OpticalPathIn
}
treatmentBuilder
.
setOutput
(
link
.
src
().
port
());
//treatmentBuilder.setLambda(
la.toInt());
treatmentBuilder
.
setLambda
((
short
)
la
.
toInt
());
FlowRule
rule
=
new
DefaultFlowRule
(
prev
.
deviceId
(),
selectorBuilder
.
build
(),
...
...
@@ -226,7 +226,7 @@ public class OpticalPathIntentInstaller implements IntentInstaller<OpticalPathIn
prev
=
link
.
dst
();
selectorBuilder
.
matchInport
(
link
.
dst
().
port
());
//selectorBuilder.setLambda(
la.toInt());
selectorBuilder
.
matchLambda
((
short
)
la
.
toInt
());
}
// build the last T port rule
...
...
Please
register
or
login
to post a comment