| Home | Trees | Indices | Help |
|
|---|
|
|
Version: $Id$
|
|||
parser = OptionParser()
|
|||
config = ConfigParser.ConfigParser()
|
|||
IP4outbound = config.get('engine', 'IP4outbound')
|
|||
IP4inbound = config.get('engine', 'IP4inbound')
|
|||
netManagement = IP4outbound.split(',')
|
|||
netStations = IP4inbound.split(',')
|
|||
lines = read_cfg(options.configurationFile)
|
|||
MgmtPlane = metrics()
|
|||
CtrlPlane = CPmetrics()
|
|||
DataPlane = DPmetrics()
|
|||
interfaces = IFSmetrics()
|
|||
AclsV4 = ACLV4metrics()
|
|||
AclsV6 = ACLV6metrics()
|
|||
ifaceCfg = populate_ifaces(lines, interfaces)
|
|||
aclIPv4 = populate_acl_v4(lines, AclsV4)
|
|||
aclIPv6 = populate_acl_v6(lines, AclsV6)
|
|||
CdpProtocol = MgmtPlane.add('cdp')
|
|||
LldpProtocol = MgmtPlane.add('lldp')
|
|||
icmpUnreachable = CtrlPlane.add('icmpunreach')
|
|||
proxyArp = CtrlPlane.add('proxyarp')
|
|||
bannerMotd = parse_motd(lines)
|
|||
bannerLogin = parse_login_banner(lines)
|
|||
bannerExec = parse_exec_banner(lines)
|
|||
consoleCfg = parse_console(lines)
|
|||
auxCfg = parse_aux(lines)
|
|||
vtyCfg = parse_vty(lines)
|
|||
mode = 'Accounting'
|
|||
icmpRedirects = DataPlane.add('icmpredirects')
|
|||
output = {'stdout': lambda: stdout_report(genericCfg, MgmtPlan
|
|||
|
|||
output
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Jan 21 12:40:09 2012 | http://epydoc.sourceforge.net |