Refactor: fencer: use an enum for topology level kind
The previous integer implementation was difficult to follow