| Package | Description |
|---|---|
| org.onosproject.bgpio.protocol |
BGP Protocol specific components.
|
| org.onosproject.bgpio.protocol.linkstate |
BGP Protocol specific link state details.
|
| org.onosproject.bgpio.protocol.ver4 |
BGP Protocol specific details of version 4.
|
| org.onosproject.bgpio.types |
Implementation of Tlvs, Attributes and Descriptors.
|
| org.onosproject.bgpio.types.attr |
Implementation of BGP Link state attribute Tlvs.
|
| org.onosproject.bgpio.util |
Implementation of BGP utility functions.
|
| Modifier and Type | Method and Description |
|---|---|
BgpOpenMsg |
BgpOpenMsg.Builder.build() |
BgpNotificationMsg |
BgpNotificationMsg.Builder.build() |
BgpMessage |
BgpMessage.Builder.build()
Builds BGP Message.
|
BgpNodeLSNlriVer4.ProtocolType |
BgpLSNlri.getProtocolId()
Returns Protocol Id in Nlri.
|
T |
BgpMessageReader.readFrom(org.jboss.netty.buffer.ChannelBuffer cb,
BgpHeader bgpHeader)
Reads the Objects in the BGP Message and Returns BGP Message.
|
void |
BgpMessageWriter.write(org.jboss.netty.buffer.ChannelBuffer cb,
T message)
Writes the Objects of the BGP Message into Channel Buffer.
|
void |
Writeable.writeTo(org.jboss.netty.buffer.ChannelBuffer cb)
Writes byte streams of messages to channel buffer.
|
void |
BgpMessage.writeTo(org.jboss.netty.buffer.ChannelBuffer cb) |
| Modifier and Type | Method and Description |
|---|---|
BgpNodeLSNlriVer4.ProtocolType |
BgpPrefixIPv4LSNlriVer4.getProtocolId() |
BgpNodeLSNlriVer4.ProtocolType |
BgpNodeLSNlriVer4.getProtocolId() |
BgpNodeLSNlriVer4.ProtocolType |
BgpLinkLsNlriVer4.getProtocolId() |
static LinkedList<BgpValueType> |
BgpLinkLSIdentifier.parseLinkDescriptors(org.jboss.netty.buffer.ChannelBuffer cb)
Parses link descriptors.
|
static BgpLinkLSIdentifier |
BgpLinkLSIdentifier.parseLinkIdendifier(org.jboss.netty.buffer.ChannelBuffer cb,
byte protocolId)
Reads channel buffer and parses link identifier.
|
static NodeDescriptors |
BgpPrefixLSIdentifier.parseLocalNodeDescriptors(org.jboss.netty.buffer.ChannelBuffer cb,
byte protocolId)
Parse local node descriptors.
|
static BgpNodeLSIdentifier |
BgpNodeLSIdentifier.parseLocalNodeDescriptors(org.jboss.netty.buffer.ChannelBuffer cb,
byte protocolId)
Parse local node descriptors.
|
static NodeDescriptors |
BgpLinkLSIdentifier.parseNodeDescriptors(org.jboss.netty.buffer.ChannelBuffer cb,
short desType,
byte protocolId)
Parses Local/Remote node descriptors.
|
static List<BgpValueType> |
BgpPrefixLSIdentifier.parsePrefixDescriptors(org.jboss.netty.buffer.ChannelBuffer cb)
Parse list of prefix descriptors.
|
static BgpPrefixLSIdentifier |
BgpPrefixLSIdentifier.parsePrefixIdendifier(org.jboss.netty.buffer.ChannelBuffer cb,
byte protocolId)
Reads the channel buffer and parses Prefix Identifier.
|
static BgpPrefixIPv4LSNlriVer4 |
BgpPrefixIPv4LSNlriVer4.read(org.jboss.netty.buffer.ChannelBuffer cb,
short afi,
byte safi)
Reads from channelBuffer and parses Prefix LS Nlri.
|
static BgpNodeLSNlriVer4 |
BgpNodeLSNlriVer4.read(org.jboss.netty.buffer.ChannelBuffer cb,
short afi,
byte safi)
Reads from channelBuffer and parses Node LS Nlri.
|
static BgpLinkLsNlriVer4 |
BgpLinkLsNlriVer4.read(org.jboss.netty.buffer.ChannelBuffer cb,
short afi,
byte safi)
Reads from channelBuffer and parses Link LS Nlri.
|
static NodeDescriptors |
NodeDescriptors.read(org.jboss.netty.buffer.ChannelBuffer cb,
short desLength,
short desType,
byte protocolId)
Reads node descriptors Sub-TLVs.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
BgpPathAttributes.checkMandatoryAttr(boolean isOrigin,
boolean isAsPath,
boolean isNextHop,
boolean isMpReach,
boolean isMpUnReach)
Checks mandatory attributes are presents, if not present throws exception.
|
protected static LinkedList<BgpValueType> |
BgpOpenMsgVer4.parseCapabilityTlv(org.jboss.netty.buffer.ChannelBuffer cb)
Parsing capabilities.
|
static LinkedList<org.onlab.packet.IpPrefix> |
BgpUpdateMsgVer4.parseNlri(org.jboss.netty.buffer.ChannelBuffer cb)
Parses NLRI from channel buffer.
|
static LinkedList<org.onlab.packet.IpPrefix> |
BgpUpdateMsgVer4.parseWithdrawnRoutes(org.jboss.netty.buffer.ChannelBuffer cb)
Parsing withdrawn routes from channel buffer.
|
static BgpPathAttributes |
BgpPathAttributes.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads from channelBuffer and parses BGP path attributes.
|
BgpOpenMsg |
BgpOpenMsgVer4.Reader.readFrom(org.jboss.netty.buffer.ChannelBuffer cb,
BgpHeader bgpHeader) |
int |
BgpPathAttributes.write(org.jboss.netty.buffer.ChannelBuffer cb)
Write path attributes to channelBuffer.
|
void |
BgpOpenMsgVer4.Writer.write(org.jboss.netty.buffer.ChannelBuffer cb,
BgpOpenMsgVer4 message) |
void |
BgpUpdateMsgVer4.Writer.write(org.jboss.netty.buffer.ChannelBuffer cb,
BgpUpdateMsgVer4 message) |
| Modifier and Type | Method and Description |
|---|---|
OspfRouteTypeTlv.RouteType |
OspfRouteTypeTlv.getValue()
Returns RouteType.
|
static Origin |
Origin.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads from ChannelBuffer and parses Origin.
|
static NextHop |
NextHop.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads from ChannelBuffer and parses NextHop.
|
static MpUnReachNlri |
MpUnReachNlri.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads from ChannelBuffer and parses MpUnReachNlri.
|
static MpReachNlri |
MpReachNlri.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads from ChannelBuffer and parses MpReachNlri.
|
static Med |
Med.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object of Med.
|
static LocalPref |
LocalPref.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object of LocalPref.
|
static LinkStateAttributes |
LinkStateAttributes.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the Link state attribute TLVs.
|
static BgpFsTcpFlags |
BgpFsTcpFlags.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object.
|
static BgpFsSourcePrefix |
BgpFsSourcePrefix.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object of IPv4AddressTlv.
|
static BgpFsSourcePortNum |
BgpFsSourcePortNum.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object.
|
static BgpFsPortNum |
BgpFsPortNum.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object.
|
static BgpFsPacketLength |
BgpFsPacketLength.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object.
|
static BgpFsIpProtocol |
BgpFsIpProtocol.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object.
|
static BgpFsIcmpType |
BgpFsIcmpType.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object.
|
static BgpFsIcmpCode |
BgpFsIcmpCode.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object.
|
static BgpFsFragment |
BgpFsFragment.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object.
|
static BgpFsDscpValue |
BgpFsDscpValue.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object.
|
static BgpFsDestinationPrefix |
BgpFsDestinationPrefix.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object of IPv4AddressTlv.
|
static BgpFsDestinationPortNum |
BgpFsDestinationPortNum.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object.
|
static BgpFsActionTrafficRate |
BgpFsActionTrafficRate.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object.
|
static BgpFsActionTrafficMarking |
BgpFsActionTrafficMarking.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object.
|
static BgpFsActionTrafficAction |
BgpFsActionTrafficAction.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object.
|
static BgpFsActionReDirect |
BgpFsActionReDirect.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object.
|
static BgpExtendedCommunity |
BgpExtendedCommunity.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads from the channel buffer and parses extended community.
|
static AsPath |
AsPath.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads from the channel buffer and parses AsPath.
|
static As4Path |
As4Path.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads from the channel buffer and parses As4Path.
|
static IPv6AddressTlv |
IPv6AddressTlv.read(org.jboss.netty.buffer.ChannelBuffer cb,
short type)
Reads the channel buffer and returns object of IPv6AddressTlv.
|
static IPv4AddressTlv |
IPv4AddressTlv.read(org.jboss.netty.buffer.ChannelBuffer cb,
short type)
Reads the channel buffer and returns object of IPv4AddressTlv.
|
| Modifier and Type | Method and Description |
|---|---|
BgpLinkAttrProtectionType.ProtectionType |
BgpLinkAttrProtectionType.protectionType()
Returns Link Protection Type.
|
static BgpPrefixAttrRouteTag |
BgpPrefixAttrRouteTag.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the Route Tag.
|
static BgpPrefixAttrOspfFwdAddr |
BgpPrefixAttrOspfFwdAddr.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the OSPF Forwarding Address.
|
static BgpPrefixAttrOpaqueData |
BgpPrefixAttrOpaqueData.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the Opaque Prefix Attribute.
|
static BgpPrefixAttrMetric |
BgpPrefixAttrMetric.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the Prefix Metric.
|
static BgpPrefixAttrIgpFlags |
BgpPrefixAttrIgpFlags.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the IGP Flags.
|
static BgpPrefixAttrExtRouteTag |
BgpPrefixAttrExtRouteTag.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the Extended Tag.
|
static BgpLinkAttrTeDefaultMetric |
BgpLinkAttrTeDefaultMetric.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the BGP link attributes of TE default metric.
|
static BgpLinkAttrSrlg |
BgpLinkAttrSrlg.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the BGP link attributes Shared Risk link group data.
|
static BgpLinkAttrProtectionType |
BgpLinkAttrProtectionType.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the BGP link attributes protection type.
|
static BgpLinkAttrOpaqLnkAttrib |
BgpLinkAttrOpaqLnkAttrib.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the BGP link attributes Opaque link attribute.
|
static BgpLinkAttrName |
BgpLinkAttrName.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the BGP link attributes Name.
|
static BgpLinkAttrMplsProtocolMask |
BgpLinkAttrMplsProtocolMask.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the BGP link attributes MPLS protocol mask.
|
static BgpLinkAttrIsIsAdminstGrp |
BgpLinkAttrIsIsAdminstGrp.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the BGP link attributes of ISIS administrative group area.
|
static BgpLinkAttrIgpMetric |
BgpLinkAttrIgpMetric.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the BGP link attributes IGP Metric.
|
static BgpAttrOpaqueNode |
BgpAttrOpaqueNode.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the Opaque Node Properties.
|
static BgpAttrNodeName |
BgpAttrNodeName.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the LS attribute node name.
|
static BgpAttrNodeMultiTopologyId |
BgpAttrNodeMultiTopologyId.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the Multi-topology ID of Node attribute.
|
static BgpAttrNodeIsIsAreaId |
BgpAttrNodeIsIsAreaId.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the IS-IS Area Identifier.
|
static BgpAttrNodeFlagBitTlv |
BgpAttrNodeFlagBitTlv.read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the Node Flag Bits.
|
static BgpLinkAttrUnRsrvdLinkBandwidth |
BgpLinkAttrUnRsrvdLinkBandwidth.read(org.jboss.netty.buffer.ChannelBuffer cb,
short sType)
Reads the BGP link attributes of Maximum link bandwidth.
|
static BgpLinkAttrMaxLinkBandwidth |
BgpLinkAttrMaxLinkBandwidth.read(org.jboss.netty.buffer.ChannelBuffer cb,
short type)
Reads the BGP link attributes of Maximum link bandwidth.
|
static BgpAttrRouterIdV6 |
BgpAttrRouterIdV6.read(org.jboss.netty.buffer.ChannelBuffer cb,
short sType)
Reads the IPv6 Router-ID.
|
static BgpAttrRouterIdV4 |
BgpAttrRouterIdV4.read(org.jboss.netty.buffer.ChannelBuffer cb,
short sType)
Reads the IPv4 Router-ID.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Validation.validateLen(byte errorCode,
byte subErrCode,
int length)
Throws exception if length is not correct.
|
static void |
Validation.validateType(byte errorCode,
byte subErrCode,
int type)
Throws exception if type is not correct.
|
Copyright © 2016. All rights reserved.