On 1/15/18 5:30 PM, Jakub Kicinski wrote: > A new flag ("--skip-extack") is added to the Python script so as to > allow to skip these checks. This is because extack messages cannot be > displayed by tc and ip if tools from iproute2 package were compiled > without libmnl, but we do not want this to prevent users to run the > other checks.
That is unfortunate. Did you consider auto-detecting support? e.g., run a command that is known to fail and return a message. For example, $ ip ro add 1.1.1.1/32 dev eth0 onlink Error: Invalid flags for nexthop - PERVASIVE and ONLINK can not be set.