Re: [libvirt] [libvirt-users] Help needed in simulating libvirt

2013-09-11 Thread Arun Viswanath
Hi Daniel, We are writing a scale test scenario for our client. So for the purpose of scale test with the real code we can't request them to change the URI's, so not too much scope on changing the client. Also we are having some simulated java object of Domain, hypervisor(kvm), etc for which we ha

Re: [libvirt] [libvirt-users] Help needed in simulating libvirt

2013-09-11 Thread Daniel P. Berrange
On Wed, Sep 11, 2013 at 04:30:13PM +0530, Arun Viswanath wrote: > Hi, > > Thanks for the response. > > I've used the URI: > "test+ssh:///default" and the connection is successful and with > that connection I issued getCapabilities and its result is attached. > I'm not sure how is result xml gener

Re: [libvirt] [libvirt-users] Help needed in simulating libvirt

2013-09-11 Thread Arun Viswanath
Hi, Thanks for the response. I've used the URI: "test+ssh:///default" and the connection is successful and with that connection I issued getCapabilities and its result is attached. I'm not sure how is result xml generated by the files in the /examples folder. Will you please explain how is this x

Re: [libvirt] [libvirt-users] Help needed in simulating libvirt

2013-09-11 Thread Daniel P. Berrange
On Wed, Sep 11, 2013 at 12:50:37PM +0530, Arun Viswanath wrote: > Hi Eric, > > Thanks for your response. > I like to know how test driver works. > > In the libvirt.org for test driver it is mentioned as "It can start with a > pre-configured default config, or be given a path to an alternate confi

Re: [libvirt] [libvirt-users] Help needed in simulating libvirt

2013-09-11 Thread Arun Viswanath
Hi Eric, Thanks for your response. I like to know how test driver works. In the libvirt.org for test driver it is mentioned as "It can start with a pre-configured default config, or be given a path to an alternate config". Is the config is an xml file where we mentioned some dummy data so that th

Re: [libvirt] [libvirt-users] Help needed in simulating libvirt

2013-09-10 Thread Eric Blake
On 09/10/2013 12:03 PM, Arun Viswanath wrote: > Hi All, >I'm need to simulate libvirt API's say to mock the libvirt API > responses. (Actually I need to simulate qemu API's response). Because of my > project needs I need to write this simulated libvirt server in Java. I > believe the simulated