Whamcloud - gitweb
Merge b_md to HEAD for 0.5.19 release.
[fs/lustre-release.git] / lustre / conf / lustre.dtd
1 <!-- Lustre Management DTD -->
2
3 <!-- basic entities -->
4 <!ENTITY % object.content "(#PCDATA)">
5 <!ENTITY % object.attr "
6              name CDATA #REQUIRED
7              uuid CDATA #REQUIRED">
8
9 <!ENTITY % objref.content "(#PCDATA)">
10 <!ENTITY % objref.attr    "uuidref CDATA #REQUIRED">
11
12 <!-- main elements -->
13 <!ELEMENT lustre (node | profile | mountpoint | ldlm | echoclient |
14                   mds | obd | ost | lov | lovconfig)*>
15
16 <!ELEMENT node (network | profile_ref)*>
17 <!ATTLIST node %object.attr;
18                router CDATA #IMPLIED>
19                
20 <!ELEMENT network (nid | port | route_tbl | sendmem | recvmem)*>
21 <!ATTLIST network %object.attr;
22                   nettype (tcp | elan | gm) 'tcp'>
23
24 <!ELEMENT routetbl (route)*>
25 <!ATTLIST routetbl %object.attr;>
26 <!ELEMENT route %object.content;>
27 <!ATTLIST route type (elan | tcp | gm) #REQUIRED
28                 gw CDATA #REQUIRED
29                 lo CDATA #REQUIRED
30                 hi CDATA #IMPLIED >
31
32 <!ELEMENT profile (ldlm_ref | network_ref | obd_ref | ost_ref |
33                    echoclient_ref | mdsdev_ref | lov_ref |
34                    lovconfig_ref| mountpoint_ref)*>
35 <!ATTLIST profile %object.attr;>
36
37 <!ELEMENT mountpoint (path | fileset | mds_ref | obd_ref)*>
38 <!ATTLIST mountpoint %object.attr;>
39
40 <!ELEMENT echoclient (obd_ref)>
41 <!ATTLIST echoclient %object.attr;>
42
43 <!ELEMENT ldlm EMPTY>
44 <!ATTLIST ldlm %object.attr;>
45
46 <!ELEMENT obd (fstype | devpath | devsize | autoformat | active_ref)*>
47 <!ATTLIST obd %object.attr; 
48               obdtype (obdfilter | obdecho) 'obdfilter'>
49
50 <!ELEMENT ost (network_ref | obd_ref | failover_ref)*>
51 <!ATTLIST ost %object.attr;>
52
53 <!ELEMENT mds (active_ref)*>
54 <!ATTLIST mds %object.attr;>
55
56 <!ELEMENT mdsdev (fstype | devpath | devsize | autoformat | 
57                   mds_ref | network_ref )*>
58 <!ATTLIST mdsdev %object.attr;>
59
60 <!ELEMENT lov (mds_ref |(obd_ref)+)*>
61 <!ATTLIST lov %object.attr;
62                stripesize    CDATA #REQUIRED
63                stripecount   CDATA #REQUIRED
64                stripeoffset  CDATA #IMPLIED
65                stripepattern CDATA #REQUIRED>
66
67 <!ELEMENT lovconfig (lov_ref)>
68 <!ATTLIST lovconfig %object.attr;>
69
70 <!-- basic elements -->
71 <!ELEMENT fstype        %object.content;>
72 <!ELEMENT nid           %object.content;>
73 <!ELEMENT port          %object.content;>
74 <!ELEMENT send_mem      %object.content;>
75 <!ELEMENT recv_mem      %object.content;>
76 <!ELEMENT autoformat    %object.content;>
77 <!ELEMENT activetarget  %object.content;>
78 <!ELEMENT devpath       %object.content;>
79 <!ELEMENT devsize       %object.content;>
80 <!ELEMENT path          %object.content;>
81 <!ELEMENT fileset       %object.content;>
82
83 <!-- object reference tag elements -->
84 <!ELEMENT network_ref     %objref.content;>
85 <!ATTLIST network_ref     %objref.attr;>
86 <!ELEMENT node_ref        %objref.content;>
87 <!ATTLIST node_ref        %objref.attr;>
88 <!ELEMENT profile_ref     %objref.content;>
89 <!ATTLIST profile_ref     %objref.attr;>
90 <!ELEMENT obd_ref         %objref.content;>
91 <!ATTLIST obd_ref         %objref.attr;>
92 <!ELEMENT mds_ref         %objref.content;>
93 <!ATTLIST mds_ref         %objref.attr;>
94 <!ELEMENT mdsdev_ref      %objref.content;>
95 <!ATTLIST mdsdev_ref      %objref.attr;>
96 <!ELEMENT ost_ref         %objref.content;>
97 <!ATTLIST ost_ref         %objref.attr;>
98 <!ELEMENT lov_ref         %objref.content;>
99 <!ATTLIST lov_ref         %objref.attr;>
100 <!ELEMENT lovconfig_ref   %objref.content;>
101 <!ATTLIST lovconfig_ref   %objref.attr;>
102 <!ELEMENT mountpoint_ref  %objref.content;>
103 <!ATTLIST mountpoint_ref  %objref.attr;>
104 <!ELEMENT echoclient_ref %objref.content;>
105 <!ATTLIST echoclient_ref %objref.attr;>
106 <!ELEMENT failover_ref    %objref.content;>
107 <!ATTLIST failover_ref    %objref.attr;>
108 <!ELEMENT ldlm_ref        %objref.content;>
109 <!ATTLIST ldlm_ref        %objref.attr;>
110
111