Skip to content
Snippets Groups Projects
Select Git revision
  • d4fc87ae25ce74bba48dbf0a220db3c0328df129
  • experimental default protected
  • v2023.2.5-ffs
  • nrb/ex400-remove-wps
  • nrb/airmax-test
  • v2023.2.4-ffs
  • nrb/ar9344-reset-sequence
  • autinerd/experimental-openwrt-24.10
  • v2023.2.3-ffs
  • v2023.2.2-ffs
  • v2023.2-ffs
  • v2023.1-ffs
  • v2022.1.4-ffs
  • feature/addMikrotikwAP
  • v2022.1.3-ffs
  • v2021.1.2-ffs
  • v2022.1.1-ffs
  • master protected
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • experimental-2025-10-23
  • experimental-2025-10-23-base
  • experimental-2025-10-22
  • experimental-2025-10-22-base
  • experimental-2025-10-19
  • experimental-2025-10-19-base
  • experimental-2025-10-15
  • experimental-2025-10-15-base
  • experimental-2025-10-12
  • experimental-2025-10-12-base
  • experimental-2025-10-06
  • experimental-2025-10-06-base
  • experimental-2025-10-02
  • experimental-2025-10-02-base
  • experimental-2025-09-19
  • experimental-2025-09-19-base
  • experimental-2025-09-15
  • experimental-2025-09-15-base
  • experimental-2025-09-12
  • experimental-2025-09-12-base
41 results

gluon-scheduled-domain-switch.rst

Blame
  • gluon-scheduled-domain-switch.rst 1.24 KiB

    gluon-scheduled-domain-switch

    This package allows to switch a routers domain at a given point in time. This is needed for switching between incompatible transport protocols (e.g. wired meshing with and without VXLAN).

    Nodes will switch when the defined switch-time has passed. In case the node was powered off while this was supposed to happen, it might not be able to acquire the correct time. In this case, the node will switch after it has not seen any gateway for a given period of time.

    In older versions ping was used against an array of endpoints to determine mesh-connectivity. Nowadays gluon-state-check is used for this and evaluates mesh-(VPN) connectivity and NTP states.

    site.conf

    All those settings have to be defined exclusively in the domain, not the site.

    domain_switch : optional (needed for domains to switch)
    target_domain :
    • target domain to switch to
    switch_after_offline_mins :
    • amount of time without reachable gateway to switch unconditionally
    switch_time :
    • UNIX epoch after which domain will be switched

    Example:

    domain_switch = {
      target_domain = 'new_domain',
      switch_after_offline_mins = 120,
      switch_time = 1546344000, -- 01.01.2019 - 12:00 UTC
    },