Commit graph

419 commits

Author SHA1 Message Date
Erik Karlsson
06665246e5 Stop all services before unmounting filesystems
K99umount has been moved to K90umount as of OpenWrt 19.07, to make
room for init scripts that may need to run after umount. We need to
stop all services before unmounting the filesystems. The stop()
function is dead code when procd is being used and can be removed.
2021-02-20 15:55:39 +00:00
Oussama Ghorbel
bcdc8e5dc0 Update feed [ iopsys ] package [ questd ]
-------------------------------------------------------------------------------
* d554541 added Idle support for processs state
* 5ef2891 Questd network module tests
* 435c348 network: increment max client to 256
-------------------------------------------------------------------------------
commit d554541ac6fb8ef14431fcec9a31dbcb52181279
Author: Oussama Ghorbel <oussama.ghorbel@iopsys.eu>
Date: 2020-12-23 15:17:00 +0100

    added Idle support for processs state

Base directory -> /
 system/system.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 5ef2891e3ab55e42a5f84af4f678ec5b8e2d6a17
Author: Ozan Tanfener <ozan.tanfener@iopsys.eu>
Date: 2020-09-18 15:11:56 +0200

    Questd network module tests

Base directory -> /
 .gitignore                                    |   3 +-
 .gitlab-ci.yml                                |  40 +-
 CMakeLists.txt                                |   2 +-
 cmake/modules/FindJSON-EDITOR.cmake           |  35 ++
 docs/api/router.network.md                    | 492 +++++++++++++++
 docs/api/router.system.md                     | 823 ++++++++++++++++++++++++++
 docs/functionspec.md                          |  99 ++++
 docs/testspec.md                              | 210 +++++++
 docs/ubus.splash.md                           |   5 +
 gitlab-ci/functional-api-test.sh              |  23 +
 gitlab-ci/functional-test.sh                  |  19 +
 gitlab-ci/install-dependencies.sh             |  40 ++
 gitlab-ci/iopsys-supervisord.conf             |   8 +
 gitlab-ci/setup.sh                            |  45 ++
 network/network.c                             | 274 ++++-----
 schemas/router.network.json                   | 138 +++++
 schemas/router.system.json                    |  22 +-
 supervisord.conf                              |  11 -
 test/CMakeLists.txt                           |  47 --
 test/api/json/router.network.validation.json  |   9 +
 test/cmocka/CMakeLists.txt                    |  44 ++
 test/{ => cmocka}/db-setup.sh                 |   0
 test/cmocka/files/etc/config/dhcp             |  48 ++
 test/cmocka/files/etc/config/network          |  46 ++
 test/cmocka/files/etc/config/wireless         |  55 ++
 test/cmocka/files/etc/wifi.json               |  13 +
 test/cmocka/files/odhcpd                      |   4 +
 test/cmocka/files/var/dhcp.client.options     |   3 +
 test/cmocka/files/var/dhcp.leases             |   3 +
 test/cmocka/network_tests.c                   | 231 ++++++++
 test/cmocka/network_tests.h                   |  16 +
 test/{system-test.c => cmocka/system_tests.c} |   0
 tools.c                                       |   2 +-
 33 files changed, 2594 insertions(+), 216 deletions(-)
-------------------------------------------------------------------------------
commit 435c34859a36ff09813b19f9f7220db3f08c19af
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2020-09-08 16:28:28 +0200

    network: increment max client to 256

Base directory -> /
 network/network.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2020-12-23 15:36:17 +01:00
Roman Azarenko
d9f6b37bd7
questd: 5.2.1 2020-09-08 11:42:30 +02:00
Sukru Senli
597fadf578 questd: 5.1.11 2020-06-13 13:47:51 +02:00
Sukru Senli
9566dbfb8e questd: 5.1.10 2020-06-10 11:47:06 +02:00
Sukru Senli
053bfa1442 questd: 5.1.9 2020-06-07 13:58:09 +02:00
Sukru Senli
f1be5f4ee4 questd: 5.1.8 2020-05-30 10:49:51 +02:00
Sukru Senli
30245d6dec questd-5.1.7 2020-05-12 12:07:23 +02:00
Sukru Senli
e732109ef2 questd-5.1.6 2020-05-10 11:54:21 +02:00
Sukru Senli
57816f3353 questd-5.1.5 2020-05-09 16:46:02 +02:00
Sukru Senli
883023b588 questd-5.1.4 2020-04-26 15:25:26 +02:00
Sukru Senli
ab7cf3e44a questd: 5.1.3 2020-04-19 20:18:11 +02:00
Sukru Senli
011e469c8a questd: 5.1.2 2020-04-16 12:47:12 +02:00
Sukru Senli
d7564ddf36 questd: 5.1.1 2020-04-14 10:58:34 +02:00
Oussama Ghorbel
8815e230ed questd: upgrade to version 5.0.0
- use cmake
- implement feature #1535: system object model redesign
2020-01-23 14:39:32 +01:00
Jonas Höglund
4929ebc503 questd: Remove dependencies on libdsl,ethernet and wifi. 2020-01-09 09:50:10 +01:00
Jonas Höglund
88af9763a0 Fix dependancy error. 2020-01-08 12:00:24 +01:00
Jakob Olsson
d9e28aa3ca questd: print port speed when link is down #571 2019-12-10 16:18:26 +01:00
Jakob Olsson
5259cc9edb questd: relocate locks and move dump client invokes 2019-12-10 16:18:26 +01:00
Strhuan Blomquist
6d212ecea3 Updated packages in iopsys feeds to have licenses info 2019-10-31 10:34:16 +01:00
Jakob Olsson
dcc6644b6e questd: on intel always explicitly show port speed when not 1000mbps autoneg #571 2019-10-08 14:56:31 +02:00
Strhuan Blomquist
eca9e3208f Added Licence tag to make file so that opkg databases has licenses info 2019-09-03 10:28:57 +02:00
Jakob Olsson
d5f4e280d2 questd: update pkg to remove des key from system.info 2019-08-19 10:30:24 +02:00
Anjan Chanda
2fc15825d7 questd: remove wifi.h as libwifi is not used 2019-08-16 20:02:26 +02:00
Jakob Olsson
3c06e57779 questd: update pkg to include intel ssid fix #1073 2019-08-16 12:08:56 +02:00
Jakob Olsson
dcaec2e717 questd: update pkg hash to include intel port up status 2019-08-16 11:26:36 +02:00
Sukru Senli
b5878cbe60 questd: add wifix object to ubusproxy list 2019-06-29 12:20:32 +02:00
Sukru Senli
6051f2bed9 questd-4.1.1 2019-06-24 19:17:04 +02:00
Oussama Ghorbel
668175520c questd: fix dependency issue
Fix parallel build issue
2019-06-17 15:43:55 +02:00
Jakob Olsson
c43bbe523d quest: update pkg to include reading /proc/net/arp every iteration 2019-06-05 09:36:22 +02:00
Jakob Olsson
7e3387355f questd: remove uproxyd 2019-06-04 11:03:38 +02:00
Jakob Olsson
1302bbc4c6 questd: update pkg to fix duplicate info on hosts 2019-06-04 10:23:52 +02:00
Jakob Olsson
1f63f66552 questd: update pkg to include hosts method 2019-06-03 16:04:37 +02:00
Anjan Chanda
019f9b00af Update feed [ iopsys ] package [ questd ]
-------------------------------------------------------------------------------
* 431df9c network: get idle time for connected wifi clients
-------------------------------------------------------------------------------
commit 431df9ce933b894cadaa35bac938b9187a175137
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-06-03 15:22:22 +0200

    network: get idle time for connected wifi clients

Base directory -> /
 network.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2019-06-03 15:28:38 +02:00
Jakob Olsson
c3e1ef09ca questd: version 4.1.0 2019-05-28 09:03:22 +02:00
Jakob Olsson
51c4e9e98f questd: update pkg hash to include ports intel update 2019-04-17 10:32:15 +02:00
Jakob Olsson
4cd02f8b51 questd: update hash for segfault fix on missing ifname 2019-04-16 12:17:32 +02:00
Jakob Olsson
b72f301a8c questd: update pkg to include json key correction 2019-04-15 15:28:41 +02:00
Jakob Olsson
5137bc73ef questd: update pkg to include memory management fixes 2019-04-15 11:10:22 +02:00
Jakob Olsson
111db0229b questd: update pkg to include mediatek compilation errors fix 2019-04-15 09:27:31 +02:00
Sukru Senli
5f3e4e40ae Inteno->iopsys adaptations 2019-04-14 10:59:37 +02:00
Sukru Senli
d432a47f61 Update feed [ iopsys ] package [ questd ]
-------------------------------------------------------------------------------
* 58a40d8 network: workaround for Intel uplink port to be ignored for network clients list
-------------------------------------------------------------------------------
commit 58a40d862dd7f74544ae5cbf321a4a0772852214
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2019-04-12 17:23:11 +0200

    network: workaround for Intel uplink port to be ignored for network clients
    list

Base directory -> /
 network.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
2019-04-12 17:32:12 +02:00
Jakob Olsson
ef1243d0c9 questd: update pkg hash to include wifix object usage 2019-04-12 15:42:39 +02:00
Jakob Olsson
4f6710713b questd: update pkg to no longer use temp wireless obj 2019-04-12 11:33:04 +02:00
Jakob Olsson
92d3b9da23 questd: update pkg hash to include intel files 2019-04-12 11:23:28 +02:00
Jakob Olsson
3a68d867b9 questd: update pkg hash to include removal of platform file usage 2019-04-12 11:17:16 +02:00
Jakob Olsson
08d54cde12 questd: update pkg to include vendor name removal from legacy funcs 2019-04-10 09:34:37 +02:00
Jakob Olsson
90a23e70d7 questd: update pkg makefile to include questd network refactor with locks 2019-04-09 16:27:00 +02:00
Jakob Olsson
7222f366dd questd: update pkg to include wificontrol compilation fixes 2019-03-27 16:24:54 +01:00
Jakob Olsson
a54562e035 Revert "questd: remove wificontrol"
This reverts commit 7513d32e91.
2019-03-27 16:14:13 +01:00