3.2 KiB
3.2 KiB
System Inventory/Host Ops
sysinv_ho_01
- Test ID
-
sysinv_ho_01
- Test Title
-
export hosts information using host-bulk-export cli
- Tags
-
sysinv
Testcase Objective
Export the information of current hosts using cli
Test Pre-Conditions
N/A
Test Steps
- Authenticate with platform keystone
- export the hosts information using
system host-bulk-export –filename <hosts-file-name>
Expected Behavior
- <host-file-name> is generated containing the information of all hosts in the current configuration
References
N/A
sysinv_ho_02
- Test ID
-
sysinv_ho_02
- Test Title
-
host operations (bulk-add; list; show; delete) in parallel on multiple hosts
- Tags
-
sysinv
Testcase Objective
host operations (bulk-add, list, show, delete) in parallel on multiple hosts
Test Pre-Conditions
N/A
Test Steps
- Add multiple hosts using controller-0 (up to the max. limit e.g. currently 50)
system host-bulk-add <host-file.xml>
- Connected to controller-1, delete hosts at the same time
system host-delete host1
system host-delete host2
- repeat 1 and 2
Expected Behavior
- verify the hosts are added without errors
- the hosts are deleted without errors
- verify the operations are successfully executed
References
N/A
sysinv_ho_03
- Test ID
-
sysinv_ho_03
- Test Title
-
Test BMC functionality
- Tags
-
sysinv
Testcase Objective
Test BMC functionality (host-reset; power-on;power-off) - requires BMC network on management VLAN
Test Pre-Conditions
BMC must be configured with its statick IP address, using BMC tools. BMC should be reachable from controllers.
Test Steps
- Configure BMC on controller-1 (assuming is the stand-by controller)
- Login to platform Horizon
- Go to Admin / Platform / Host Inventory, "Hosts" tab
- click on "Edit host", then Board Management, and fill it out with the BMC info.
- Verify Power off / on works as expected
- Lock controller-1
system host-lock controller-1
- turn it down
system host-power-off controller-1
- Wait until it's off
- turn it on
system host-power-on controller-1
- Verify reset works
- Send the reset signal
system host-reset controller-1
- wait until it becomes 'online'
- Unlock the controller
system host-unlock controller-1
Expected Behavior
BMC is configured and reachable from controller-0
node powers off, then on
Node reboots
Check alarms are raised and cleared as expected
References
N/A