mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
321 lines
11 KiB
XML
321 lines
11 KiB
XML
<!--
|
|
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.
|
|
-->
|
|
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
|
xmlns:tx="http://www.springframework.org/schema/tx"
|
|
xmlns:aop="http://www.springframework.org/schema/aop"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
|
|
http://www.springframework.org/schema/tx
|
|
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
|
|
http://www.springframework.org/schema/aop
|
|
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
|
|
http://www.springframework.org/schema/context
|
|
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
|
|
|
|
|
|
<!--
|
|
Non-OSS deployment component configuration
|
|
-->
|
|
<bean id="premiumDatabaseUpgradeChecker" class="com.cloud.upgrade.PremiumDatabaseUpgradeChecker"/>
|
|
|
|
<!--
|
|
DAO with customized configuration under non-OSS deployment
|
|
-->
|
|
<bean id="configurationDaoImpl" class="com.cloud.configuration.dao.ConfigurationDaoImpl">
|
|
<property name="configParams">
|
|
<map>
|
|
<entry key="premium" value="true" />
|
|
</map>
|
|
</property>
|
|
</bean>
|
|
|
|
<!--
|
|
VMware support components
|
|
-->
|
|
<bean id="VmwareFencer" class="com.cloud.ha.VmwareFencer">
|
|
<property name="name" value="VMwareFenceBuilder"/>
|
|
</bean>
|
|
<bean id="vmwareServerDiscoverer" class="com.cloud.hypervisor.vmware.VmwareServerDiscoverer">
|
|
<property name="name" value="VMware Discover"/>
|
|
</bean>
|
|
<bean id="VMwareGuru" class="com.cloud.hypervisor.guru.VMwareGuru">
|
|
<property name="name" value="VMwareGuru"/>
|
|
</bean>
|
|
<bean id="VmwareInvestigator" class="com.cloud.ha.VmwareInvestigator">
|
|
<property name="name" value="VMwareInvestigator"/>
|
|
</bean>
|
|
<bean id="VmwareManager" class="com.cloud.hypervisor.vmware.manager.VmwareManagerImpl"/>
|
|
<bean id="vmwareContextFactory" class="com.cloud.hypervisor.vmware.resource.VmwareContextFactory" />
|
|
|
|
<!--
|
|
Nicira support components
|
|
-->
|
|
<bean id="niciraNvpDaoImpl" class="com.cloud.network.dao.NiciraNvpDaoImpl" />
|
|
<bean id="niciraNvpNicMappingDaoImpl" class="com.cloud.network.dao.NiciraNvpNicMappingDaoImpl" />
|
|
<bean id="niciraNvpRouterMappingDaoImpl" class="com.cloud.network.dao.NiciraNvpRouterMappingDaoImpl" />
|
|
<bean id="NiciraNvpGuestNetworkGuru" class="com.cloud.network.guru.NiciraNvpGuestNetworkGuru">
|
|
<property name="name" value="NiciraNvpGuestNetworkGuru"/>
|
|
</bean>
|
|
<bean id="NiciraNvp" class="com.cloud.network.element.NiciraNvpElement">
|
|
<property name="name" value="NiciraNvp"/>
|
|
</bean>
|
|
<bean id="BigSwitchVns" class="com.cloud.network.element.BigSwitchVnsElement">
|
|
<property name="name" value="BigSwitchVns"/>
|
|
</bean>
|
|
|
|
<!--
|
|
Netapp support components
|
|
-->
|
|
<bean id="lunDaoImpl" class="com.cloud.netapp.dao.LunDaoImpl" />
|
|
<bean id="poolDaoImpl" class="com.cloud.netapp.dao.PoolDaoImpl" />
|
|
<bean id="netappVolumeDaoImpl" class="com.cloud.netapp.dao.VolumeDaoImpl" />
|
|
<bean id="NetappManager" class="com.cloud.netapp.NetappManagerImpl"/>
|
|
|
|
<!--
|
|
JuniperSRX support components
|
|
-->
|
|
<bean id="JuniperSRX" class="com.cloud.network.element.JuniperSRXExternalFirewallElement">
|
|
<property name="name" value="JuniperSRX"/>
|
|
</bean>
|
|
|
|
<!--
|
|
NetScalar support components
|
|
-->
|
|
<bean id="netScalerPodDaoImpl" class="com.cloud.network.dao.NetScalerPodDaoImpl" />
|
|
<bean id="Netscaler" class="com.cloud.network.element.NetscalerElement">
|
|
<property name="name" value="Netscaler"/>
|
|
</bean>
|
|
|
|
<!--
|
|
F5BigIP support components
|
|
-->
|
|
<bean id="F5BigIP" class="com.cloud.network.element.F5ExternalLoadBalancerElement">
|
|
<property name="name" value="F5BigIP"/>
|
|
</bean>
|
|
|
|
<!--
|
|
Cisco Nexus support components
|
|
-->
|
|
<bean id="ciscoNexusVSMDeviceDaoImpl" class="com.cloud.network.dao.CiscoNexusVSMDeviceDaoImpl" />
|
|
<bean id="CiscoNexus1000vVSM" class="com.cloud.network.element.CiscoNexusVSMElement">
|
|
<property name="name" value="CiscoNexus1000vVSM"/>
|
|
</bean>
|
|
|
|
<!--
|
|
BigSwitch support components
|
|
-->
|
|
<bean id="bigSwitchVnsDaoImpl" class="com.cloud.network.dao.BigSwitchVnsDaoImpl" />
|
|
<bean id="bigSwitchVnsElement" class="com.cloud.network.element.BigSwitchVnsElement">
|
|
<property name="name" value="BigSwitchVnsElement"/>
|
|
</bean>
|
|
|
|
<!--
|
|
Managers & pluggable adapters configuration under non-OSS deployment
|
|
-->
|
|
<bean id="accountManagerImpl" class="com.cloud.user.AccountManagerImpl" >
|
|
<property name="UserAuthenticators">
|
|
<list>
|
|
<ref bean="MD5UserAuthenticator"/>
|
|
<ref bean="LDAPUserAuthenticator"/>
|
|
</list>
|
|
</property>
|
|
<property name="SecurityCheckers">
|
|
<list>
|
|
<ref bean="domainChecker"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="managementServerImpl" class ="com.cloud.server.ManagementServerImpl">
|
|
<property name="UserAuthenticators">
|
|
<list>
|
|
<ref bean="MD5UserAuthenticator"/>
|
|
<ref bean="LDAPUserAuthenticator"/>
|
|
</list>
|
|
</property>
|
|
<property name="HostAllocators">
|
|
<list>
|
|
<ref bean="FirstFitRouting"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="storageManagerImpl" class="com.cloud.storage.StorageManagerImpl">
|
|
<property name="StoragePoolAllocators">
|
|
<list>
|
|
<ref bean="LocalStoragePoolAllocator"/>
|
|
<ref bean="clusterScopeStoragePoolAllocator"/>
|
|
<ref bean="zoneWideStoragePoolAllocator"/>
|
|
<ref bean="garbageCollectingStoragePoolAllocator"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="FirstFitPlanner" class="com.cloud.deploy.FirstFitPlanner">
|
|
<property name="name" value="First Fit"/>
|
|
|
|
<property name="StoragePoolAllocators">
|
|
<list>
|
|
<ref bean="LocalStoragePoolAllocator"/>
|
|
<ref bean="clusterScopeStoragePoolAllocator"/>
|
|
<ref bean="zoneWideStoragePoolAllocator"/>
|
|
<ref bean="garbageCollectingStoragePoolAllocator"/>
|
|
</list>
|
|
</property>
|
|
<property name="HostAllocators">
|
|
<list>
|
|
<ref bean="FirstFitRouting"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="resourceManagerImpl" class="com.cloud.resource.ResourceManagerImpl" >
|
|
<property name="PodAllocators">
|
|
<list>
|
|
<ref bean="UserConcentratedAllocator"/>
|
|
</list>
|
|
</property>
|
|
<property name="Discoverers">
|
|
<list>
|
|
<ref bean="XcpServerDiscoverer"/>
|
|
<ref bean="SecondaryStorageDiscoverer"/>
|
|
<ref bean="KvmServerDiscoverer"/>
|
|
<!--
|
|
<ref bean="BareMetalDiscoverer"/>
|
|
-->
|
|
<ref bean="OvmDiscoverer"/>
|
|
<ref bean="vmwareServerDiscoverer"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="highAvailabilityManagerExtImpl" class="com.cloud.ha.HighAvailabilityManagerExtImpl" >
|
|
<property name="Investigators">
|
|
<list>
|
|
<ref bean="CheckOnAgentInvestigator"/>
|
|
<ref bean="XenServerInvestigator"/>
|
|
<ref bean="VmwareInvestigator"/>
|
|
<ref bean="UserVmDomRInvestigator"/>
|
|
<ref bean="ManagementIPSystemVMInvestigator"/>
|
|
</list>
|
|
</property>
|
|
<property name="FenceBuilders">
|
|
<list>
|
|
<ref bean="XenServerFencer"/>
|
|
<ref bean="KVMFencer"/>
|
|
<ref bean="OvmFencer"/>
|
|
<ref bean="VmwareFencer"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="clusteredVirtualMachineManagerImpl" class="com.cloud.vm.ClusteredVirtualMachineManagerImpl" >
|
|
<property name="HostAllocators">
|
|
<list>
|
|
<ref bean="FirstFitRouting"/>
|
|
</list>
|
|
</property>
|
|
<property name="Planners">
|
|
<list>
|
|
<ref bean="FirstFitPlanner" />
|
|
<ref bean="UserDispersingPlanner" />
|
|
<ref bean="UserConcentratedPodPlanner" />
|
|
<!--
|
|
<ref bean="BareMetalPlanner" />
|
|
-->
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="networkManagerImpl" class="com.cloud.network.NetworkManagerImpl" >
|
|
<property name="NetworkGurus">
|
|
<list>
|
|
<ref bean="StorageNetworkGuru"/>
|
|
<ref bean="ExternalGuestNetworkGuru"/>
|
|
<ref bean="PublicNetworkGuru"/>
|
|
<ref bean="PodBasedNetworkGuru"/>
|
|
<ref bean="DirectPodBasedNetworkGuru"/>
|
|
<ref bean="ControlNetworkGuru"/>
|
|
<ref bean="DirectNetworkGuru"/>
|
|
<ref bean="OvsGuestNetworkGuru"/>
|
|
<ref bean="PrivateNetworkGuru"/>
|
|
</list>
|
|
</property>
|
|
<property name="NetworkElements">
|
|
<list>
|
|
<ref bean="JuniperSRX"/>
|
|
<ref bean="Netscaler"/>
|
|
<ref bean="F5BigIP"/>
|
|
<ref bean="CiscoNexus1000vVSM"/>
|
|
<ref bean="bigSwitchVnsElement"/>
|
|
<ref bean="VirtualRouter"/>
|
|
<ref bean="Ovs"/>
|
|
<ref bean="SecurityGroupProvider"/>
|
|
<ref bean="VpcVirtualRouter"/>
|
|
<!--
|
|
<ref bean="BareMetalDhcp"/>
|
|
<ref bean="BareMetalPxe"/>
|
|
<ref bean="BareMetalUserdata"/>
|
|
-->
|
|
</list>
|
|
</property>
|
|
<property name="IpDeployers">
|
|
<list>
|
|
<ref bean="elasticLoadBalancerElement"/>
|
|
<ref bean="VirtualRouter"/>
|
|
<ref bean="VpcVirtualRouter"/>
|
|
</list>
|
|
</property>
|
|
<property name="DhcpProviders">
|
|
<list>
|
|
<ref bean="VirtualRouter"/>
|
|
<ref bean="VpcVirtualRouter"/>
|
|
<!--
|
|
<ref bean="BareMetalDhcp"/>
|
|
-->
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="networkModelImpl" class="com.cloud.network.NetworkModelImpl">
|
|
<property name="NetworkElements">
|
|
<list>
|
|
<ref bean="JuniperSRX"/>
|
|
<ref bean="Netscaler"/>
|
|
<ref bean="F5BigIP"/>
|
|
<ref bean="CiscoNexus1000vVSM"/>
|
|
<ref bean="bigSwitchVnsElement"/>
|
|
<ref bean="VirtualRouter"/>
|
|
<ref bean="Ovs"/>
|
|
<ref bean="SecurityGroupProvider"/>
|
|
<ref bean="VpcVirtualRouter"/>
|
|
<!--
|
|
<ref bean="BareMetalDhcp"/>
|
|
<ref bean="BareMetalPxe"/>
|
|
<ref bean="BareMetalUserdata"/>
|
|
-->
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
</beans>
|