edison 4fe1d8f335 add a web-based Ip Allocator:
In external-ip mode, management server can get user VM's ip from
direct.attach.network.externalIpAllocator.url.
This simple tool provides such kind of ip allocator service.

How to:
1. setup the dnsmasq:
	add the following in dnsmasq.conf:
		dhcp-range=starting-ip-allocate-to-vm,end-ip,netmask,static
    		dhcp-option=option:router,gateway
2. run cloud-web-ipallocator,
	The default listing port is 8080, if it's used by others, change the port by:
		cloud-web-ipallocator other-port
3. set the following in direct.attach.network.externalIpAllocator.url:
	http://your-host-ip:listening-port/ipallocator
2010-08-25 12:25:05 -07:00
..
2010-08-25 12:25:05 -07:00
2010-08-19 10:50:39 -07:00