Class BGPRouteEntryExportParametersImpl
- java.lang.Object
-
- org.opendaylight.protocol.bgp.mode.impl.BGPRouteEntryExportParametersImpl
-
- All Implemented Interfaces:
BGPRouteEntryExportParameters,BGPRouteEntryImportParameters,RouteTargetMembershipConsumer,RTCCache
public final class BGPRouteEntryExportParametersImpl extends Object implements BGPRouteEntryExportParameters
-
-
Constructor Summary
Constructors Constructor Description BGPRouteEntryExportParametersImpl(Peer fromPeer, Peer toPeer, String routeKey, RTCCache rtCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Route>getClientRouteTargetContrainCache()Cache of RTC routes advertized per clients peers.ClusterIdentifiergetFromClusterId()Peer id of Peer route entry announcer.PeerIdgetFromPeerId()Peer id of Peer route entry announcer.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumbergetFromPeerLocalAs()Peer local AS of route entry announcer.PeerRolegetFromPeerRole()Peer id of Peer route entry announcer.List<RouteTarget>getMemberships()Returns list of Route target advertized per Peer.StringgetRouteKey()Destination Route Key.PeerIdgetToPeerId()Peer id of Peer route entry destiny.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumbergetToPeerLocalAs()Peer local AS of Peer route entry destiny.PeerRolegetToPeerRole()Peer id of Peer route entry destiny.
-
-
-
Method Detail
-
getFromPeerRole
public PeerRole getFromPeerRole()
Description copied from interface:BGPRouteEntryImportParametersPeer id of Peer route entry announcer.- Specified by:
getFromPeerRolein interfaceBGPRouteEntryImportParameters- Returns:
- peer Role of announcer Peer
-
getFromPeerId
public PeerId getFromPeerId()
Description copied from interface:BGPRouteEntryImportParametersPeer id of Peer route entry announcer.- Specified by:
getFromPeerIdin interfaceBGPRouteEntryImportParameters- Returns:
- peer Id of announcer Peer
-
getFromClusterId
public ClusterIdentifier getFromClusterId()
Description copied from interface:BGPRouteEntryImportParametersPeer id of Peer route entry announcer.- Specified by:
getFromClusterIdin interfaceBGPRouteEntryImportParameters- Returns:
- peer Id of announcer Peer
-
getFromPeerLocalAs
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getFromPeerLocalAs()
Description copied from interface:BGPRouteEntryImportParametersPeer local AS of route entry announcer.- Specified by:
getFromPeerLocalAsin interfaceBGPRouteEntryImportParameters- Returns:
- peer Local AS
-
getToPeerRole
public PeerRole getToPeerRole()
Description copied from interface:BGPRouteEntryExportParametersPeer id of Peer route entry destiny.- Specified by:
getToPeerRolein interfaceBGPRouteEntryExportParameters- Returns:
- peer Role of announcer Peer
-
getToPeerLocalAs
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getToPeerLocalAs()
Description copied from interface:BGPRouteEntryExportParametersPeer local AS of Peer route entry destiny.- Specified by:
getToPeerLocalAsin interfaceBGPRouteEntryExportParameters- Returns:
- peer Local AS of destiny Peer
-
getRouteKey
public String getRouteKey()
Description copied from interface:BGPRouteEntryExportParametersDestination Route Key.- Specified by:
getRouteKeyin interfaceBGPRouteEntryExportParameters- Returns:
- routeKey
-
getToPeerId
public PeerId getToPeerId()
Description copied from interface:BGPRouteEntryExportParametersPeer id of Peer route entry destiny.- Specified by:
getToPeerIdin interfaceBGPRouteEntryExportParameters- Returns:
- peer Id of announcer Peer
-
getMemberships
public List<RouteTarget> getMemberships()
Description copied from interface:RouteTargetMembershipConsumerReturns list of Route target advertized per Peer.- Specified by:
getMembershipsin interfaceRouteTargetMembershipConsumer
-
getClientRouteTargetContrainCache
public List<Route> getClientRouteTargetContrainCache()
Description copied from interface:RTCCacheCache of RTC routes advertized per clients peers.- Specified by:
getClientRouteTargetContrainCachein interfaceRTCCache- Returns:
- rtc cache
-
-