cloudstack/setup/db
Sheng Yang 02e0296484 bug 12234: NaaS: Dynamic CIDR for virtual router
bug 12318: NaaS: Dynamic CIDR for virtual router

This patch in fact use ExternalGuestNetworkGuru to replace GuestNetworkGuru. The
problem is the virtual router would normally use 10.1.1.0/8 as CIDR, but when we
want to upgrade to external firewall e.g. Netscaler, the CIDR would need to be
changed to different value e.g. 10.x.x.0/24 based on VLAN, because the external
firewall can not support one CIDR for multiply VLAN right now. So we have to use
the same policy for virtual router.

This patch also add one field "specified_cidr" to the networks table. If this
field is true, then it means user specify the CIDR of this network, thus we can
not granutee the CIDR after upgrade is valid, so we would like to prohibit the
upgrade of network offering.

This should also fix bug 12318. The reason for bug 12318 is the pre-set gateway
address of domR is overrided by ExternalGuestNetworkGuru. After this patch,
ExternalGuestNetworkGuru would respect the existed value in Nic, rather than
simply wiping it out. It would do calcuation to get the relevant address after
VLAN changed.

More clean up can be done in the future, when we proved that this policy change
doesn't break...

status 12234: resolved fixed
status 12318: resolved fixed
2011-12-03 17:32:31 -08:00
..
db bug 10617: merge code from branch bug10617. 2011-12-01 14:17:52 +05:30
22beta4to22GA.sql added queries to handle unit MB to bytes change for volume usage 2011-02-22 17:12:22 +05:30
221to222upgrade.sh Add license header to files 2011-04-14 11:23:14 -07:00
create-database-premium.sql Full opensource 2011-08-23 19:52:19 -07:00
create-database.sql more file changes 2010-09-09 13:27:20 -07:00
create-index-fk.sql bug 10617: merge code from branch bug10617. 2011-12-01 14:17:52 +05:30
create-schema-premium.sql bug 12134: Added uuid column to cloud_usage account table 2011-11-28 13:05:02 +05:30
create-schema-simulator.sql fix security group rule which not get updated into db, and simulator agents reports the wrong security group to mgt server 2011-09-12 19:09:41 -07:00
create-schema.sql bug 12234: NaaS: Dynamic CIDR for virtual router 2011-12-03 17:32:31 -08:00
data-20to21.sql Source code committed 2010-08-11 09:13:29 -07:00
data-22beta1to22beta2.sql move db migration to script 2010-12-03 11:24:25 -08:00
deploy-db-dev.sh Add license header to files 2011-04-14 11:23:14 -07:00
deploy-db-simulator.sh simulate more commands 2011-08-18 11:38:18 -07:00
index-20to21.sql Source code committed 2010-08-11 09:13:29 -07:00
index-212to213.sql bug 5985: rename hotfix for bug to be consistent with other migration scripts, and include in fedora / ubuntu packaging 2010-08-26 19:18:37 -07:00
postprocess-20to21.sql Source code committed 2010-08-11 09:13:29 -07:00
server-setup.sql bug 12187, 12188: Encrypt system, admin user passwords. Use configDao for ssl.keystore. Set configuration init to null instead of false. 2011-11-28 18:21:20 +05:30
server-setup.xml NaaS: Add service provider to server-setup.xml 2011-11-15 17:09:55 -08:00
templates.kvm.sql Source code committed 2010-08-11 09:13:29 -07:00
templates.simulator.sql add template for simulator 2011-08-18 11:37:50 -07:00
templates.sql Add Solaris support for Ovm 2011-10-25 18:12:18 -07:00
templates.vmware.sql Update vcenter address to vmware demo instance 2010-09-29 18:40:48 -07:00
templates.xenserver.sql bug 6546: support ubuntu 10.04 PV kernel, 2010-10-21 18:28:31 -07:00