bgp_types

package
v0.0.0-...-fac1166 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ADDPATHS

type ADDPATHS struct {
}

func (ADDPATHS) String

func (id ADDPATHS) String() string

type AFISAFITYPE

type AFISAFITYPE struct {
}

func (AFISAFITYPE) String

func (id AFISAFITYPE) String() string

type ASN32

type ASN32 struct {
}

func (ASN32) String

func (id ASN32) 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 L2VPNEVPN

type L2VPNEVPN struct {
}

func (L2VPNEVPN) String

func (id L2VPNEVPN) String() string

type L2VPNVPLS

type L2VPNVPLS struct {
}

func (L2VPNVPLS) String

func (id L2VPNVPLS) 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 MPBGP

type MPBGP struct {
}

func (MPBGP) String

func (id MPBGP) String() string

type NOADVERTISE

type NOADVERTISE struct {
}

func (NOADVERTISE) String

func (id NOADVERTISE) String() string

type NOEXPORT

type NOEXPORT struct {
}

func (NOEXPORT) String

func (id NOEXPORT) String() string

type NOEXPORTSUBCONFED

type NOEXPORTSUBCONFED struct {
}

func (NOEXPORTSUBCONFED) String

func (id NOEXPORTSUBCONFED) String() string

type NOPEER

type NOPEER struct {
}

func (NOPEER) String

func (id NOPEER) 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 PeerType

type PeerType string

PeerType represents external

const (
	// Internal (iBGP) peer
	PeerType_INTERNAL PeerType = "INTERNAL"

	// External (eBGP) peer
	PeerType_EXTERNAL PeerType = "EXTERNAL"
)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL