Appendix A: MIMIC Directory Hierarchy

Overview

The MIMIC distribution directory hierarchy has the following layout:


bin/ ............................ OS-specific executables (symbolic link on Unix)
     dynamic/ ................... dynamically loadable protocol modules
     mimicd ..................... MIMIC SNMP Agent Simulator daemon
     mimiccom ................... MIMIC Compiler
     mimicrec ................... MIMIC Recorder
     mimicview .................. MIMICView GUI front-end
     execlog .................... MIMIC log window
     mimicsh .................... MIMICShell
     mib2walk ................... Walkfile template generator
     oidinfo .................... MIB object information tool
     tcl/ ....................... Tcl/Tk files for Tcl-based MIMIC clients
     trapper .................... Trap Recorder
     etc.
bitmaps/ ........................ Bitmaps for MIMIC clients (MIMICView, etc)
     3Com ....................... (one per type of device)
     FORE
     etc. ....................... (You can add your own)
common/ ......................... Common OS-independent scripts
     hpov.csh ................... HP OpenView walkfile conversion
     etc.
config/ ......................... MIMIC configuration files
     *.lic ...................... License file per tool
     acl.conf ................... SNMPv2 access control configuration file
     admin/ ..................... MIMIC administrative configuration files
     agents/ .................... MIMIC lab configuration files
         OLD/ ................... old versioned lab configuration files
     context.conf ............... SNMPv2 context configuration file
     [debug.cfg] ................ Optional debugging configuration
     dev.cfg .................... MIMIC device simulation configuration (obsoleted)
     devices .................... MIMIC device category database
     execlog.cfg ................ Log viewer configuration
     filters.cfg ................ filters for walkfile converter
     gui.cfg .................... MIMICView GUI configuration
     iosdisc.cfg ................ IOS Discovery program configuration
     iosrec.cfg ................. IOS Recorder program configuration
     java.cfg ................... Java configuration
     mibequiv.db ................ MIB equivalences database
     mimiccom.types ............. MIMIC Compiler internal types
     [mimicd.cfg] ............... Optional MIMIC Simulator configuration
     mimicview.cfg .............. MIMICView configuration
     party.conf ................. SNMPv2 party configuration file
     persist.cfg ................ MIMICView persistency configuration
     timerscripts.cfg ........... timerscript configuration
     traps.cfg .................. MIMIC global trap destinations
     version .................... MIMIC version
     view.conf .................. SNMPv2 view configuration file
     v3*.conf ................... SNMPv3 security configuration
     vlab/ ...................... Virtual Lab configuration files
cpp/ ............................ C++ API
     inc/ ....................... header files
     lib/ ....................... library files
     src/ ....................... source files
data/ ........................... MIMIC data files
     discovery/ ................. Discovery Wizard data files
     mibs/
         mimic.dir .............. MIB directory
         *.db, *.typ ............ Compiled MIB files
         3com/ .................. Enterprise-specific MIB files
         ascend/ ................ (Each in its own subdirectory)
         etc.
     sim/
         <SIMULATION>/ .......... Per-simulation directories
         dev.cfg ................ device configuration file
         *.mtcl ................. action scripts
              <MIB>*/ ........... Compiled simulation files per MIB
                   *.sdb ........ Simulation data base files
                   *.idb ........ Index data base files
                   etc.
                   <SCENARIO>/ .. Per-scenario directories
                       *.tab .... Table files
                       *.var .... Variable files
                       etc.
     snapshots/ ................. Snapshot Wizard data files
     traps/ ..................... Trap Wizard data files
help/ ........................... MIMIC online documentation
     mimic.htm .................. main page
     etc.
java/ ........................... Java-based tools
     Apache-Oro/ ................ Topology Editor related classes
     JGo/ ....................... same
     TopEd/ ..................... same
     Utils/ ..................... same
     Mimic/ ..................... MIMIC API classes
     applet/ .................... applet source code
     test/ ...................... test client /w source code
     *.class, *.html ............ applet /w web page
     vlab/ ...................... Virtual Lab client
     webui/ ..................... WEBUI
     etc.
lib/ ............................ libraries for Tcl-based clients
linux/ .......................... Linux-specific executables
     etc.
mibs/ ........................... MIB source files
     rfc1213.mib ................ RFC MIBs in top directory
     etc. ....................... Other standard MIB source files
     3com/ ...................... Enterprise-specific MIB files
     ascend/ .................... (Each in its own subdirectory)
     bay/
     cabletron/
     cisco/
     dec/
     hp/
     shiva/
     etc.
packages/ ....................... MIMIC package for Tcl-based shells
perl/ ........................... Perl API
php/ ............................ PHP API
python/ ......................... Python API
scripts/ ........................ MIMICshell script files, action scripts, IOS rule scripts
     bin/ ....................... dynamically loadable action scripts
     exercise/ .................. Virtual Lab exercises
     mqtt/ ...................... MQTT protocol module scripts
     netflow/ ................... NETFLOW protocol module scripts
     telnet/ .................... Telnet protocol module scripts
     vlabs/ ..................... Virtual Lab scripts
     web/ ....................... WEB protocol module scripts
sim/ ............................ Per-simulation directories
     <SIMULATION>/ .............. Source files for <SIMULATION>
         <MIB>.sim .............. Simulation source file per MIB
         etc.
     etc. ....................... Other simulations
snapshots/ ...................... snapshots created by Snapshot Wizard
solaris/ ........................ Solaris-specific executables
     etc.
traps/ .......................... trap series created by Trap Wizard