The Extended Nam Editor work under Linux operating system;
it is available for download in source
and binary format (install instruction).
Topology Generator Interface
The manual generation of complex Network Topology is a tedious and error prone activity.
In order to simulate networks with realistic topologies, it is a common practice to use
ad-hoc topology generators, whose output is usually not compatible with the ns2 syntax. Hence, several tools have been developed to translate topology descriptions generated by topology generators in ns-scripts that can be used in the definition of a simulation scenario.
Unfortunately, scripts produced in this way are not compatible with the Nam Editor,
hence networks created by common topology generators cannot be modified interactively. Such a limitation is sometimes annoying, in particular when the automatically generated topology needs to be further adapted, e.g. by instantiating agents on particular network nodes.
Our extended Nam-Editor provides a graphical interface to:
GT-ITM topology generator;
INET topology generator;
It is now possible to create, visualize and modify topologies created according to the following topology models:
flat-itm;
hierarchical-itm;
transit-stub-itm;
INET;
In order to integrate the above mentioned topology generators in Nam-Editor, our tool not only provides the generators with the required input parameters, but it also translates the generated topology description in the Nam-Editor internal representation of a network.
To create a new network topology the user must:
select a generation method from the generator list (see fig.1);
click the "Topology Generation" button (see fig.1);
Fig. 1: Topology Generation
fill in a generator-specific input masks, in order to provide the selected generator with the required parameters (see fig. 2; for the meaning of these parameters, please refer to the generators documentation);
Localization of a network agent in a simulation scenario is a two steps process, which requires:
the localization of the node in which the agent must be instantiated;
the instantiation of the agent.
To support agent instantiation in large topologies we have included in the extended Nam-Editor the concept of Node Set.
A Node Set is a set of nodes selected according to one of the following criteria:
leaf node;
mutual distance;
randomly.
When a network topology is created with one of the supported topology generators, a few Node Sets are automatically created, reflecting the topology model. For instance, in the case of a transit-stub topology, a Node Set is associated to each transit domain and to each stub domain.
With the Node Set Tool it is possible to (see fig. 3):
visualize all the nodes included in a given set;
associate a color to all the nodes included in a given set;
instantiate an agent on all the nodes of a given set;
instantiate a Web Server on all the nodes of a given set (See Web Tool);
instantiate a Web Client on all the node of a given set (See Web Tool);
instantiate a Web Cache on all the node of a given set (See Web Tool);
Fig. 3: Node Set Tool
Editor Configuration
The ns2 is an extensible network simulator.
New protocols can be simulated through the definition of a new Agent type.
Likewise, particular network scenarios may require the definition of new Node types.
The GUI of our Extended Nam Editor can be customized to:
add an user-defined agent to the agent list;
customize the parameters of a user-defined agent;
define new node type and its parameters;
associate a particular node type to any node.
To create a new agent type (or a new node type) the user must:
select the "Configure Editor" entry from the Edit menu;
Once the previos steps have been completed, the new agent type is permanently included in the agent list.
Web Tool
A special support as been provided in our Extended Nam Editor for simulating web cache systems.
A proper tool (see fig. 6) can be used to create web-page pools and to deploy system of caches, servers and clients onto a previously generated topology.
Fig. 6: Web Tool
The configuration of any web element is made through a configuration window (see fig. 7);
for the meaning of the parameters included in this window please refer to the ns Manual.
Fig. 7: Configuration window for web client
Install instructions
If you start from the source distribution:
cd to your ns-allinone
remove the nam-1.0a11 directory (rm -rf nam-1.0a11)
expand the ext-nam-1.0a11.tar.gz archive (tar xzvf ext-nam-1.0a11.tar.gz)
cd nam-1.0a11
build the extended nam editor (./configure; make clean; make)
If you start from the binary distribution:
expand the ext-nam-1.0a11.gz file (gunzip ext-nam-1.0a11.gz);
put the nam binary in your path.
For questions, bug reporting, suggestions etc... please send an email to:
Donato Emma