Commit e2a2c481 authored by Yonghong Song's avatar Yonghong Song

Add one line desc output for simple_tc

  o Also suggest task_switch.py to try with libbcc package
Signed-off-by: default avatarYonghong Song <yhs@plumgrid.com>
parent 949e9eb1
...@@ -27,6 +27,7 @@ sudo apt-get install libbcc ...@@ -27,6 +27,7 @@ sudo apt-get install libbcc
Test it: Test it:
`sudo python /usr/share/bcc/examples/hello_world.py` `sudo python /usr/share/bcc/examples/hello_world.py`
`sudo python /usr/share/bcc/examples/task_switch.py`
(Optional) Install pyroute2 for additional networking features (Optional) Install pyroute2 for additional networking features
```bash ```bash
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
from bpf import BPF from bpf import BPF
from pyroute2 import IPRoute from pyroute2 import IPRoute
print("Simple program to test pyroute2 IPRoute tc interface")
ipr = IPRoute() ipr = IPRoute()
text = """ text = """
......
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