Mattias Walström
900c5b0b2f
test: case: ietf_system: Update test texts
...
And some changes in test semantics.
2024-09-17 08:27:23 +02:00
Mattias Walström
c456fa1c75
test: spec: Update all test specifications with relative path
2024-09-09 15:11:36 +02:00
Mattias Walström
257c2ac3a1
test: case: Use common topologies for some tests
...
No need to have seperate topology for theese tests
2024-09-09 15:11:36 +02:00
Mattias Walström
e4e7dbd714
tests: Add test specification
...
Add minor changes in all testscripts, to add name and description
Add generated test specification
Add generated topology image
2024-09-06 10:18:16 +02:00
Joachim Wiberg
f071dacf8b
test: add __str__ to Device class for reading device name
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-09-05 07:04:58 +02:00
Ahmed Karic and Mattias Walström
46ad19793b
test: refactor test environment
2024-09-03 12:13:32 +02:00
Mattias Walström and Tobias Waldekranz
60e8b24d01
infamy: Refactor xpath handling between restconf and netconf implmentation
...
Previous xpath may or may not been an xpath, we still called it xpath.
Remove the obscure function get_xpath() and instead transform to a
URI in restconf.py
This fix issue #490
Signed-off-by: Mattias Walström <lazzer@gmail.com >
2024-08-16 16:50:13 +02:00
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