<commit_before>---
network::interfaces_hash:
  'eth0':
    onboot:         'yes'
    ipaddress:      '172.31.0.24'
    netmask:        '255.255.248.0'
    gateway:        "%{hiera('netcfg_mgmt_gateway')}"
    defroute:       'no'
    peerdns:        'yes'
    dns1:           "%{hiera('netcfg_dns_server1')}"
    dns2:           "%{hiera('netcfg_dns_server2')}"
    domain:         "%{hiera('netcfg_dns_search')}"
  'eth1':
    onboot:         'yes'
    ipaddress:      '172.16.31.10'
    netmask:        '255.255.255.0'
    gateway:        '192.168.127.12'
    ipv6init:       'no'
    ipv6_autoconf:  'no'
    defroute:       'yes'

#profile::network::ipsec::tunnels:
#  'uib-azuregw-01':
#    left:  '172.16.31.10'
#    right: "%{ipaddress_public1}"
#    # psk: "" # Taken from secrets

profile::network::ipsec::tunnels:
  'uib-azuregw-03':
    right:         '172.16.17.32'
    left:          "%{ipaddress_public1}"
    auto:          'start'
    phase2alg:     'aes128-sha1'
    authby:        'secret'
    dpdaction:     'restart'
    dpddelay:      '30'
    dpdtimeout:    '120'
    ike:           'aes256-sha1;modp1024'
    ikev2:         'yes'
    ikelifetime:   '10800s'
    leftsubnet:    '0.0.0.0/0'
    leftvti:       '169.254.0.2'
    rightsubnet:   '0.0.0.0/0'
    mark:          '5/0xffffffff'
    vti_interface: 'vti1'
    vti_routing:   'no'
    pfs:           'yes'
    salifetime:    '3600s'
    type:          'tunnel'
    # psk: "" # Taken from secrets

profile::network::nat::azure_bird_local_as:       65522
profile::network::nat::azure_bird_remote_as:      65531
profile::network::nat::azure_bird_remote_neigh:   '10.177.1.4'
profile::network::nat::azure_bird_remote_network: '10.177.0.0/16'<commit_msg>adjust ipsec settings for routing<commit_after>---
network::interfaces_hash:
  'eth0':
    onboot:         'yes'
    ipaddress:      '172.31.0.24'
    netmask:        '255.255.248.0'
    gateway:        "%{hiera('netcfg_mgmt_gateway')}"
    defroute:       'no'
    peerdns:        'yes'
    dns1:           "%{hiera('netcfg_dns_server1')}"
    dns2:           "%{hiera('netcfg_dns_server2')}"
    domain:         "%{hiera('netcfg_dns_search')}"
  'eth1':
    onboot:         'yes'
    ipaddress:      '172.16.31.10'
    netmask:        '255.255.255.0'
    gateway:        '192.168.127.12'
    ipv6init:       'no'
    ipv6_autoconf:  'no'
    defroute:       'yes'

#profile::network::ipsec::tunnels:
#  'uib-azuregw-01':
#    left:  '172.16.31.10'
#    right: "%{ipaddress_public1}"
#    # psk: "" # Taken from secrets

profile::network::ipsec::tunnels:
  'uib-azuregw-03':
    right:         '172.16.17.32'
    left:          "%{ipaddress_public1}"
    auto:          'start'
    phase2alg:     'aes128-sha1'
    authby:        'secret'
    dpdaction:     'restart'
    dpddelay:      '30'
    dpdtimeout:    '120'
    ike:           'aes256-sha1;modp1024'
    ikev2:         'yes'
    ikelifetime:   '10800s'
    leftsubnet:    '0.0.0.0/0'
    leftvti:       '169.254.0.2'
    rightsubnet:   '10.177.0.0/16'
    mark:          '5/0xffffffff'
    vti_interface: 'vti1'
    vti_routing:   'yes'
    pfs:           'yes'
    salifetime:    '3600s'
    type:          'tunnel'
    # psk: "" # Taken from secrets

profile::network::nat::azure_bird_local_as:       65522
profile::network::nat::azure_bird_remote_as:      65531
profile::network::nat::azure_bird_remote_neigh:   '10.177.1.4'
profile::network::nat::azure_bird_remote_network: '10.177.0.0/16'
{'fraction_non_alphanumeric': 0.1591496696351623, 'fraction_numerical': 0.09020396437805228, 'mean_word_length': 2.095111111111111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 24, 'substrings_counts': 2, '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': '3733509', 'n_tokens_mistral': 1563, 'n_tokens_neox': 1419, 'n_words': 203}