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
8 package org.opendaylight.protocol.bgp.rib.spi.state;
10 import org.eclipse.jdt.annotation.NonNullByDefault;
11 import org.opendaylight.protocol.bgp.rib.spi.State;
14 * BGP Operational Session State.
17 public interface BGPSessionState {
19 * Internal session state.
21 * @return Internal session state
23 State getSessionState();
26 * Additional Path capability.
28 * @return true if supported
30 boolean isAddPathCapabilitySupported();
33 * AS 4 Bytes capability.
35 * @return true if supported
37 boolean isAsn32CapabilitySupported();
42 * @return true if supported
44 boolean isGracefulRestartCapabilitySupported();
47 * Multiprotocol capability.
49 * @return true if supported
51 boolean isMultiProtocolCapabilitySupported();
54 * Router Refresh Capability.
56 * @return true if supported
58 boolean isRouterRefreshCapabilitySupported();