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"/>
14 </text><apply-templates/>
17 <template match="node">
18 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
20 lustreName: <value-of select="@name"/>
21 uuid: <value-of select="@uuid"/>
22 networkRef: <value-of select="network/@uuid"/>
23 <for-each select="profile_ref">
24 profileRef: <value-of select="@uuidref"/>
27 </text><apply-templates/>
30 <template match="profile">
31 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
33 lustreName: <value-of select="@name"/>
34 uuid: <value-of select="@uuid"/><apply-templates/>
39 <template match="network">
40 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
42 lustreName: <value-of select="@name"/>
43 uuid: <value-of select="@uuid"/>
44 nettype: <value-of select="@nettype"/>
45 nid: <value-of select="nid"/>
47 port: <value-of select="port"/>
53 <template match="mds">
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="mdsdev">
63 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
65 lustreName: <value-of select="@name"/>
66 uuid: <value-of select="@uuid"/>
68 fstype: <value-of select="fstype"/>
70 <if test="autoformat">
71 autoformat: <value-of select="autoformat"/>
74 devpath: <value-of select="devpath"/>
77 devsize: <value-of select="devsize"/>
79 networkRef: <value-of select="network_ref/@uuidref"/>
80 mdsRef: <value-of select="mds_ref/@uuidref"/>
85 <template match="lov">
86 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
88 lustreName: <value-of select="@name"/>
89 uuid: <value-of select="@uuid"/>
90 mdsRef: <value-of select="mds_ref/@uuidref"/>
91 stripepattern: <value-of select="@stripepattern"/>
92 stripesize: <value-of select="@stripesize"/>
93 stripecount: <value-of select="@stripecount"/><apply-templates/>
98 <template match="lovconfig">
99 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
100 objectClass: LOVCONFIG
101 lustreName: <value-of select="@name"/>
102 uuid: <value-of select="@uuid"/><apply-templates/>
107 <template match="obd">
108 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
110 lustreName: <value-of select="@name"/>
111 uuid: <value-of select="@uuid"/>
112 activeRef: <value-of select="active_ref/@uuidref"/>
113 obdtype: <value-of select="@obdtype"/>
115 fstype: <value-of select="fstype"/>
117 <if test="autoformat">
118 autoformat: <value-of select="autoformat"/>
121 devpath: <value-of select="devpath"/>
124 devsize: <value-of select="devsize"/>
130 <template match="ost">
131 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
133 lustreName: <value-of select="@name"/>
134 uuid: <value-of select="@uuid"/><apply-templates/>
139 <template match="mountpoint">
140 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
141 objectClass: MOUNTPOINT
142 lustreName: <value-of select="@name"/>
143 uuid: <value-of select="@uuid"/><apply-templates/>
148 <template match="echoclient">
149 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
150 objectClass: ECHOCLIENT
151 lustreName: <value-of select="@name"/>
152 uuid: <value-of select="@uuid"/><apply-templates/>
157 <template match="ldlm">
158 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
160 lustreName: <value-of select="@name"/>
161 uuid: <value-of select="@uuid"/>
167 <template match="ldlm_ref">
168 ldlmRef: <value-of select="@uuidref"/>
171 <template match="obd_ref">
172 obdRef: <value-of select="@uuidref"/>
175 <template match="ost_ref">
176 ostRef: <value-of select="@uuidref"/>
179 <template match="network_ref">
180 networkRef: <value-of select="@uuidref"/>
183 <template match="mds_ref">
184 mdsRef: <value-of select="@uuidref"/>
187 <template match="mdsdev_ref">
188 mdsdevRef: <value-of select="@uuidref"/>
191 <template match="mountpoint_ref">
192 mountpointRef: <value-of select="@uuidref"/>
195 <template match="echoclient_ref">
196 echoclientRef: <value-of select="@uuidref"/>
199 <template match="lov_ref">
200 lovRef: <value-of select="@uuidref"/>
203 <template match="lovconfig_ref">
204 lovconfigRef: <value-of select="@uuidref"/>
207 <template match="path">
208 path: <value-of select="."/>
211 <template match="active_ref">
212 activeRef: <value-of select="@uuidref"/>