summaryrefslogtreecommitdiff
path: root/inventory/group_vars/chaos-at-home-ap/vars.yml
blob: c47eea39089266f7ea35ffd7631a1379bf2dab77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
network_mgmt_zone: "{{ network_zones.mgmt }}"

accesspoint_zones:
  lan: "{{ network_zones.lan.wifi }}"
  iot: "{{ network_zones.iot.wifi }}"


accesspoint_wifi_channels:
  2g:
    ch-ap0: 1
    ch-ap1: 9
  5g:
    ch-ap0: 36
    ch-ap1: 48
    ch-ap2: 40

accesspoint_wifi_txpower:
  2g:
    ch-ap0: 10
    ch-ap1: 10

accesspoint_80211r:
  mobility_domain_base: 0xca00

accesspoint_client_steering:
  kind: usteer
  options:
    assoc_steering: '1'
    roam_scan_snr: -60
    roam_trigger_snr: -75
    signal_diff_threshold: 15
    band_steering_threshold: '0'
    band_steering_interval: '30000'
    ssid_list: "{{ accesspoint_zones | dict2items | map(attribute='value.ssid') }}"


accesspoint_ntp_servers:
  - '{{ network_zones.mgmt.prefix | ansible.utils.ipaddr(network_zones.mgmt.offsets["ch-router"]) | ansible.utils.ipaddr("address") }}'


prometheus_scrape_endpoint: "{{ network_mgmt_zone.prefix | ansible.utils.ipaddr(network_mgmt_zone.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}:9100"
prometheus_exporters_default:
  - openwrt