[quagga-dev 8055] Re: How to do Unit & Functionality testing of Quagga
Balaji G <balajig81 <at> gmail.com>
2010-07-14 11:43:44 GMT
>Here Qemu provides some mechanism to forward packets, no need of OSPF,BGP, or some routing protocols
Qemu has nothing to do with forwarding packets nor with protocols either. Qemu is an emulator which would emulate x86 or other architectures. Read up on qemu networking
http://wiki.qemu.org/Documentation/NetworkingThe other option could be to use UML as i already told you. Read up about it in the following link
http://user-mode-linux.sourceforge.net/network.htmlThanks,
Cheers,
- Balaji
On Wed, Jul 14, 2010 at 5:08 PM, Ashok .
<ashokj1125 <at> gmail.com> wrote:
On Wed, Jul 14, 2010 at 5:00 PM, Balaji G
<balajig81 <at> gmail.com> wrote:
>do you use any simulator or any other software for testing ?
Virtualization is the key. If you just have a single system and you want to have a BGP/RIP/OSPF session the best way would be to either use UML or Qemu Virtualization techniques, which is one of the recommended ways to test your kernel too if you want to. If you have been used to VMware kind of environment earlier, then i would suggest you could use VirtualBox too. The quickest way would be to use UML or Qemu environments.
I used Qemu in the past. So if you have any other manual on how to set up for quagga testing, please do share with me
>I don't have big setup, I have 2 desktop pc, that's all i can afford, with that just want to know, how best I can test
You have 2 PCs so the best would be to have a back to back connection if you want a basic setup, if you need a setup with 4-5 routers then refer the techniques i refered above.
thanks
Ashok
Hi,
How would you test (or) debug your code generally? like ospf, bgp, rip... how to verify that your code is working?
do you use any simulator or any other software for testing ?
I don't have big setup, I have 2 desktop pc, that's all i can afford, with that just want to know, how best I can test my code?
thanks
Ashok
_______________________________________________
Quagga-dev mailing list
Quagga-dev <at> lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-dev
<div>
<br>>Here Qemu provides some mechanism to forward packets, no need of OSPF,BGP, or some routing protocols <br><br>Qemu has nothing to do with forwarding packets nor with protocols either. Qemu is an emulator which would emulate x86 or other architectures. Read up on qemu networking <br><br><a href="http://wiki.qemu.org/Documentation/Networking">http://wiki.qemu.org/Documentation/Networking</a><br><br>The other option could be to use UML as i already told you. Read up about it in the following link<br><br><a href="http://user-mode-linux.sourceforge.net/network.html">http://user-mode-linux.sourceforge.net/network.html</a><br><br><br>Thanks,<br>Cheers,<br> - Balaji<br><br><br><br><div class="gmail_quote">On Wed, Jul 14, 2010 at 5:08 PM, Ashok . <span dir="ltr"><<a href="mailto:ashokj1125 <at> gmail.com">ashokj1125 <at> gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote">
<br><br><div class="gmail_quote">
<div class="im">On Wed, Jul 14, 2010 at 5:00 PM, Balaji G <span dir="ltr"><<a href="mailto:balajig81 <at> gmail.com" target="_blank">balajig81 <at> gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote">
<div>
<br>>do you use any simulator or any other software for testing ?<br><br>
</div>Virtualization is the key. If you just have a single system and you want to have a BGP/RIP/OSPF session the best way would be to either use UML or Qemu Virtualization techniques, which is one of the recommended ways to test your kernel too if you want to. If you have been used to VMware kind of environment earlier, then i would suggest you could use VirtualBox too. The quickest way would be to use UML or Qemu environments.</blockquote>
<div> </div>
</div>
<div>(correct me if i am wrong).<br>are you referring to this manual <a href="http://www.h7.dion.ne.jp/%7Eqemu-win/HowToNetwork-en.html" target="_blank">http://www.h7.dion.ne.jp/~qemu-win/HowToNetwork-en.html</a><br>
Here Qemu provides some mechanism to forward packets, no need of OSPF,BGP, or some routing protocols <br><br>
</div>
<div>I used Qemu in the past. So if you have any other manual on how to set up for quagga testing, please do share with me <br><br> </div>
<div class="im"><blockquote class="gmail_quote">
<div>>I don't have big setup, I have 2 desktop pc, that's all i can afford, with that just want to know, how best I can test<br><br>
</div>You have 2 PCs so the best would be to have a back to back connection if you want a basic setup, if you need a setup with 4-5 routers then refer the techniques i refered above. <br><br>
</blockquote></div>
<div>
<br>thanks<br>Ashok<br><br><br><br>
</div>
<div class="im"><blockquote class="gmail_quote">
<br><div class="gmail_quote">
<div>
<div></div>
<div>On Wed, Jul 14, 2010 at 3:49 PM, Ashok . <span dir="ltr"><<a href="mailto:ashokj1125 <at> gmail.com" target="_blank">ashokj1125 <at> gmail.com</a>></span> wrote:<br>
</div>
</div>
<blockquote class="gmail_quote">
<div>
<div></div>
<div>Hi,<br><br>How would you test (or) debug your code generally? like ospf, bgp, rip... how to verify that your code is working?<br>
do you use any simulator or any other software for testing ?<br>I don't have big setup, I have 2 desktop pc, that's all i can afford, with that just want to know, how best I can test my code?<br><br>thanks<br>Ashok<br><br>
</div>
</div>_______________________________________________<br>
Quagga-dev mailing list<br><a href="mailto:Quagga-dev <at> lists.quagga.net" target="_blank">Quagga-dev <at> lists.quagga.net</a><br><a href="http://lists.quagga.net/mailman/listinfo/quagga-dev" target="_blank">http://lists.quagga.net/mailman/listinfo/quagga-dev</a><br><br>
</blockquote>
</div>
<br>
</blockquote></div>
</div>
<br>
</blockquote>
</div>
<br>
</div>