package
0.0.0-20201111042949-a9890c3e7311
Repository: https://github.com/tcfw/vpc.git
Documentation: pkg.go.dev

# README

Example

Running GoBGP in standalone (sudo) gobgpd -f ./reflector.yaml

global:
  config:
    as: 65000
    router-id: 192.168.122.1
    local-address-list:
      - 192.168.122.1
peer-groups:
  - config:
      peer-group-name: l2vpn
    afi-safis:
      - config:
          afi-safi-name: l2vpn-evpn
    route-reflector:
      config:
        route-reflector-client: true
        route-reflector-cluster-id: 192.168.122.1
dynamic-neighbors:
  - config:
      peer-group: l2vpn
      prefix: 192.168.122.0/24

# Functions

NewEVPNController inits a new BGP server.

# Structs

EVPNController contains a small gobgp server to advertise communities and routes between subnets.