hi CDATA #IMPLIED >
<!ELEMENT profile (ldlm_ref | network_ref | obd_ref | ost_ref |
- echoclient_ref | mds_ref | lov_ref |
+ echoclient_ref | mdsdev_ref | lov_ref |
lovconfig_ref| mountpoint_ref)*>
<!ATTLIST profile %object.attr;>
<!ELEMENT ldlm EMPTY>
<!ATTLIST ldlm %object.attr;>
-<!ELEMENT obd (fstype | devpath | devsize | autoformat | activetarget)*>
+<!ELEMENT obd (fstype | devpath | devsize | autoformat | active_ref)*>
<!ATTLIST obd %object.attr;
obdtype (obdfilter | obdecho) 'obdfilter'>
<!ELEMENT ost (network_ref | obd_ref | failover_ref)*>
<!ATTLIST ost %object.attr;>
-<!ELEMENT mds (network_ref | fstype | devpath | devsize | autoformat |
- server_ref | failover_ref | node_ref )*>
+<!ELEMENT mds (active_ref)*>
<!ATTLIST mds %object.attr;>
+<!ELEMENT mdsdev (fstype | devpath | devsize | autoformat |
+ mds_ref | network_ref )*>
+<!ATTLIST mdsdev %object.attr;>
+
<!ELEMENT lov (mds_ref |(obd_ref)+)*>
<!ATTLIST lov %object.attr;
stripesize CDATA #REQUIRED
<!ATTLIST obd_ref %objref.attr;>
<!ELEMENT mds_ref %objref.content;>
<!ATTLIST mds_ref %objref.attr;>
+<!ELEMENT mdsdev_ref %objref.content;>
+<!ATTLIST mdsdev_ref %objref.attr;>
<!ELEMENT ost_ref %objref.content;>
<!ATTLIST ost_ref %objref.attr;>
<!ELEMENT lov_ref %objref.content;>
dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
objectClass: MDS
lustreName: <value-of select="@name"/>
+uuid: <value-of select="@uuid"/><apply-templates/>
+<text>
+</text>
+</template>
+
+<template match="mdsdev">
+dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
+objectClass: MDSDEV
+lustreName: <value-of select="@name"/>
uuid: <value-of select="@uuid"/>
<if test="fstype">
fstype: <value-of select="fstype"/>
devsize: <value-of select="devsize"/>
</if>
networkRef: <value-of select="network_ref/@uuidref"/>
-nodeRef: <value-of select="node_ref/@uuidref"/>
+mdsRef: <value-of select="mds_ref/@uuidref"/>
<text>
</text>
</template>
</text>
</template>
-
<template match="lovconfig">
dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
objectClass: LOVCONFIG
objectClass: OBD
lustreName: <value-of select="@name"/>
uuid: <value-of select="@uuid"/>
-activetarget: <value-of select="activetarget"/>
+activeRef: <value-of select="active_ref/@uuidref"/>
obdtype: <value-of select="@obdtype"/>
<if test="fstype">
fstype: <value-of select="fstype"/>
ostRef: <value-of select="@uuidref"/>
</template>
-
<template match="network_ref">
networkRef: <value-of select="@uuidref"/>
</template>
path: <value-of select="."/>
</template>
+<template match="active_ref">
+activeRef: <value-of select="@uuidref"/>
+</template>
</stylesheet>