Can delete network filter
This commit is contained in:
@ -197,4 +197,9 @@ impl LibVirtClient {
|
||||
.send(libvirt_actor::DefineNWFilterReq(nwf_def, xml))
|
||||
.await?
|
||||
}
|
||||
|
||||
/// Delete a network filter
|
||||
pub async fn delete_network_filter(&self, id: XMLUuid) -> anyhow::Result<()> {
|
||||
self.0.send(libvirt_actor::DeleteNetworkFilter(id)).await?
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user