Package ZenModel :: Module IpAddress
[hide private]
[frames] | no frames]

Module IpAddress

source code

IpAddress

IpAddress represents a device residing on an IP network.

$Id: IpAddress.py,v 1.42 2004/04/15 00:54:14 edahl Exp $


Version: 1.42

Classes [hide private]
  IpAddress
IpAddress object
Functions [hide private]
 
manage_addIpAddress(context, id, netmask=24, REQUEST=None)
make a IpAddress
source code
 
findIpAddress(context, ip)
find an ip from base.
source code
 
isip(...)
search(string[, pos[, endpos]]) --> match object or None.
source code
Variables [hide private]
  __doc__ = """IpAddr...
  log = logging.getLogger("zen.IpAddress")
  addIpAddress = DTMLFile('dtml/addIpAddress', globals())
  RELMETATYPES = ('ToOneRelationship', 'ToManyContRelationship',...
Function Details [hide private]

findIpAddress(context, ip)

source code 
find an ip from base. base should be Networks root found through aq

isip(...)

source code 
search(string[, pos[, endpos]]) --> match object or None. Scan through string looking for a match, and return a corresponding MatchObject instance. Return None if no position in the string matches.

Variables Details [hide private]

__doc__

Value:
"""IpAddress

IpAddress represents a device residing on an IP network.

$Id: IpAddress.py,v 1.42 2004/04/15 00:54:14 edahl Exp $"""

RELMETATYPES

Value:
('ToOneRelationship', 'ToManyContRelationship', 'ToManyRelationship')