mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
68 lines
3.4 KiB
XML
68 lines
3.4 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
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.
|
|
-->
|
|
|
|
|
|
<!--
|
|
usage-components.xml is the configuration file for the VM Ops
|
|
usage servers.
|
|
|
|
Here are some places to look for information.
|
|
- To find out the general functionality that each Manager
|
|
or Adapter provide, look at the javadoc for the interface
|
|
that it implements. The interface is usually the
|
|
"key" attribute in the declaration.
|
|
- To find specific implementation of each Manager or
|
|
Adapter, look at the javadoc for the actual class. The
|
|
class can be found in the <class> element.
|
|
- To find out the configuration parameters for each Manager
|
|
or Adapter, look at the javadoc for the actual implementation
|
|
class. It should be documented in the description of the
|
|
class.
|
|
- To know more about the components.xml in general, look for
|
|
the javadoc for ComponentLocator.java.
|
|
|
|
If you found that the Manager or Adapter are not properly
|
|
documented, please contact the author.
|
|
-->
|
|
<components.xml>
|
|
<usage-server>
|
|
<dao name="VM Instance" class="com.cloud.vm.dao.VMInstanceDaoImpl"/>
|
|
<dao name="User VM" class="com.cloud.vm.dao.UserVmDaoImpl"/>
|
|
<dao name="ServiceOffering" class="com.cloud.service.dao.ServiceOfferingDaoImpl">
|
|
<param name="cache.size">50</param>
|
|
<param name="cache.time.to.live">-1</param>
|
|
</dao>
|
|
<dao name="UserStats" class="com.cloud.user.dao.UserStatisticsDaoImpl"/>
|
|
<dao name="IP Addresses" class="com.cloud.network.dao.IPAddressDaoImpl"/>
|
|
<dao name="Usage" class="com.cloud.usage.dao.UsageDaoImpl"/>
|
|
<dao name="Domain" class="com.cloud.domain.dao.DomainDaoImpl"/>
|
|
<dao name="Account" class="com.cloud.user.dao.AccountDaoImpl"/>
|
|
<dao name="UserAccount" class="com.cloud.user.dao.UserAccountDaoImpl"/>
|
|
<dao name="Usage VmInstance" class="com.cloud.usage.dao.UsageVMInstanceDaoImpl"/>
|
|
<dao name="Usage Network" class="com.cloud.usage.dao.UsageNetworkDaoImpl"/>
|
|
<dao name="Usage IPAddress" class="com.cloud.usage.dao.UsageIPAddressDaoImpl"/>
|
|
<dao name="Usage Job" class="com.cloud.usage.dao.UsageJobDaoImpl"/>
|
|
<dao name="Configuration" class="com.cloud.configuration.dao.ConfigurationDaoImpl"/>
|
|
<dao name="Usage Event" class="com.cloud.event.dao.UsageEventDaoImpl"/>
|
|
<manager name="Usage alert manager" class="com.cloud.usage.UsageAlertManagerImpl"/>
|
|
<manager name="usage manager" class="com.cloud.usage.UsageManagerImpl">
|
|
<param name="period">DAILY</param> <!-- DAILY, WEEKLY, MONTHLY; how often it creates usage records -->
|
|
</manager>
|
|
</usage-server>
|
|
</components.xml>
|