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