Whamcloud - gitweb
b=1026
authorrread <rread>
Wed, 7 May 2003 19:12:12 +0000 (19:12 +0000)
committerrread <rread>
Wed, 7 May 2003 19:12:12 +0000 (19:12 +0000)
r=adilger@clusterfs.com

- add initial support for creating client connections on the MDS,
  configs will need to be recreated. (The version has been updated
  to force this.)

- create a new config object, "filesystem" which represents a
  specific filesystem.  In the zero-config future, the MDS will be
  need to be aware of what filesystems it "owns," so this is perhaps one
  tiny step in that direction.

lustre/conf/lustre2ldif.xsl

index cb2fc5a..8484789 100644 (file)
@@ -80,6 +80,9 @@ activeRef: <value-of select="active_ref/@uuidref"/>
 <if test="lovconfig_ref">
 lovconfigRef: <value-of select="lovconfig_ref/@uuidref"/>
 </if>
+<if test="filesystem_ref">
+filesystemRef: <value-of select="filesystem_ref/@uuidref"/>
+</if>
 <if test="@failover">
 failover: <value-of select="@failover"/>
 </if>
@@ -181,6 +184,15 @@ group: <value-of select="group"/>
 </text>
 </template>
 
+<template match="filesystem">
+dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
+objectClass: FILESYSTEM
+lustreName: <value-of select="@name"/>
+uuid: <value-of select="@uuid"/><apply-templates/>
+<text>
+</text>
+</template>
+
 <template match="mountpoint">
 dn: uuid=<value-of select="@uuid"/>,<value-of select="$basedn"/>
 objectClass: MOUNTPOINT
@@ -253,6 +265,10 @@ mdsdevRef: <value-of select="@uuidref"/>
 mountpointRef: <value-of select="@uuidref"/>
 </template>
 
+<template match="filesystem_ref">
+filesystemRef: <value-of select="@uuidref"/>
+</template>
+
 <template match="echoclient_ref">
 echoclientRef: <value-of select="@uuidref"/>
 </template>