1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform">
3 <output omit-xml-declaration="yes" />
4 <strip-space elements="*"/>
5 <param name="config">fs=lustre</param>
6 <variable name="basedn">config=<value-of select="$config"/>,fs=lustre</variable>
8 <template match="lustre">
9 dn: <value-of select="$basedn"/>
11 objectClass: LUSTRECONFIG
12 config: <value-of select="$config"/>
13 version: <value-of select="@version"/>
15 </text><apply-templates/>
18 <template match="node">
19 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
21 lustreName: <value-of select="@name"/>
22 uuid: <value-of select="@uuid"/>
23 networkRef: <value-of select="network/@uuid"/>
24 <for-each select="profile_ref">
25 profileRef: <value-of select="@uuidref"/>
28 timeout: <value-of select="timeout"/>
30 <if test="lustreUpcall">
31 lustreUpcall: <value-of select="lustreUpcall"/>
33 <if test="portalsUpcall">
34 portalsUpcall: <value-of select="portalsUpcall"/>
37 ptldebug: <value-of select="ptldebug"/>
40 subsystem: <value-of select="subsystem"/>
44 <for-each select="network">
45 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
47 lustreName: <value-of select="@name"/>
48 uuid: <value-of select="@uuid"/>
49 nettype: <value-of select="@nettype"/>
50 nid: <value-of select="nid"/>
52 port: <value-of select="port"/>
59 <template match="profile">
60 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
62 lustreName: <value-of select="@name"/>
63 uuid: <value-of select="@uuid"/><apply-templates/>
68 <template match="network">
69 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
71 lustreName: <value-of select="@name"/>
72 uuid: <value-of select="@uuid"/>
73 nettype: <value-of select="@nettype"/>
74 nid: <value-of select="nid"/>
76 port: <value-of select="port"/>
83 <template match="mds">
84 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
86 lustreName: <value-of select="@name"/>
87 uuid: <value-of select="@uuid"/>
88 activeRef: <value-of select="active_ref/@uuidref"/>
89 <if test="lovconfig_ref">
90 lovconfigRef: <value-of select="lovconfig_ref/@uuidref"/>
92 <if test="filesystem_ref">
93 filesystemRef: <value-of select="filesystem_ref/@uuidref"/>
96 failover: <value-of select="@failover"/>
99 group: <value-of select="group"/>
105 <template match="mdsdev">
106 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
108 lustreName: <value-of select="@name"/>
109 uuid: <value-of select="@uuid"/>
111 fstype: <value-of select="fstype"/>
113 <if test="autoformat">
114 autoformat: <value-of select="autoformat"/>
117 devpath: <value-of select="devpath"/>
120 devsize: <value-of select="devsize"/>
122 <if test="journalsize">
123 journalsize: <value-of select="journalsize"/>
125 <if test="mkfsoptions">
126 mkfsoptions: <value-of select="mkfsoptions"/>
128 <if test="mountfsoptions">
129 mountfsoptions: <value-of select="mountfsoptions"/>
131 nodeRef: <value-of select="node_ref/@uuidref"/>
132 targetRef: <value-of select="target_ref/@uuidref"/>
137 <template match="lov">
138 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
140 lustreName: <value-of select="@name"/>
141 uuid: <value-of select="@uuid"/>
142 mdsRef: <value-of select="mds_ref/@uuidref"/>
143 stripepattern: <value-of select="@stripepattern"/>
144 stripesize: <value-of select="@stripesize"/>
145 stripecount: <value-of select="@stripecount"/><apply-templates/>
150 <template match="lovconfig">
151 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
152 objectClass: LOVCONFIG
153 lustreName: <value-of select="@name"/>
154 uuid: <value-of select="@uuid"/><apply-templates/>
159 <template match="osd">
160 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
162 lustreName: <value-of select="@name"/>
163 uuid: <value-of select="@uuid"/>
164 nodeRef: <value-of select="node_ref/@uuidref"/>
165 targetRef: <value-of select="target_ref/@uuidref"/>
166 osdtype: <value-of select="@osdtype"/>
168 fstype: <value-of select="fstype"/>
170 <if test="autoformat">
171 autoformat: <value-of select="autoformat"/>
174 devpath: <value-of select="devpath"/>
177 devsize: <value-of select="devsize"/>
179 <if test="journalsize">
180 journalsize: <value-of select="journalsize"/>
182 <if test="mkfsoptions">
183 mkfsoptions: <value-of select="mkfsoptions"/>
185 <if test="mountfsoptions">
186 mountfsoptions: <value-of select="mountfsoptions"/>
192 <template match="ost">
193 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
195 lustreName: <value-of select="@name"/>
196 uuid: <value-of select="@uuid"/>
197 activeRef: <value-of select="active_ref/@uuidref"/>
198 <if test="@failover">
199 failover: <value-of select="@failover"/>
202 group: <value-of select="group"/>
208 <template match="filesystem">
209 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
210 objectClass: FILESYSTEM
211 lustreName: <value-of select="@name"/>
212 uuid: <value-of select="@uuid"/><apply-templates/>
217 <template match="mountpoint">
218 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
219 objectClass: MOUNTPOINT
220 lustreName: <value-of select="@name"/>
221 uuid: <value-of select="@uuid"/><apply-templates/>
222 <if test="clientoptions">
223 clientoptions: <value-of select="clientoptions"/>
229 <template match="echoclient">
230 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
231 objectClass: ECHOCLIENT
232 lustreName: <value-of select="@name"/>
233 uuid: <value-of select="@uuid"/><apply-templates/>
238 <template match="ldlm">
239 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
241 lustreName: <value-of select="@name"/>
242 uuid: <value-of select="@uuid"/>
247 <template match="ptlrpc">
248 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
250 lustreName: <value-of select="@name"/>
251 uuid: <value-of select="@uuid"/>
256 <template match="ldlm_ref">
257 ldlmRef: <value-of select="@uuidref"/>
260 <template match="ptlrpc_ref">
261 ptlrpcRef: <value-of select="@uuidref"/>
264 <template match="obd_ref">
265 obdRef: <value-of select="@uuidref"/>
268 <template match="osd_ref">
269 osdRef: <value-of select="@uuidref"/>
272 <template match="ost_ref">
273 ostRef: <value-of select="@uuidref"/>
276 <template match="network_ref">
277 networkRef: <value-of select="@uuidref"/>
280 <template match="mds_ref">
281 mdsRef: <value-of select="@uuidref"/>
284 <template match="mdsdev_ref">
285 mdsdevRef: <value-of select="@uuidref"/>
288 <template match="mountpoint_ref">
289 mountpointRef: <value-of select="@uuidref"/>
292 <template match="filesystem_ref">
293 filesystemRef: <value-of select="@uuidref"/>
296 <template match="echoclient_ref">
297 echoclientRef: <value-of select="@uuidref"/>
300 <template match="lov_ref">
301 lovRef: <value-of select="@uuidref"/>
304 <template match="path">
305 path: <value-of select="."/>