blob: 5d7392392223ac7989721e331ccaea02d0cebab3 [file] [log] [blame]
HIGUCHI Yuta34a3f692016-01-09 21:08:57 -08001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2016-present Open Networking Foundation
HIGUCHI Yuta34a3f692016-01-09 21:08:57 -08003 *
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 */
16package org.onosproject.net.optical;
17
18import org.onosproject.net.OchSignal;
19import org.onosproject.net.OduSignalType;
HIGUCHI Yuta34a3f692016-01-09 21:08:57 -080020import 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 HIGUCHI1d547bf2016-08-02 21:44:48 -070028public interface OchPort extends ProjectedPort {
HIGUCHI Yuta34a3f692016-01-09 21:08:57 -080029
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}