blob: 1445c763cd7f2f744a34700de4d49680109d29a9 [file] [log] [blame]
Priyanka B3b695542015-10-14 17:16:27 +05301/*
2 * Copyright 2015 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.bgpio.protocol;
17
18import java.util.List;
19
20import org.onosproject.bgpio.types.BGPValueType;
21import org.onosproject.bgpio.protocol.linkstate.NodeDescriptors;
22
23/**
24 * Abstraction of an entity providing BGP-LS Link NLRI.
25 */
26public interface BgpLinkLsNlri extends BGPLSNlri {
27 /**
28 * Returns local node descriptors.
29 *
30 * @return local node descriptors
31 */
32 NodeDescriptors getLocalNodeDescriptors();
33
34 /**
35 * Returns remote node descriptors.
36 *
37 * @return remote node descriptors
38 */
39 NodeDescriptors getRemoteNodeDescriptors();
40
41 /**
42 * Returns link descriptors.
43 *
44 * @return link descriptors
45 */
46 List<BGPValueType> getLinkDescriptors();
47}