On 2013-11-19 3:08, Swapna Krishnan wrote:
While doing remote copy files to, client_vm.get_address() doesn't return the IP address.
Instead, it just returns "localhost".
You mean virt_vm.get_address() return "localhost"? It returned
"localhost" perhaps because of the network
type, here is the beginning of virt_vm.get_address() definition:
nic = self.virtnet[index]
# TODO: Determine port redirection in use w/o checking nettype
if nic.nettype not in ['bridge', 'macvtap']:
return "localhost"
so maybe it's not belong to 'bridge' and 'macvtap'.
--
Regards,
--------------------------------------------------
Li Yang
TEL:+86+25-86630566-8529
EMail:[email protected]
--------------------------------------------------
_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel