feat: enhance evobgp with new command-line tools for bundle management, including pull, verify, and apply functionalities. Update go.mod to include necessary dependencies and complete todos in architecture plan for improved observability and deployment practices.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// Package birdfmt builds BIRD 2 configuration text: main bird.conf skeleton, include
|
||||
// fragments under bird.d/, export filters, static route protocols, and minimal BGP peer
|
||||
// blocks. Runtime helpers parse-check configs (bird -p) and reload (birdc configure).
|
||||
//
|
||||
// # Layout
|
||||
//
|
||||
// Operator keeps a stable bird.conf (or generated skeleton) next to EvoBGP fragments:
|
||||
//
|
||||
// bird.conf — router id, protocol device, protocol direct, include lines
|
||||
// bird.d/evobgp_*.conf — generated prefixes, filters, peers (names from constants)
|
||||
//
|
||||
// Include order should list filter definitions before protocols that reference them
|
||||
// (see StandardIncludeFragments).
|
||||
//
|
||||
// # Apply workflow
|
||||
//
|
||||
// 1. Write new fragment files to a staging directory, run bird -c <bird.conf> -p.
|
||||
// 2. Atomically swap staging → live config dir, then birdc configure (see BirdCtl).
|
||||
package birdfmt
|
||||
Reference in New Issue
Block a user