blob: f27cafea84161fe1b835e05fb193b1b298026b7f [file] [log] [blame]
Aihua Guo1ce2dd12016-08-12 23:37:44 -04001/*
2 * Copyright 2016 Open Networking Laboratory
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 */
16package org.onosproject.tetopology.management.api.node;
17
18import java.util.List;
19
20import org.onosproject.tetopology.management.api.KeyId;
21import org.onosproject.tetopology.management.api.TeTopologyEventSubject;
22
23/**
24 * Abstraction of a termination point.
25 */
26public interface TerminationPoint extends TeTopologyEventSubject {
27
28 /**
29 * Returns the termination point id.
30 *
31 * @return termination point id
32 */
33 KeyId id();
34
35 /**
36 * Returns list of supporting termination point ids.
37 *
38 * @return the supportingTpIds
39 */
40 List<TerminationPointKey> getSupportingTpIds();
41
42 /**
43 * Returns TE attributes for this termination point.
44 *
45 * @return the te attribute
46 */
47 TeTerminationPoint getTe();
48
49}