bgp_policy

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 data definitions for BGP routing policy. It augments the base routing-policy module with BGP-specific options for conditions and actions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BgpNextHopType

type BgpNextHopType string

BgpNextHopType represents type definition for specifying next-hop in policy actions

const (
	// special designation for local router's own
	// address, i.e., next-hop-self
	BgpNextHopType_SELF BgpNextHopType = "SELF"
)

type BgpSetCommunityOptionType

type BgpSetCommunityOptionType string

BgpSetCommunityOptionType represents attribute in a policy action

const (
	// add the specified communities to the existing
	// community attribute
	BgpSetCommunityOptionType_ADD BgpSetCommunityOptionType = "ADD"

	// remove the specified communities from the
	// existing community attribute
	BgpSetCommunityOptionType_REMOVE BgpSetCommunityOptionType = "REMOVE"

	// replace the existing community attribute with
	// the specified communities. If an empty set is
	// specified, this removes the community attribute
	// from the route.
	BgpSetCommunityOptionType_REPLACE BgpSetCommunityOptionType = "REPLACE"
)

type BgpSetMedType

type BgpSetMedType string

BgpSetMedType represents and setting it to the IGP cost (predefined value).

const (
	// set the MED value to the IGP cost toward the
	// next hop for the route
	BgpSetMedType_IGP BgpSetMedType = "IGP"
)

Jump to

Keyboard shortcuts

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