public class BgpSession
extends org.jboss.netty.channel.SimpleChannelHandler
| Modifier and Type | Method and Description |
|---|---|
void |
channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent channelEvent) |
void |
channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent channelEvent) |
void |
channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent channelEvent) |
void |
channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent channelEvent) |
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
BgpRouteEntry |
findBgpRoute(org.onlab.packet.Ip4Prefix prefix)
Finds an IPv4 BGP routing entry for a prefix in the IPv4 BGP RIB-IN.
|
BgpRouteEntry |
findBgpRoute(org.onlab.packet.Ip6Prefix prefix)
Finds an IPv6 BGP routing entry for a prefix in the IPv6 BGP RIB-IN.
|
BgpRouteEntry |
findBgpRoute(org.onlab.packet.IpPrefix prefix)
Finds a BGP routing entry for a prefix in the BGP RIB-IN.
|
Collection<BgpRouteEntry> |
getBgpRibIn4()
Gets the IPv4 BGP RIB-IN routing entries.
|
Collection<BgpRouteEntry> |
getBgpRibIn6()
Gets the IPv6 BGP RIB-IN routing entries.
|
boolean |
isAs4OctetCapable()
Gets the BGP session 4 octet AS path capability.
|
BgpSessionInfo |
localInfo()
Gets the BGP Session local information.
|
boolean |
mpExtensions()
Gets the BGP Multiprotocol Extensions for the session.
|
BgpSessionInfo |
remoteInfo()
Gets the BGP Session remote information.
|
bindRequested, channelBound, channelInterestChanged, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, handleDownstream, handleUpstream, messageReceived, setInterestOpsRequested, unbindRequested, writeComplete, writeRequestedpublic BgpSessionInfo localInfo()
public BgpSessionInfo remoteInfo()
public boolean mpExtensions()
public boolean isAs4OctetCapable()
public Collection<BgpRouteEntry> getBgpRibIn4()
public Collection<BgpRouteEntry> getBgpRibIn6()
public BgpRouteEntry findBgpRoute(org.onlab.packet.Ip4Prefix prefix)
prefix - the IPv4 prefix of the route to search forpublic BgpRouteEntry findBgpRoute(org.onlab.packet.Ip6Prefix prefix)
prefix - the IPv6 prefix of the route to search forpublic BgpRouteEntry findBgpRoute(org.onlab.packet.IpPrefix prefix)
prefix - the IP prefix of the route to search forpublic void channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent channelEvent)
channelOpen in class org.jboss.netty.channel.SimpleChannelHandlerpublic void channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent channelEvent)
channelClosed in class org.jboss.netty.channel.SimpleChannelHandlerpublic void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent channelEvent)
channelConnected in class org.jboss.netty.channel.SimpleChannelHandlerpublic void channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent channelEvent)
channelDisconnected in class org.jboss.netty.channel.SimpleChannelHandlerpublic void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
exceptionCaught in class org.jboss.netty.channel.SimpleChannelHandler