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-24 14:05:17 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e8f656c91fc34b2bdf8821fd99ac502102cdcdc0
e8f656c9
1 parent
12d02686
Reduce depth of indent
Change-Id: Ie1caf1c818cb83824a1e495b46a5b7a0c2640098
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
core/net/src/main/java/org/onosproject/net/intent/impl/compiler/PathIntentCompiler.java
core/net/src/main/java/org/onosproject/net/intent/impl/compiler/PathIntentCompiler.java
View file @
e8f656c
...
...
@@ -117,18 +117,16 @@ public class PathIntentCompiler implements IntentCompiler<PathIntent> {
}
return
ImmutableList
.
of
(
new
FlowRuleIntent
(
appId
,
null
,
rules
,
intent
.
resources
()));
}
}
else
{
if
(
EncapsulationType
.
VLAN
==
enacpConstraint
.
get
().
encapType
())
{
rules
=
manageVlanEncap
(
intent
);
}
if
(
EncapsulationType
.
MPLS
==
enacpConstraint
.
get
().
encapType
())
{
//TODO: to be implemented
rules
=
Collections
.
emptyList
();
}
return
ImmutableList
.
of
(
new
FlowRuleIntent
(
appId
,
null
,
rules
,
intent
.
resources
()));
if
(
EncapsulationType
.
VLAN
==
enacpConstraint
.
get
().
encapType
())
{
rules
=
manageVlanEncap
(
intent
);
}
else
if
(
EncapsulationType
.
MPLS
==
enacpConstraint
.
get
().
encapType
())
{
//TODO: to be implemented
rules
=
Collections
.
emptyList
();
}
return
ImmutableList
.
of
(
new
FlowRuleIntent
(
appId
,
null
,
rules
,
intent
.
resources
()));
}
private
FlowRule
createFlowRule
(
TrafficSelector
originalSelector
,
TrafficTreatment
originalTreatment
,
...
...
Please
register
or
login
to post a comment