Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { VRRPs []string `default:"" desc:"VRRP IP addresses to be used as next-hops for static default routes" envconfig:"VRRPS"` ExternalInterface string `default:"ext-vlan" desc:"External interface to start BIRD on" split_words:"true"` BirdConfigPath string `default:"/etc/bird" desc:"Path to place bird config files" split_words:"true"` BirdCommunicationSock string `default:"/var/run/bird/bird.ctl" desc:"Use given filename for a socket to communicate with birdc" split_words:"true"` BirdLogFileSize int `default:"20000" desc:"File size in bytes of the local BIRD log file (and log backup file)" split_words:"true"` LocalAS string `default:"8103" desc:"Local BGP AS number" envconfig:"LOCAL_AS"` RemoteAS string `default:"4248829953" desc:"Local BGP AS number" envconfig:"REMOTE_AS"` BGPLocalPort string `default:"10179" desc:"Local BGP server port" envconfig:"BGP_LOCAL_PORT"` BGPRemotePort string `default:"10179" desc:"Remote BGP server port" envconfig:"BGP_REMOTE_PORT"` BGPHoldTime string `` /* 134-byte string literal not displayed */ TableID int `default:"4096" desc:"OS Kernel routing table ID BIRD syncs the routes with" envconfig:"TABLE_ID"` ECMP bool `default:"false" desc:"Enable ECMP towards next-hops of avaialble gateways" envconfig:"ECMP"` DropIfNoPeer bool `default:"false" desc:"Install default blackhole route with high metric into routing table TableID" split_words:"true"` LogBird bool `default:"false" desc:"Add important bird log snippets to our log" split_words:"true"` Namespace string `default:"default" desc:"Namespace the pod is running on" split_words:"true"` NSPService string `default:"nsp-service-trench-a:7778" desc:"IP (or domain) and port of the NSP Service" split_words:"true"` TrenchName string `default:"default" desc:"Name of the Trench the frontend is associated with" split_words:"true"` AttractorName string `default:"default" desc:"Name of the Attractor the frontend is associated with" split_words:"true"` LogLevel string `default:"DEBUG" desc:"Log level" split_words:"true"` NSPEntryTimeout time.Duration `default:"30s" desc:"Timeout of the entries" envconfig:"nsp_entry_timeout"` }
Click to show internal directories.
Click to hide internal directories.