The ceilometer.hacking.checks ModuleΒΆ

Guidelines for writing new hacking checks

  • Use only for Ceilometer specific tests. OpenStack general tests should be submitted to the common ‘hacking’ module.
  • Pick numbers in the range C3xx. Find the current test with the highest allocated number and then pick the next value.
  • Keep the test method code in the source file ordered based on the C3xx value.
  • List the new rule in the top level HACKING.rst file
  • Add test cases for each new rule to ceilometer/tests/test_hacking.py

Previous topic

The ceilometer.openstack.common._i18n Module

Next topic

The ceilometer.hacking Module

This Page