]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nwfilter: wire up new APIs for creating and deleting nwfilter bindings
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 11 May 2018 15:59:51 +0000 (16:59 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 26 Jun 2018 17:17:21 +0000 (18:17 +0100)
commit2d9318b6ce9629ac150e92b895eede4e2dbf19ac
tree4da46c70151cd0b3a70208a755f085b9d003dc84
parentf61ea979a4be827bd1dab78b8358e670358acdc5
nwfilter: wire up new APIs for creating and deleting nwfilter bindings

This allows the virsh commands nwfilter-binding-create and
nwfilter-binding-delete to be used.

Note using these commands lets you delete filters that were
previously created automatically by the virt drivers, or add
filters for VM nics that were not there before. Generally it
is expected these new APIs will only be used by virt drivers.
It is the admin's responsibility to not shoot themselves in
the foot.

Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/nwfilter/nwfilter_driver.c