From b1458654074123408afae0f7dbb404eb006b1ec8 Mon Sep 17 00:00:00 2001 From: Bob Lantz <rlantz@cs.stanford.edu> Date: Thu, 22 Apr 2010 17:04:17 -0700 Subject: [PATCH] Added comment advising use of high-level API. --- examples/scratchnet.py | 2 ++ examples/scratchnetuser.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/examples/scratchnet.py b/examples/scratchnet.py index d8379dad..a8de87a2 100755 --- a/examples/scratchnet.py +++ b/examples/scratchnet.py @@ -4,6 +4,8 @@ Build a simple network from scratch, using mininet primitives. This is more complicated than using the higher-level classes, but it exposes the configuration details and allows customization. + +For most tasks, the higher-level API will be preferable. """ from mininet.net import init diff --git a/examples/scratchnetuser.py b/examples/scratchnetuser.py index c20aef3a..ea053fae 100755 --- a/examples/scratchnetuser.py +++ b/examples/scratchnetuser.py @@ -5,6 +5,8 @@ This is more complicated than using the higher-level classes, but it exposes the configuration details and allows customization. +For most tasks, the higher-level API will be preferable. + This version uses the user datapath and an explicit control network. """ -- GitLab