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
2016-02-29 11:10:17 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3763a0224f45f65af5c48095d05cdbc0e0385b9a
3763a022
1 parent
979c3d90
Refactor: Rename
Change-Id: Iae498b3a40e4c920598b05c4a7e5f36d6cb33e85
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 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 @
3763a02
...
...
@@ -633,13 +633,13 @@ public class OpticalCircuitIntentCompiler implements IntentCompiler<OpticalCircu
/**
* Finds the common TributarySlots available on the two connect points.
*
* @param src
Cp
source connect point
* @param dst
Cp
dest connect point
* @param src source connect point
* @param dst dest connect point
* @return set of common TributarySlots on both connect points
*/
Set
<
TributarySlot
>
findCommonTributarySlotsOnCps
(
ConnectPoint
src
Cp
,
ConnectPoint
dstCp
)
{
Set
<
TributarySlot
>
forward
=
findTributarySlotsOnCp
(
src
Cp
);
Set
<
TributarySlot
>
backward
=
findTributarySlotsOnCp
(
dst
Cp
);
Set
<
TributarySlot
>
findCommonTributarySlotsOnCps
(
ConnectPoint
src
,
ConnectPoint
dst
)
{
Set
<
TributarySlot
>
forward
=
findTributarySlotsOnCp
(
src
);
Set
<
TributarySlot
>
backward
=
findTributarySlotsOnCp
(
dst
);
return
Sets
.
intersection
(
forward
,
backward
);
}
...
...
Please
register
or
login
to post a comment