Version 1 (modified by 12 years ago) (diff) | ,
---|
Topdl Library
This page describes the python library for manipulating topologies that follow the topdl model and are generally output in the topdl language. It is broken up into a reference section describing the various python classes and procedures and an examples section.
Reference
Installing and Accessing
The topdl library is available as oart of the DETER module of the DETER federation system. Any system that has fedd installed will have topdl installed as well. In particular, users.isi.deterlab.net
has the library installed.
To install the library separately, follow the instructions for getting fedd from git, make the distribution, and install the deter-data-
version.tar.gz
tar file using the same procedure for installing the fedd tar file. Installing all of fedd will work as well, of course.
Once the library is installed, python programs can access it by:
#!/usr/bin/env python from deter import topdl
Attachments (11)
-
ten_small.png (15.0 KB) - added by 12 years ago.
Star topology
-
ten.py (1.0 KB) - added by 12 years ago.
Python program to create a start topology
-
ten.tcl (412 bytes) - added by 12 years ago.
ns2 description of a star topology
-
topo.png (46.1 KB) - added by 12 years ago.
Sample complex topology
-
topo.py (1.8 KB) - added by 12 years ago.
Program to create more complex topology
-
topo.xml (5.2 KB) - added by 12 years ago.
More complex topdl
-
topo2.png (48.8 KB) - added by 12 years ago.
Enhanced topology
-
out.tcl (2.6 KB) - added by 12 years ago.
Output from example
-
example.py (4.4 KB) - added by 12 years ago.
Full example
-
deter-data-4.00.tar.gz (11.6 KB) - added by 10 years ago.
Topdl sources
-
deter-data-4.10.tar.gz (11.7 KB) - added by 10 years ago.
Topdl sources
Download all attachments as: .zip