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" )
Click to show internal directories.
Click to hide internal directories.