1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 17:36:05 +00:00
webvirtcloud/nwfilters/tests
catborise 2f7516b7f9 fix(nwfilters): a filter is checked against libvirt's schema before it is defined
libvirt drops the attributes and elements of a filter it does not know,
without an error. A rule accepting <tcp dstport='443'/> (dstportstart is
the attribute) became a rule accepting all TCP; a rule dropping
<tpc dstportstart='22'/> became one dropping all incoming traffic; a
priority of 5000 became 500 (all seen live). Creating, cloning and
editing a filter and adding or removing its rules and references now
define it with VIR_NWFILTER_DEFINE_VALIDATE, and libvirt's refusal names
what it did not accept.
2026-11-13 11:20:47 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_audit_rows.py fix(nwfilters): a filter is checked against libvirt's schema before it is defined 2026-11-13 11:20:47 +03:00
test_redefine.py fix(nwfilters): a filter is checked against libvirt's schema before it is defined 2026-11-13 11:20:47 +03:00
test_views.py fix(nwfilters): a filter in use is not deleted, and a change replaces no other filter 2026-10-29 10:10:17 +03:00