Skip to main content

SCS Standard Flavors: Implementation and Testing Notes

Operational tooling

The openstack-flavor-manager is able to create all standard, mandatory as well as recommended SCS flavors for you. It now has a --limit-memory (defaulting to 32 GiB) to skip the creation of recommended flavors above this memory limit.

You can generate input for it using the tool flavor-manager-input.py.

Automated tests

We implemented a set of testcases corresponding 1:1 to the standard flavors:

  • scs-0103-flavor-X with varying X: ensures that flavor SCS-X is present and has the required extra_specs.

NOTE: We still need to add testcases to ensure that the extra_specs of non-standard flavors are correct as well.

The testcases can be run using the script openstack_test.py.