cloudstack/patches/systemvm/debian/config/root
Bharat Kumar 052c24c4d1 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  https://github.com/bvbharatk/cloud-stack/tree/Cloudstack-702 , also rebased the code with master.
I need to test the code for advanced sg enabled network using kvm.

I have added the unit test
Marvin tests are at https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=53e4965

Also accomodated some of the changes suggested by koushik.
corrected the import statements. renamed the IpAlias command to createIpAlias command.

This feature supports only ipv4
2013-05-13 17:06:44 +05:30
..
.ssh update new keypair 2010-10-15 15:50:53 -07:00
redundant_router CLOUDSTACK-1653: Redundant router: Fix check_heartbeat.sh malfunctional due to delayed cron job 2013-03-12 18:31:31 -07:00
bumpup_priority.sh Correct license header mainly for patches folder 2012-08-31 10:50:46 -04:00
clearUsageRules.sh Correct license header mainly for patches folder 2012-08-31 10:50:46 -04:00
createIpAlias.sh CLOUDSTACK-702: Multiple ip ranges in different subnets. 2013-05-13 17:06:44 +05:30
deleteIpAlias.sh CLOUDSTACK-702: Multiple ip ranges in different subnets. 2013-05-13 17:06:44 +05:30
dnsmasq.sh CLOUDSTACK-702: Multiple ip ranges in different subnets. 2013-05-13 17:06:44 +05:30
edithosts.sh Summary: Release old DHCP entries 2013-05-03 14:09:52 -06:00
firewall.sh Correct license header mainly for patches folder 2012-08-31 10:50:46 -04:00
firewallRule_egress.sh CLOUDSTACK-299: Egress firewall rules feature for guest network on VR 2013-01-31 10:57:30 +05:30
firewall_rule.sh Correct license header mainly for patches folder 2012-08-31 10:50:46 -04:00
func.sh CLOUDSTACK-1522: Add timestamp to lock 2013-03-05 15:58:57 -08:00
loadbalancer.sh Correct license header mainly for patches folder 2012-08-31 10:50:46 -04:00
reconfigLB.sh Correct license header mainly for patches folder 2012-08-31 10:50:46 -04:00
savepassword.sh Redundant router: Fix wrong log attend to keepalived.log 2012-12-21 15:21:49 -08:00
userdata.py Correct license header mainly for patches folder 2012-08-31 10:50:46 -04:00
userdata.sh Correct license header mainly for patches folder 2012-08-31 10:50:46 -04:00