openconfig / featureprofiles

Feature Profiles are groups of OpenConfig paths and tests which verify their behavior
Apache License 2.0
48 stars 138 forks source link

OTG tests to detect whether a dut is KNE and conditionally skip portions of the test #426

Open liulk opened 2 years ago

liulk commented 2 years ago

Currently, OTG only runs on KNE, and KNE based devices usually don't have good data plane support. Some examples:

I have proposed some ways to detect whether the dut is a KNE here: https://github.com/openconfig/featureprofiles/pull/355#discussion_r932735378

The test would use dut.KNE() to detect KNE, and this will be a bool in binding.Dims populated by Ondatra's knebind.

liulk commented 2 years ago

@greg-dennis @octpetre