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-10-02 10:05:49 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8d7caff4d6bdf59a08833d6253b28b05ca38bb01
8d7caff4
1 parent
9abfc448
Remove unused fields
Change-Id: Ibc305eb392145cf3327ae134a8f338731244265e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
core/net/src/test/java/org/onosproject/net/intent/impl/compiler/OpticalPathIntentCompilerTest.java
core/net/src/test/java/org/onosproject/net/intent/impl/compiler/OpticalPathIntentCompilerTest.java
View file @
8d7caff
...
...
@@ -27,17 +27,12 @@ import org.onosproject.net.DefaultLink;
import
org.onosproject.net.DefaultPath
;
import
org.onosproject.net.Link
;
import
org.onosproject.net.OchSignalType
;
import
org.onosproject.net.flow.DefaultTrafficSelector
;
import
org.onosproject.net.flow.DefaultTrafficTreatment
;
import
org.onosproject.net.flow.FlowRule
;
import
org.onosproject.net.flow.TrafficSelector
;
import
org.onosproject.net.flow.TrafficTreatment
;
import
org.onosproject.net.intent.FlowRuleIntent
;
import
org.onosproject.net.intent.Intent
;
import
org.onosproject.net.intent.IntentExtensionService
;
import
org.onosproject.net.intent.MockIdGenerator
;
import
org.onosproject.net.intent.OpticalPathIntent
;
import
org.onosproject.net.provider.ProviderId
;
import
java.util.Arrays
;
import
java.util.Collection
;
...
...
@@ -62,16 +57,11 @@ public class OpticalPathIntentCompilerTest {
private
final
IdGenerator
idGenerator
=
new
MockIdGenerator
();
private
OpticalPathIntentCompiler
sut
;
private
final
TrafficSelector
selector
=
DefaultTrafficSelector
.
builder
().
build
();
private
final
TrafficTreatment
treatment
=
DefaultTrafficTreatment
.
builder
().
build
();
private
final
ApplicationId
appId
=
new
TestApplicationId
(
"test"
);
private
final
ProviderId
pid
=
new
ProviderId
(
"of"
,
"test"
);
private
final
ConnectPoint
d1p1
=
connectPoint
(
"s1"
,
0
);
private
final
ConnectPoint
d2p0
=
connectPoint
(
"s2"
,
0
);
private
final
ConnectPoint
d2p1
=
connectPoint
(
"s2"
,
1
);
private
final
ConnectPoint
d3p1
=
connectPoint
(
"s3"
,
1
);
private
final
ConnectPoint
d3p0
=
connectPoint
(
"s3"
,
10
);
private
final
ConnectPoint
d1p0
=
connectPoint
(
"s1"
,
10
);
private
final
List
<
Link
>
links
=
Arrays
.
asList
(
new
DefaultLink
(
PID
,
d1p1
,
d2p0
,
DIRECT
),
...
...
Please
register
or
login
to post a comment