<commit_before>---
include:
  default:
    - profile::monitoring::sensu::agent

location_environment:   'test02'
location_description:   'Test environment physically in OSL'

domain_frontend:        'test.iaas.uio.no'
domain_public:          'test.iaas.uio.no'
domain_trp:             'test02.uhdc.no'
domain_mgmt:            'mgmt.test02.uhdc.no'
domain_oob:             'oob.test02.uhdc.no'

reverse_public:         '200.100.10.in-addr.arpa'
reverse_public6:        '0.0.0.0.0.0.0.0.0.0.0.0.4.3.d.f.ip6.arpa'
reverse_mgmt:           '32.28.172.in-addr.arpa'
reverse_mgmt_c0:        '32.28.172.in-addr.arpa'
reverse_mgmt_c1:        '33.28.172.in-addr.arpa'
reverse_mgmt_c2:        '34.28.172.in-addr.arpa'
reverse_mgmt_c3:        '35.28.172.in-addr.arpa'
reverse_mgmt_c4:        '36.28.172.in-addr.arpa'
reverse_mgmt_c5:        '37.28.172.in-addr.arpa'
reverse_mgmt_c6:        '38.28.172.in-addr.arpa'
reverse_mgmt_c7:        '39.28.172.in-addr.arpa'

reverse_trp:            '32.30.172.in-addr.arpa'
reverse_trp_c0:         '32.30.172.in-addr.arpa'
reverse_trp_c1:         '33.30.172.in-addr.arpa'
reverse_trp_c2:         '34.30.172.in-addr.arpa'
reverse_trp_c3:         '35.30.172.in-addr.arpa'
reverse_trp_c4:         '36.30.172.in-addr.arpa'
reverse_trp_c5:         '37.30.172.in-addr.arpa'
reverse_trp_c6:         '38.30.172.in-addr.arpa'
reverse_trp_c7:         '39.30.172.in-addr.arpa'

bgp_as:                 '65536'

netcfg_mgmt_gateway:    '172.28.32.12'
netcfg_mgmt_netpart:    '172.28.32'
netcfg_mgmt_netmask:    '255.255.255.0'
netcfg_mgmt_net_c0:     '172.28.32'
netcfg_mgmt_net_c1:     '172.28.33'
netcfg_mgmt_net_c2:     '172.28.34'
netcfg_mgmt_net_c3:     '172.28.35'
netcfg_mgmt_net_c4:     '172.28.36'
netcfg_mgmt_net_c5:     '172.28.37'
netcfg_mgmt_net_c6:     '172.28.38'
netcfg_mgmt_net_c7:     '172.28.39'
netcfg_trp_gateway:     '172.30.32.1'
netcfg_trp_gateway6:    'fd32::1'
netcfg_trp_netpart:     '172.30.32'
netcfg_trp_netpart6:    'fd32'
netcfg_trp_net_c0:      '172.30.32'
netcfg_trp_net_c1:      '172.30.33'
netcfg_trp_net_c2:      '172.30.34'
netcfg_trp_net_c3:      '172.30.35'
netcfg_trp_net_c4:      '172.30.36'
netcfg_trp_net_c5:      '172.30.37'
netcfg_trp_net_c6:      '172.30.38'
netcfg_trp_net_c7:      '172.30.39'
netcfg_trp_netmask:     '255.255.255.0'
netcfg_trp_netmask6:    '64'
netcfg_live_netpart:    '172.30.32'
netcfg_live_netmask:    '255.255.255.0'
netcfg_dns_server1:     '172.28.32.12'
netcfg_dns_server2:     '172.28.32.17'
netcfg_dns_search:      "%{hiera('domain_mgmt')} %{hiera('domain_trp')} %{hiera('domain_public')}"
netcfg_public_netpart:  '10.100.200'
netcfg_public_netmask:  '255.255.255.0'
netcfg_public_netpart6: 'fd34'
netcfg_public_netmask6: '64'

netcfg_priv_gateway:    '172.30.32.26'
netcfg_priv_network:    '10.0.244.0/24'
netcfg_pub_natgw:       '10.100.200.248'
netcfg_anycast_dns:     '10.100.200.252'
netcfg_anycast_dns6:    'fd34::252'
netcfg_trp_rr:
  rr1:
    peer_ipv4: '172.30.32.1'
    peer_ipv6: 'fd32::1'

allow_from_network: # FIXME (public net and mgmt net)
  - '10.100.200.0/24'
  - '172.28.32.0/24'
  - '192.168.122.1/32'

public__ip__ns:             "%{hiera('netcfg_public_netpart')}.251"
public__ipv6__ns:           "%{hiera('netcfg_public_netpart6')}::251"
public__ip__resolver:       "%{hiera('netcfg_public_netpart')}.252"
public__ipv6__resolver:     "%{hiera('netcfg_public_netpart6')}::251"

#
# DNS (merge of common and this)
#
profile::network::services::dns_records:
  A:
    # public
    "api.%{hiera('domain_public')}":                        "%{hiera('netcfg_public_netpart')}.250"
    "identity.api.%{hiera('domain_public')}":               "%{hiera('netcfg_public_netpart')}.250"
    "network.api.%{hiera('domain_public')}":                "%{hiera('netcfg_public_netpart')}.250"
    "image.api.%{hiera('domain_public')}":                  "%{hiera('netcfg_public_netpart')}.250"
    "volume.api.%{hiera('domain_public')}":                 "%{hiera('netcfg_public_netpart')}.250"
    "compute.api.%{hiera('domain_public')}":                "%{hiera('netcfg_public_netpart')}.250"
    "status.%{hiera('domain_public')}":                     "%{hiera('netcfg_public_netpart')}.250"
    "metric.api.%{hiera('domain_public')}":                 "%{hiera('netcfg_public_netpart')}.250"
    "placement.api.%{hiera('domain_public')}":              "%{hiera('netcfg_public_netpart')}.250"
    "access.%{hiera('domain_public')}":                     "%{hiera('netcfg_public_netpart')}.250"<commit_msg>add dns entry for designate node in test02<commit_after>---
include:
  default:
    - profile::monitoring::sensu::agent

location_environment:   'test02'
location_description:   'Test environment physically in OSL'

domain_frontend:        'test.iaas.uio.no'
domain_public:          'test.iaas.uio.no'
domain_trp:             'test02.uhdc.no'
domain_mgmt:            'mgmt.test02.uhdc.no'
domain_oob:             'oob.test02.uhdc.no'

reverse_public:         '200.100.10.in-addr.arpa'
reverse_public6:        '0.0.0.0.0.0.0.0.0.0.0.0.4.3.d.f.ip6.arpa'
reverse_mgmt:           '32.28.172.in-addr.arpa'
reverse_mgmt_c0:        '32.28.172.in-addr.arpa'
reverse_mgmt_c1:        '33.28.172.in-addr.arpa'
reverse_mgmt_c2:        '34.28.172.in-addr.arpa'
reverse_mgmt_c3:        '35.28.172.in-addr.arpa'
reverse_mgmt_c4:        '36.28.172.in-addr.arpa'
reverse_mgmt_c5:        '37.28.172.in-addr.arpa'
reverse_mgmt_c6:        '38.28.172.in-addr.arpa'
reverse_mgmt_c7:        '39.28.172.in-addr.arpa'

reverse_trp:            '32.30.172.in-addr.arpa'
reverse_trp_c0:         '32.30.172.in-addr.arpa'
reverse_trp_c1:         '33.30.172.in-addr.arpa'
reverse_trp_c2:         '34.30.172.in-addr.arpa'
reverse_trp_c3:         '35.30.172.in-addr.arpa'
reverse_trp_c4:         '36.30.172.in-addr.arpa'
reverse_trp_c5:         '37.30.172.in-addr.arpa'
reverse_trp_c6:         '38.30.172.in-addr.arpa'
reverse_trp_c7:         '39.30.172.in-addr.arpa'

bgp_as:                 '65536'

netcfg_mgmt_gateway:    '172.28.32.12'
netcfg_mgmt_netpart:    '172.28.32'
netcfg_mgmt_netmask:    '255.255.255.0'
netcfg_mgmt_net_c0:     '172.28.32'
netcfg_mgmt_net_c1:     '172.28.33'
netcfg_mgmt_net_c2:     '172.28.34'
netcfg_mgmt_net_c3:     '172.28.35'
netcfg_mgmt_net_c4:     '172.28.36'
netcfg_mgmt_net_c5:     '172.28.37'
netcfg_mgmt_net_c6:     '172.28.38'
netcfg_mgmt_net_c7:     '172.28.39'
netcfg_trp_gateway:     '172.30.32.1'
netcfg_trp_gateway6:    'fd32::1'
netcfg_trp_netpart:     '172.30.32'
netcfg_trp_netpart6:    'fd32'
netcfg_trp_net_c0:      '172.30.32'
netcfg_trp_net_c1:      '172.30.33'
netcfg_trp_net_c2:      '172.30.34'
netcfg_trp_net_c3:      '172.30.35'
netcfg_trp_net_c4:      '172.30.36'
netcfg_trp_net_c5:      '172.30.37'
netcfg_trp_net_c6:      '172.30.38'
netcfg_trp_net_c7:      '172.30.39'
netcfg_trp_netmask:     '255.255.255.0'
netcfg_trp_netmask6:    '64'
netcfg_live_netpart:    '172.30.32'
netcfg_live_netmask:    '255.255.255.0'
netcfg_dns_server1:     '172.28.32.12'
netcfg_dns_server2:     '172.28.32.17'
netcfg_dns_search:      "%{hiera('domain_mgmt')} %{hiera('domain_trp')} %{hiera('domain_public')}"
netcfg_public_netpart:  '10.100.200'
netcfg_public_netmask:  '255.255.255.0'
netcfg_public_netpart6: 'fd34'
netcfg_public_netmask6: '64'

netcfg_priv_gateway:    '172.30.32.26'
netcfg_priv_network:    '10.0.244.0/24'
netcfg_pub_natgw:       '10.100.200.248'
netcfg_anycast_dns:     '10.100.200.252'
netcfg_anycast_dns6:    'fd34::252'
netcfg_trp_rr:
  rr1:
    peer_ipv4: '172.30.32.1'
    peer_ipv6: 'fd32::1'

allow_from_network: # FIXME (public net and mgmt net)
  - '10.100.200.0/24'
  - '172.28.32.0/24'
  - '192.168.122.1/32'

public__ip__ns:             "%{hiera('netcfg_public_netpart')}.251"
public__ipv6__ns:           "%{hiera('netcfg_public_netpart6')}::251"
public__ip__resolver:       "%{hiera('netcfg_public_netpart')}.252"
public__ipv6__resolver:     "%{hiera('netcfg_public_netpart6')}::251"

#
# DNS (merge of common and this)
#
profile::network::services::dns_records:
  A:
    # public
    "api.%{hiera('domain_public')}":                        "%{hiera('netcfg_public_netpart')}.250"
    "identity.api.%{hiera('domain_public')}":               "%{hiera('netcfg_public_netpart')}.250"
    "network.api.%{hiera('domain_public')}":                "%{hiera('netcfg_public_netpart')}.250"
    "image.api.%{hiera('domain_public')}":                  "%{hiera('netcfg_public_netpart')}.250"
    "volume.api.%{hiera('domain_public')}":                 "%{hiera('netcfg_public_netpart')}.250"
    "compute.api.%{hiera('domain_public')}":                "%{hiera('netcfg_public_netpart')}.250"
    "status.%{hiera('domain_public')}":                     "%{hiera('netcfg_public_netpart')}.250"
    "metric.api.%{hiera('domain_public')}":                 "%{hiera('netcfg_public_netpart')}.250"
    "placement.api.%{hiera('domain_public')}":              "%{hiera('netcfg_public_netpart')}.250"
    "dns.api.%{hiera('domain_public')}":                    "%{hiera('netcfg_public_netpart')}.250"
    "access.%{hiera('domain_public')}":                     "%{hiera('netcfg_public_netpart')}.250"
{'fraction_non_alphanumeric': 0.168804121451277, 'fraction_numerical': 0.1250685081661734, 'mean_word_length': 3.055111111111111, 'pattern_counts': {'":': 21, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 38, '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': '2617651', 'n_tokens_mistral': 4657, 'n_tokens_neox': 4090, 'n_words': 402}