Hi,

On 01/14/2018 05:32 AM, Y Song wrote:
> It seems okay for bcc with latest 4.15-rc7 on x64 and with multiple
> runs I cannot reproduce the issue:
> 

Same here.

> 
> Regarding to how to translate various ip.addr, ip.tc proute2 commands to
> plain "ip ..." or "tc ..." commands, the python implementation is in
> /lib/python2.7/site-packages/pyroute2 through netlink interface.
> 
> I guess most cases you probably can figure it out easily, e.g.,
>         ip.addr("del", index=ifindex, address="172.16.1.2", mask=24)
> =>
>    ip addr del 172.16.1.2/24 dev <dev_name>
> 
>         ip.tc("add", "ingress", ifindex, "ffff:")
> =>
>     tc qdisc add dev <dev_name> handle ffff: ingress
> 
> 
> Maybe you can figure out the rest by looking at pyroute2 implementation as 
> above
> if you cannot simply map it to ip/tc commands.
> 

Thanks for pointing this out. Will try using direct tc commands and see how it 
goes.

--
With Regards,
Sandipan

_______________________________________________
iovisor-dev mailing list
[email protected]
https://lists.iovisor.org/mailman/listinfo/iovisor-dev

Reply via email to