RE: [nmrg] web page for uml diagrams

"Wijnen, Bert (Bert)" <bwijnen@lucent.com> Sat, 26 July 2003 22:41 UTC

Received: from ihemail1.firewall.lucent.com (ihemail1.lucent.com [192.11.222.161]) by agitator.ibr.cs.tu-bs.de (8.12.3/8.12.3/Debian-6.4) with ESMTP id h6QMfNSA023447; Sun, 27 Jul 2003 00:41:23 +0200
Received: from nl0006exch001h.wins.lucent.com (h135-85-76-62.lucent.com [135.85.76.62]) by ihemail1.firewall.lucent.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id h6QMfHh24283; Sat, 26 Jul 2003 17:41:18 -0500 (CDT)
Received: by nl0006exch001h.nl.lucent.com with Internet Mail Service (5.5.2653.19) id <NR1YGQSB>; Sun, 27 Jul 2003 00:41:16 +0200
Message-ID: <7D5D48D2CAA3D84C813F5B154F43B1550213B9DA@nl0006exch001u.nl.lucent.com>
From: "Wijnen, Bert (Bert)" <bwijnen@lucent.com>
To: Frank Strauss <strauss@ibr.cs.tu-bs.de>, Marcus Brunner <brunner@ccrle.nec.de>
Cc: j.schoenwaelder@iu-bremen.de, nmrg@ibr.cs.tu-bs.de
Subject: RE: [nmrg] web page for uml diagrams
Date: Sun, 27 Jul 2003 00:41:11 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C353C6.EEB2D716"
X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang)
X-Spam-Status: No, hits=-9.0 required=5.0 tests=QUOTED_EMAIL_TEXT, SIGNATURE_LONG_SPARSE autolearn=ham version=2.53
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp)
Sender: nmrg-admin@ibr.cs.tu-bs.de
Errors-To: nmrg-admin@ibr.cs.tu-bs.de
X-BeenThere: nmrg@ibr.cs.tu-bs.de
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:nmrg-request@ibr.cs.tu-bs.de?subject=help>
List-Post: <mailto:nmrg@ibr.cs.tu-bs.de>
List-Subscribe: <https://www.ibr.cs.tu-bs.de/mailman/listinfo/nmrg>, <mailto:nmrg-request@ibr.cs.tu-bs.de?subject=subscribe>
List-Id: Network Management Research Group <nmrg.ibr.cs.tu-bs.de>
List-Unsubscribe: <https://www.ibr.cs.tu-bs.de/mailman/listinfo/nmrg>, <mailto:nmrg-request@ibr.cs.tu-bs.de?subject=unsubscribe>
List-Archive: <https://www.ibr.cs.tu-bs.de/pipermail/nmrg/>

Mmm... the complete set is kind of undoable.
So I took just the LDP MIB.
I have a .dia file that presents a reasonable picture.
I do not have a proper tool to create a PDF file. 
Can one of you do so?

Attached is the .dia file (strange, when it generated the
file when I saved it, it seems to put virtually everything on one
long line. Oj well).

The associations in the MIB itself look awfully complex to me.
Other comments?

Thanks,
Bert 

> -----Original Message-----
> From: Frank Strauss [mailto:strauss@ibr.cs.tu-bs.de]
> Sent: woensdag 23 juli 2003 18:12
> To: Marcus Brunner
> Cc: j.schoenwaelder@iu-bremen.de; nmrg@ibr.cs.tu-bs.de
> Subject: Re: [nmrg] web page for uml diagrams
> 
> 
> Hi!
> 
> Marcus> I tried to do it for the MPLS MIBs, but I miserably 
> failed even
> Marcus> parsing the MIBs in the latest drafts. But it might 
> be myself not
> Marcus> using the tools correctly.
>  
> >> Could you please point me (us) to the MIBs (or the I-Ds) you've fed
> >> to smidump? There are 36 documents in 
> internet-drafts/*mpls*mib*, and
> >> I don't want to check all of them. :-))
> 
> Marcus> draft-ietf-mpls-ftn-mib-07.txt
> Marcus> draft-ietf-mpls-ldp-mib-12.txt
> Marcus> draft-ietf-mpls-lsr-mib-11.txt
> Marcus> draft-ietf-mpls-tc-mib-08.txt
> Marcus> draft-ietf-mpls-te-mib-11.txt
> 
> Thanks. Here is a short description of what I did to check 
> the modules,
> to "repair" them so that they could be further processed, and 
> to generate
> a diagram. Maybe this helps others to do similar things...
> 
> 1. Get the documents.
> 
> 2. Extract the modules using smistrip. (The latest version from CVS of
>    smistrip now also accepts .gz files and is able to read documents
>    from a given directory):
> 
>         smistrip -i /ftp/docs/internet-drafts \
>                 draft-ietf-mpls-ftn-mib-07.txt \
>                 draft-ietf-mpls-ldp-mib-12.txt \
>                 draft-ietf-mpls-lsr-mib-11.txt \
>                 draft-ietf-mpls-tc-mib-08.txt \
>                 draft-ietf-mpls-te-mib-11.txt
> 
>    Note that documents that are formatted in an "unexpected" form, may
>    lead to warnings or even broken MIB modules, because smistrip has
>    to make some vague assumptions on how to cut off page footers and
>    headers.
> 
> 3. Check the extracted modules with smilint. If not otherwise set, the
>    local directory might have to be added to the paths in 
> which smilint
>    will search for modules.
> 
>         SMIPATH=.: smilint -i namelength-32 MPLS-*
> 
>    In this case I wanted to ignore all warnings about identifiers that
>    are longer than 32 chars. The errors that remain complain 
> about "XXX"
>    placeholders for a number of registrations.
> 
> 4. Fix errors, if required. In this case nothing has to be done to
>    produce the dia diagrams.
> 
> 5. Use smidump to generate whatever I want, e.g. metrics, 
> trees, diagrams:
> 
>         SMIPATH=.: smidump -u -f metrics MPLS-* | less
> 
>         SMIPATH=.: smidump -u -f tree MPLS-* | less
> 
>         SMIPATH=.: smidump -u -f cm MPLS-* > mpls-model.dia
> 
>    The -u option is used to get a "united" representation of all
>    input modules, instead of separated outputs per module.
> 
> 6. Use dia to drag items around to get a better layout and finally
>    print the diagram to a PDF file. I have not yet done this. It
>    seems to be quite some work in this case. :-) The non-beautified
>    diagram is at 
http://www.ibr.cs.tu-bs.de/users/strauss/mpls-model.dia.

 -frank
-- 
!! This message is brought to you via the `nmrg' mailing list.
!! Please do not reply to this message to unsubscribe. To unsubscribe or adjust
!! your settings, send a mail message to <nmrg-request@ibr.cs.tu-bs.de>
!! or look at https://www.ibr.cs.tu-bs.de/mailman/listinfo/nmrg.