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
Thomas Vachuska
2014-10-29 17:26:25 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1e426e9e37e486a4a241536baf590a49bf46dd90
1e426e9e
1 parent
a8026ad2
Added Port.Type and plumbed it throughout.
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
providers/openflow/device/src/main/java/org/onlab/onos/provider/of/device/impl/OpenFlowDeviceProvider.java
providers/openflow/device/src/main/java/org/onlab/onos/provider/of/device/impl/OpenFlowDeviceProvider.java
View file @
1e426e9
...
...
@@ -283,7 +283,7 @@ public class OpenFlowDeviceProvider extends AbstractProvider implements DevicePr
for
(
OFPortFeatures
feat
:
port
.
getCurr
())
{
portSpeed
=
PortSpeed
.
max
(
portSpeed
,
feat
.
getPortSpeed
());
}
return
portSpeed
.
getSpeedBps
()
/
MBPS
;
return
portSpeed
.
getSpeedBps
();
}
}
...
...
Please
register
or
login
to post a comment