Commit 8bbf0621 authored by Yonghong Song's avatar Yonghong Song

print out simple_tc success at the end of test

Signed-off-by: default avatarYonghong Song <yhs@plumgrid.com>
parent e2a2c481
......@@ -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")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment