print out simple_tc success at the end of test
authorYonghong Song <yhs@plumgrid.com>
Mon, 10 Aug 2015 18:19:53 +0000 (11:19 -0700)
committerYonghong Song <yhs@plumgrid.com>
Mon, 10 Aug 2015 18:19:53 +0000 (11:19 -0700)
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
examples/simple_tc.py

index 4f0fe0f..f0258e5 100755 (executable)
@@ -5,7 +5,6 @@
 from bpf import BPF
 from pyroute2 import IPRoute
 
-print("Simple program to test pyroute2 IPRoute tc interface")
 ipr = IPRoute()
 
 text = """
@@ -28,3 +27,4 @@ try:
            name=fn.name, parent="1:", action="ok", classid=1)
 finally:
     if "idx" in locals(): ipr.link_remove(idx)
+print("BPF tc functionality - SCHED_CLS: OK")