Matt Davis
35750ed321
Templating overhaul, implement Data Tagging ( #84621 )
...
Co-authored-by: Matt Davis <mrd@redhat.com>
Co-authored-by: Matt Clay <matt@mystile.com>
2025-04-14 08:54:36 -07:00
Anvit Pusalkar
1e5aac7b4f
Set IPv4 and IPv6 simultaneously ( #84829 )
2025-03-21 16:19:58 -04:00
Kristopher Newsome
f727d74fc2
Allows iptables chain creation with wait parameter ( #84491 )
...
* Allows iptables chain creation with wait parameter
Fixes #84490
* Add the changelog fragment for 84490
2025-01-14 10:43:08 -05:00
Brian Coca
11e56d9c27
iptables, use existing validation ( #83907 )
...
also remove redundant and wrong test
2024-09-06 16:57:05 -04:00
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>
2024-03-05 12:42:08 +01:00
Abhijeet Kasurde
8750a1f9ac
test: migrate iptables tests from unittests to pytest ( #82647 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-03-01 09:01:33 -08:00
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>
2024-02-06 16:12:54 +01:00
Matt Clay
18e8401edd
Remove Python 2.x compat from unit tests ( #82109 )
2023-11-01 16:37:08 -07:00
Matt Clay
9f899f9492
Require from __future__ import annotations ( #81902 )
2023-10-04 22:11:17 +00:00
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
2023-08-04 13:59:21 -04:00
Matt Clay
2595b42aca
Prefer unittest.mock over mock. ( #77886 )
2022-05-23 12:00:10 -07:00
Matt Clay
1a5853d794
Remove obsolete units.compat.mock compat layer. ( #77118 )
...
* Remove obsolete units.compat.mock compat layer.
* Update remaining units.compat.mock references.
2022-02-22 18:20:11 -08:00
Éloi Rivard
3889ddeb4b
iptables - added a `chain_management` parameter to control chain ( #76378 )
...
creation and deletion
fixes #25099
closes #32158
2022-01-24 12:31:20 -05:00
Abhijeet Kasurde
70f22c7f32
Remove commented code ( #74860 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2021-06-01 11:26:38 -04:00
Amin Vakil
846c2d1ed3
Fix comment in iptables unit test ( #74061 )
2021-03-30 16:11:12 -04:00
Martin Zimmermann
be59caa59b
iptables: Added set module/match_set support ( #72984 )
2021-01-11 16:32:53 -05:00
Martin Zimmermann
83fb24b923
iptables: Adding multiport module support ( #72928 )
2020-12-14 10:23:54 -05:00
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
2020-11-09 19:40:55 +01:00
Matt Clay
98a0995fd0
Clean up unit test boilerplate.
2020-06-22 14:20:33 -07:00
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>
2020-05-13 19:14:53 -07:00