gobgp ansible role (https://github.com/yas-nyan/ansible-gobgp) + patches for fedora
Go to file
surtur d39074a8e6
open firewall port for bgpd
2021-05-17 03:45:48 +02:00
defaults bump GOBGP_VERSION to 2.27.0, rename task step 2021-05-14 04:44:14 +02:00
files/lib/systemd/system use "raw valiable" in generating config 2021-04-06 12:51:53 +09:00
handlers skip install when gobgp has been already installed 2021-04-06 13:53:02 +09:00
meta fix 2019-12-11 05:30:51 +09:00
tasks open firewall port for bgpd 2021-05-17 03:45:48 +02:00
vars blank files 2019-12-11 05:28:41 +09:00
LICENSE bump GOBGP_VERSION to 2.27.0, rename task step 2021-05-14 04:44:14 +02:00
README.md update README with fork info 2021-05-14 04:43:29 +02:00

Ansible GoBGP

Note: this is a fork of https://github.com/yas-nyan/ansible-gobgp The goal is to support Fedora

This is an ansible role for install and bootstrap GoBGP.

GoBGP Pojects: GitHub

Requirements

  • Ansible: 2.7 or newer
  • Host OS:
    • Fedora 33 or newer, haven't tried on anything else
  • Architecture(see also Gobgp Supported list)
    • amd64
    • 386
    • arm64
    • armv6

Role Variables

GOBGP_VERSION: 2.11.0
CPU_ARCH: "amd64"

# Write gobgpd.conf in yaml format
GOBGP_CONF:
  global:
    config:
      as: 65000
      router-id: 192.0.2.1
      port: 179
  neighbors:
    - config:
        neighbor-address: 192.0.2.2
        peer-as: 65001
      transport:
        config:
          remote-port: "179"
      add-paths:
        config:
          send-max: "8"
          receive: false
      afi-safis:
        - config:
            afi-safi-name: ipv4-unicast
      route-reflector:
        config:
          route-reflector-client: true
          route-reflector-cluster-id: 1.1.1.1

GOBGP_VERSIONS: see also https://github.com/osrg/gobgp/releases/

See below for the format of gobgpd.conf https://github.com/osrg/gobgp/blob/master/docs/sources/configuration.md

Exaple Playbook

---
- hosts: routers
  become: true
  roles:
    - gobgp

LINCENSE

MIT