| <?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. |
| --> |
| <components-simulator.xml> |
| <management-server class="com.cloud.server.ManagementServerSimulatorImpl" library="com.cloud.configuration.SimulatorComponentLibrary" extends="components.xml:management-server"> |
| <dao name="Configuration configuration server" class="com.cloud.configuration.dao.ConfigurationDaoImpl"> |
| <param name="premium">true</param> |
| </dao> |
| <adapters key="com.cloud.ha.Investigator"> |
| <adapter name="SimpleInvestigator" class="com.cloud.ha.CheckOnAgentInvestigator"/> |
| <adapter name="PingInvestigator" class="com.cloud.ha.UserVmDomRInvestigator"/> |
| <adapter name="ManagementIPSysVMInvestigator" class="com.cloud.ha.ManagementIPSystemVMInvestigator"/> |
| </adapters> |
| <adapters key="com.cloud.resource.Discoverer"> |
| <adapter name="Simulator Agent" class="com.cloud.resource.SimulatorDiscoverer"/> |
| <adapter name="XCP Agent" class="com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer"/> |
| <adapter name="SecondaryStorage" class="com.cloud.storage.secondary.SecondaryStorageDiscoverer"/> |
| <adapter name="KVM Agent" class="com.cloud.hypervisor.kvm.discoverer.KvmServerDiscoverer"/> |
| <adapter name="SecondaryStorage" class="com.cloud.resource.SimulatorSecondaryDiscoverer"/> |
| </adapters> |
| |
| <adapters key="com.cloud.hypervisor.HypervisorGuru"> |
| <adapter name="SimulatorGuru" class="com.cloud.simulator.SimulatorGuru"/> |
| <adapter name="XenServerGuru" class="com.cloud.hypervisor.XenServerGuru"/> |
| <adapter name="KVMGuru" class="com.cloud.hypervisor.KVMGuru"/> |
| </adapters> |
| <adapters key="com.cloud.agent.StartupCommandProcessor"> |
| <adapter name="BasicAgentAuthorizer" class="com.cloud.agent.manager.authn.impl.BasicAgentAuthManager"/> |
| </adapters> |
| </management-server> |
| |
| <configuration-server class="com.cloud.server.ConfigurationServerImpl" extends="components.xml:configuration-server"> |
| <dao name="Configuration configuration server" class="com.cloud.configuration.dao.ConfigurationDaoImpl" singleton="false"> |
| <param name="premium">true</param> |
| </dao> |
| </configuration-server> |
| |
| </components-simulator.xml> |