Brian Coca
11e56d9c27
iptables, use existing validation ( #83907 )
...
also remove redundant and wrong test
3 months ago
Abhijeet Kasurde
cdd303101e
Follow fix for test_iptables ( #82768 )
...
* rename 'test_policy_table' to 'test_policy_table_flush' to remove duplicate
test case name.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
9 months ago
Abhijeet Kasurde
8750a1f9ac
test: migrate iptables tests from unittests to pytest ( #82647 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
9 months ago
Abhijeet Kasurde
da26e2a5eb
iptables: added choices in match_set_flags option ( #82641 )
...
* 'src,src', 'dst,dst' added as new option choices in
match_set_flags option
Fixes : #81281
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
10 months ago
Matt Clay
18e8401edd
Remove Python 2.x compat from unit tests ( #82109 )
1 year ago
Matt Clay
9f899f9492
Require `from __future__ import annotations` ( #81902 )
1 year ago
Kristopher Newsome
a1569ea4ca
iptables chain creation does not populate with a rule ( #80257 )
...
* iptables chain creation does not populate with a rule
fixes #80256
* Add changelog fragment
* Add rules and flush chain during integration tests
* Check chain rule on comment
* Update test/integration/targets/iptables/tasks/chain_management.yml
1 year ago
Matt Clay
2595b42aca
Prefer unittest.mock over mock. ( #77886 )
3 years ago
Matt Clay
1a5853d794
Remove obsolete units.compat.mock compat layer. ( #77118 )
...
* Remove obsolete units.compat.mock compat layer.
* Update remaining units.compat.mock references.
3 years ago
Éloi Rivard
3889ddeb4b
iptables - added a ``chain_management`` parameter to control chain ( #76378 )
...
creation and deletion
fixes #25099
closes #32158
3 years ago
Abhijeet Kasurde
70f22c7f32
Remove commented code ( #74860 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
4 years ago
Amin Vakil
846c2d1ed3
Fix comment in iptables unit test ( #74061 )
4 years ago
Martin Zimmermann
be59caa59b
iptables: Added set module/match_set support ( #72984 )
4 years ago
Martin Zimmermann
83fb24b923
iptables: Adding multiport module support ( #72928 )
4 years ago
Amin Vakil
c1da427a5e
iptables: Reorder comment postition ( #71496 )
...
* Reorder comment postition
* Add comment unit test
* Fix unit test
* Fix unit test
* Add changelog
* Add paramaters which would be problematic without this fix
* Fix typo
* Fix unit test
* Fix unit test
4 years ago
Matt Clay
98a0995fd0
Clean up unit test boilerplate.
5 years ago
Matt Martz
4c4406b2df
Flatten the directory hierarchy of modules ( #68966 )
...
* Flatten the directory hierarchy of modules
* Update ignore.txt, flatten units
* Update imports
* Completely flatten the modules directory
* Update sanity ignore
* Fix some sanity test ignores
* Fix relative import
* Fix docs builds without category
* ci_complete
* Clean up docs. ci_complete
* Adjust needs/file alias
* ci_complete
* fix hardcoded ping module paths
Co-authored-by: Matt Davis <mrd@redhat.com>
5 years ago