forked from zstackio/zstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NfsPrimaryStorage.xml
executable file
·55 lines (49 loc) · 3.15 KB
/
NfsPrimaryStorage.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:zstack="http://zstack.org/schema/zstack"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-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/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://zstack.org/schema/zstack
http://zstack.org/schema/zstack/plugin.xsd"
default-init-method="init" default-destroy-method="destroy">
<bean id="NfsPrimaryStorageFactory" class="org.zstack.storage.primary.nfs.NfsPrimaryStorageFactory">
<zstack:plugin>
<zstack:extension interface="org.zstack.header.storage.primary.PrimaryStorageFactory" />
<zstack:extension interface="org.zstack.header.storage.snapshot.CreateTemplateFromVolumeSnapshotExtensionPoint" />
<zstack:extension interface="org.zstack.header.storage.primary.RecalculatePrimaryStorageCapacityExtensionPoint" />
<zstack:extension interface="org.zstack.header.storage.primary.PrimaryStorageDetachExtensionPoint" />
<zstack:extension interface="org.zstack.header.storage.primary.PrimaryStorageAttachExtensionPoint" />
<zstack:extension interface="org.zstack.header.Component" />
<zstack:extension interface="org.zstack.header.host.HostDeleteExtensionPoint"/>
<zstack:extension interface="org.zstack.storage.snapshot.PostMarkRootVolumeAsSnapshotExtension"/>
<zstack:extension interface="org.zstack.header.cluster.ClusterUpdateOSExtensionPoint" />
</zstack:plugin>
</bean>
<bean id="NfsPrimaryStorageKVMBackend" class="org.zstack.storage.primary.nfs.NfsPrimaryStorageKVMBackend">
<zstack:plugin>
<zstack:extension interface="org.zstack.storage.primary.nfs.NfsPrimaryStorageBackend" />
<zstack:extension interface="org.zstack.kvm.KVMHostConnectExtensionPoint" />
<zstack:extension interface="org.zstack.header.host.HostConnectionReestablishExtensionPoint" />
</zstack:plugin>
<property name="syncGetCapacity" value="${NfsPrimaryStorageKVMBackend.syncGetCapacity:false}" />
</bean>
<bean id="NfsPrimaryToSftpBackupKVMBackend" class="org.zstack.storage.primary.nfs.NfsPrimaryToSftpBackupKVMBackend">
<zstack:plugin>
<zstack:extension interface="org.zstack.storage.primary.nfs.NfsPrimaryToBackupStorageMediator" />
</zstack:plugin>
</bean>
<bean id="NfsPrimaryStorageApiInterceptor" class="org.zstack.storage.primary.nfs.NfsPrimaryStorageApiInterceptor">
<zstack:plugin>
<zstack:extension interface="org.zstack.header.apimediator.ApiMessageInterceptor" />
</zstack:plugin>
</bean>
<bean id="NfsPrimaryStorageImageCacheCleaner" class="org.zstack.storage.primary.nfs.NfsPrimaryStorageImageCacheCleaner">
<zstack:plugin>
<zstack:extension interface="org.zstack.header.managementnode.ManagementNodeReadyExtensionPoint" />
</zstack:plugin>
</bean>
</beans>