@@ -43,6 +43,100 @@ Copyright(c) 2020 Futurewei Cloud
4343 </bean >
4444 </property >
4545
46+ <property name =" cacheConfiguration" >
47+ <list >
48+ <bean class =" org.apache.ignite.configuration.CacheConfiguration" >
49+ <!-- Set the cache name. -->
50+ <property name =" name" value =" dpm_nodeinfo_cache" />
51+ <!-- Set the cache mode. -->
52+ <property name =" atomicityMode" value =" TRANSACTIONAL" />
53+ <!-- Other cache parameters. -->
54+ <property name =" cacheMode" value =" PARTITIONED" />
55+ </bean >
56+
57+ <bean class =" org.apache.ignite.configuration.CacheConfiguration" >
58+ <!-- Set the cache name. -->
59+ <property name =" name" value =" com.futurewei.alcor.dataplane.entity.InternalPorts" />
60+ <!-- Set the cache mode. -->
61+ <property name =" atomicityMode" value =" TRANSACTIONAL" />
62+ <!-- Other cache parameters. -->
63+ <property name =" cacheMode" value =" PARTITIONED" />
64+ </bean >
65+
66+ <bean class =" org.apache.ignite.configuration.CacheConfiguration" >
67+ <!-- Set the cache name. -->
68+ <property name =" name" value =" com.futurewei.alcor.dataplane.entity.InternalSubnets" />
69+ <!-- Set the cache mode. -->
70+ <property name =" atomicityMode" value =" TRANSACTIONAL" />
71+ <!-- Other cache parameters. -->
72+ <property name =" cacheMode" value =" PARTITIONED" />
73+ </bean >
74+
75+ <bean class =" org.apache.ignite.configuration.CacheConfiguration" >
76+ <!-- Set the cache name. -->
77+ <property name =" name" value =" com.futurewei.alcor.dataplane.entity.InternalSubnetPorts" />
78+ <!-- Set the cache mode. -->
79+ <property name =" atomicityMode" value =" TRANSACTIONAL" />
80+ <!-- Other cache parameters. -->
81+ <property name =" cacheMode" value =" PARTITIONED" />
82+ </bean >
83+
84+ <bean class =" org.apache.ignite.configuration.CacheConfiguration" >
85+ <!-- Set the cache name. -->
86+ <property name =" name" value =" com.futurewei.alcor.dataplane.entity.GatewayInfo" />
87+ <!-- Set the cache mode. -->
88+ <property name =" atomicityMode" value =" TRANSACTIONAL" />
89+ <!-- Other cache parameters. -->
90+ <property name =" cacheMode" value =" PARTITIONED" />
91+ </bean >
92+
93+ <bean class =" org.apache.ignite.configuration.CacheConfiguration" >
94+ <!-- Set the cache name. -->
95+ <property name =" name" value =" ncm_nodeinfo_cache" />
96+ <!-- Set the cache mode. -->
97+ <property name =" atomicityMode" value =" TRANSACTIONAL" />
98+ <!-- Other cache parameters. -->
99+ <property name =" cacheMode" value =" PARTITIONED" />
100+ </bean >
101+
102+ <bean class =" org.apache.ignite.configuration.CacheConfiguration" >
103+ <!-- Set the cache name. -->
104+ <property name =" name" value =" com.futurewei.alcor.netwconfigmanager.entity.ResourceMeta" />
105+ <!-- Set the cache mode. -->
106+ <property name =" atomicityMode" value =" TRANSACTIONAL" />
107+ <!-- Other cache parameters. -->
108+ <property name =" cacheMode" value =" PARTITIONED" />
109+ </bean >
110+
111+ <bean class =" org.apache.ignite.configuration.CacheConfiguration" >
112+ <!-- Set the cache name. -->
113+ <property name =" name" value =" com.futurewei.alcor.netwconfigmanager.entity.VpcResourceMeta" />
114+ <!-- Set the cache mode. -->
115+ <property name =" atomicityMode" value =" TRANSACTIONAL" />
116+ <!-- Other cache parameters. -->
117+ <property name =" cacheMode" value =" PARTITIONED" />
118+ </bean >
119+
120+ <bean class =" org.apache.ignite.configuration.CacheConfiguration" >
121+ <!-- Set the cache name. -->
122+ <property name =" name" value =" java.lang.Object" />
123+ <!-- Set the cache mode. -->
124+ <property name =" atomicityMode" value =" TRANSACTIONAL" />
125+ <!-- Other cache parameters. -->
126+ <property name =" cacheMode" value =" PARTITIONED" />
127+ </bean >
128+
129+ <bean class =" org.apache.ignite.configuration.CacheConfiguration" >
130+ <!-- Set the cache name. -->
131+ <property name =" name" value =" com.futurewei.alcor.dataplane.entity.VpcResourceMeta" />
132+ <!-- Set the cache mode. -->
133+ <property name =" atomicityMode" value =" TRANSACTIONAL" />
134+ <!-- Other cache parameters. -->
135+ <property name =" cacheMode" value =" PARTITIONED" />
136+ </bean >
137+ </list >
138+ </property >
139+
46140 <!-- Explicitly configure TCP discovery SPI to provide list of initial nodes. -->
47141 <property name =" discoverySpi" >
48142 <bean class =" org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi" >
0 commit comments