You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b735a3b
Browse filesBrowse the repository at this point in the historyBrowse files
<emclass="property">class </em><codeclass="descclassname">cassandra.policies.</code><codeclass="descname">EC2MultiRegionTranslator</code><aclass="reference internal" href="../../_modules/cassandra/policies.html#EC2MultiRegionTranslator"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#cassandra.policies.EC2MultiRegionTranslator" title="Permalink to this definition">¶</a></dt>
281
+
<dd><p>Resolves private ips of the hosts in the same datacenter as the client, and public ips of hosts in other datacenters.</p>
<codeclass="descname">translate</code><spanclass="sig-paren">(</span><em>addr</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../../_modules/cassandra/policies.html#EC2MultiRegionTranslator.translate"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#cassandra.policies.EC2MultiRegionTranslator.translate" title="Permalink to this definition">¶</a></dt>
285
+
<dd><p>Reverse DNS the public broadcast_address, then lookup that hostname to get the AWS-resolved IP, which
286
+
will point to the private IP address within the same datacenter.</p>
Copy file name to clipboardExpand all lines: genindex.html
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1016,6 +1016,10 @@ <h2 id="E">E</h2>
1016
1016
</dt>
1017
1017
1018
1018
1019
+
<dt><ahref="api/cassandra/policies.html#cassandra.policies.EC2MultiRegionTranslator">EC2MultiRegionTranslator (class in cassandra.policies)</a>
1020
+
</dt>
1021
+
1022
+
1019
1023
<dt><ahref="api/cassandra/protocol.html#cassandra.protocol._ProtocolHandler.encode_message">encode_message() (cassandra.protocol._ProtocolHandler class method)</a>
1020
1024
</dt>
1021
1025
@@ -1053,6 +1057,8 @@ <h2 id="E">E</h2>
1053
1057
<dt><ahref="api/cassandra/cluster.html#cassandra.cluster.EXEC_PROFILE_DEFAULT">EXEC_PROFILE_DEFAULT (in module cassandra.cluster)</a>
0 commit comments