On Sun, Jun 17, 2018 at 08:27:27AM -0400, John Ferlan wrote:
On 06/14/2018 08:32 AM, Daniel P. Berrangé wrote:
> $ virsh nwfilter-binding-list
> Port Dev Filter
> ------------------------------------------------------------------
> vnet0 clean-traffic
> vnet1 clean-traffic
>
> $ virsh nwfilter-binding-dumpxml vnet1
> <filterbinding>
> <owner>
> <name>f25arm7</name>
> <uuid>12ac8b8c-4f23-4248-ae42-fdcd50c400fd</uuid>
> </owner>
> <portdev name='vnet1'/>
> <mac address='52:54:00:9d:81:b1'/>
> <filterref filter='clean-traffic'>
> <parameter name='MAC' value='52:54:00:9d:81:b1'/>
> </filterref>
> </filterbinding>
>
> Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
> ---
> tools/virsh-completer.c | 45 ++++++
> tools/virsh-completer.h | 4 +
> tools/virsh-nwfilter.c | 317 ++++++++++++++++++++++++++++++++++++++++
> tools/virsh-nwfilter.h | 8 +
> 4 files changed, 374 insertions(+)
>
Will need virsh.pod changes to describe the new commands. I'm OK if you
just post an update as a reply.
I'll send a further patch with POD docs
Regards,
Daniel
--
|:
https://berrange.com -o-
https://www.flickr.com/photos/dberrange :|
|:
https://libvirt.org -o-
https://fstop138.berrange.com :|
|:
https://entangle-photo.org -o-
https://www.instagram.com/dberrange :|