blob: a0fdf142fba2f4b85f1f142811a61e9a88afc8b5 [file] [log] [blame]
Jonathan Hart41349e92015-02-09 14:14:02 -08001/*
Jonathan Hartf4bd0482017-01-27 15:11:18 -08002 * Copyright 2017-present Open Networking Laboratory
Jonathan Hart41349e92015-02-09 14:14:02 -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 */
Jonathan Hart3930f632015-10-19 12:12:51 -070016
17package org.onosproject.routing.fpm;
18
Jonathan Hart6b045582016-02-03 10:00:08 -080019import java.util.Map;
Jonathan Hart41349e92015-02-09 14:14:02 -080020
21/**
Jonathan Hartb10f1e72017-05-02 16:36:26 -070022 * Provides information about the FPM route receiver module.
Jonathan Hart41349e92015-02-09 14:14:02 -080023 */
Jonathan Hart6b045582016-02-03 10:00:08 -080024public interface FpmInfoService {
Jonathan Hart41349e92015-02-09 14:14:02 -080025
Jonathan Hartb10f1e72017-05-02 16:36:26 -070026 /**
27 * Returns the FPM peers that are currently connected.
28 *
Jonathan Hartf4b2ca12017-05-17 16:10:16 -070029 * @return a map of FPM peer with related information
Jonathan Hartb10f1e72017-05-02 16:36:26 -070030 */
Jonathan Hartf4b2ca12017-05-17 16:10:16 -070031 Map<FpmPeer, FpmPeerInfo> peers();
Jonathan Hart41349e92015-02-09 14:14:02 -080032}