2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2024-11-24 02:19:57 +00:00
3 Test Design of xcat inventory user case
xuweibj edited this page 2018-04-02 16:19:13 +08:00

Test Design of xcat-inventory user case

The reference document is xcat-inverntory man page

Scenario

Scenario 1

  • Define types of nodes first, export configuration to file “inventory_test.yaml”.

  • Modify inventory_test.yaml as below:

    • Add nodes (openbmc controlled PowerLE servers, IPMI controlled Power servers(commented out), X86_64 servers(commented out))
    • Delete nodes
    • Modify nodes' definition
    • Modify configuration of site or other table
  • Import configuration file (modified).

Scenario 2

  • Copy configuration template to file “inventory_test.yaml”.

  • Add all definition needed.(openbmc controlled PowerLE servers, IPMI controlled Power servers(commented out), X86_64 servers(commented out), PowerKVM based VM nodes, KVM based X86_64 VM nodes(commented out))

  • Import configuration file.

Test Steps:

  • Install xCAT

  • Install xcat-inventory

  • Export configuration or copy template to “inventory_test.yaml”.

  • Add/Modify/Delete configuration.

  • Import configuration file and check result.

Node types plan to test:

openbmc controlled PowerLE servers, IPMI controlled Power servers(commented out), X86_64 servers(commented out), PowerKVM based VM nodes, KVM based X86_64 VM nodes(commented out)

Table plan to test:

site openbmc passwd networks nics ...

Test result is recored in https://github.com/xcat2/xcat2-task-management/issues/28.