HIGUCHI Yuta | 34a3f69 | 2016-01-09 21:08:57 -0800 | [diff] [blame] | 1 | /* |
Brian O'Connor | ce2a03d | 2017-08-03 19:21:03 -0700 | [diff] [blame] | 2 | * Copyright 2016-present Open Networking Foundation |
HIGUCHI Yuta | 34a3f69 | 2016-01-09 21:08:57 -0800 | [diff] [blame] | 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | package org.onosproject.net.optical; |
| 17 | |
| 18 | import org.onosproject.net.OchSignal; |
| 19 | import org.onosproject.net.OduSignalType; |
HIGUCHI Yuta | 34a3f69 | 2016-01-09 21:08:57 -0800 | [diff] [blame] | 20 | import com.google.common.annotations.Beta; |
| 21 | |
| 22 | /** |
| 23 | * OCh port (Optical Channel). |
| 24 | * Also referred to as a line side port (L-port) or narrow band port. |
| 25 | * See ITU G.709 "Interfaces for the Optical Transport Network (OTN)" |
| 26 | */ |
| 27 | @Beta |
Yuta HIGUCHI | 1d547bf | 2016-08-02 21:44:48 -0700 | [diff] [blame] | 28 | public interface OchPort extends ProjectedPort { |
HIGUCHI Yuta | 34a3f69 | 2016-01-09 21:08:57 -0800 | [diff] [blame] | 29 | |
| 30 | /** |
| 31 | * Returns ODU signal type. |
| 32 | * |
| 33 | * @return ODU signal type |
| 34 | */ |
| 35 | public OduSignalType signalType(); |
| 36 | |
| 37 | /** |
| 38 | * Returns true if port is wavelength tunable. |
| 39 | * |
| 40 | * @return tunable wavelength capability |
| 41 | */ |
| 42 | public boolean isTunable(); |
| 43 | |
| 44 | /** |
| 45 | * Returns OCh signal. |
| 46 | * |
| 47 | * @return OCh signal |
| 48 | */ |
| 49 | public OchSignal lambda(); |
| 50 | |
| 51 | } |