|
__init__(self,
id,
title=None)
Init OSComponent and set _ipAddresses to an empty list. |
source code
|
|
|
viewName(self)
Use the unmagled interface name for display |
source code
|
|
|
primarySortKey(self)
Use the unmagled interface name for display |
source code
|
|
|
|
|
_setPropValue(self,
id,
value)
Override from PerpertyManager to handle checks and ip creation |
source code
|
|
|
index_object(self,
idxs=None)
Override the default so that links are indexed. |
source code
|
|
|
unindex_object(self)
Override the default so that links are unindexed. |
source code
|
|
|
|
|
manage_editProperties(self,
REQUEST)
Override from propertiyManager so we can trap errors |
source code
|
|
|
__getattr__(self,
name)
Allow access to ipAddresses via the ips attribute |
source code
|
|
|
_prepIp(self,
ip,
netmask=24)
Split ips in the format 1.1.1.1/24 into ip and netmask. |
source code
|
|
|
addIpAddress(self,
ip,
netmask=24)
Add an ip to the ipaddresses relationship on this interface. |
source code
|
|
|
|
|
clearIps(self,
ips)
If no IPs are sent remove all in the relation |
source code
|
|
|
|
|
removeIpAddress(self,
ip)
Remove an ipaddress from this interface. |
source code
|
|
|
getIp(self)
Return the first ip for this interface in the form: 1.1.1.1. |
source code
|
|
|
getIpSortKey(self)
Return the IP address as an integter for sorting purposes. |
source code
|
|
|
getIpAddress(self)
Return the first IP address with its netmask ie: 1.1.1.1/24. |
source code
|
|
|
getIpAddressObj(self)
Return the first real IP address object or None if none are found. |
source code
|
|
|
getIpAddressObjs(self)
Return a list of the ip objects on this interface. |
source code
|
|
|
getIpAddresses(self)
Return list of ip addresses as strings in the form 1.1.1.1/24. |
source code
|
|
|
getNetwork(self)
Return the network for the first ip on this interface. |
source code
|
|
|
getNetworkName(self)
Return the network name for the first ip on this interface. |
source code
|
|
|
getNetworkLink(self)
Return the network link for the first ip on this interface. |
source code
|
|
|
getNetworkLinks(self)
Return a list of network links for each ip in this interface. |
source code
|
|
|
getInterfaceName(self)
Return the name of this interface. |
source code
|
|
|
getInterfaceMacaddress(self)
Return the mac address of this interface. |
source code
|
|
|
getRRDTemplateName(self)
Return the interface type as the target type name. |
source code
|
|
|
|
|
snmpIgnore(self)
Ignore interface that are administratively down. |
source code
|
|
|
|
|
getAdminStatusString(self)
Return the current administrative state of the interface converted to
its string version. |
source code
|
|
|
|
|
getOperStatusString(self)
Return the current operational state of the interface converted to
its string version. |
source code
|
|
|
|
|
niceSpeed(self)
Return a string that expresses self.speed in reasonable units. |
source code
|
|
|
|
|
|
|
|
|
niceDuplex(self)
Return a string that expresses self.duplex into human readable
format. |
source code
|
|
Inherited from OSComponent.OSComponent :
device ,
getPrettyLink ,
isUserCreated ,
manage_updateComponent ,
setUserCreateFlag
Inherited from DeviceComponent.DeviceComponent :
filterAutomaticCreation ,
getAqProperty ,
getClassObject ,
getCollectors ,
getIconPath ,
getInstDescription ,
getManageIp ,
getNagiosTemplate ,
getParentDeviceName ,
getParentDeviceTitle ,
getParentDeviceUrl ,
getRRDContextData ,
getStatusString ,
getSubComponentsNoIndexGen ,
hostname ,
monitored ,
setAqProperty
Inherited from Lockable.Lockable :
getNextLockableParent ,
isLockedFromDeletion ,
isLockedFromUpdates ,
isUnlocked ,
lockFromDeletion ,
lockFromUpdates ,
lockStatus ,
lockWarning ,
sendEventWhenBlocked ,
setSendEventWhenBlockedFlag ,
unlock ,
unsetSendEventWhenBlockedFlag
Inherited from Linkable.Linkable :
index_links ,
unindex_links
|
|
meta_type = 'IpInterface'
|
|
portal_type = 'IpInterface'
|
|
manage_editIpInterfaceForm = DTMLFile('dtml/manageEditIpInterf...
|
|
ifindex = '0'
|
|
interfaceName = ''
|
|
macaddress = ""
|
|
type = ""
|
|
description = ""
|
|
mtu = 0
|
|
speed = 0
|
|
adminStatus = 0
|
|
operStatus = 0
|
|
duplex = 0
|
|
_ipAddresses = []
|
|
_properties = OSComponent._properties+({'id': 'ips', 'type': '...
|
|
_relations = OSComponent._relations+(("os", ToOne(ToManyCont, ...
|
|
zNoPropertiesCopy = 'ips', 'macaddress'
|
|
localipcheck = re.compile(r'^127.|^0.|^::1$|^fe80:').search
|
|
localintcheck = re.compile(r'^lo0').search
|
|
defaultIgnoreTypes = 'Other', 'softwareLoopback', 'CATV MAC La...
|
|
factory_type_information = {'id': 'IpInterface', 'meta_type': ...
|
|
security = ClassSecurityInfo()
|
Inherited from OSComponent.OSComponent :
isUserCreatedFlag
Inherited from DeviceComponent.DeviceComponent :
__pychecker__ ,
collectors ,
default_catalog ,
event_key ,
perfmonInstance
Inherited from Lockable.Lockable :
modelerLock ,
sendEventWhenBlockedFlag
Inherited from Linkable.Layer2Linkable :
link_catalog
|