Skip to content
Snippets Groups Projects
Select Git revision
  • experimental default protected
  • 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
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • experimental-2025-05-15
  • experimental-2025-05-15-base
  • experimental-2025-05-13
  • experimental-2025-05-13-base
  • experimental-2025-05-08
  • experimental-2025-05-08-base
  • experimental-2025-05-05
  • experimental-2025-05-05-base
  • experimental-2025-05-02
  • experimental-2025-05-02-base
  • experimental-2025-05-01
  • experimental-2025-05-01-base
  • experimental-2025-04-29
  • experimental-2025-04-29-base
  • experimental-2025-04-27
  • experimental-2025-04-27-base
  • experimental-2025-04-26
  • experimental-2025-04-26-base
  • experimental-2025-04-22
  • experimental-2025-04-22-base
40 results

check_site.lua

Blame
    • Matthias Schiffer's avatar
      7ccdacd2
      treewide: rework check_site_lib.lua · 7ccdacd2
      Matthias Schiffer authored
      In addition to significant internal differences in check_site_lib.lua (in
      particular unifying error handling to a single place for the upcoming
      multi-domain support), this changes the way fields are addressed in site
      check scripts: rather than providing a string like 'next_node.ip6', the
      path is passed as an array {'next_node', 'ip6'}.
      
      Other changes in site check scripts:
      * need_array and need_table now pass the full path to the sub fields to the
      subcheck instead of the key and value
      * Any check referring to a field inside a table implies that all higher
      levels must be tables if they exist: a check for {'next_node', 'ip6'} adds
      an implicit (optional) check for {'next_node'}, which allows to remove many
      explicit checks for such tables
      treewide: rework check_site_lib.lua
      Matthias Schiffer authored
      In addition to significant internal differences in check_site_lib.lua (in
      particular unifying error handling to a single place for the upcoming
      multi-domain support), this changes the way fields are addressed in site
      check scripts: rather than providing a string like 'next_node.ip6', the
      path is passed as an array {'next_node', 'ip6'}.
      
      Other changes in site check scripts:
      * need_array and need_table now pass the full path to the sub fields to the
      subcheck instead of the key and value
      * Any check referring to a field inside a table implies that all higher
      levels must be tables if they exist: a check for {'next_node', 'ip6'} adds
      an implicit (optional) check for {'next_node'}, which allows to remove many
      explicit checks for such tables