Mattias Walström
4a3559d88f
infamy: Remove duplicate function
...
Get management ip was implemented in two functions, removing one.
2024-06-27 15:43:06 +02:00
Mattias Walström
dd0f1610ab
Add get_current_time_with_offset to netconf/restconf
...
This allows the timezone tests to run on restconf as well
2024-06-27 15:43:06 +02:00
Mattias Walström
095b256971
Adapt tests to be able to run them with NETCONF and RESTCONF
2024-06-27 15:43:06 +02:00
Joachim Wiberg
0d0d97ad3f
test: verify hostname format %h-%m in running and operational
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-06-25 17:22:36 +02:00
Joachim Wiberg
32ef120928
test: verify admin user default password in running and operational
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-06-25 17:22:36 +02:00
Joachim Wiberg
8851b279f5
confd: merge infix-shell-types.yang with infix-system.yang
...
All typedefs and identities should be declared in the module that uses
them unless other modules need them. This change also makes it easier
to work with tools like yanglint and pyang.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-06-25 17:22:36 +02:00
Joachim Wiberg and Tobias Waldekranz
21ef50ebfb
test: new test, verify handling of non-admin users
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-06-03 23:05:04 +02:00
Joachim Wiberg and Tobias Waldekranz
47ee01be96
test: minor, whitespace cleanup
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-06-03 23:05:04 +02:00
Mattias Walström and Joachim Wiberg
d66740250c
confd: Add support for timezone-utc-offset
...
Some deviations has been done the yang model to comply with tzdata
on linux.
This fixes #106
2023-10-20 12:55:02 +02:00
Ahmed Karic and Joachim Wiberg
2ff57f865a
test/case: upgrade deprecated hash method
2023-07-13 15:41:38 +02:00
Ahmed Karic and Joachim Wiberg
7b99cdbd16
test/case: Add authentication/user test
2023-07-04 23:08:21 +02:00
Tobias Waldekranz and Joachim Wiberg
5be61a7013
test/case: Add ietf_system/upgrade
...
Verifies that RAUC bundles can be installed using NETCONF.
We choose to not add this to the "all" suite for now, as the qeneth
topologies do not run with full disk emulation.
To test locally, configure your "make run" instance to use the UEFI
loader, launch `make run`, and then run:
make INFIX_TESTS=test/case/ietf_system/upgrade.py test-run
2023-06-30 15:33:10 +02:00
Tobias Waldekranz and Joachim Wiberg
f26bd54336
test: Add a 9PM compatible test suite to run all tests
2023-06-08 11:10:31 +02:00
Tobias Waldekranz and Joachim Wiberg
d82da157b6
test: Add ietf_system/hostname
2023-06-08 11:10:31 +02:00