Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Chi Song 4a81801bf9 add local working path
1. With this change, it supports to use different folder for log and
working. It's easy to copy the whole log folder to another place without
any binary of the working folder.
2. The working folder of test cases won't be created automatically,
because the path may not be used. It needs the user to create it before
using.
2022-03-11 14:48:45 -08:00
Chi Song b3e14ea2c2 refactoring move constants to lisa level. 2021-12-21 15:31:11 -08:00
Lili Deng cdadbe6e50 Update max_nic_count for unit test. 2021-10-25 23:35:10 -07:00
LiliDeng 0f77791b8f
Add cases nvme_sriov_rescind_validation and nvme_max_disk_validation. (#1523)
* Rename metadata into field_metadata and move it under util to avoid circular import.

* Add NvmeSettings used to specify nvme disk count.

* Refine PciDevice class for disable and enable PCI devices.

* Add case nvme_max_disk_validation and nvme_sriov_rescind_validation.

* Update import using an easier way.
2021-09-12 15:42:50 +08:00
Divyansh b104458bc5 Add network interface feature settings 2021-09-03 16:36:59 -07:00
Chi Song f9b25f8006 NodeSpace: move disk fields to DiskSettings. 2021-08-25 22:39:10 -07:00
Chi Song 4b219b5070 env: remove useless setting.
The concurrency is implemented in runbook level, not env level. Remove
the useless one.
2021-08-25 22:39:10 -07:00
Chi Song bd133486bb schema: refactoring to provide serializing method
The original way is one line, but not straightforward, and need type
ignore annotation. With the methods, the readability is improved.
2021-08-25 22:39:10 -07:00
LiliDeng 595d742d35
Support deployment with attaching disks (#1457)
* Rename disk_count into data_disk_count and set default value as 0.

* Add min_data_disk_count into test requirement and node schema.

* Add data_disk_caching_type.

* Add data_disk_iops.

* Update template for attaching data disks during provision.

* Split node_requirement from simple_requirement.

* Update UT for simple_requirement.
2021-08-18 12:34:44 +08:00
Chi Song a66cce8f4f unittest move to selftests folder 2021-08-06 14:38:24 -07:00