<div dir="ltr">Hello, <div><br></div><div>I'm working on a python application that will manage multiple remote libvirt hypervisors. I've been using the test:///default uri for single-hypervisor tests, and it works great. </div><div><br></div><div>I'd like to simulate connecting to two different remote hypervisors, however, in my testing so far it appears that multiple connections to the test:///default uri just look like different connections to the same hypervisor. Here's what I tried :</div><div><br></div><div>conn_one = libvirt.open('test:///default')<br><div><build and start some domains></div><div>one_vms = conn_one.listAllDomains(0)<br></div><div>for x in one_vms:<br>    print(f"The vm in set one is {<a href="http://x.name">x.name</a>()}")</div><div><br></div><div><get list of all the domains I just built></div><div>conn_two = libvirt.open('test:///default')<br></div><div><build and start some different domains></div><div>two_vms = conn_two.listAllDomains(0)<br>for z in two_vms:<br>    print(f"The vm in set one is {<a href="http://z.name">z.name</a>()}")<br></div><div><br></div><div><get list of ALL domains including those created with conn_one, not just those created using the conn_two instance></div><div><br></div><div>What I would like is to be able to spin up two completely independent instances of the test driver so that it can simulate two different hypervisors/instances of libvirtd.</div><div><br></div><div>Is that possible?</div><div><br></div><div>Thanks, </div><div>Tom</div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">-----------------------------------------------------------------------------<br>Tom Ammon<br>M: (737) 400-9042<br><a href="mailto:thomasammon@gmail.com" target="_blank">thomasammon@gmail.com</a><br>-----------------------------------------------------------------------------</div></div></div></div></div></div>