Updated Branches:
  refs/heads/master 53b0bf673 -> 951336c3e

CLOUDSTACK-5080: Hypervisor Capabilities table missing entry for Simulator

Signed-off-by: Prasanna Santhanam <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/dfb81ac1
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/dfb81ac1
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/dfb81ac1

Branch: refs/heads/master
Commit: dfb81ac1274d8ebe4a47223d10f3de44aa9091bf
Parents: 53b0bf6
Author: David Grizzanti <[email protected]>
Authored: Thu Nov 7 15:27:59 2013 -0500
Committer: Prasanna Santhanam <[email protected]>
Committed: Mon Nov 11 12:11:28 2013 +0530

----------------------------------------------------------------------
 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/dfb81ac1/developer/pom.xml
----------------------------------------------------------------------
diff --git a/developer/pom.xml b/developer/pom.xml
index 0eb18bf..8ea0492 100644
--- a/developer/pom.xml
+++ b/developer/pom.xml
@@ -201,6 +201,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/dfb81ac1/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);

Reply via email to