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"/>
38 <for-each select="network">
39 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
41 lustreName: <value-of select="@name"/>
42 uuid: <value-of select="@uuid"/>
43 nettype: <value-of select="@nettype"/>
44 nid: <value-of select="nid"/>
46 port: <value-of select="port"/>
53 <template match="profile">
54 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
56 lustreName: <value-of select="@name"/>
57 uuid: <value-of select="@uuid"/><apply-templates/>
62 <template match="network">
63 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
65 lustreName: <value-of select="@name"/>
66 uuid: <value-of select="@uuid"/>
67 nettype: <value-of select="@nettype"/>
68 nid: <value-of select="nid"/>
70 port: <value-of select="port"/>
77 <template match="mds">
78 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
80 lustreName: <value-of select="@name"/>
81 uuid: <value-of select="@uuid"/>
82 activeRef: <value-of select="active_ref/@uuidref"/>
83 <if test="lovconfig_ref">
84 lovconfigRef: <value-of select="lovconfig_ref/@uuidref"/>
86 <if test="filesystem_ref">
87 filesystemRef: <value-of select="filesystem_ref/@uuidref"/>
90 failover: <value-of select="@failover"/>
93 group: <value-of select="group"/>
99 <template match="mdsdev">
100 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
102 lustreName: <value-of select="@name"/>
103 uuid: <value-of select="@uuid"/>
105 fstype: <value-of select="fstype"/>
107 <if test="autoformat">
108 autoformat: <value-of select="autoformat"/>
111 devpath: <value-of select="devpath"/>
114 devsize: <value-of select="devsize"/>
116 <if test="journalsize">
117 journalsize: <value-of select="journalsize"/>
119 nodeRef: <value-of select="node_ref/@uuidref"/>
120 targetRef: <value-of select="target_ref/@uuidref"/>
125 <template match="lov">
126 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
128 lustreName: <value-of select="@name"/>
129 uuid: <value-of select="@uuid"/>
130 mdsRef: <value-of select="mds_ref/@uuidref"/>
131 stripepattern: <value-of select="@stripepattern"/>
132 stripesize: <value-of select="@stripesize"/>
133 stripecount: <value-of select="@stripecount"/><apply-templates/>
138 <template match="lovconfig">
139 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
140 objectClass: LOVCONFIG
141 lustreName: <value-of select="@name"/>
142 uuid: <value-of select="@uuid"/><apply-templates/>
147 <template match="osd">
148 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
150 lustreName: <value-of select="@name"/>
151 uuid: <value-of select="@uuid"/>
152 nodeRef: <value-of select="node_ref/@uuidref"/>
153 targetRef: <value-of select="target_ref/@uuidref"/>
154 osdtype: <value-of select="@osdtype"/>
156 fstype: <value-of select="fstype"/>
158 <if test="autoformat">
159 autoformat: <value-of select="autoformat"/>
162 devpath: <value-of select="devpath"/>
165 devsize: <value-of select="devsize"/>
167 <if test="journalsize">
168 journalsize: <value-of select="journalsize"/>
174 <template match="ost">
175 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
177 lustreName: <value-of select="@name"/>
178 uuid: <value-of select="@uuid"/>
179 activeRef: <value-of select="active_ref/@uuidref"/>
180 <if test="@failover">
181 failover: <value-of select="@failover"/>
184 group: <value-of select="group"/>
190 <template match="filesystem">
191 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
192 objectClass: FILESYSTEM
193 lustreName: <value-of select="@name"/>
194 uuid: <value-of select="@uuid"/><apply-templates/>
199 <template match="mountpoint">
200 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
201 objectClass: MOUNTPOINT
202 lustreName: <value-of select="@name"/>
203 uuid: <value-of select="@uuid"/><apply-templates/>
208 <template match="echoclient">
209 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
210 objectClass: ECHOCLIENT
211 lustreName: <value-of select="@name"/>
212 uuid: <value-of select="@uuid"/><apply-templates/>
217 <template match="ldlm">
218 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
220 lustreName: <value-of select="@name"/>
221 uuid: <value-of select="@uuid"/>
226 <template match="ptlrpc">
227 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
229 lustreName: <value-of select="@name"/>
230 uuid: <value-of select="@uuid"/>
235 <template match="ldlm_ref">
236 ldlmRef: <value-of select="@uuidref"/>
239 <template match="ptlrpc_ref">
240 ptlrpcRef: <value-of select="@uuidref"/>
243 <template match="obd_ref">
244 obdRef: <value-of select="@uuidref"/>
247 <template match="osd_ref">
248 osdRef: <value-of select="@uuidref"/>
251 <template match="ost_ref">
252 ostRef: <value-of select="@uuidref"/>
255 <template match="network_ref">
256 networkRef: <value-of select="@uuidref"/>
259 <template match="mds_ref">
260 mdsRef: <value-of select="@uuidref"/>
263 <template match="mdsdev_ref">
264 mdsdevRef: <value-of select="@uuidref"/>
267 <template match="mountpoint_ref">
268 mountpointRef: <value-of select="@uuidref"/>
271 <template match="filesystem_ref">
272 filesystemRef: <value-of select="@uuidref"/>
275 <template match="echoclient_ref">
276 echoclientRef: <value-of select="@uuidref"/>
279 <template match="lov_ref">
280 lovRef: <value-of select="@uuidref"/>
283 <template match="path">
284 path: <value-of select="."/>