Some code to test topology clustering in a clockstar-like framework