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