def add_node(self, node):
self.nodes.append(node)<EOL>for x in xrange(self.replicas):<EOL><INDENT>ring_key = self.hash_method(b("<STR_LIT>" % (node, x)))<EOL>self.ring[ring_key] = node<EOL>self.sorted_keys.append(ring_key)<EOL><DEDENT>self.sorted_keys.sort()<EOL>
Adds a `node` to the hash ring (including a number of replicas).