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
Jonathan Hart
2014-10-20 10:25:03 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ce37f6d66d5f4118c0833f98af36655aa618ca55
ce37f6d6
1 parent
6b2ffc35
Renamed a class to better name
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
apps/sdnip/src/main/java/org/onlab/onos/sdnip/HostServiceBasedInterfaceService.java → apps/sdnip/src/main/java/org/onlab/onos/sdnip/HostToInterfaceAdaptor.java
apps/sdnip/src/main/java/org/onlab/onos/sdnip/SdnIp.java
apps/sdnip/src/main/java/org/onlab/onos/sdnip/Host
ServiceBasedInterfaceService
.java
→
apps/sdnip/src/main/java/org/onlab/onos/sdnip/Host
ToInterfaceAdaptor
.java
View file @
ce37f6d
...
...
@@ -18,11 +18,11 @@ import com.google.common.collect.Sets;
/**
* Provides IntefaceService using PortAddresses data from the HostService.
*/
public
class
Host
ServiceBasedInterfaceService
implements
InterfaceService
{
public
class
Host
ToInterfaceAdaptor
implements
InterfaceService
{
private
final
HostService
hostService
;
public
Host
ServiceBasedInterfaceService
(
HostService
hostService
)
{
public
Host
ToInterfaceAdaptor
(
HostService
hostService
)
{
this
.
hostService
=
checkNotNull
(
hostService
);
}
...
...
apps/sdnip/src/main/java/org/onlab/onos/sdnip/SdnIp.java
View file @
ce37f6d
...
...
@@ -47,7 +47,7 @@ public class SdnIp implements SdnIpService {
config
=
new
SdnIpConfigReader
();
config
.
init
();
InterfaceService
interfaceService
=
new
Host
ServiceBasedInterfaceService
(
hostService
);
InterfaceService
interfaceService
=
new
Host
ToInterfaceAdaptor
(
hostService
);
peerConnectivity
=
new
PeerConnectivityManager
(
config
,
interfaceService
,
intentService
);
peerConnectivity
.
start
();
...
...
Please
register
or
login
to post a comment