Convert topology object into an ns-2 Tcl script that deploys that topology into ns-2.
Parameters : | topology : Topology
path : str
stacks : bool, optional
|
---|
Notes
In order for the function to parse stacks correctly, the input topology must satisfy the following requirements:
- each stack and each application must have a class attribute whose value is the ns-2 class implementing such stack or application, such as Agent/TCP or Application/FTP.
- All names and values of stack and application properties must be valid properties recognized by the ns-2 application or protocol stack.