public interface LinkdConfig
LinkdConfig interface.
Modifier and Type | Method and Description |
---|---|
boolean |
enableDiscoveryDownload()
enableDiscoveryDownload
|
Enumeration<Package> |
enumeratePackage()
enumeratePackage
|
boolean |
forceIpRouteDiscoveryOnEthernet() |
List<String> |
getAllPackageMatches(InetAddress ipAddr)
Returns true if the IP is part of at least one package.
|
LinkdConfiguration |
getConfiguration()
getConfiguration
|
String |
getDefaultIpRouteClassName() |
long |
getDiscoveryLinkInterval()
getDiscoveryLinkInterval
|
Package |
getFirstPackageMatch(InetAddress ipaddr)
Returns the first package that the ip belongs to, null if none.
|
long |
getInitialSleepTime()
getInitialSleepTime
|
List<InetAddress> |
getIpList(Package pkg)
Determine the list of IPs the filter rule for this package allows
|
String |
getIpRouteClassName(String sysoid) |
Package |
getPackage(String pkgName)
getPackage
|
Lock |
getReadLock() |
long |
getSnmpPollInterval()
getSnmpPollInterval
|
int |
getThreads()
getThreads
|
String |
getVlanClassName(String sysoid)
getVlanClassName
|
Lock |
getWriteLock() |
boolean |
hasClassName(String sysoid)
hasClassName
|
boolean |
hasIpRouteClassName(String sysoid) |
boolean |
isAutoDiscoveryEnabled() |
boolean |
isInterfaceInPackage(InetAddress iface,
Package pkg)
This method is used to determine if the named interface is included in
the passed package definition.
|
boolean |
isInterfaceInPackageRange(InetAddress iface,
Package pkg)
This method is used to determine if the named interface is included in
the passed package definition.
|
boolean |
isVlanDiscoveryEnabled() |
void |
save()
save
|
boolean |
saveRouteTable()
saveRouteTable
|
boolean |
saveStpInterfaceTable()
saveStpInterfaceTable
|
boolean |
saveStpNodeTable()
saveStpNodeTable
|
void |
update()
update
|
void |
updatePackageIpListMap()
createPackageIpListMap
|
boolean |
useBridgeDiscovery()
useBridgeDiscovery
|
boolean |
useCdpDiscovery()
useCdpDiscovery
|
boolean |
useIpRouteDiscovery()
useIpRouteDiscovery
|
List<InetAddress> getIpList(Package pkg)
boolean isInterfaceInPackage(InetAddress iface, Package pkg)
iface
- The interface to test against the package.pkg
- The package to check for the inclusion of the interface.boolean isInterfaceInPackageRange(InetAddress iface, Package pkg)
iface
- The interface to test against the package.pkg
- The package to check for the inclusion of the interface.Package getFirstPackageMatch(InetAddress ipaddr)
ipaddr
- the interface to checkList<String> getAllPackageMatches(InetAddress ipAddr)
ipAddr
- a String
object.boolean isAutoDiscoveryEnabled()
boolean isVlanDiscoveryEnabled()
Enumeration<Package> enumeratePackage()
enumeratePackage
Enumeration
object.int getThreads()
getThreads
boolean enableDiscoveryDownload()
enableDiscoveryDownload
boolean useIpRouteDiscovery()
useIpRouteDiscovery
boolean forceIpRouteDiscoveryOnEthernet()
boolean saveRouteTable()
saveRouteTable
boolean useCdpDiscovery()
useCdpDiscovery
boolean useBridgeDiscovery()
useBridgeDiscovery
boolean saveStpNodeTable()
saveStpNodeTable
boolean saveStpInterfaceTable()
saveStpInterfaceTable
long getInitialSleepTime()
getInitialSleepTime
long getSnmpPollInterval()
getSnmpPollInterval
long getDiscoveryLinkInterval()
getDiscoveryLinkInterval
void update() throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
update
IOException
- if any.org.exolab.castor.xml.MarshalException
- if any.org.exolab.castor.xml.ValidationException
- if any.void save() throws org.exolab.castor.xml.MarshalException, IOException, org.exolab.castor.xml.ValidationException
save
org.exolab.castor.xml.MarshalException
- if any.IOException
- if any.org.exolab.castor.xml.ValidationException
- if any.LinkdConfiguration getConfiguration()
getConfiguration
LinkdConfiguration
object.void updatePackageIpListMap()
createPackageIpListMap
boolean hasClassName(String sysoid)
hasClassName
sysoid
- a String
object.Lock getReadLock()
Lock getWriteLock()
boolean hasIpRouteClassName(String sysoid)
String getDefaultIpRouteClassName()
Copyright © 2015. All Rights Reserved.