From: Kumar Amber <kumar.am...@intel.com> Added separate test-case for ovs-actions get/set commands: 1023: PMD - ovs-actions configuration
The above added tests are to test the commands which are used to either get or set the ovs-actions function pointers to various different implementations like AVX512 or auto-validator based on different CPU ISA supported. Signed-off-by: Kumar Amber <kumar.am...@intel.com> Signed-off-by: Emma Finn <emma.f...@intel.com> --- tests/pmd.at | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/tests/pmd.at b/tests/pmd.at index c875a744f..4384652ff 100644 --- a/tests/pmd.at +++ b/tests/pmd.at @@ -1160,3 +1160,23 @@ ovs-appctl: ovs-vswitchd: server returned an error OVS_VSWITCHD_STOP AT_CLEANUP + +AT_SETUP([PMD - ovs-actions configuration]) +OVS_VSWITCHD_START([], [], [], [--dummy-numa 0,0]) +AT_CHECK([ovs-vsctl add-port br0 p1 -- set Interface p1 type=dummy-pmd]) + +AT_CHECK([ovs-vsctl show], [], [stdout]) +AT_CHECK([ovs-appctl dpif-netdev/action-impl-get | grep "scalar"], [], [dnl + scalar (available: True, active: True) +]) + +AT_CHECK([ovs-appctl dpif-netdev/action-impl-get | grep "autovalidator"], [], [dnl + autovalidator (available: True, active: False) +]) + +AT_CHECK([ovs-appctl dpif-netdev/action-impl-set scalar], [0], [dnl +action implementation set to scalar. +]) + +OVS_VSWITCHD_STOP +AT_CLEANUP \ No newline at end of file -- 2.25.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev