Add the new configuration items for MidoNet to the database upgrade script Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/471ca30a Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/471ca30a Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/471ca30a
Branch: refs/heads/internallb Commit: 471ca30a701c55e0964f87cb09dc96e8541c348b Parents: 807ad0a Author: Hugo Trippaers <[email protected]> Authored: Wed May 1 16:08:27 2013 +0200 Committer: Hugo Trippaers <[email protected]> Committed: Wed May 1 16:14:55 2013 +0200 ---------------------------------------------------------------------- setup/db/db/schema-410to420.sql | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/471ca30a/setup/db/db/schema-410to420.sql ---------------------------------------------------------------------- diff --git a/setup/db/db/schema-410to420.sql b/setup/db/db/schema-410to420.sql index 2de6fe5..69bf886 100644 --- a/setup/db/db/schema-410to420.sql +++ b/setup/db/db/schema-410to420.sql @@ -1120,3 +1120,6 @@ ALTER TABLE `cloud`.`data_center_details` MODIFY value varchar(1024); ALTER TABLE `cloud`.`cluster_details` MODIFY value varchar(255); ALTER TABLE `cloud`.`storage_pool_details` MODIFY value varchar(255); ALTER TABLE `cloud`.`account_details` MODIFY value varchar(255); + +INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Network', 'DEFAULT', 'management-server', 'midonet.apiserver.address', 'http://localhost:8081', 'Specify the address at which the Midonet API server can be contacted (if using Midonet)'); +INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Network', 'DEFAULT', 'management-server', 'midonet.providerrouter.id', 'd7c5e6a3-e2f4-426b-b728-b7ce6a0448e5', 'Specifies the UUID of the Midonet provider router (if using Midonet)');
