Re: [tck PATCH v2 4/4] nwfilter tests: remove all hardcoded references to 192.168.122 network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 01, 2018 at 09:50:00PM -0500, Laine Stump wrote:
> The nwfilter tests have a few places that hardcode 192.168.122 as the
> address of libvirt's default network. Remove all of these and replace
> them with addresses that are dynamically determined based on
> get_network_ip().
> 
> (This will have the immediate effect of helping the tests to succeed
> when libvirt-tck is run in a virtual machine, since virtual machines
> often have their default network set to a different subnet (in order
> to avoid conflict with the L0 host's default network)).
> 
> Signed-off-by: Laine Stump <laine@xxxxxxxxx>
> ---
> 
> New in V2.
> 
> Another patch not necessarily related to $subject of the cover letter,
> but useful to have.
> 
>  scripts/nwfilter/210-no-mac-spoofing.t  |  9 ++++++---
>  scripts/nwfilter/220-no-ip-spoofing.t   | 14 ++++++++++----
>  scripts/nwfilter/230-no-mac-broadcast.t |  8 ++++++--
>  scripts/nwfilter/240-no-arp-spoofing.t  | 19 ++++++++++++++-----
>  4 files changed, 36 insertions(+), 14 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>


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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux