- Should Be Equal As Numbers ${count_before} ${count_after}
-
-Verify ACL Flows Should Not Contain
- [Arguments] ${conn_id} ${table_id} ${acl_var}=${None}
- [Documentation] Verify dump flows should not be having the table id.
- SSHLibrary.Switch Connection ${conn_id}
- ${output} = Write Commands Until Expected Prompt sudo ovs-ofctl dump-flows br-int -OOpenFlow13 | grep table=${table_id} ${DEFAULT_LINUX_PROMPT_STRICT}
- BuiltIn.Run Keyword If '${acl_var}'=='None' Should Not Contain ${output} table=${table_id}
- ... ELSE Should Not Contain ${output} ${acl_var}
-
-Verify ACL Flows Should Contain
- [Arguments] ${conn_id} ${table_id} ${acl_var}=${None}
- [Documentation] Verify dump flows should be having the table id.
- SSHLibrary.Switch Connection ${conn_id}
- ${output} = Write Commands Until Expected Prompt sudo ovs-ofctl dump-flows br-int -OOpenFlow13 | grep table=${table_id} ${DEFAULT_LINUX_PROMPT_STRICT}
- BuiltIn.Run Keyword If '${acl_var}'=='None' Should Contain ${output} table=${table_id}
- ... ELSE Should Contain ${output} ${acl_var}