aboutsummaryrefslogtreecommitdiff
path: root/tests/atf_python/sys/netlink
Commit message (Collapse)AuthorAgeFilesLines
* tests: move atf_python/sys/ into the tests packageLexi Winter2024-04-191-0/+1
| | | | | | Reviewed by: markj MFC after: 1 week Pull Request: https://github.com/freebsd/freebsd-src/pull/1174
* netlink: add support for decoding genl ops/groups in pytestAlexander V. Chernikov2023-06-014-10/+73
| | | | MFC after: 2 weeks
* netlink: add support for adding/deleting interface addressesAlexander V. Chernikov2023-05-161-65/+158
| | | | | Differential Revision: https://reviews.freebsd.org/D40103 MFC after: 2 weeks
* testing: rename IfattrType to IfaAttrType for consistencyAlexander V. Chernikov2023-05-151-7/+7
| | | | | | | All other attribute classes are named as 'type'AttrType and 'type' int this case is ifa (interface address). MFC after: 2 weeks
* testing: add support for handling Netlink carp messagesAlexander V. Chernikov2023-05-152-2/+99
| | | | MFC after: 2 weeks
* testing: add support for using custom interfaces in pytest framework.Alexander V. Chernikov2023-05-151-1/+8
| | | | MFC after: 2 weeks
* tests: fix netlink type parsing.Alexander V. Chernikov2023-04-182-2/+2
| | | | | | Netlink attribute type field is 2 bytes, not one. MFC after: 2 weeks
* Testing: add framework for the kernel unit tests.Alexander V. Chernikov2023-04-144-1/+128
| | | | | | | | | | | | | | | | | | | | This changes intends to reduce the bar to the kernel unit-testing by introducing a new kernel-testing framework ("ktest") based on Netlink, loadable test modules and python test suite integration. This framework provides the following features: * Integration to the FreeBSD test suite * Automatic test discovery * Automatic test module loading * Minimal boiler-plate code in both kernel and userland * Passing any metadata to the test * Convenient environment pre-setup using python testing framework * Streaming messages from the kernel to the userland * Running tests in the dedicated taskqueues * Skipping or parametrizing tests Differential Revision: https://reviews.freebsd.org/D39385 MFC after: 2 weeks
* tests: fix utils import in netlink testsAlexander V. Chernikov2023-04-022-4/+2
| | | | MFC after: 2 weeks
* tests: add support for parsing generic netlink families.Alexander V. Chernikov2023-04-016-71/+299
| | | | | MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D39370
* tests: split netlink.py into multiple files to impove maintainability.Alexander V. Chernikov2023-04-018-0/+1733
This diff does not contain any functional changes. Its sole purpose is splitting netlink.py into smaller chunks. The new code simplifies the upcoming generic netlink support introduction. MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D39365