Can get NW filter source XML definition
This commit is contained in:
@ -187,6 +187,13 @@ impl LibVirtClient {
|
||||
self.0.send(libvirt_actor::GetNWFilterXMLReq(id)).await?
|
||||
}
|
||||
|
||||
/// Get the source XML configuration of a single network filter
|
||||
pub async fn get_single_network_filter_xml(&self, id: XMLUuid) -> anyhow::Result<String> {
|
||||
self.0
|
||||
.send(libvirt_actor::GetSourceNetworkFilterXMLReq(id))
|
||||
.await?
|
||||
}
|
||||
|
||||
/// Update the information about a single domain
|
||||
pub async fn update_network_filter(
|
||||
&self,
|
||||
|
Reference in New Issue
Block a user