blob: 5df3668ebbf2e6ef5e36c0d03d3962f3e320c3a6 [file] [log] [blame]
Priyanka B0bee1f82015-10-13 15:39:49 +05301/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2015-present Open Networking Laboratory
Priyanka B0bee1f82015-10-13 15:39:49 +05303 *
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
Priyanka B02040732015-11-29 11:30:29 +053018import java.util.List;
Priyanka B0bee1f82015-10-13 15:39:49 +053019
Shashikanth VH5dd8dbe2015-11-26 13:22:18 +053020import org.onosproject.bgpio.types.BgpValueType;
Jonathan Hart317f4762015-11-09 16:05:36 -080021import org.onosproject.bgpio.protocol.linkstate.NodeDescriptors;
Priyanka B0bee1f82015-10-13 15:39:49 +053022
23/**
24 * Abstraction of an entity providing BGP-LS Prefix NLRI.
25 */
Shashikanth VH5dd8dbe2015-11-26 13:22:18 +053026public interface BgpPrefixLSNlri extends BgpLSNlri {
Priyanka B0bee1f82015-10-13 15:39:49 +053027 /**
28 * Returns local node descriptors.
29 *
30 * @return local node descriptors
31 */
32 NodeDescriptors getLocalNodeDescriptors();
33
34 /**
35 * Returns list of Prefix descriptor.
36 *
37 * @return list of Prefix descriptor
38 */
Priyanka B02040732015-11-29 11:30:29 +053039 List<BgpValueType> getPrefixdescriptor();
Jonathan Hart317f4762015-11-09 16:05:36 -080040}