On debian 11 don't use external APT repo

- Change apt gpg key operations to avoid deprecated apt-key command
- Backup config files on changes
- Metadata for galaxy
- Updates for newer ansible-lint

Change-Id: I5f9a75141dd64f867b81c899f1a2c933c51737d6
9 files changed
tree: 261a805bd70b166b7570f4f829f6f47a42baec9e
  1. .cookiecutter_params.json
  2. .gitreview
  3. .reuse/
  4. LICENSES/
  5. Makefile
  6. README.md
  7. VERSION
  8. defaults/
  9. files/
  10. handlers/
  11. meta/
  12. molecule/
  13. tasks/
  14. templates/
  15. vars/
README.md

bird

BIRD routing daemon

Requirements

Minimum ansible version: 2.9.5

Examples

Example: example configuration with two BGP peers

bird_conf_filters:
  gcp_tunnel_in: |
    if (net ~ [ 10.168.0.0/20, 10.52.128.0/17, 10.45.128.0/17 ]) then accept;
    else reject;
  gcp_tunnel_out: |
    if (net ~ [ 10.93.1.0/24, 10.92.1.0/24, 10.53.128.0/17 ]) then accept;
    else reject;

bird_conf_templates:
  - name: gcp_tunnel
    protocol: bgp
    options: |
     import filter gcp_tunnel_in;
     import limit 10 action warn;

     export filter gcp_tunnel_out;
     export limit 10 action warn;

     keepalive time 20;
     hold time 60;
     graceful restart aware;

bird_conf_protocols:
  - name: gcp_tunnel1
    protocol: bgp
    options: |
      local 169.254.0.2 as 64521;
      neighbor 169.254.0.1 as 64520;
    template: gcp_tunnel
  - name: gcp_tunnel2
    protocol: bgp
    options: |
      local 169.254.0.6 as 64521;
      neighbor 169.254.0.5 as 64520;
    template: gcp_tunnel

Example: playbook

- hosts: bird
  roles:
    - bird

License and Author

© 2020 Open Networking Foundation support@opennetworking.org

License: Apache-2.0