bgp

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BGPPath                = ocpath.Root().NetworkInstance(fakedevice.DefaultNetworkInstance).Protocol(oc.PolicyTypes_INSTALL_PROTOCOL_TYPE_BGP, fakedevice.BGPRoutingProtocol).Bgp()
	BGPStatePath           = BGPPath.State()
	RoutingPolicyPath      = ocpath.Root().RoutingPolicy()
	RoutingPolicyStatePath = ocpath.Root().RoutingPolicy().State()
)

Functions

func ConvertCommunity added in v0.4.0

func ConvertCommunity(community any) string

ConvertCommunity converts any community union type to its string representation to be used in GoBGP.

func NewGoBGPTask

func NewGoBGPTask(targetName, zapiURL string, listenPort uint16) *reconciler.BuiltReconciler

NewGoBGPTask creates a new GoBGP task implementing OpenConfig BGP functionalities.

Types

This section is empty.

Jump to

Keyboard shortcuts

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