#include <bgp_attr.h>
|
enum | Flags { LeafInfoRequired = 1 << 0
, AssistedReplicationType = 3 << 3
, EdgeReplicationSupported = 1 << 7
} |
|
enum | ARType { RegularNVE = 0 << 3
, ARReplicator = 1 << 3
, ARLeaf = 2 << 3
} |
|
enum | Type {
NoTunnelInfo = 0
, RsvpP2mpLsp = 1
, LdpP2mpLsp = 2
, PimSsmTree = 3
,
PimSmTree = 4
, BidirPimTree = 5
, IngressReplication = 6
, MldpMp2mpLsp = 7
,
AssistedReplicationContrail = 252
} |
|
enum | Flag { Optional = 1 << 7
, Transitive = 1 << 6
, Partial = 1 << 5
, ExtendedLength = 1 << 4
} |
|
enum | Code {
Reserved = 0
, Origin = 1
, AsPath = 2
, NextHop = 3
,
MultiExitDisc = 4
, LocalPref = 5
, AtomicAggregate = 6
, Aggregator = 7
,
Communities = 8
, OriginatorId = 9
, ClusterList = 10
, MPReachNlri = 14
,
MPUnreachNlri = 15
, ExtendedCommunities = 16
, As4Path = 17
, As4Aggregator = 18
,
PmsiTunnel = 22
, McastEdgeDiscovery = 241
, McastEdgeForwarding = 242
, OriginVnPath = 243
} |
|
enum | Subcode {
OList = 1
, LabelBlock = 2
, SourceRd = 3
, Esi = 4
,
Params = 5
, LeafOList = 6
, SubProtocol = 7
} |
|
Definition at line 314 of file bgp_attr.h.
◆ ARType
Enumerator |
---|
RegularNVE | |
ARReplicator | |
ARLeaf | |
Definition at line 321 of file bgp_attr.h.
◆ Flags
Enumerator |
---|
LeafInfoRequired | |
AssistedReplicationType | |
EdgeReplicationSupported | |
Definition at line 315 of file bgp_attr.h.
◆ Type
Enumerator |
---|
NoTunnelInfo | |
RsvpP2mpLsp | |
LdpP2mpLsp | |
PimSsmTree | |
PimSmTree | |
BidirPimTree | |
IngressReplication | |
MldpMp2mpLsp | |
AssistedReplicationContrail | |
Definition at line 327 of file bgp_attr.h.
◆ PmsiTunnelSpec() [1/2]
PmsiTunnelSpec::PmsiTunnelSpec |
( |
| ) |
|
◆ PmsiTunnelSpec() [2/2]
◆ CompareTo()
int PmsiTunnelSpec::CompareTo |
( |
const BgpAttribute & |
rhs_attr | ) |
const |
|
virtual |
◆ GetIdentifier()
Ip4Address PmsiTunnelSpec::GetIdentifier |
( |
| ) |
const |
◆ GetLabel()
uint32_t PmsiTunnelSpec::GetLabel |
( |
const ExtCommunity * |
ext | ) |
const |
◆ GetTunnelArTypeString()
string PmsiTunnelSpec::GetTunnelArTypeString |
( |
| ) |
const |
◆ GetTunnelFlagsStrings()
vector< string > PmsiTunnelSpec::GetTunnelFlagsStrings |
( |
| ) |
const |
◆ GetTunnelTypeString()
string PmsiTunnelSpec::GetTunnelTypeString |
( |
| ) |
const |
◆ SetIdentifier()
void PmsiTunnelSpec::SetIdentifier |
( |
Ip4Address |
identifier | ) |
|
◆ SetLabel()
void PmsiTunnelSpec::SetLabel |
( |
uint32_t |
label, |
|
|
const ExtCommunity * |
ext |
|
) |
| |
◆ ToCanonical()
void PmsiTunnelSpec::ToCanonical |
( |
BgpAttr * |
attr | ) |
|
|
virtual |
◆ ToString()
string PmsiTunnelSpec::ToString |
( |
| ) |
const |
|
virtual |
◆ identifier
std::vector<uint8_t> PmsiTunnelSpec::identifier |
◆ kFlags
◆ kSize
const int PmsiTunnelSpec::kSize = -1 |
|
static |
◆ label
uint32_t PmsiTunnelSpec::label |
◆ tunnel_flags
uint8_t PmsiTunnelSpec::tunnel_flags |
◆ tunnel_type
uint8_t PmsiTunnelSpec::tunnel_type |
The documentation for this struct was generated from the following files: