-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10948/
-----------------------------------------------------------

Review request for cloudstack, Abhinandan Prateek and Koushik Das.


Description
-------

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 
https://github.com/bvbharatk/cloud-stack/commit/052ebe7fc7dea5ece99cadc23b306c5f8d6e0ea9
 , 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.
    https://issues.apache.org/jira/browse/Cloudstack-702


Diffs
-----


Diff: https://reviews.apache.org/r/10948/diff/


Testing
-------

Tested this with xenserver in basic zone.


Thanks,

bharat kumar

Reply via email to