Class AlibabaCloudSnitch

  • All Implemented Interfaces:
    IEndpointSnitch

    public class AlibabaCloudSnitch
    extends AbstractNetworkTopologySnitch
    A snitch that assumes an ECS region is a DC and an ECS availability_zone is a rack. This information is available in the config for the node. the format of the zone-id is like :cn-hangzhou-a where cn means china, hangzhou means the hangzhou region, a means the az id. We use cn-hangzhou as the dc, and f as the zone-id.