[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Notes on Mirari



On 10 Mar 2013, at 14:03, Richard Mortier <Richard.Mortier@xxxxxxxxxxxxxxxx> 
wrote:
> 
>> NB: On the current hello world page at openmirage.org, there is mention 
>> of a "ping server" that I cannot find anywhere (absent from the old 
>> @avsm/mirage and @mirage/mirage-skeleton as well). Is there somewhere 
>> where I could find this code ?
> 
> probably in the old mirage-perf repo, under net/ -- try @avsm/mirage-perf
> 


Here:
https://github.com/mirage/mirage-skeleton/blob/master/ping/ping.ml

Note that there's no actual network code in there.  That's because the
Mirari configuration includes:

ip-use-dhcp: true

which should bind a network manager to any VIFs that are plugged into the
VM.  Each network thread will respond to ping requests automatically, without
the application needing to do anything special.  The ICMP response code is
in; https://github.com/mirage/mirage-net/blob/master/direct/lib/icmp.ml

-anil


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.