git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7886 818b1a75-f10b-46b9-bf7c-635c3b92a50f
35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
================================================================================
|
|
Message Sequence Chart generation
|
|
================================================================================
|
|
|
|
Message Sequence Charts (MSCs) are a way of representing entities and
|
|
interactions to demonstrate how protocols operate between network elements.
|
|
|
|
The Access Stratum simulator generates MSC description file that can be
|
|
processed by the Python script msc_gen.py to generate a PNG (Portable
|
|
Network Graphic) file.
|
|
|
|
msc_gen.py use mscgen utility that is fully discribed at
|
|
http://www.mcternan.me.uk/mscgen/
|
|
|
|
--------------------------------------------------------------------------------
|
|
How to generate MSC description file ?
|
|
--------------------------------------------------------------------------------
|
|
|
|
Redirect stderr stream to a file that will be used as input by the Python
|
|
script msc_gen.py:
|
|
|
|
ASprocess 2> ASprocess.msc
|
|
|
|
--------------------------------------------------------------------------------
|
|
How to generate PNG file ?
|
|
--------------------------------------------------------------------------------
|
|
|
|
Parse the MSC description file using the Python script msc_gen.py:
|
|
|
|
./msc_gen.py ASprocess.msc
|
|
|
|
Warning: msc_gen.py needs mscgen utility to be installed. mscgen is a C
|
|
program that uses the GD graphics library for PNG output.
|
|
|