libvirt/tests/networkxml2xmlupdateout
Laine Stump 1e334a0a00 network: validate DHCP ranges are completely within defined network
virSocketAddrGetRange() has been updated to take the network address
and prefix, and now checks that both the start and end of the range
are within that network, thus validating that the entire range of
addresses is in the network. For IPv4, it also checks that ranges to
not start with the "network address" of the subnet, nor end with the
broadcast address of the subnet (this check doesn't apply to IPv6,
since IPv6 doesn't have a broadcast or network address)

Negative tests have been added to the network update and socket tests
to verify that bad ranges properly generate an error.

This resolves: https://bugzilla.redhat.com/show_bug.cgi?id=985653
2015-06-02 12:40:07 -04:00
..
dhcp6host-routed-network-another-range.xml network: validate DHCP ranges are completely within defined network 2015-06-02 12:40:07 -04:00
dhcp6host-routed-network-range.xml network: validate DHCP ranges are completely within defined network 2015-06-02 12:40:07 -04:00
nat-network-dns-more-hosts.xml network: change default of forwardPlainNames to 'yes' 2014-02-04 12:00:26 +02:00
nat-network-dns-srv-record.xml Test network update XML parsing 2013-08-28 08:05:46 +02:00
nat-network-dns-srv-records.xml Test network update XML parsing 2013-08-28 08:05:46 +02:00
nat-network-dns-txt-none.xml Test network update XML parsing 2013-08-28 08:05:46 +02:00
nat-network-dns-txt-records.xml Test network update XML parsing 2013-08-28 08:05:46 +02:00
nat-network-forward-ifaces.xml Test network update XML parsing 2013-08-28 08:05:46 +02:00
nat-network-host-updated.xml Test network update XML parsing 2013-08-28 08:05:46 +02:00
nat-network-hosts.xml Test network update XML parsing 2013-08-28 08:05:46 +02:00
nat-network-no-forward-ifaces.xml Test network update XML parsing 2013-08-28 08:05:46 +02:00
nat-network-no-hosts.xml network: change default of forwardPlainNames to 'yes' 2014-02-04 12:00:26 +02:00
nat-network-no-range.xml Test network update XML parsing 2013-08-28 08:05:46 +02:00
nat-network-one-host.xml Test network update XML parsing 2013-08-28 08:05:46 +02:00
nat-network.xml Test network update XML parsing 2013-08-28 08:05:46 +02:00
openvswitch-net-modified.xml Test network update XML parsing 2013-08-28 08:05:46 +02:00
openvswitch-net-more-portgroups.xml Test network update XML parsing 2013-08-28 08:05:46 +02:00
openvswitch-net-without-alice.xml Test network update XML parsing 2013-08-28 08:05:46 +02:00