File Naming Conventions

Modeler looks for models in the model directories, which are listed in the “mod_dirs” preference. Within each model directory, models are stored as ASCII, binary data, or object code files, on a “one file per model” basis.

Versioning in File Names

Certain model files might be updated from one release to the next, so a version number (v<n>) is included in the file name. For example:

ams_aal1_conn_v3.pr.m

ams_support_v2.ex.c

Refer to the version number to verify that you are using the most recent version of a particular model. Version numbers might be included in the following file types:

  • process model files (.pro.m)
  • header files (.h)
  • packet format files (.pf.m)
  • ici format files (.ic.m)
  • external code files (.ex.c, .ex.h)

File Names for Compiled Code

Files that contain compiled code (such as object files) are specific to a particular kernel or machine architecture. Thus, the names of such files contain suffixes to characterize the code contained in the file. The format for a file name is

<file name>.<environment>.<architecture>.<file type>

The <environment>, <architecture>, <file type> suffixes are described in the following topics.

Environment Suffix

The file names for object files, repositories, and simulation executables include a suffix that identifies what kind of code the file contains. This suffix is used to prevent different compilation modes from overwriting one another’s files. The environment suffix appears before the architecture suffix, as in sink.mtdev32.i1.o.

Simulations

  • Sequential
    • Development: dev32, dev64
    • Optimized: opt32, opt64
  • Parallel
    • Development: mtdev32, mtdev64
    • Optimized: mtopt32, mtopt64

Graphical tools

  • gui32, gui64

Architecture Suffix

All model files are portable across different machine architectures. However, simulation executables, object code files, and simulation archives are specific to a given machine architecture.

Architectures are characterized by CPU type (which determines the object code format) and OS type (which determines the variations of library functions). The architecture suffix incorporates these data items in a two-character code, as follows:

<CPU_char><OS_number>

The following table lists the architecture suffixes:

Table 7: Architecture Suffixes

Suffix CPU Type Operating System Vendor
i0 Intel x86 or x86-64 Windows Microsoft
i1 Intel x86 or x86-64 Linux various

The architecture suffix is optional. It’s use is controlled by the “arch_suffix” preference. The following examples show the names of files created with arch_suffix set to both FALSE and TRUE.

Table 8:

arch_suffix = FALSE arch_suffix = TRUE
eth_mac.dev32.pr.obj
eth_net.opt32.sim
eth_mac.dev32.i0.pr.obj
eth_net.opt32.i1.sim

File Type Suffix

Modeler determines the type of each model file from a unique file name suffix associated with each type. A file type suffix comprises two parts:

<Riverbed type>.<OS type>

The OS type is a standard suffix used by the operating system, as follows:

Windows

  • Object files: .obj
  • Libraries: .dll

Linux

  • Object files: .o
  • Libraries: .so

The following table lists the defined Riverbed file types.

Table 9: Riverbed File Types

File Type Suffix Description Format
.ac Analysis Configuration binary data
.ace.f AppTransaction Xpert Filter Definition ASCII text
.ace.hm AppTransaction Xpert Host Mapping (obsolete) ASCII text
.ace.i AppTransaction Xpert Import Definition (obsolete) ASCII text
.ace.ic.txt AppTransaction Xpert Import Configuration Files ASCII text
.ace.mt.txt AppTransaction Xpert Multi-Transaction Report Settings ASCII text
.ace.qpb AppTransaction Xpert QuickPredict Bar Chart Templates ASCII text
.ace.qps AppTransaction Xpert QuickPredict Graph Templates ASCII text
.ace.rt.txt AppTransaction Xpert MS Word Report Settings ASCII text
.ace_dict AppTransaction Xpert Protocol Dictionary ASCII text
.ad.m Public Attribute Description binary data
.adt Application delay tracking data binary data
.aed.m Transaction Whiteboard file binary data
.af Automation Settings File binary data
.afldviz.xml Antenna Field Visualization XML
.agents ACE Agents files ASCII text
.ah Animation History binary data
.alias Alias Modifications ASCII text
.antn.so Antenna gain shared library
.as Animation Script ASCII text
.atc.m Application Task Characterization binary data
.bkg.i Background map Image binary data
.bmp BMP Image binary data
.bu_dict Background Utilization import dictionary ASCII data
.cds Cartographic Data Set binary data
.cml Custom Model List ASCII text
.csvᵛ Comma Separated Values Data File ASCII text
.da.c Design Action C code
.da.cpp Design Action C++ code
.da.d Design Action, derived binary data
.da.m Design Action binary data
.da.o Design Action object code
.da.so Design Action shared library
.demand.d Derived Demand Model binary data
.demand.m Demand Model binary data
.dict TIF Dictionary binary data
.edge Edge Devices Information ASCII text
.ef Environment File ASCII text
.el Iso-Line/Cartographic Data Set binary data
.em.c EMA C code C code form
.em.cpp EMA C++ code C++ code form
.em.o/.em.obj EMA code object code form
.em.x EMA Application executable form
.esd.m External System Definition Model binary data
.ets External Tool Support File ASCII text
.ets.c External Tool Support C code C code form
.ets.cpp External Tool Support C++ code C++ code form
.ets.o/.ets.obj External Tool Support object object code form
.ets.so External Tool Support shared library
.ex.c External C Code C code form
.ex.cpp External C++ Code C++ code form
.ex.h External Code Include File C/C++ header file
.ex.o/.ex.obj External Code object code form
.fl.m Filter Model binary data (editable form)
.fl.x Filter Model binary data (executable form)
.gdf General Purpose Data File ASCII text
.gif GIF Image binary data
.grf Grouping Rules File ASCII text
.gsf Generic Settings file ASCII text
.h/.hpp Header File C/C++ code
.hcon.l Hardware Configuration Library ASCII text
.hlp Help File ASCII text
.html HTML File ASCII text
.ia Import Assistance File ASCII text
.ic.m ICI Format binary data
.icons Icon Database binary data
.image Generic Image binary data
.imp.log Import Log ASCII text
.lib.xml i18n Library XML
.lk.d Derived Link Model binary data
.lk.m Link Model binary data
.lvdf Link Utilization Visualization Plug-in Definition ASCII data
.m.conv Model Conversion Script
.ma Model Assistant File ASCII text
.map.i Image Map binary data
.mce.m Mainframe Workloads binary data
.md.m Modulation binary data
.mid MapInfo Data Interchange Format File ASCII text
.mif MapInfo Data Interchange Format File ASCII text
.nbac Network Browser Arrangement Configuration ASCII text
.nd.d Derived Node Model binary data
.nd.m Node Model binary data
.ndr.xkwd NetDoctor Keyword File ASCII text
.nds Network Diff Selection ASCII text
.nt.log Simulation Log ASCII text
.nt.m Network Model binary data
.nt.so/.nt.dll Network Repository shared library
.nvism.dll/s0 Visualization Mapping Library shared library
.of Output Fragments binary data
.orb Satellite Node Orbit binary data
.ot Output Tables binary data
.otf Fragmented Output Tables binary data
.ov Output Vectors binary data
.ovd Output Vector Dictionary ASCII text
.pa.m Antenna Pattern binary data
.path.d Derived path object binary data
.path.m Path object binary data
.pb.m Probe List binary data
.pbr.m Report Probe Model binary data
.pbs.m SLA Probe Model binary data
.pd.m Probability Density Function (PDF) binary data (editable form)
.pd.s Probability Density Function (PDF) binary data (simulation loadable form)
.pdf Portable Document Format (Adobe Acrobat file) binary data
.pf.m Packet Format (obsolete) binary data
.pff.c Packet Field Conversion C code
.pff.o Packet Field Conversion Stage Mode object code
.pfp.c Packet Field Conversion C code
.pfp.o/.pfp.obj Packet Conversion Stage Model object code
.pk.m Packet Format binary data
.ppl.m Public Profile Model binary data
.pps.m Private Profile Storage binary data
.pr.c Process Model C C code form
.pr.cpp Process Model C++ C++ code form
.pr.m Process Model binary data form
.pr.o/.pr.obj Process Model object code form
.prj Project Model object code form
.prop.d Propagation Model binary data
.prop.p Propagation Parameter Set binary data
.prop.r.so TMM Propagation Model shared library
.ps.c Pipeline Stage Model C C code form
.ps.cpp Pipeline Stage Model C++ C++ code form
.ps.o/.ps.obj Pipeline Stage Model object code form
.py ETS Code Python source code
.pyc ETS Code Python byte code
.repos Repository shared library
.repos.so/.repos.dll Simulation Repository shared library
.rspdb Response database binary data
.sce.f Server Workload Filter Library binary data
.sce.m Server Workloads binary data
.sce.t Server Workload Template binary data
.sce.x Server Workload Export XML
.scf Satellite Configuration binary data
.sched Task Scheduler data (Automation module) binary data
.sched.log Scheduled Tasks Log ASCII text
.sd Simulation Description ASCII text
.sddb Self Description database binary data
.sdi Services Definition File ASCII text
.scr Simulation Debugger (ODB) script file ASCII text
.sel.f Logical Object Selection Filter ASCII text
.selset Selection Set file
.seq Simulation Sequence binary data
.si.a Simulation Archive object code archive
.si.c Simulation Main Procedure C code form
.si.o/.si.obj Simulation Main Procedure object code form
.sim Simulation Executable executable program
.srg.d Shared Risk Group, derived binary data
.srg.m Shared Risk Group binary data
.srgi Shared Risk Group Import File ASCII text
.supr.xml NetDoctor Suppressions XML
.tim Traffic Import Model object code
.trj Mobile Node Trajectory ASCII text
.ts.xml Terminal Script ASCII text
.tsf Time Settings File ASCII text
.urep.xml User Report Table XML
.val.r NetDoctor Rule (Pre-10.0) ASCII text
.val.rpt NetDoctor Report Template (Pre-10.5) ASCII text
.val.rr NetDoctor Rule ASCII text
.val.xrpt NetDoctor Report Template XML
.vd.m Riverbed Vector Drawing binary data
.vdf View Definition File ASCII text
wb.xml Network Whiteboard XML File ASCII text
.wdomain.c Wireless Domain Code C code
.wdomain.cpp Wireless Domain Code C++ code
.wdomain.d Derived Wireless Domain binary data
.wdomain.m Wireless Domain binary data
.wdomain.o/.wdomain.obj Wireless Domain Code object code
.wrc UI Configuration Resource binary data
.xml XML File XML
.xs Riverbed Stylesheet Specification ASCII text
.xsl XSL file XML

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com