Fix a few other mistakes in ipv6_edge_router
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing

This commit is contained in:
jeltz 2021-02-03 23:51:42 +01:00
parent 79395b8a63
commit 9f8ad84581
3 changed files with 9 additions and 23 deletions

View file

@ -6,18 +6,18 @@
- name: Tweak sysctl for table size - name: Tweak sysctl for table size
ansible.posix.sysctl: ansible.posix.sysctl:
name: net.ipv6.route.max_size name: net.ipv6.route.max_size
value: 500000 value: '500000'
sysctl_set: yes sysctl_set: yes
- name: Setup Quagga configuration - name: Setup Quagga configuration
template: template:
src: "{{ item }}.j2" src: "{{ item }}.j2"
dest: "/etc/quagga/{{ item.dest }}" dest: "/etc/quagga/{{ item }}"
mode: u=rw,g=r,o=r mode: u=rw,g=r,o=r
loop: loop:
- daemons.j2 - daemons
- zebra.conf.j2 - zebra.conf
- bgpd.conf.j2 - bgpd.conf
notify: notify:
- restart bgpd - restart bgpd
- restart zebra - restart zebra

View file

@ -1,5 +1,5 @@
router bgp 43619 router bgp 43619
#no synchronization no synchronization
bgp router-id 45.66.111.254 bgp router-id 45.66.111.254
# Remote-AS: Zayo. # Remote-AS: Zayo.
@ -9,5 +9,5 @@ router bgp 43619
neighbor 2001:1b48:2:103::d7:1 activate neighbor 2001:1b48:2:103::d7:1 activate
exit-address-family exit-address-family
! !
log file /var/log/quagga/bgpd.conf log file /var/log/quagga/bgpd.log
log stdout log stdout

View file

@ -1,22 +1,8 @@
# This file tells the frr package which daemons to start.
#
# Sample configurations for these daemons can be found in
# /usr/share/doc/frr/examples/.
#
# ATTENTION:
#
# When activation a daemon at the first time, a config file, even if it is
# empty, has to be present *and* be owned by the user and group "frr", else
# the daemon will not be started by /etc/init.d/frr. The permissions should
# be u=rw,g=r,o=.
# When using "vtysh" such a config file is also needed. It should be owned by
# group "frrvty" and set to ug=rw,o= though. Check /etc/pam.d/frr, too.
#
# The watchfrr and zebra daemons are always started.
#
{% if 'backup' in inventory_hostname %} {% if 'backup' in inventory_hostname %}
bgpd=no bgpd=no
{% else %} {% else %}
zebra=yes
bgpd=yes bgpd=yes
{% endif %} {% endif %}
ospfd=no ospfd=no