Home | Trees | Indices | Help |
|
---|
|
Use this to check for a valid ipv4, ipv6 or hostname string. Examples: HostIpCheck('1.1.1.1').is_ipv4() -- check for valid ipv4 .is_ipv6() -- check for valid ipv6 .is_hostname() -- check for valid hostname .is_valid() -- check for valid hostname or ip .is_ipaddress() -- check for valid ip address
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Static Methods | |||
|
|||
|
|||
|
|||
|
|||
string
|
|
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Convert a bit length to a dotted netmask (aka. CIDR to netmask) |
Convert an IPv6 prefix length to string representation. Example: >>> len2mask6(64) 'ffff:ffff:ffff:ffff:0000:0000:0000:0000' >>>
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Aug 18 09:17:27 2014 | http://epydoc.sourceforge.net |