/* * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.protocol.bgp.rib.spi.state; import java.util.List; import org.eclipse.jdt.annotation.NonNullByDefault; /** * Provides operational state of BGP ({@link BGPRibState}s /{@link BGPPeerState}s). */ @NonNullByDefault public interface BGPStateProvider { /** * List of Registered BGP Rib States. * * @return ribs stats */ List getRibStats(); /** * List of Registered BGP Peer States. * * @return peers stats */ List getPeerStats(); }