Committed by
Gerrit Code Review
implement OchPort,OduCltPort,OmsPort
Change-Id: I26425c87a52d2d6d3f7d64357d728e475ef6b10d
Showing
2 changed files
with
6 additions
and
4 deletions
| ... | @@ -15,6 +15,8 @@ | ... | @@ -15,6 +15,8 @@ |
| 15 | */ | 15 | */ |
| 16 | package org.onosproject.pcep.api; | 16 | package org.onosproject.pcep.api; |
| 17 | 17 | ||
| 18 | +import org.onosproject.net.Port; | ||
| 19 | + | ||
| 18 | /** | 20 | /** |
| 19 | * Abstraction of a network infrastructure link. | 21 | * Abstraction of a network infrastructure link. |
| 20 | */ | 22 | */ |
| ... | @@ -118,17 +120,17 @@ public interface PcepLink extends PcepOperator { | ... | @@ -118,17 +120,17 @@ public interface PcepLink extends PcepOperator { |
| 118 | public PcepDpid linkDstDeviceId(); | 120 | public PcepDpid linkDstDeviceId(); |
| 119 | 121 | ||
| 120 | /** | 122 | /** |
| 121 | - * Returns the source port number of a link. | 123 | + * Returns the source port of a link. |
| 122 | * | 124 | * |
| 123 | * @return port number | 125 | * @return port number |
| 124 | */ | 126 | */ |
| 125 | - public long linkSrcPort(); | 127 | + public Port linkSrcPort(); |
| 126 | 128 | ||
| 127 | /** | 129 | /** |
| 128 | - * Returns the destination port number of a link. | 130 | + * Returns the destination port of a link. |
| 129 | * | 131 | * |
| 130 | * @return port number | 132 | * @return port number |
| 131 | */ | 133 | */ |
| 132 | - public long linkDstPort(); | 134 | + public Port linkDstPort(); |
| 133 | 135 | ||
| 134 | } | 136 | } | ... | ... |
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment