blob: 2c331a2ecc14af0da59c64cb122c29e9fa2114c6 [file] [log] [blame]
Priyanka B0bee1f82015-10-13 15:39:49 +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.LinkedList;
19
20import 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 */
26public interface BGPPrefixLSNlri extends BGPLSNlri {
27 /**
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 */
39 LinkedList<BGPValueType> getPrefixdescriptor();
Jonathan Hart317f4762015-11-09 16:05:36 -080040}