RackInferringSnitch

The RackInferringSnitch determines the location of nodes by rack and data center.

The RackInferringSnitch determines the location of nodes by rack and data center, which are assumed to correspond to the 3rd and 2nd octet of the node's IP address, respectively. Use this snitch as an example of writing a custom Snitch class.