cloudstack/scripts/vm/hypervisor/xenserver
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
..
xcposs Multiple Secondary Storage Issue 2013-03-14 21:08:27 -04:00
xcpserver CLOUDSTACK-702: Multiple ip ranges in different subnets. 2013-05-13 17:06:44 +05:30
xenserver56 CLOUDSTACK-702: Multiple ip ranges in different subnets. 2013-05-13 17:06:44 +05:30
xenserver56fp1 CLOUDSTACK-702: Multiple ip ranges in different subnets. 2013-05-13 17:06:44 +05:30
xenserver60 CLOUDSTACK-702: Multiple ip ranges in different subnets. 2013-05-13 17:06:44 +05:30
Add-To-VCPUs-Params-Live.sh CLOUDSTACK-658 - Scaleup vm support for Xenserver 2013-03-28 16:43:37 +05:30
check_heartbeat.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
cloud-clean-vlan.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
cloud-prepare-upgrade.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
cloud-propagate-vlan.sh Summary: several scripts are not mode executable 2013-01-17 11:21:42 -07:00
cloud-setup-bonding.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
cloudstack_pluginlib.py license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
cloudstack_plugins.conf license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
copy_vhd_from_secondarystorage.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
copy_vhd_to_secondarystorage.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
create_privatetemplate_from_snapshot.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -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
hostvmstats.py license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
kill_copy_process.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
launch_hb.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
make_migratable.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
mockxcpplugin.py finaly, finish download template to primary storage 2012-12-20 19:06:02 -08:00
network_info.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
ovs-vif-flows.py license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
ovstunnel license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
s3xen Backs NFS-based secondary storage with an S3-compatible object store. Periodically, a reaper thread synchronizes templates and ISOs stored on a NFS secondary storage mount with a configured S3 object store. It also pushes snapshots to the object store when they are created and downloads them in other zones on-demand. In addition to permitting the use of commodity or IaaS storage solutions for static assets, it provides a means of automatically synchronizing template and ISO assets across multiple zones. 2012-12-13 23:18:37 -08:00
setup_heartbeat_file.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
setup_heartbeat_sr.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
setup_iscsi.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
setupxenserver.sh Disable IPv6 in XenServer if it is enabled. The cloud support pack apparently enables IPv6 support at the moment, but wihtout proper security. 2012-07-30 17:36:29 +02:00
storagePlugin refactor test cases: use testNG instead of junit, as testNG can group test cases and pass parameter to test case 2012-12-22 22:10:39 -08:00
swift swift is written in python 2.6 2011-10-13 12:07:09 -07:00
swiftxen license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
upgrade_snapshot.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
upgrade_vnc_config.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
vmops CLOUDSTACK-702: Multiple ip ranges in different subnets. 2013-05-13 17:06:44 +05:30
vmopsSnapshot Multiple Secondary Storage Issue 2013-03-14 21:08:27 -04:00
vmopspremium license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
xen-ovs-vif-flows.rules license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
xenheartbeat.sh Review 9647: In some storage failure scenario’s the NFS timeout can 2013-03-05 15:38:54 +01:00
xs_cleanup.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00