2 * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.protocol.bgp.rib.spi.state;
11 import org.opendaylight.protocol.bgp.rib.spi.State;
14 * BGP Operational Session State
16 public interface BGPSessionState {
18 * Internal session state
20 * @return Internal session state
22 State getSessionState();
25 * Additional Path capability
27 * @return true if supported
29 boolean isAddPathCapabilitySupported();
32 * AS 4 Bytes capability
34 * @return true if supported
36 boolean isAsn32CapabilitySupported();
41 * @return true if supported
43 boolean isGracefulRestartCapabilitySupported();
46 * Multiprotocol capability
48 * @return true if supported
50 boolean isMultiProtocolCapabilitySupported();
53 * Router Refresh Capability
55 * @return true if supported
57 boolean isRouterRefreshCapabilitySupported();