Documentation
¶
Overview ¶
This module contains general data definitions for use in BGP policy. It can be imported by modules that make use of BGP attributes
Index ¶
- type ADDPATHS
- type AFISAFITYPE
- type ASN32
- type AsPathSegmentType
- type BGPCAPABILITY
- type BGPWELLKNOWNSTDCOMMUNITY
- type BgpOriginAttrType
- type BgpSessionDirection
- type CommunityType
- type GRACEFULRESTART
- type IPV4LABELEDUNICAST
- type IPV4UNICAST
- type IPV6LABELEDUNICAST
- type IPV6UNICAST
- type L2VPNEVPN
- type L2VPNVPLS
- type L3VPNIPV4MULTICAST
- type L3VPNIPV4UNICAST
- type L3VPNIPV6MULTICAST
- type L3VPNIPV6UNICAST
- type MPBGP
- type NOADVERTISE
- type NOEXPORT
- type NOEXPORTSUBCONFED
- type NOPEER
- type PRIVATEASREMOVEALL
- type PRIVATEASREPLACEALL
- type PeerType
- type REMOVEPRIVATEASOPTION
- type ROUTEREFRESH
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AFISAFITYPE ¶
type AFISAFITYPE struct { }
func (AFISAFITYPE) String ¶
func (id AFISAFITYPE) String() string
type AsPathSegmentType ¶
type AsPathSegmentType string
AsPathSegmentType represents Defines the types of BGP AS path segments.
const ( // Ordered set of autonomous systems that a route in // the UPDATE message has traversed AsPathSegmentType_AS_SEQ AsPathSegmentType = "AS_SEQ" // Unordered set of autonomous systems that a route in // the UPDATE message has traversed AsPathSegmentType_AS_SET AsPathSegmentType = "AS_SET" // Ordered set of Member Autonomous // Systems in the local confederation that the UPDATE message // has traversed AsPathSegmentType_AS_CONFED_SEQUENCE AsPathSegmentType = "AS_CONFED_SEQUENCE" // Unordered set of Member Autonomous Systems // in the local confederation that the UPDATE message has // traversed AsPathSegmentType_AS_CONFED_SET AsPathSegmentType = "AS_CONFED_SET" )
type BGPCAPABILITY ¶
type BGPCAPABILITY struct { }
func (BGPCAPABILITY) String ¶
func (id BGPCAPABILITY) String() string
type BGPWELLKNOWNSTDCOMMUNITY ¶
type BGPWELLKNOWNSTDCOMMUNITY struct { }
func (BGPWELLKNOWNSTDCOMMUNITY) String ¶
func (id BGPWELLKNOWNSTDCOMMUNITY) String() string
type BgpOriginAttrType ¶
type BgpOriginAttrType string
BgpOriginAttrType represents Type definition for standard BGP origin attribute
const ( // Origin of the NLRI is internal BgpOriginAttrType_IGP BgpOriginAttrType = "IGP" // Origin of the NLRI is EGP BgpOriginAttrType_EGP BgpOriginAttrType = "EGP" // Origin of the NLRI is neither IGP or EGP BgpOriginAttrType_INCOMPLETE BgpOriginAttrType = "INCOMPLETE" )
type BgpSessionDirection ¶
type BgpSessionDirection string
BgpSessionDirection represents Type to describe the direction of NLRI transmission
const ( // Refers to all NLRI received from the BGP peer BgpSessionDirection_INBOUND BgpSessionDirection = "INBOUND" // Refers to all NLRI advertised to the BGP peer BgpSessionDirection_OUTBOUND BgpSessionDirection = "OUTBOUND" )
type CommunityType ¶
type CommunityType string
CommunityType represents BOTH: both standard and extended community
const ( // Send only standard communities CommunityType_STANDARD CommunityType = "STANDARD" // Send only extended communities CommunityType_EXTENDED CommunityType = "EXTENDED" // Send both standard and extended communities CommunityType_BOTH CommunityType = "BOTH" // Do not send any community attribute CommunityType_NONE CommunityType = "NONE" )
type GRACEFULRESTART ¶
type GRACEFULRESTART struct { }
func (GRACEFULRESTART) String ¶
func (id GRACEFULRESTART) String() string
type IPV4LABELEDUNICAST ¶
type IPV4LABELEDUNICAST struct { }
func (IPV4LABELEDUNICAST) String ¶
func (id IPV4LABELEDUNICAST) String() string
type IPV4UNICAST ¶
type IPV4UNICAST struct { }
func (IPV4UNICAST) String ¶
func (id IPV4UNICAST) String() string
type IPV6LABELEDUNICAST ¶
type IPV6LABELEDUNICAST struct { }
func (IPV6LABELEDUNICAST) String ¶
func (id IPV6LABELEDUNICAST) String() string
type IPV6UNICAST ¶
type IPV6UNICAST struct { }
func (IPV6UNICAST) String ¶
func (id IPV6UNICAST) String() string
type L3VPNIPV4MULTICAST ¶
type L3VPNIPV4MULTICAST struct { }
func (L3VPNIPV4MULTICAST) String ¶
func (id L3VPNIPV4MULTICAST) String() string
type L3VPNIPV4UNICAST ¶
type L3VPNIPV4UNICAST struct { }
func (L3VPNIPV4UNICAST) String ¶
func (id L3VPNIPV4UNICAST) String() string
type L3VPNIPV6MULTICAST ¶
type L3VPNIPV6MULTICAST struct { }
func (L3VPNIPV6MULTICAST) String ¶
func (id L3VPNIPV6MULTICAST) String() string
type L3VPNIPV6UNICAST ¶
type L3VPNIPV6UNICAST struct { }
func (L3VPNIPV6UNICAST) String ¶
func (id L3VPNIPV6UNICAST) String() string
type NOADVERTISE ¶
type NOADVERTISE struct { }
func (NOADVERTISE) String ¶
func (id NOADVERTISE) String() string
type NOEXPORTSUBCONFED ¶
type NOEXPORTSUBCONFED struct { }
func (NOEXPORTSUBCONFED) String ¶
func (id NOEXPORTSUBCONFED) String() string
type PRIVATEASREMOVEALL ¶
type PRIVATEASREMOVEALL struct { }
func (PRIVATEASREMOVEALL) String ¶
func (id PRIVATEASREMOVEALL) String() string
type PRIVATEASREPLACEALL ¶
type PRIVATEASREPLACEALL struct { }
func (PRIVATEASREPLACEALL) String ¶
func (id PRIVATEASREPLACEALL) String() string
type REMOVEPRIVATEASOPTION ¶
type REMOVEPRIVATEASOPTION struct { }
func (REMOVEPRIVATEASOPTION) String ¶
func (id REMOVEPRIVATEASOPTION) String() string
type ROUTEREFRESH ¶
type ROUTEREFRESH struct { }
func (ROUTEREFRESH) String ¶
func (id ROUTEREFRESH) String() string
Click to show internal directories.
Click to hide internal directories.