Skip to content

foris-controller: update to version 5.2.0

Martin Matějek requested to merge feature/foris-controller-5.1.0 into develop

Description

Fixed:

  • networks: Sort interfaces by port names and disregard order in uci config
  • updater: handling of "reboot is required" from updater supervisor; it is now possible to approve update request in reForis

Changed:

  • wifi: refactor sorting of htmodes
  • networks: allow managing of interfaces on Turris 1.x (previously disabled)
  • setup.py: update turrishw dependency to 0.9.0, so we can tell which ethernet port belongs to which Mox module again on TOS 6.0.

Depends on: !934 (merged)

How to test it

1) Which ethernet port belongs to which Mox module

See: !934 (merged)

2) Networks interfaces sorting

Before update

Ethernet interfaces might get returned in order defined in uci config.

E.g. /etc/config/networks:

config device 'br_lan'
    [...]
    list ports 'lan10'
    list ports 'lan11'
    list ports 'lan12'
    list ports 'lan13'
    list ports 'lan14'
    list ports 'lan15'
    list ports 'lan16'
    list ports 'lan9'
    [...]

reforis-interfaces-wrong-order-mox-EEE

After update

Interfaces should be sorted, regardless of order in uci config file.

2022-06-21_16.57.26_192.168.1.1_a603ed5d85f1

3) Allow managing of network interfaces on Turris 1.x

It is the same as !914 (merged), but this time for TOS 6.0.

4) Fix handling of "reboot is required" from updater supervisor

Before update

When automatic update settings is set to "Update approval needed" or "Delayed updates", reForis page "Package Management->Updates" shows API error instead of page content.

It can be triggered when there is existing updater approval request, i.e. there is something that is planned to be installed.

After update

reForis "Updates" page should show it's content and update approval request, if it exists.

Edited by Josef Schlehofer

Merge request reports