xref: /onnv-gate/usr/src/cmd/isns/isnsd/xml_def/isnsdata.dtd.1 (revision 7836:4e95154b5b7a)
1*7836SJohn.Forte@Sun.COM<?xml version='1.0' encoding='UTF-8'?>
2*7836SJohn.Forte@Sun.COM
3*7836SJohn.Forte@Sun.COM<!--
4*7836SJohn.Forte@Sun.COM
5*7836SJohn.Forte@Sun.COMCDDL HEADER START
6*7836SJohn.Forte@Sun.COM
7*7836SJohn.Forte@Sun.COMThe contents of this file are subject to the terms of the
8*7836SJohn.Forte@Sun.COMCommon Development and Distribution License (the "License").
9*7836SJohn.Forte@Sun.COMYou may not use this file except in compliance with the License.
10*7836SJohn.Forte@Sun.COM
11*7836SJohn.Forte@Sun.COMYou can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12*7836SJohn.Forte@Sun.COMor http://www.opensolaris.org/os/licensing.
13*7836SJohn.Forte@Sun.COMSee the License for the specific language governing permissions
14*7836SJohn.Forte@Sun.COMand limitations under the License.
15*7836SJohn.Forte@Sun.COM
16*7836SJohn.Forte@Sun.COMWhen distributing Covered Code, include this CDDL HEADER in each
17*7836SJohn.Forte@Sun.COMfile and include the License file at usr/src/OPENSOLARIS.LICENSE.
18*7836SJohn.Forte@Sun.COMIf applicable, add the following below this CDDL HEADER, with the
19*7836SJohn.Forte@Sun.COMfields enclosed by brackets "[]" replaced with your own identifying
20*7836SJohn.Forte@Sun.COMinformation: Portions Copyright [yyyy] [name of copyright owner]
21*7836SJohn.Forte@Sun.COM
22*7836SJohn.Forte@Sun.COMCDDL HEADER END
23*7836SJohn.Forte@Sun.COM
24*7836SJohn.Forte@Sun.COMCopyright 2008 Sun Microsystems, Inc.  All rights reserved.
25*7836SJohn.Forte@Sun.COMUse is subject to license terms.
26*7836SJohn.Forte@Sun.COM
27*7836SJohn.Forte@Sun.COM
28*7836SJohn.Forte@Sun.COMiSNS Server persistent data store document type definition
29*7836SJohn.Forte@Sun.COM
30*7836SJohn.Forte@Sun.COM-->
31*7836SJohn.Forte@Sun.COM
32*7836SJohn.Forte@Sun.COM<!--
33*7836SJohn.Forte@Sun.COM	This file contains the DTD for the XML flat file of iSNS
34*7836SJohn.Forte@Sun.COM	Persistent Data Store. It defines the XML Nodes and format
35*7836SJohn.Forte@Sun.COM	of iSNS Objects and iSNS Attributes of the Objects.
36*7836SJohn.Forte@Sun.COM
37*7836SJohn.Forte@Sun.COM	There are six iSNS Objects: Network Entity, Portal, iSCSI
38*7836SJohn.Forte@Sun.COM	Storage Node, Portal Group, Discovery Domain Set and
39*7836SJohn.Forte@Sun.COM	Discovery Domain. Each object will be defined as a XML Node.
40*7836SJohn.Forte@Sun.COM
41*7836SJohn.Forte@Sun.COM	All of UID attribute and Key attributes of each iSNS Object
42*7836SJohn.Forte@Sun.COM	will be defined as attributes of a XML Node. Other iSNS
43*7836SJohn.Forte@Sun.COM	Attributes of each iSNS Object will be defined as child
44*7836SJohn.Forte@Sun.COM	elements of the XML Node.
45*7836SJohn.Forte@Sun.COM-->
46*7836SJohn.Forte@Sun.COM
47*7836SJohn.Forte@Sun.COM<!--
48*7836SJohn.Forte@Sun.COM	Root Node Of The Persistent Data Store
49*7836SJohn.Forte@Sun.COM-->
50*7836SJohn.Forte@Sun.COM
51*7836SJohn.Forte@Sun.COM<!ELEMENT isns_data (entity*, dd*, dds*)>
52*7836SJohn.Forte@Sun.COM<!ATTLIST isns_data vendor   CDATA #REQUIRED
53*7836SJohn.Forte@Sun.COM		    version  CDATA #REQUIRED>
54*7836SJohn.Forte@Sun.COM
55*7836SJohn.Forte@Sun.COM<!--
56*7836SJohn.Forte@Sun.COM	Network Entity Object
57*7836SJohn.Forte@Sun.COM-->
58*7836SJohn.Forte@Sun.COM
59*7836SJohn.Forte@Sun.COM<!ELEMENT entity (protocol, period?,
60*7836SJohn.Forte@Sun.COM		  (iscsi | portal)+, pg*)>
61*7836SJohn.Forte@Sun.COM<!-- 7: Entity Index -->
62*7836SJohn.Forte@Sun.COM<!-- 1: Entity Identifier (EID) -->
63*7836SJohn.Forte@Sun.COM<!ATTLIST entity uid   CDATA #REQUIRED
64*7836SJohn.Forte@Sun.COM		 eid   CDATA #REQUIRED>
65*7836SJohn.Forte@Sun.COM<!-- 2: Entity Protocol -->
66*7836SJohn.Forte@Sun.COM<!ELEMENT protocol (#PCDATA)>
67*7836SJohn.Forte@Sun.COM<!-- 6: Registration Period -->
68*7836SJohn.Forte@Sun.COM<!ELEMENT period (#PCDATA)>
69*7836SJohn.Forte@Sun.COM
70*7836SJohn.Forte@Sun.COM<!--
71*7836SJohn.Forte@Sun.COM	Portal Object
72*7836SJohn.Forte@Sun.COM-->
73*7836SJohn.Forte@Sun.COM
74*7836SJohn.Forte@Sun.COM<!ELEMENT portal (esi?, scn?)>
75*7836SJohn.Forte@Sun.COM<!-- 22: Portal Index -->
76*7836SJohn.Forte@Sun.COM<!-- 16: Portal IP Address -->
77*7836SJohn.Forte@Sun.COM<!-- 17: Portal TCP/UDP Port -->
78*7836SJohn.Forte@Sun.COM<!ATTLIST portal uid    CDATA #REQUIRED
79*7836SJohn.Forte@Sun.COM		 ip     CDATA #REQUIRED
80*7836SJohn.Forte@Sun.COM		 port   CDATA #REQUIRED>
81*7836SJohn.Forte@Sun.COM<!-- 20: ESI Port -->
82*7836SJohn.Forte@Sun.COM<!ELEMENT esi (#PCDATA)>
83*7836SJohn.Forte@Sun.COM<!-- 23: SCN Port -->
84*7836SJohn.Forte@Sun.COM<!ELEMENT scn (#PCDATA)>
85*7836SJohn.Forte@Sun.COM
86*7836SJohn.Forte@Sun.COM<!--
87*7836SJohn.Forte@Sun.COM	iSCSI Storage Node Object
88*7836SJohn.Forte@Sun.COM-->
89*7836SJohn.Forte@Sun.COM
90*7836SJohn.Forte@Sun.COM<!ELEMENT iscsi (type, alias?, auth?)>
91*7836SJohn.Forte@Sun.COM<!-- 36: iSCSI Node Index -->
92*7836SJohn.Forte@Sun.COM<!-- 32: iSCSI Name -->
93*7836SJohn.Forte@Sun.COM<!ATTLIST iscsi  uid    CDATA #REQUIRED
94*7836SJohn.Forte@Sun.COM		 name   CDATA #REQUIRED>
95*7836SJohn.Forte@Sun.COM<!-- 33: iSCSI Node Type -->
96*7836SJohn.Forte@Sun.COM<!ELEMENT type (#PCDATA)>
97*7836SJohn.Forte@Sun.COM<!-- 34: iSCSI Alias -->
98*7836SJohn.Forte@Sun.COM<!ELEMENT alias (#PCDATA)>
99*7836SJohn.Forte@Sun.COM<!-- 42: iSCSI AuthMethod -->
100*7836SJohn.Forte@Sun.COM<!ELEMENT auth (#PCDATA)>
101*7836SJohn.Forte@Sun.COM
102*7836SJohn.Forte@Sun.COM<!--
103*7836SJohn.Forte@Sun.COM	Portal Group Object
104*7836SJohn.Forte@Sun.COM-->
105*7836SJohn.Forte@Sun.COM
106*7836SJohn.Forte@Sun.COM<!ELEMENT pg (pgt)>
107*7836SJohn.Forte@Sun.COM<!-- 52: PG Index -->
108*7836SJohn.Forte@Sun.COM<!-- 48: PG iSCSI Name -->
109*7836SJohn.Forte@Sun.COM<!-- 49: PG Portal IP Addr -->
110*7836SJohn.Forte@Sun.COM<!-- 50: PG Portal TCP/UDP Port -->
111*7836SJohn.Forte@Sun.COM<!ATTLIST pg     uid        CDATA #REQUIRED
112*7836SJohn.Forte@Sun.COM		 pg_iscsi   CDATA #REQUIRED
113*7836SJohn.Forte@Sun.COM		 pg_ip      CDATA #REQUIRED
114*7836SJohn.Forte@Sun.COM		 pg_port    CDATA #REQUIRED>
115*7836SJohn.Forte@Sun.COM<!-- 51: PG Tag (PGT) -->
116*7836SJohn.Forte@Sun.COM<!ELEMENT pgt (#PCDATA)>
117*7836SJohn.Forte@Sun.COM
118*7836SJohn.Forte@Sun.COM<!--
119*7836SJohn.Forte@Sun.COM	Discovery Domain Set Object
120*7836SJohn.Forte@Sun.COM-->
121*7836SJohn.Forte@Sun.COM
122*7836SJohn.Forte@Sun.COM<!ELEMENT dds (status?, assoc_dd*)>
123*7836SJohn.Forte@Sun.COM<!-- 2049: DD_Set ID -->
124*7836SJohn.Forte@Sun.COM<!-- 2050: DD_Set Sym Name -->
125*7836SJohn.Forte@Sun.COM<!ATTLIST dds    uid    CDATA #REQUIRED
126*7836SJohn.Forte@Sun.COM		 name   CDATA #REQUIRED>
127*7836SJohn.Forte@Sun.COM<!-- 2051: DD_Set Status -->
128*7836SJohn.Forte@Sun.COM<!ELEMENT status (#PCDATA)>
129*7836SJohn.Forte@Sun.COM
130*7836SJohn.Forte@Sun.COM<!--
131*7836SJohn.Forte@Sun.COM	DD_DDS Association object
132*7836SJohn.Forte@Sun.COM-->
133*7836SJohn.Forte@Sun.COM
134*7836SJohn.Forte@Sun.COM<!ELEMENT assoc_dd EMPTY>
135*7836SJohn.Forte@Sun.COM<!-- 2065: DD_ID -->
136*7836SJohn.Forte@Sun.COM<!ATTLIST assoc_dd dd_uid    CDATA #REQUIRED>
137*7836SJohn.Forte@Sun.COM
138*7836SJohn.Forte@Sun.COM<!--
139*7836SJohn.Forte@Sun.COM	Discovery Domain Object
140*7836SJohn.Forte@Sun.COM-->
141*7836SJohn.Forte@Sun.COM
142*7836SJohn.Forte@Sun.COM<!ELEMENT dd (features?, assoc_iscsi*)>
143*7836SJohn.Forte@Sun.COM<!-- 2065: DD_ID -->
144*7836SJohn.Forte@Sun.COM<!-- 2066: DD_Symbolic Name -->
145*7836SJohn.Forte@Sun.COM<!ATTLIST dd     uid     CDATA #REQUIRED
146*7836SJohn.Forte@Sun.COM		 name    CDATA #REQUIRED>
147*7836SJohn.Forte@Sun.COM<!-- 2078: DD_Features -->
148*7836SJohn.Forte@Sun.COM<!ELEMENT features (#PCDATA)>
149*7836SJohn.Forte@Sun.COM
150*7836SJohn.Forte@Sun.COM<!--
151*7836SJohn.Forte@Sun.COM	ISCSI_DD Association object
152*7836SJohn.Forte@Sun.COM-->
153*7836SJohn.Forte@Sun.COM
154*7836SJohn.Forte@Sun.COM<!ELEMENT assoc_iscsi EMPTY>
155*7836SJohn.Forte@Sun.COM<!-- 36: iSCSI Node Index -->
156*7836SJohn.Forte@Sun.COM<!-- 32: iSCSI Name -->
157*7836SJohn.Forte@Sun.COM<!ATTLIST assoc_iscsi iscsi_uid    CDATA #REQUIRED
158*7836SJohn.Forte@Sun.COM		      iscsi_name   CDATA #REQUIRED>
159