<commit_before>---
network::interfaces_hash:
  'eth0':
    'ipaddress': '172.28.0.1/24'
    'post_up': [ '/etc/network/if-up.d/z90-route-eth0', ]
    'post_down': [ '/etc/network/if-down.d/z90-route-eth0', ]
#    'dns_nameservers': '172.28.0.11'
#    'dns_search': "%{hiera('domain_mgmt')}"
#  'swp3':
#    'ipaddress': '172.31.228.1/30'

# In production environment these should be VLAN aware
# bridges and actually tagged. This is not possible in
# dev01 environment, though.
profile::base::network::cumulus_bridges:
  'br100':
    'ipv4': [ '172.30.0.1/24', ]
    'ipv6': [ 'fd00::1/64', ]
    'ports': [ 'swp1', ]
    'alias_name': 'Transport L2 if'
    'mtu': '1500'

# Add default route for management VRF
profile::base::network::routes:
  'eth0':
    'ipaddress': [ '0.0.0.0', ]
    'netmask':   [ '0.0.0.0', ]
    'gateway':   [ '172.28.0.10', ]
    'table':     [ 'mgmt', ]
  'swp9':
    'ipaddress': [ '0.0.0.0', ]
    'netmask':   [ '0.0.0.0', ]
    'gateway':   [ '192.168.3.11', ]
    'table':     [ 'main', ]

profile::base::network::cumulus_interfaces:
  'swp9':
    'ipv4': [ '172.16.31.10/30', ]
    'ipv6': [ 'fd00:c2b6:b24b:be67:2827:688d:e6a1:6a3b/64', ]

quagga::quagga::zebra_interfaces:
  'br100':
    - 'link-detect'
    - 'description linux-bridge'
  'swp1':
    - 'link-detect'
  'swp2':
    - 'link-detect'
  'swp3':
    - 'link-detect'
  'swp4':
    - 'link-detect'
  'swp5':
    - 'link-detect'
  'swp6':
    - 'link-detect'
  'swp7':
    - 'link-detect'

quagga::quagga::zebra_ip6_routes:
  - '::/0 fd00:a516:7c1b:17cd:6d81:2137:bd2a:2c5b'
quagga::quagga::zebra_ip_routes:
  - '0.0.0.0/0 192.168.3.11'
  - '10.0.0.0/8 Null0'
  - '192.168.127.12/27 Null0'
  - '172.16.17.32/27 Null0'
  - '192.168.3.11/32 172.30.0.26'
  - '192.168.127.12/32 172.30.0.86'
  - '172.16.58.3/32 172.30.0.12'
  - '192.168.3.11/32 172.30.0.56'
  - '172.16.31.10/32 172.30.0.61'
  - '192.168.3.11/32 172.30.0.51'

quagga::quagga::zebra_generic_options:
  'ip':
    'forwarding'
  'ipv6':
    'forwarding'

#quagga::quagga::bgp_neighbors:
#  - '172.31.228.2 remote-as 65535'
#  - '172.31.228.2 soft-reconfiguration inbound'

quagga::quagga::bgp_as: "%{hiera('bgp_as')}"

quagga::quagga::bgp_options:
  - 'router-id 172.30.0.1'
  - 'log-neighbor-changes'
  - 'default local-preference 200'<commit_msg>test01: add route for ns public interface<commit_after>---
network::interfaces_hash:
  'eth0':
    'ipaddress': '172.28.0.1/24'
    'post_up': [ '/etc/network/if-up.d/z90-route-eth0', ]
    'post_down': [ '/etc/network/if-down.d/z90-route-eth0', ]
#    'dns_nameservers': '172.28.0.11'
#    'dns_search': "%{hiera('domain_mgmt')}"
#  'swp3':
#    'ipaddress': '172.31.228.1/30'

# In production environment these should be VLAN aware
# bridges and actually tagged. This is not possible in
# dev01 environment, though.
profile::base::network::cumulus_bridges:
  'br100':
    'ipv4': [ '172.30.0.1/24', ]
    'ipv6': [ 'fd00::1/64', ]
    'ports': [ 'swp1', ]
    'alias_name': 'Transport L2 if'
    'mtu': '1500'

# Add default route for management VRF
profile::base::network::routes:
  'eth0':
    'ipaddress': [ '0.0.0.0', ]
    'netmask':   [ '0.0.0.0', ]
    'gateway':   [ '172.28.0.10', ]
    'table':     [ 'mgmt', ]
  'swp9':
    'ipaddress': [ '0.0.0.0', ]
    'netmask':   [ '0.0.0.0', ]
    'gateway':   [ '192.168.3.11', ]
    'table':     [ 'main', ]

profile::base::network::cumulus_interfaces:
  'swp9':
    'ipv4': [ '172.16.31.10/30', ]
    'ipv6': [ 'fd00:c2b6:b24b:be67:2827:688d:e6a1:6a3b/64', ]

quagga::quagga::zebra_interfaces:
  'br100':
    - 'link-detect'
    - 'description linux-bridge'
  'swp1':
    - 'link-detect'
  'swp2':
    - 'link-detect'
  'swp3':
    - 'link-detect'
  'swp4':
    - 'link-detect'
  'swp5':
    - 'link-detect'
  'swp6':
    - 'link-detect'
  'swp7':
    - 'link-detect'

quagga::quagga::zebra_ip6_routes:
  - '::/0 fd00:a516:7c1b:17cd:6d81:2137:bd2a:2c5b'
quagga::quagga::zebra_ip_routes:
  - '0.0.0.0/0 192.168.3.11'
  - '10.0.0.0/8 Null0'
  - '192.168.127.12/27 Null0'
  - '172.16.17.32/27 Null0'
  - '192.168.3.11/32 172.30.0.26'
  - '192.168.127.12/32 172.30.0.86'
  - '172.16.58.3/32 172.30.0.12'
  - '192.168.3.11/32 172.30.0.56'
  - '172.16.31.10/32 172.30.0.61'
  - '192.168.3.11/32 172.30.0.51'
  - '192.168.3.11/32 172.30.0.16'

quagga::quagga::zebra_generic_options:
  'ip':
    'forwarding'
  'ipv6':
    'forwarding'

#quagga::quagga::bgp_neighbors:
#  - '172.31.228.2 remote-as 65535'
#  - '172.31.228.2 soft-reconfiguration inbound'

quagga::quagga::bgp_as: "%{hiera('bgp_as')}"

quagga::quagga::bgp_options:
  - 'router-id 172.30.0.1'
  - 'log-neighbor-changes'
  - 'default local-preference 200'
{'fraction_non_alphanumeric': 0.22976445396145612, 'fraction_numerical': 0.15867237687366167, 'mean_word_length': 2.8860232945091515, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 64, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3213804', 'n_tokens_mistral': 2616, 'n_tokens_neox': 2239, 'n_words': 297}