examples: Add topology in first.py

This commit is contained in:
Mohit P. Tahiliani
2020-02-02 17:00:30 +05:30
parent 830df02211
commit 8b2f8e8abe

View File

@@ -19,6 +19,13 @@ import ns.internet
import ns.network
import ns.point_to_point
# // Default Network Topology
# //
# // 10.1.1.0
# // n0 -------------- n1
# // point-to-point
# //
ns.core.LogComponentEnable("UdpEchoClientApplication", ns.core.LOG_LEVEL_INFO)
ns.core.LogComponentEnable("UdpEchoServerApplication", ns.core.LOG_LEVEL_INFO)