You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by tu...@apache.org on 2014/03/06 19:09:31 UTC
[6/7] git commit: updated refs/heads/4.3-forward to 8fdf941
CLOUDSTACK-5080: Hypervisor Capabilities table missing entry for Simulator
Signed-off-by: Prasanna Santhanam <ts...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/1e5415d9
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1e5415d9
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1e5415d9
Branch: refs/heads/4.3-forward
Commit: 1e5415d9612d9226b89bd4906563986feb3a175c
Parents: badff18
Author: David Grizzanti <dg...@gmail.com>
Authored: Thu Nov 7 15:27:59 2013 -0500
Committer: ng.tuna@gmail.com <ap...@Tuna.local>
Committed: Fri Mar 7 01:08:01 2014 +0700
----------------------------------------------------------------------
developer/pom.xml | 1 +
setup/db/hypervisor_capabilities.simulator.sql | 19 +++++++++++++++++++
2 files changed, 20 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1e5415d9/developer/pom.xml
----------------------------------------------------------------------
diff --git a/developer/pom.xml b/developer/pom.xml
index 5996de7..f2f5f77 100644
--- a/developer/pom.xml
+++ b/developer/pom.xml
@@ -218,6 +218,7 @@
<!-- simulator sql files -->
<argument>${basedir}/target/db/create-schema-simulator.sql</argument>
<argument>${basedir}/target/db/templates.simulator.sql</argument>
+ <argument>${basedir}/target/db/hypervisor_capabilities.simulator.sql</argument>
<!-- upgrade -->
<argument>com.cloud.upgrade.DatabaseUpgradeChecker</argument>
<argument>--database=simulator</argument>
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1e5415d9/setup/db/hypervisor_capabilities.simulator.sql
----------------------------------------------------------------------
diff --git a/setup/db/hypervisor_capabilities.simulator.sql b/setup/db/hypervisor_capabilities.simulator.sql
new file mode 100755
index 0000000..32f9aaa
--- /dev/null
+++ b/setup/db/hypervisor_capabilities.simulator.sql
@@ -0,0 +1,19 @@
+-- Licensed to the Apache Software Foundation (ASF) under one
+-- or more contributor license agreements. See the NOTICE file
+-- distributed with this work for additional information
+-- regarding copyright ownership. The ASF licenses this file
+-- to you under the Apache License, Version 2.0 (the
+-- "License"); you may not use this file except in compliance
+-- with the License. You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing,
+-- software distributed under the License is distributed on an
+-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+-- KIND, either express or implied. See the License for the
+-- specific language governing permissions and limitations
+-- under the License.
+
+
+INSERT INTO `cloud`.`hypervisor_capabilities` (uuid, hypervisor_type, hypervisor_version, max_guests_limit, security_group_enabled, max_data_volumes_limit, max_hosts_per_cluster, storage_motion_supported, vm_snapshot_enabled) values (UUID(), 'Simulator', 'default', 50, 1, 6, NULL, 0, 1);