Kamil Gierszewski
0e24e52686
test-api: update parser
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2025-01-10 14:54:45 +01:00
Kamil Gierszewski
8cd3f4a631
test-api: add Byte unit
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2025-01-10 14:54:45 +01:00
Kamil Gierszewski
db3dc068f8
test-api: refactor casadm to use TestRun cache/core list
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2025-01-10 14:54:45 +01:00
Kamil Gierszewski
0f645ac10b
test-api: Change Cache init to force use of the cache_id instead of cache_device
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2025-01-10 14:54:44 +01:00
Kamil Gierszewski
9fb333a73f
test-api: minor refactors
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2025-01-10 14:54:44 +01:00
Kamil Gierszewski
f0753339dd
test-api: change default file path
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2025-01-10 14:54:44 +01:00
Katarzyna Treder
e740ce377f
Fix imports
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-31 12:06:18 +01:00
Katarzyna Treder
f7e7d3aa7f
Disk tools and fs tools refactor
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-11 18:58:26 +01:00
Katarzyna Treder
70defbdf0d
Move is_kernel_module_loaded to tools
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-11 18:12:16 +01:00
Katarzyna Treder
58d89121ad
Fix names: rename types to type_def
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-11 18:10:46 +01:00
Katarzyna Treder
8a5d531a32
OS tools refactor
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-11 07:58:50 +01:00
Katarzyna Treder
3e67a8c0f5
Rename systemd to systemctl and move it to tools
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-10 14:46:53 +01:00
Katarzyna Treder
b724419a4f
Move git to tools
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-10 14:32:50 +01:00
Katarzyna Treder
241a0c545a
Remove generator from test utils
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-10 14:25:27 +01:00
Katarzyna Treder
0cc3b3270d
Move dmesg to tools
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-10 14:06:08 +01:00
Katarzyna Treder
4dca1c3c00
Move linux command and wait method to common tools
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-10 13:58:04 +01:00
Katarzyna Treder
9460151ee5
Move output to connection utils
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-10 12:31:14 +01:00
Katarzyna Treder
81e792be99
Move Time to types
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-10 12:20:31 +01:00
Katarzyna Treder
d4e562caf9
Move size.py to types
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-10 12:18:38 +01:00
Kamil Gierszewski
35850c7d9a
test-api: adjust api to handle inactive core devices + add detached/inactive cores getter
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-10-29 15:32:38 +01:00
Kamil Gierszewski
908672fd66
test-api: add string representation of SeqCutOffPolicy
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-10-29 15:32:37 +01:00
Kamil Gierszewski
421c0e4641
test-api: fix stat type
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-10-29 15:28:29 +01:00
Daniel Madej
0c0b10535e
[tests] Update CLI messages and test
...
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2024-10-28 16:07:33 +01:00
Daniel Madej
a2f3cc1f4a
Mtab check optional
...
There are situations when /etc/mtab is not present in the
system (e.g. in certain container images). This blocks
stop/remove operations. With making this check optional
the duty of checking mounts falls to kernel.
Test modified to check operations with and without mtab.
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2024-10-28 16:07:33 +01:00
Kamil Gierszewski
0fdd4933a2
tests-api: add statistics parse for metadata in GiB
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-10-11 10:36:51 +02:00
Kamil Gierszewski
39afdaa6c1
test-api: fix cli help message
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-10-11 02:42:56 +02:00
Daniel Madej
205af2ab99
Cleanup
...
UsageStats addition methods
InactiveUsage class
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2024-10-03 17:12:37 +02:00
Daniel Madej
65879e01cd
Small statistics refactor
...
Extracted common parts to separate methods
Added get_stat_value()
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2024-10-03 17:06:36 +02:00
Daniel Madej
7e2c46b827
Enable displaying IO class stats w/o IO class id
...
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2024-10-02 17:51:31 +02:00
Robert Baldyga
d692204c20
Merge pull request #1523 from katlapinka/kasiat/promotion-api
...
Add API for setting promotion policy params
2024-10-02 10:32:44 +02:00
Kamil Gierszewski
5f170b11b3
test-api: reverse cache stop
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-30 09:57:54 +02:00
Kamil Gierszewski
16227e90ed
test-api: update cli messages
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-30 09:57:54 +02:00
Kamil Gierszewski
96a0f1fa43
test-api: fix class variable types in statistics.py
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-30 09:57:52 +02:00
Kamil Gierszewski
66c6291b7a
test-api: add inactive stats
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-30 09:57:52 +02:00
Daniel Madej
5d10c512b2
Remove metadata_size_on_disk from Cache init
...
Not used and might cause an exception in cleanup in specific
scenarios
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2024-09-30 08:20:41 +02:00
Kamil Gierszewski
6d71961292
test-api: fix core_pool remove
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-23 22:40:48 +02:00
Kamil Gierszewski
d0d0fdb9c8
test-api: reformat cli_help_messages.py
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-23 17:14:47 +02:00
Kamil Gierszewski
b8d6f8403e
test-api: fix cache mode change
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-23 12:54:12 +02:00
Katarzyna Treder
ae2d14dfb2
Fix for core IO class statistics
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-18 09:04:47 +02:00
Kamil Gierszewski
cc5d796978
test-api: fix core pool parse
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-16 10:22:33 +02:00
Katarzyna Treder
8c0f4f5ad1
Add API for setting promotion policy params
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-13 21:27:55 +02:00
Katarzyna Treder
a1ff17bbd3
Change path type to string in fs_utils remove command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-13 11:35:36 +02:00
Kamil Gierszewski
36903a2c67
test-api: update cas api after reformat
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-10 10:39:08 +02:00
Kamil Gierszewski
d40e2a519d
test-api: reformat api files
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-10 10:39:07 +02:00
Kamil Gierszewski
d48e9fc80d
test-api: update cas api
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-10 10:24:38 +02:00
Michal Mielewczyk
0f0ef79b89
Disable standby mode
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2024-09-06 13:23:07 +02:00
Katarzyna Treder
80a74a11f4
Update to work with TF submodule
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-07-16 15:07:04 +02:00
Karolina Rogowska
f1161e04d7
Merge pull request #1368 from rafalste/packaging_api
...
test/api: Add packaging functionality
2022-11-23 15:33:04 +01:00
Kamil Gierszewski
9b2a3490c5
test_fix:change help message
...
Signed-off-by: Kamil Gierszewski <kamilx.gierszewski@intel.com>
2022-10-27 13:07:13 +02:00
Damian Raczkowski
2e6ccd2ad9
test-fix: change help message in cli_help_messages to proper one
...
Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
2022-10-20 05:02:56 +02:00