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-29 12:46:09 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d5bdbf861986f6a69c91a80e77d33d2bef0d31ef
d5bdbf86
1 parent
0f9a68cd
Refactor: Remove unused parameter
Change-Id: I8f719833a85deae175649dfb2bede4ea6684611f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalCircuitIntentCompiler.java
core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalCircuitIntentCompiler.java
View file @
d5bdbf8
...
...
@@ -295,7 +295,7 @@ public class OpticalCircuitIntentCompiler implements IntentCompiler<OpticalCircu
return
null
;
}
private
OchPort
findAvailableOchPort
(
ConnectPoint
oduPort
,
OpticalCircuitIntent
circuitIntent
)
{
private
OchPort
findAvailableOchPort
(
ConnectPoint
oduPort
)
{
// First see if the port mappings are constrained
ConnectPoint
ochCP
=
staticPort
(
oduPort
);
...
...
@@ -326,12 +326,12 @@ public class OpticalCircuitIntentCompiler implements IntentCompiler<OpticalCircu
private
Pair
<
OchPort
,
OchPort
>
findPorts
(
OpticalCircuitIntent
intent
)
{
OchPort
srcPort
=
findAvailableOchPort
(
intent
.
getSrc
()
,
intent
);
OchPort
srcPort
=
findAvailableOchPort
(
intent
.
getSrc
());
if
(
srcPort
==
null
)
{
return
null
;
}
OchPort
dstPort
=
findAvailableOchPort
(
intent
.
getDst
()
,
intent
);
OchPort
dstPort
=
findAvailableOchPort
(
intent
.
getDst
());
if
(
dstPort
==
null
)
{
return
null
;
}
...
...
Please
register
or
login
to post a comment