summaryrefslogtreecommitdiff
path: root/docs/api/netaddr.strategy.IPv4StrategyStd-class.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api/netaddr.strategy.IPv4StrategyStd-class.html')
-rw-r--r--docs/api/netaddr.strategy.IPv4StrategyStd-class.html42
1 files changed, 32 insertions, 10 deletions
diff --git a/docs/api/netaddr.strategy.IPv4StrategyStd-class.html b/docs/api/netaddr.strategy.IPv4StrategyStd-class.html
index 16d0222..ed496d4 100644
--- a/docs/api/netaddr.strategy.IPv4StrategyStd-class.html
+++ b/docs/api/netaddr.strategy.IPv4StrategyStd-class.html
@@ -137,23 +137,18 @@
<p class="indent-wrapped-lines"><b>Inherited from <code><a href="netaddr.strategy.AddrStrategy-class.html">AddrStrategy</a></code></b>:
<code><a href="netaddr.strategy.AddrStrategy-class.html#__repr__">__repr__</a></code>,
<code><a href="netaddr.strategy.AddrStrategy-class.html#bits_to_int">bits_to_int</a></code>,
- <code><a href="netaddr.strategy.AddrStrategy-class.html#bits_to_str">bits_to_str</a></code>,
- <code><a href="netaddr.strategy.AddrStrategy-class.html#bits_to_words">bits_to_words</a></code>,
- <code><a href="netaddr.strategy.AddrStrategy-class.html#description">description</a></code>,
+ <code><a href="netaddr.strategy.AddrStrategy-class.html#int_to_bin">int_to_bin</a></code>,
<code><a href="netaddr.strategy.AddrStrategy-class.html#int_to_bits">int_to_bits</a></code>,
+ <code><a href="netaddr.strategy.AddrStrategy-class.html#int_to_packed">int_to_packed</a></code>,
<code><a href="netaddr.strategy.AddrStrategy-class.html#int_to_str">int_to_str</a></code>,
<code><a href="netaddr.strategy.AddrStrategy-class.html#int_to_words">int_to_words</a></code>,
- <code><a href="netaddr.strategy.AddrStrategy-class.html#str_to_bits">str_to_bits</a></code>,
+ <code><a href="netaddr.strategy.AddrStrategy-class.html#packed_to_int">packed_to_int</a></code>,
<code><a href="netaddr.strategy.AddrStrategy-class.html#str_to_int">str_to_int</a></code>,
- <code><a href="netaddr.strategy.AddrStrategy-class.html#str_to_words">str_to_words</a></code>,
<code><a href="netaddr.strategy.AddrStrategy-class.html#valid_bits">valid_bits</a></code>,
<code><a href="netaddr.strategy.AddrStrategy-class.html#valid_int">valid_int</a></code>,
<code><a href="netaddr.strategy.AddrStrategy-class.html#valid_str">valid_str</a></code>,
<code><a href="netaddr.strategy.AddrStrategy-class.html#valid_words">valid_words</a></code>,
- <code><a href="netaddr.strategy.AddrStrategy-class.html#word_to_bits">word_to_bits</a></code>,
- <code><a href="netaddr.strategy.AddrStrategy-class.html#words_to_bits">words_to_bits</a></code>,
- <code><a href="netaddr.strategy.AddrStrategy-class.html#words_to_int">words_to_int</a></code>,
- <code><a href="netaddr.strategy.AddrStrategy-class.html#words_to_str">words_to_str</a></code>
+ <code><a href="netaddr.strategy.AddrStrategy-class.html#words_to_int">words_to_int</a></code>
</p>
<p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
<code>__delattr__</code>,
@@ -168,6 +163,22 @@
</td>
</tr>
</table>
+<!-- ==================== CLASS VARIABLES ==================== -->
+<a name="section-ClassVariables"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td align="left" colspan="2" class="table-header">
+ <span class="table-header">Class Variables</span></td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="netaddr.strategy.AddrStrategy-class.html">AddrStrategy</a></code></b>:
+ <code><a href="netaddr.strategy.AddrStrategy-class.html#STRUCT_FORMATS">STRUCT_FORMATS</a></code>
+ </p>
+ </td>
+ </tr>
+</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
@@ -210,6 +221,17 @@
<p>Constructor.</p>
<dl class="fields">
+ <dt>Parameters:</dt>
+ <dd><ul class="nomargin-top">
+ <li><strong class="pname"><code>width</code></strong> - size of address in bits. (e.g. 32 - IPv4, 48 - MAC, 128 - IPv6)</li>
+ <li><strong class="pname"><code>word_size</code></strong> - size of each word. (e.g. 8 - octets, 16 - hextets)</li>
+ <li><strong class="pname"><code>word_sep</code></strong> - separator between each word. (e.g. '.' - IPv4, ':' - IPv6, '-' -
+ EUI-48)</li>
+ <li><strong class="pname"><code>word_fmt</code></strong> - format string for each word. (Default: '%x')</li>
+ <li><strong class="pname"><code>addr_type</code></strong> - address type. (Default: AT_UNSPEC)</li>
+ <li><strong class="pname"><code>word_base</code></strong> - number base used to convert each word using int(). (Default: 16)</li>
+ <li><strong class="pname"><code>uppercase</code></strong> - uppercase address. (Default: False)</li>
+ </ul></dd>
<dt>Overrides:
object.__init__
</dt>
@@ -275,7 +297,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Mon Sep 29 23:23:24 2008
+ Generated by Epydoc 3.0.1 on Wed Jan 21 01:00:23 2009
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"