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
Praseed Balakrishnan
2014-10-23 15:58:48 -0700
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
41c088a22d655aef2a959829a62b7e78710a78d8
41c088a2
2 parents
29d7d855
4908d60f
Merge branch 'optical-integration' of
ssh://gerrit.onlab.us:29418/onos-next
into optical-integration
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
core/api/src/main/java/org/onlab/onos/net/intent/OpticalPathIntent.java
core/api/src/main/java/org/onlab/onos/net/intent/OpticalPathIntent.java
View file @
41c088a
...
...
@@ -5,11 +5,13 @@ import java.util.Collection;
import
org.onlab.onos.ApplicationId
;
import
org.onlab.onos.net.ConnectPoint
;
import
org.onlab.onos.net.Link
;
import
org.onlab.onos.net.NetworkResource
;
import
org.onlab.onos.net.Path
;
import
com.google.common.base.MoreObjects
;
import
com.google.common.collect.ImmutableSet
;
public
class
OpticalPathIntent
extends
Connectivity
Intent
{
public
class
OpticalPathIntent
extends
Intent
{
private
final
ConnectPoint
src
;
private
final
ConnectPoint
dst
;
...
...
@@ -21,7 +23,8 @@ public class OpticalPathIntent extends ConnectivityIntent {
ConnectPoint
dst
,
Path
path
)
{
super
(
id
(
OpticalPathIntent
.
class
,
src
,
dst
),
appId
,
resources
(
path
.
links
()),
null
,
null
);
appId
,
ImmutableSet
.<
NetworkResource
>
copyOf
(
path
.
links
()));
this
.
src
=
src
;
this
.
dst
=
dst
;
this
.
path
=
path
;
...
...
Please
register
or
login
to post a comment