#include <bgp_path.h>
|
| enum | PathFlag {
AsPathLooped = 1 << 0
, NoNeighborAs = 1 << 1
, Stale = 1 << 2
, NoTunnelEncap = 1 << 3
,
OriginatorIdLooped = 1 << 4
, ResolveNexthop = 1 << 5
, ResolvedPath = 1 << 6
, RoutingPolicyReject = 1 << 7
,
LlgrStale = 1 << 8
, ClusterListLooped = 1 << 9
, AliasedPath = 1 << 10
, CheckGlobalErmVpnRoute = 1 << 11
} |
| |
| enum | PathSource {
None = 0
, BGP_XMPP = 1
, ServiceChain = 2
, StaticRoute = 3
,
Aggregate = 4
, Local = 5
} |
| |
|
| | BgpPath (const IPeer *peer, uint32_t path_id, PathSource src, const BgpAttrPtr ptr, uint32_t flags, uint32_t label, uint32_t l3_label=0) |
| |
| | BgpPath (const IPeer *peer, PathSource src, const BgpAttrPtr attr, uint32_t flags, uint32_t label, uint32_t l3_label=0) |
| |
| | BgpPath (uint32_t path_id, PathSource src, const BgpAttrPtr attr, uint32_t flags=0, uint32_t label=0, uint32_t l3_label=0) |
| |
| | BgpPath (PathSource src, const BgpAttrPtr attr, uint32_t flags=0, uint32_t label=0, uint32_t l3_label=0) |
| |
| virtual | ~BgpPath () |
| |
| void | AddExtCommunitySubCluster (uint32_t subcluster_id) |
| |
| RouteDistinguisher | GetSourceRouteDistinguisher () const |
| |
| bool | IsVrfOriginated () const |
| |
| IPeer * | GetPeer () |
| |
| const IPeer * | GetPeer () const |
| |
| const uint32_t | GetPathId () const |
| |
| void | UpdatePeerRefCount (int count, Address::Family family) const |
| |
| void | SetAttr (const BgpAttrPtr attr, const BgpAttrPtr original_attr) |
| |
| const BgpAttr * | GetAttr () const |
| |
| const BgpAttr * | GetOriginalAttr () const |
| |
| uint32_t | GetLabel () const |
| |
| uint32_t | GetL3Label () const |
| |
| virtual bool | IsReplicated () const |
| |
| bool | IsFeasible () const |
| |
| bool | IsResolutionFeasible () const |
| |
| bool | IsAliased () const |
| |
| bool | IsResolved () const |
| |
| uint32_t | GetFlags () const |
| |
| std::vector< std::string > | GetFlagsStringList () const |
| |
| PathSource | GetSource () const |
| |
| std::string | GetSourceString (bool combine_bgp_and_xmpp=false) const |
| |
| bool | IsStale () const |
| |
| bool | IsLlgrStale () const |
| |
| void | SetPolicyReject () |
| |
| void | ResetPolicyReject () |
| |
| bool | IsPolicyReject () const |
| |
| void | SetStale () |
| |
| void | ResetStale () |
| |
| void | SetResolveNextHop () |
| |
| void | ResetResolveNextHop () |
| |
| void | SetLlgrStale () |
| |
| void | ResetLlgrStale () |
| |
| bool | NeedsResolution () const |
| |
| bool | CheckErmVpn () const |
| |
| void | ResetCheckErmVpn () |
| |
| void | SetCheckErmVpn () |
| |
| virtual std::string | ToString () const |
| |
| int | PathCompare (const BgpPath &rhs, bool allow_ecmp) const |
| |
| bool | PathSameNeighborAs (const BgpPath &rhs) const |
| |
| | Path () |
| |
| virtual | ~Path () |
| |
| const uint64_t | time_stamp_usecs () const |
| |
| void | set_time_stamp_usecs (uint64_t time_stamp_usecs) |
| |
Definition at line 19 of file bgp_path.h.
◆ PathFlag
| Enumerator |
|---|
| AsPathLooped | |
| NoNeighborAs | |
| Stale | |
| NoTunnelEncap | |
| OriginatorIdLooped | |
| ResolveNexthop | |
| ResolvedPath | |
| RoutingPolicyReject | |
| LlgrStale | |
| ClusterListLooped | |
| AliasedPath | |
| CheckGlobalErmVpnRoute | |
Definition at line 21 of file bgp_path.h.
◆ PathSource
| Enumerator |
|---|
| None | |
| BGP_XMPP | |
| ServiceChain | |
| StaticRoute | |
| Aggregate | |
| Local | |
Definition at line 37 of file bgp_path.h.
◆ BgpPath() [1/4]
| BgpPath::BgpPath |
( |
const IPeer * |
peer, |
|
|
uint32_t |
path_id, |
|
|
PathSource |
src, |
|
|
const BgpAttrPtr |
ptr, |
|
|
uint32_t |
flags, |
|
|
uint32_t |
label, |
|
|
uint32_t |
l3_label = 0 |
|
) |
| |
◆ BgpPath() [2/4]
| BgpPath::BgpPath |
( |
const IPeer * |
peer, |
|
|
PathSource |
src, |
|
|
const BgpAttrPtr |
attr, |
|
|
uint32_t |
flags, |
|
|
uint32_t |
label, |
|
|
uint32_t |
l3_label = 0 |
|
) |
| |
◆ BgpPath() [3/4]
| BgpPath::BgpPath |
( |
uint32_t |
path_id, |
|
|
PathSource |
src, |
|
|
const BgpAttrPtr |
attr, |
|
|
uint32_t |
flags = 0, |
|
|
uint32_t |
label = 0, |
|
|
uint32_t |
l3_label = 0 |
|
) |
| |
◆ BgpPath() [4/4]
| BgpPath::BgpPath |
( |
PathSource |
src, |
|
|
const BgpAttrPtr |
attr, |
|
|
uint32_t |
flags = 0, |
|
|
uint32_t |
label = 0, |
|
|
uint32_t |
l3_label = 0 |
|
) |
| |
◆ ~BgpPath()
| virtual BgpPath::~BgpPath |
( |
| ) |
|
|
inlinevirtual |
◆ AddExtCommunitySubCluster()
| void BgpPath::AddExtCommunitySubCluster |
( |
uint32_t |
subcluster_id | ) |
|
◆ CheckErmVpn()
| bool BgpPath::CheckErmVpn |
( |
| ) |
const |
|
inline |
◆ GetAttr()
| const BgpAttr* BgpPath::GetAttr |
( |
| ) |
const |
|
inline |
◆ GetFlags()
| uint32_t BgpPath::GetFlags |
( |
| ) |
const |
|
inline |
◆ GetFlagsStringList()
| vector< string > BgpPath::GetFlagsStringList |
( |
| ) |
const |
◆ GetL3Label()
| uint32_t BgpPath::GetL3Label |
( |
| ) |
const |
|
inline |
◆ GetLabel()
| uint32_t BgpPath::GetLabel |
( |
| ) |
const |
|
inline |
◆ GetOriginalAttr()
| const BgpAttr* BgpPath::GetOriginalAttr |
( |
| ) |
const |
|
inline |
◆ GetPathId()
| const uint32_t BgpPath::GetPathId |
( |
| ) |
const |
|
inline |
◆ GetPeer() [1/2]
| IPeer* BgpPath::GetPeer |
( |
| ) |
|
|
inline |
◆ GetPeer() [2/2]
| const IPeer* BgpPath::GetPeer |
( |
| ) |
const |
|
inline |
◆ GetSource()
◆ GetSourceRouteDistinguisher()
◆ GetSourceString()
| string BgpPath::GetSourceString |
( |
bool |
combine_bgp_and_xmpp = false | ) |
const |
◆ IsAliased()
| bool BgpPath::IsAliased |
( |
| ) |
const |
|
inline |
◆ IsFeasible()
| bool BgpPath::IsFeasible |
( |
| ) |
const |
|
inline |
◆ IsLlgrStale()
| bool BgpPath::IsLlgrStale |
( |
| ) |
const |
|
inline |
◆ IsPolicyReject()
| bool BgpPath::IsPolicyReject |
( |
| ) |
const |
|
inline |
◆ IsReplicated()
| virtual bool BgpPath::IsReplicated |
( |
| ) |
const |
|
inlinevirtual |
◆ IsResolutionFeasible()
| bool BgpPath::IsResolutionFeasible |
( |
| ) |
const |
|
inline |
◆ IsResolved()
| bool BgpPath::IsResolved |
( |
| ) |
const |
|
inline |
◆ IsStale()
| bool BgpPath::IsStale |
( |
| ) |
const |
|
inline |
◆ IsVrfOriginated()
| bool BgpPath::IsVrfOriginated |
( |
| ) |
const |
|
inline |
◆ NeedsResolution()
| bool BgpPath::NeedsResolution |
( |
| ) |
const |
|
inline |
◆ PathCompare()
| int BgpPath::PathCompare |
( |
const BgpPath & |
rhs, |
|
|
bool |
allow_ecmp |
|
) |
| const |
◆ PathIdString()
| string BgpPath::PathIdString |
( |
uint32_t |
path_id | ) |
|
|
static |
◆ PathSameNeighborAs()
| bool BgpPath::PathSameNeighborAs |
( |
const BgpPath & |
rhs | ) |
const |
◆ ResetCheckErmVpn()
| void BgpPath::ResetCheckErmVpn |
( |
| ) |
|
|
inline |
◆ ResetLlgrStale()
| void BgpPath::ResetLlgrStale |
( |
| ) |
|
|
inline |
◆ ResetPolicyReject()
| void BgpPath::ResetPolicyReject |
( |
| ) |
|
|
inline |
◆ ResetResolveNextHop()
| void BgpPath::ResetResolveNextHop |
( |
| ) |
|
|
inline |
◆ ResetStale()
| void BgpPath::ResetStale |
( |
| ) |
|
|
inline |
◆ SetAttr()
◆ SetCheckErmVpn()
| void BgpPath::SetCheckErmVpn |
( |
| ) |
|
|
inline |
◆ SetLlgrStale()
| void BgpPath::SetLlgrStale |
( |
| ) |
|
|
inline |
◆ SetPolicyReject()
| void BgpPath::SetPolicyReject |
( |
| ) |
|
|
inline |
◆ SetResolveNextHop()
| void BgpPath::SetResolveNextHop |
( |
| ) |
|
|
inline |
◆ SetStale()
| void BgpPath::SetStale |
( |
| ) |
|
|
inline |
◆ ToString()
| string BgpPath::ToString |
( |
| ) |
const |
|
virtual |
◆ UpdatePeerRefCount()
| void BgpPath::UpdatePeerRefCount |
( |
int |
count, |
|
|
Address::Family |
family |
|
) |
| const |
◆ attr_
◆ flags_
◆ INFEASIBLE_MASK
| const uint32_t BgpPath::INFEASIBLE_MASK |
|
static |
◆ l3_label_
| uint32_t BgpPath::l3_label_ |
|
private |
◆ label_
◆ original_attr_
◆ path_id_
| const uint32_t BgpPath::path_id_ |
|
private |
◆ peer_
| const IPeer* BgpPath::peer_ |
|
private |
◆ source_
The documentation for this class was generated from the following files: