From 8b2f8e8abed9fdbf3a9d3ab8c1bc7dbff6839b2f Mon Sep 17 00:00:00 2001 From: "Mohit P. Tahiliani" Date: Sun, 2 Feb 2020 17:00:30 +0530 Subject: [PATCH] examples: Add topology in first.py --- examples/tutorial/first.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/tutorial/first.py b/examples/tutorial/first.py index e2ae7c570..22dff9e8a 100644 --- a/examples/tutorial/first.py +++ b/examples/tutorial/first.py @@ -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)