config/sysinv/sysinv/sysinv/sysinv/tests/api
Davi Frossard 6d4e2681a0 Merge sysinv_fpga_agent with sysinv_agent
Merging sysinv-fpga-agent service with sysinv-agent
in order to reduce overall OS overhead.

Replaced calls "wait_for_n3000_reset()" and "wait_for_host_uuid()" in
previous fpga-agent-manager by checks that ensure fpga devices are
reset and host_uuid is available in agent-manager. Also, the content of
"fpga_pci_update()" and "report_fpga_inventory()" methods is directly
inserted in the body of "agent_audit()" method.

Test Plan:

On AIO-DX env (CentOS):
<sysinv-fpga-agent tests>
PASS: Check FPGA pod and its resources.
PASS: Check FPGA pod and its resources after lock/unlock.
PASS: Check FPGA pod and its resources after the system reboot.
PASS: Verify image upload with non-functional image with
retimer-included
PASS: Verify retimer_a_version and retimer_b_version after applying
BMC image with re-timer and bmc
PASS: Verify firmware update for BMC and retimer image with
retimer-include=False
PASS: Verify apply BMC image without re-timer first and then BMC
image with re-timer, only latest image is kept in
device-image-state-list
PASS: Test accelerator configuration is persistent after lock/unlock.
PASS: Test to verify that the accelerator configuration is persistent
after a graceful reboot.

<sysinv-agent tests>
PASS: Verify alarms raised by PTP feature
PASS: Verify the configuration and run of single ptp-instance
PASS: Verify the configuration and run of single phc2sys
PASS: Verify PTP CLI commands

On AIO-SX env (Debian):
PASS: Check FPGA pod and its resources.
PASS: Check FPGA pod and its resources after lock/unlock.
PASS: Check FPGA pod and its resources after system reboot.
PASS: Check if FPGA device can be detected, configured.
PASS: Test accelerator configuration is persistent after lock/unlock.
PASS: Test to verify that the accelerator configuration is persistent
after graceful reboot.

Story: 2010087
Task: 45628

Signed-off-by: Davi Frossard <dbarrosf@windriver.com>
Change-Id: I83edd261898498344001ca90bb53a5f65e66728c
2022-10-03 14:12:28 -04:00
..
data rootca update upload cert API 2021-06-17 16:06:53 -03:00
__init__.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
base.py Deprecate old policy engine and restrict access 2022-08-10 11:18:38 -03:00
test_acl.py Adding pylint checking to the sysinv unit tests 2020-01-14 08:32:12 -06:00
test_address.py Fixed address interface foreign key inconsistency 2020-03-03 16:50:12 -05:00
test_base.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
test_certificate.py Temporary skip part of SAN certificates tests for DebianOS 2021-08-17 07:42:36 +00:00
test_controller_fs.py Fixed error responses in controller-fs 2020-02-19 15:06:02 -05:00
test_device.py Allow de-provisioning of FEC device 2022-04-06 06:02:42 -04:00
test_device_image.py Merge sysinv_fpga_agent with sysinv_agent 2022-10-03 14:12:28 -04:00
test_device_label.py Allow applying device image with non-device label 2020-07-28 11:27:28 -04:00
test_dns.py Forbid IPv4 DNS in an IPv6 OAM config 2020-02-06 10:27:04 -05:00
test_helm_charts.py Fix helm charts tests for DebianOS 2021-08-17 07:39:31 +00:00
test_host.py Prevent a new host to be added to AIO-SX 2022-06-22 13:12:04 -04:00
test_host_fs.py Add a new filesystem for image conversion 2020-04-29 09:52:35 +00:00
test_interface.py Fix VLAN verification for interface changes 2022-08-18 17:17:39 +00:00
test_interface_datanetwork.py Support data network assignment on an unlocked host 2021-02-02 07:52:28 -05:00
test_interface_network.py Clean up interface network assignment 2019-06-13 09:43:57 -04:00
test_kube_cluster.py Config API for Kubernetes cluster access information 2021-03-01 07:29:12 -06:00
test_kube_cmd_version.py sysinv: update constant name to be more accurate 2021-10-01 09:14:05 -06:00
test_kube_host_upgrade.py Skip storage nodes when listing per-host k8s upgrade info 2021-11-18 13:42:18 -06:00
test_kube_rootca_update.py k8s upgrade health: Check trident compatibility 2022-04-28 19:58:02 -04:00
test_kube_upgrade.py k8s upgrade health: Check trident compatibility 2022-04-28 19:58:02 -04:00
test_kube_version.py Allow recovery from failures during kubernetes upgrade 2019-12-11 14:30:50 -06:00
test_label.py Remove stx-monitor constants and logic 2020-07-28 08:30:35 -04:00
test_network.py Add RPCAPI calls to apply LDAP client and DNS runtime manifest 2021-04-27 11:21:54 -04:00
test_ntp.py Add unit test for NTP api 2020-01-23 10:54:06 -05:00
test_oamnetwork.py Add support for AIO-SX to DX migration on subcloud 2021-03-29 14:00:52 -04:00
test_partition.py sysinv: Add support for mpath device 2022-05-24 08:25:18 -04:00
test_ptp.py [PTP dual NIC config] Patching PTP configuration 2022-02-10 11:51:08 -03:00
test_ptp_instance.py Fix PTP parameter deletion error messages 2022-02-22 07:04:01 -05:00
test_ptp_instance_update.py Fix PTP parameter deletion error messages 2022-02-22 07:04:01 -05:00
test_ptp_interface.py Fix PTP parameter deletion error messages 2022-02-22 07:04:01 -05:00
test_ptp_parameter.py [PTP dual NIC config] Manage parameter life-cycle 2022-01-19 13:18:24 -03:00
test_pv.py Refactor unit test API example to use unit test mixins 2020-01-15 13:02:22 -06:00
test_root.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
test_route.py Disallow route config during upgrade states 2022-05-05 10:39:45 -04:00
test_sensorgroup.py Align API types with database types 2022-07-14 18:27:31 -03:00
test_service_parameters.py Configurable coredump parameters with validation 2022-05-10 14:00:58 -04:00
test_storage_backends.py Allow configurable ceph storage backend network 2021-05-07 14:31:39 +03:00
test_storage_tier.py sysinv-conductor review and cleanup existing RPCs 2022-08-24 14:10:06 -03:00
test_system.py Add validation of special chars on system values 2022-01-26 11:06:37 -03:00
test_upgrade.py Support passing an ignore alarm list to kube upgrade start API 2021-01-13 09:12:47 -06:00
utils.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00