cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bharat kumar" <>
Subject Review Request: Cloudstack-702 Multiple Ip ranges in different subnets
Date Mon, 06 May 2013 16:42:12 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for cloudstack, Abhinandan Prateek and Koushik Das.


Cloudstack-702. Multiple ip ranges in different subnets. 

This feature enables adding of guest ip ranges (public ips)  form different subnets.

In order to provide the dhcp service to a different subnet we create an ipalias on the router.
This allows the router to listen to the dhcp request from the guest vms and respond accordingly.
Every time a vm is deployed in the new subnet we configure an ip alias on the router. Cloudstack
uses dnsmasq to provide dhcp service. We need to configure the dnsmasq to issue ips on the
new subnets. Added a new class dnsmasqconfigurator which generates the dnsmasq confg file,
this file replaces the old config in the router. 

The details of the alias ips are stored in db in the nic_ip_alias table. Every time a new
subnet is added one of the ip from the subnet is used to configure the ip alias. 

I have pushed the code to github
, also rebased the code with master. 
I need to test the code for advanced sg enabled network using kvm.

The code dose not include any unit tests as of now. will add them asap.

This addresses bug Cloudstack-702.




Tested this with xenserver in basic zone.


bharat kumar

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message