Can create network filter rules
This commit is contained in:
@ -190,10 +190,11 @@ impl LibVirtClient {
|
||||
/// Update the information about a single domain
|
||||
pub async fn update_network_filter(
|
||||
&self,
|
||||
_vm_def: NetworkFilter,
|
||||
nwf_def: NetworkFilter,
|
||||
xml: NetworkFilterXML,
|
||||
) -> anyhow::Result<XMLUuid> {
|
||||
println!("nwfilter xml to update: {:#?}", xml);
|
||||
todo!()
|
||||
self.0
|
||||
.send(libvirt_actor::DefineNWFilterReq(nwf_def, xml))
|
||||
.await?
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user