@clsinit_copy
class LinuxNs3FdUdpTunnel(LinuxUdpTunnel):
_rtype = "linux::ns3::FdUdpTunnel"
- _help = "Constructs a tunnel between two Linux FileDescriptorNetdevices using a UDP connection "
+ _help = "Constructs a tunnel between two Ns-3 FdNetdevices " \
+ "located in remote Linux nodes using a UDP connection "
_platform = "linux::ns3"
@classmethod
"linux-ns3-fd-udp-connect.py")
scripts.append(linux_passfd)
-
+
+ # tunnel creation python script
+ tunchannel = os.path.join(os.path.dirname(__file__),
+ "..",
+ "scripts",
+ "tunchannel.py")
+
+ scripts.append(tunchannel)
+
# Upload scripts
scripts = ";".join(scripts)
address = base64.b64encode(address)
command = [""]
- # Use pl-vid-udp-connect.py to stablish the tunnel between endpoints
command.append("PYTHONPATH=$PYTHONPATH:${SRC}")
command.append("python ${SRC}/linux-ns3-fd-udp-connect.py")
command.append("-a %s" % address)