aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/tools/test/topos/topo
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/onos/tools/test/topos/topo')
-rwxr-xr-xframework/src/onos/tools/test/topos/topo10
1 files changed, 10 insertions, 0 deletions
diff --git a/framework/src/onos/tools/test/topos/topo b/framework/src/onos/tools/test/topos/topo
new file mode 100755
index 00000000..854de504
--- /dev/null
+++ b/framework/src/onos/tools/test/topos/topo
@@ -0,0 +1,10 @@
+#!/bin/bash
+# -----------------------------------------------------------------------------
+# Starts the specified mininet topology.
+# -----------------------------------------------------------------------------
+cd $(dirname $0)
+
+topo=${1:-att-onos.py}
+
+[ -n "$1" ] && shift
+sudo python $topo "$@"