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.ClusterIdentifier
getFromClusterId()
Peer id of Peer route entry announcer.PeerId
getFromPeerId()
Peer id of Peer route entry announcer.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
getFromPeerLocalAs()
Peer local AS of route entry announcer.PeerRole
getFromPeerRole()
Peer id of Peer route entry announcer.List<RouteTarget>
getMemberships()
Returns list of Route target advertized per Peer.String
getRouteKey()
Destination Route Key.PeerId
getToPeerId()
Peer id of Peer route entry destiny.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
getToPeerLocalAs()
Peer local AS of Peer route entry destiny.PeerRole
getToPeerRole()
Peer id of Peer route entry destiny.
-
-
-
Method Detail
-
getFromPeerRole
public PeerRole getFromPeerRole()
Description copied from interface:BGPRouteEntryImportParameters
Peer id of Peer route entry announcer.- Specified by:
getFromPeerRole
in interfaceBGPRouteEntryImportParameters
- Returns:
- peer Role of announcer Peer
-
getFromPeerId
public PeerId getFromPeerId()
Description copied from interface:BGPRouteEntryImportParameters
Peer id of Peer route entry announcer.- Specified by:
getFromPeerId
in interfaceBGPRouteEntryImportParameters
- Returns:
- peer Id of announcer Peer
-
getFromClusterId
public ClusterIdentifier getFromClusterId()
Description copied from interface:BGPRouteEntryImportParameters
Peer id of Peer route entry announcer.- Specified by:
getFromClusterId
in 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:BGPRouteEntryImportParameters
Peer local AS of route entry announcer.- Specified by:
getFromPeerLocalAs
in interfaceBGPRouteEntryImportParameters
- Returns:
- peer Local AS
-
getToPeerRole
public PeerRole getToPeerRole()
Description copied from interface:BGPRouteEntryExportParameters
Peer id of Peer route entry destiny.- Specified by:
getToPeerRole
in 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:BGPRouteEntryExportParameters
Peer local AS of Peer route entry destiny.- Specified by:
getToPeerLocalAs
in interfaceBGPRouteEntryExportParameters
- Returns:
- peer Local AS of destiny Peer
-
getRouteKey
public String getRouteKey()
Description copied from interface:BGPRouteEntryExportParameters
Destination Route Key.- Specified by:
getRouteKey
in interfaceBGPRouteEntryExportParameters
- Returns:
- routeKey
-
getToPeerId
public PeerId getToPeerId()
Description copied from interface:BGPRouteEntryExportParameters
Peer id of Peer route entry destiny.- Specified by:
getToPeerId
in interfaceBGPRouteEntryExportParameters
- Returns:
- peer Id of announcer Peer
-
getMemberships
public List<RouteTarget> getMemberships()
Description copied from interface:RouteTargetMembershipConsumer
Returns list of Route target advertized per Peer.- Specified by:
getMemberships
in interfaceRouteTargetMembershipConsumer
-
getClientRouteTargetContrainCache
public List<Route> getClientRouteTargetContrainCache()
Description copied from interface:RTCCache
Cache of RTC routes advertized per clients peers.- Specified by:
getClientRouteTargetContrainCache
in interfaceRTCCache
- Returns:
- rtc cache
-
-