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 nodeRef: <value-of select="node_ref/@uuidref"/>
126 targetRef: <value-of select="target_ref/@uuidref"/>
131 <template match="lov">
132 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
134 lustreName: <value-of select="@name"/>
135 uuid: <value-of select="@uuid"/>
136 mdsRef: <value-of select="mds_ref/@uuidref"/>
137 stripepattern: <value-of select="@stripepattern"/>
138 stripesize: <value-of select="@stripesize"/>
139 stripecount: <value-of select="@stripecount"/><apply-templates/>
144 <template match="lovconfig">
145 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
146 objectClass: LOVCONFIG
147 lustreName: <value-of select="@name"/>
148 uuid: <value-of select="@uuid"/><apply-templates/>
153 <template match="osd">
154 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
156 lustreName: <value-of select="@name"/>
157 uuid: <value-of select="@uuid"/>
158 nodeRef: <value-of select="node_ref/@uuidref"/>
159 targetRef: <value-of select="target_ref/@uuidref"/>
160 osdtype: <value-of select="@osdtype"/>
162 fstype: <value-of select="fstype"/>
164 <if test="autoformat">
165 autoformat: <value-of select="autoformat"/>
168 devpath: <value-of select="devpath"/>
171 devsize: <value-of select="devsize"/>
173 <if test="journalsize">
174 journalsize: <value-of select="journalsize"/>
180 <template match="ost">
181 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
183 lustreName: <value-of select="@name"/>
184 uuid: <value-of select="@uuid"/>
185 activeRef: <value-of select="active_ref/@uuidref"/>
186 <if test="@failover">
187 failover: <value-of select="@failover"/>
190 group: <value-of select="group"/>
196 <template match="filesystem">
197 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
198 objectClass: FILESYSTEM
199 lustreName: <value-of select="@name"/>
200 uuid: <value-of select="@uuid"/><apply-templates/>
205 <template match="mountpoint">
206 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
207 objectClass: MOUNTPOINT
208 lustreName: <value-of select="@name"/>
209 uuid: <value-of select="@uuid"/><apply-templates/>
214 <template match="echoclient">
215 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
216 objectClass: ECHOCLIENT
217 lustreName: <value-of select="@name"/>
218 uuid: <value-of select="@uuid"/><apply-templates/>
223 <template match="ldlm">
224 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
226 lustreName: <value-of select="@name"/>
227 uuid: <value-of select="@uuid"/>
232 <template match="ptlrpc">
233 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
235 lustreName: <value-of select="@name"/>
236 uuid: <value-of select="@uuid"/>
241 <template match="ldlm_ref">
242 ldlmRef: <value-of select="@uuidref"/>
245 <template match="ptlrpc_ref">
246 ptlrpcRef: <value-of select="@uuidref"/>
249 <template match="obd_ref">
250 obdRef: <value-of select="@uuidref"/>
253 <template match="osd_ref">
254 osdRef: <value-of select="@uuidref"/>
257 <template match="ost_ref">
258 ostRef: <value-of select="@uuidref"/>
261 <template match="network_ref">
262 networkRef: <value-of select="@uuidref"/>
265 <template match="mds_ref">
266 mdsRef: <value-of select="@uuidref"/>
269 <template match="mdsdev_ref">
270 mdsdevRef: <value-of select="@uuidref"/>
273 <template match="mountpoint_ref">
274 mountpointRef: <value-of select="@uuidref"/>
277 <template match="filesystem_ref">
278 filesystemRef: <value-of select="@uuidref"/>
281 <template match="echoclient_ref">
282 echoclientRef: <value-of select="@uuidref"/>
285 <template match="lov_ref">
286 lovRef: <value-of select="@uuidref"/>
289 <template match="path">
290 path: <value-of select="."/>