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 nodeRef: <value-of select="node_ref/@uuidref"/>
129 targetRef: <value-of select="target_ref/@uuidref"/>
134 <template match="lov">
135 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
137 lustreName: <value-of select="@name"/>
138 uuid: <value-of select="@uuid"/>
139 mdsRef: <value-of select="mds_ref/@uuidref"/>
140 stripepattern: <value-of select="@stripepattern"/>
141 stripesize: <value-of select="@stripesize"/>
142 stripecount: <value-of select="@stripecount"/><apply-templates/>
147 <template match="lovconfig">
148 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
149 objectClass: LOVCONFIG
150 lustreName: <value-of select="@name"/>
151 uuid: <value-of select="@uuid"/><apply-templates/>
156 <template match="osd">
157 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
159 lustreName: <value-of select="@name"/>
160 uuid: <value-of select="@uuid"/>
161 nodeRef: <value-of select="node_ref/@uuidref"/>
162 targetRef: <value-of select="target_ref/@uuidref"/>
163 osdtype: <value-of select="@osdtype"/>
165 fstype: <value-of select="fstype"/>
167 <if test="autoformat">
168 autoformat: <value-of select="autoformat"/>
171 devpath: <value-of select="devpath"/>
174 devsize: <value-of select="devsize"/>
176 <if test="journalsize">
177 journalsize: <value-of select="journalsize"/>
179 <if test="mkfsoptions">
180 mkfsoptions: <value-of select="mkfsoptions"/>
186 <template match="ost">
187 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
189 lustreName: <value-of select="@name"/>
190 uuid: <value-of select="@uuid"/>
191 activeRef: <value-of select="active_ref/@uuidref"/>
192 <if test="@failover">
193 failover: <value-of select="@failover"/>
196 group: <value-of select="group"/>
202 <template match="filesystem">
203 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
204 objectClass: FILESYSTEM
205 lustreName: <value-of select="@name"/>
206 uuid: <value-of select="@uuid"/><apply-templates/>
211 <template match="mountpoint">
212 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
213 objectClass: MOUNTPOINT
214 lustreName: <value-of select="@name"/>
215 uuid: <value-of select="@uuid"/><apply-templates/>
220 <template match="echoclient">
221 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
222 objectClass: ECHOCLIENT
223 lustreName: <value-of select="@name"/>
224 uuid: <value-of select="@uuid"/><apply-templates/>
229 <template match="ldlm">
230 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
232 lustreName: <value-of select="@name"/>
233 uuid: <value-of select="@uuid"/>
238 <template match="ptlrpc">
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="ldlm_ref">
248 ldlmRef: <value-of select="@uuidref"/>
251 <template match="ptlrpc_ref">
252 ptlrpcRef: <value-of select="@uuidref"/>
255 <template match="obd_ref">
256 obdRef: <value-of select="@uuidref"/>
259 <template match="osd_ref">
260 osdRef: <value-of select="@uuidref"/>
263 <template match="ost_ref">
264 ostRef: <value-of select="@uuidref"/>
267 <template match="network_ref">
268 networkRef: <value-of select="@uuidref"/>
271 <template match="mds_ref">
272 mdsRef: <value-of select="@uuidref"/>
275 <template match="mdsdev_ref">
276 mdsdevRef: <value-of select="@uuidref"/>
279 <template match="mountpoint_ref">
280 mountpointRef: <value-of select="@uuidref"/>
283 <template match="filesystem_ref">
284 filesystemRef: <value-of select="@uuidref"/>
287 <template match="echoclient_ref">
288 echoclientRef: <value-of select="@uuidref"/>
291 <template match="lov_ref">
292 lovRef: <value-of select="@uuidref"/>
295 <template match="path">
296 path: <value-of select="."/>