selftest: Map realm to IP address (instead of iface)
authorTim Beale <timbeale@catalyst.net.nz>
Wed, 20 Feb 2019 03:34:23 +0000 (16:34 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 5 Mar 2019 23:27:31 +0000 (23:27 +0000)
commit327ed9758abe29b3f01371bbcb9fb424737835b7
tree7b64266ddf674f8bc948ce988eb1494484c14169
parentcbcd4f8f007878ac795046a6f576bba0d009d59f
selftest: Map realm to IP address (instead of iface)

The code is more readable if the hashmap translates between realm and
DC-name, rather than realm-to-iface. We already have a function to map
between DC-name and iface (and since we're doing this, we might as well
map straight to IP address).

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/target/Samba.pm
selftest/target/dns_hub.py