|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LinkdConfig
LinkdConfig interface.
| Method Summary | |
|---|---|
boolean |
autoDiscovery()
autoDiscovery |
void |
createPackageIpListMap()
createPackageIpListMap |
boolean |
enableDiscoveryDownload()
enableDiscoveryDownload |
boolean |
enableVlanDiscovery()
enableVlanDiscovery |
Enumeration<Package> |
enumeratePackage()
enumeratePackage |
boolean |
forceIpRouteDiscoveryOnEthernet()
|
List<String> |
getAllPackageMatches(String ipAddr)
Returns true if the ip is part of atleast one package. |
LinkdConfiguration |
getConfiguration()
getConfiguration |
String |
getDefaultIpRouteClassName()
|
long |
getDiscoveryLinkInterval()
getDiscoveryLinkInterval |
Package |
getFirstPackageMatch(String ipaddr)
Returns the first package that the ip belongs to, null if none. |
long |
getInitialSleepTime()
getInitialSleepTime |
List<String> |
getIpList(Package pkg)
Determine the list of IPs the filter rule for this package allows |
String |
getIpRouteClassName(String sysoid)
|
Package |
getPackage(String pkgName)
getPackage |
long |
getSnmpPollInterval()
getSnmpPollInterval |
int |
getThreads()
getThreads |
String |
getVlanClassName(String sysoid)
getVlanClassName |
boolean |
hasClassName(String sysoid)
hasClassName |
boolean |
hasIpRouteClassName(String sysoid)
|
boolean |
interfaceInPackage(String iface,
Package pkg)
This method is used to determine if the named interface is included in the passed package definition. |
boolean |
interfaceInPackageRange(String iface,
Package pkg)
This method is used to determine if the named interface is included in the passed package definition. |
void |
save()
save |
boolean |
saveRouteTable()
saveRouteTable |
boolean |
saveStpInterfaceTable()
saveStpInterfaceTable |
boolean |
saveStpNodeTable()
saveStpNodeTable |
void |
update()
update |
boolean |
useBridgeDiscovery()
useBridgeDiscovery |
boolean |
useCdpDiscovery()
useCdpDiscovery |
boolean |
useIpRouteDiscovery()
useIpRouteDiscovery |
| Method Detail |
|---|
List<String> getIpList(Package pkg)
pkg - a Package object.
List object.
boolean interfaceInPackage(String iface,
Package pkg)
iface - The interface to test against the package.pkg - The package to check for the inclusion of the interface.
boolean interfaceInPackageRange(String iface,
Package pkg)
iface - The interface to test against the package.pkg - The package to check for the inclusion of the interface.
Package getFirstPackageMatch(String ipaddr)
ipaddr - the interface to check
List<String> getAllPackageMatches(String ipAddr)
ipAddr - a String object.
Enumeration<Package> enumeratePackage()
enumeratePackage
Enumeration object.Package getPackage(String pkgName)
getPackage
pkgName - a String object.
Package object.int getThreads()
getThreads
boolean enableDiscoveryDownload()
enableDiscoveryDownload
boolean forceIpRouteDiscoveryOnEthernet()
boolean useIpRouteDiscovery()
useIpRouteDiscovery
boolean saveRouteTable()
saveRouteTable
boolean useCdpDiscovery()
useCdpDiscovery
boolean useBridgeDiscovery()
useBridgeDiscovery
boolean saveStpNodeTable()
saveStpNodeTable
boolean saveStpInterfaceTable()
saveStpInterfaceTable
long getInitialSleepTime()
getInitialSleepTime
long getSnmpPollInterval()
getSnmpPollInterval
long getDiscoveryLinkInterval()
getDiscoveryLinkInterval
boolean autoDiscovery()
autoDiscovery
boolean enableVlanDiscovery()
enableVlanDiscovery
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 createPackageIpListMap()
createPackageIpListMap
String getVlanClassName(String sysoid)
getVlanClassName
sysoid - a String object.
String object.boolean hasClassName(String sysoid)
hasClassName
sysoid - a String object.
boolean hasIpRouteClassName(String sysoid)
String getIpRouteClassName(String sysoid)
String getDefaultIpRouteClassName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||